func AsyncJobStatus_Values() []string
AsyncJobStatus_Values returns all elements of the AsyncJobStatus enum
func DataSource_Values() []string
DataSource_Values returns all elements of the DataSource enum
func DataType_Values() []string
DataType_Values returns all elements of the DataType enum
func DetectorVersionStatus_Values() []string
DetectorVersionStatus_Values returns all elements of the DetectorVersionStatus enum
func EventIngestion_Values() []string
EventIngestion_Values returns all elements of the EventIngestion enum
func Language_Values() []string
Language_Values returns all elements of the Language enum
func ListUpdateMode_Values() []string
ListUpdateMode_Values returns all elements of the ListUpdateMode enum
func ModelEndpointStatus_Values() []string
ModelEndpointStatus_Values returns all elements of the ModelEndpointStatus enum
func ModelInputDataFormat_Values() []string
ModelInputDataFormat_Values returns all elements of the ModelInputDataFormat enum
func ModelOutputDataFormat_Values() []string
ModelOutputDataFormat_Values returns all elements of the ModelOutputDataFormat enum
func ModelSource_Values() []string
ModelSource_Values returns all elements of the ModelSource enum
func ModelTypeEnum_Values() []string
ModelTypeEnum_Values returns all elements of the ModelTypeEnum enum
func ModelVersionStatus_Values() []string
ModelVersionStatus_Values returns all elements of the ModelVersionStatus enum
func RuleExecutionMode_Values() []string
RuleExecutionMode_Values returns all elements of the RuleExecutionMode enum
func TrainingDataSourceEnum_Values() []string
TrainingDataSourceEnum_Values returns all elements of the TrainingDataSourceEnum enum
func UnlabeledEventsTreatment_Values() []string
UnlabeledEventsTreatment_Values returns all elements of the UnlabeledEventsTreatment enum
type ATIMetricDataPoint struct { // The anomaly discovery rate. This metric quantifies the percentage of anomalies // that can be detected by the model at the selected score threshold. A lower // score threshold increases the percentage of anomalies captured by the model, // but would also require challenging a larger percentage of login events, leading // to a higher customer friction. Adr *float64 `locationName:"adr" type:"float"` // The account takeover discovery rate. This metric quantifies the percentage // of account compromise events that can be detected by the model at the selected // score threshold. This metric is only available if 50 or more entities with // at-least one labeled account takeover event is present in the ingested dataset. Atodr *float64 `locationName:"atodr" type:"float"` // The challenge rate. This indicates the percentage of login events that the // model recommends to challenge such as one-time password, multi-factor authentication, // and investigations. Cr *float64 `locationName:"cr" type:"float"` // The model's threshold that specifies an acceptable fraud capture rate. For // example, a threshold of 500 means any model score 500 or above is labeled // as fraud. Threshold *float64 `locationName:"threshold" type:"float"` // contains filtered or unexported fields }
The Account Takeover Insights (ATI) model performance metrics data points.
func (s ATIMetricDataPoint) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ATIMetricDataPoint) SetAdr(v float64) *ATIMetricDataPoint
SetAdr sets the Adr field's value.
func (s *ATIMetricDataPoint) SetAtodr(v float64) *ATIMetricDataPoint
SetAtodr sets the Atodr field's value.
func (s *ATIMetricDataPoint) SetCr(v float64) *ATIMetricDataPoint
SetCr sets the Cr field's value.
func (s *ATIMetricDataPoint) SetThreshold(v float64) *ATIMetricDataPoint
SetThreshold sets the Threshold field's value.
func (s ATIMetricDataPoint) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ATIModelPerformance struct { // The anomaly separation index (ASI) score. This metric summarizes the overall // ability of the model to separate anomalous activities from the normal behavior. // Depending on the business, a large fraction of these anomalous activities // can be malicious and correspond to the account takeover attacks. A model // with no separability power will have the lowest possible ASI score of 0.5, // whereas the a model with a high separability power will have the highest // possible ASI score of 1.0 Asi *float64 `locationName:"asi" type:"float"` // contains filtered or unexported fields }
The Account Takeover Insights (ATI) model performance score.
func (s ATIModelPerformance) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ATIModelPerformance) SetAsi(v float64) *ATIModelPerformance
SetAsi sets the Asi field's value.
func (s ATIModelPerformance) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ATITrainingMetricsValue struct { // The model's performance metrics data points. MetricDataPoints []*ATIMetricDataPoint `locationName:"metricDataPoints" type:"list"` // The model's overall performance scores. ModelPerformance *ATIModelPerformance `locationName:"modelPerformance" type:"structure"` // contains filtered or unexported fields }
The Account Takeover Insights (ATI) model training metric details.
func (s ATITrainingMetricsValue) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ATITrainingMetricsValue) SetMetricDataPoints(v []*ATIMetricDataPoint) *ATITrainingMetricsValue
SetMetricDataPoints sets the MetricDataPoints field's value.
func (s *ATITrainingMetricsValue) SetModelPerformance(v *ATIModelPerformance) *ATITrainingMetricsValue
SetModelPerformance sets the ModelPerformance field's value.
func (s ATITrainingMetricsValue) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
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.
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AggregatedLogOddsMetric struct { // The relative importance of the variables in the list to the other event variable. // // AggregatedVariablesImportance is a required field AggregatedVariablesImportance *float64 `locationName:"aggregatedVariablesImportance" type:"float" required:"true"` // The names of all the variables. // // VariableNames is a required field VariableNames []*string `locationName:"variableNames" type:"list" required:"true"` // contains filtered or unexported fields }
The log odds metric details.
Account Takeover Insights (ATI) model uses event variables from the login data you provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, your ATI model might calculate the number of times an user has logged in using the same IP address. In this case, event variables used to derive the aggregated variables are IP address and user.
func (s AggregatedLogOddsMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AggregatedLogOddsMetric) SetAggregatedVariablesImportance(v float64) *AggregatedLogOddsMetric
SetAggregatedVariablesImportance sets the AggregatedVariablesImportance field's value.
func (s *AggregatedLogOddsMetric) SetVariableNames(v []*string) *AggregatedLogOddsMetric
SetVariableNames sets the VariableNames field's value.
func (s AggregatedLogOddsMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AggregatedVariablesImpactExplanation struct { // The names of all the event variables that were used to derive the aggregated // variables. EventVariableNames []*string `locationName:"eventVariableNames" type:"list"` // The raw, uninterpreted value represented as log-odds of the fraud. These // values are usually between -10 to +10, but range from -infinity to +infinity. // // * A positive value indicates that the variables drove the risk score up. // // * A negative value indicates that the variables drove the risk score down. LogOddsImpact *float64 `locationName:"logOddsImpact" type:"float"` // The relative impact of the aggregated variables in terms of magnitude on // the prediction scores. RelativeImpact *string `locationName:"relativeImpact" type:"string"` // contains filtered or unexported fields }
The details of the impact of aggregated variables on the prediction score.
Account Takeover Insights (ATI) model uses the login data you provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, the model might calculate the number of times an user has logged in using the same IP address. In this case, event variables used to derive the aggregated variables are IP address and user.
func (s AggregatedVariablesImpactExplanation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AggregatedVariablesImpactExplanation) SetEventVariableNames(v []*string) *AggregatedVariablesImpactExplanation
SetEventVariableNames sets the EventVariableNames field's value.
func (s *AggregatedVariablesImpactExplanation) SetLogOddsImpact(v float64) *AggregatedVariablesImpactExplanation
SetLogOddsImpact sets the LogOddsImpact field's value.
func (s *AggregatedVariablesImpactExplanation) SetRelativeImpact(v string) *AggregatedVariablesImpactExplanation
SetRelativeImpact sets the RelativeImpact field's value.
func (s AggregatedVariablesImpactExplanation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AggregatedVariablesImportanceMetrics struct { // List of variables' metrics. LogOddsMetrics []*AggregatedLogOddsMetric `locationName:"logOddsMetrics" type:"list"` // contains filtered or unexported fields }
The details of the relative importance of the aggregated variables.
Account Takeover Insights (ATI) model uses event variables from the login data you provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, your ATI model might calculate the number of times an user has logged in using the same IP address. In this case, event variables used to derive the aggregated variables are IP address and user.
func (s AggregatedVariablesImportanceMetrics) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AggregatedVariablesImportanceMetrics) SetLogOddsMetrics(v []*AggregatedLogOddsMetric) *AggregatedVariablesImportanceMetrics
SetLogOddsMetrics sets the LogOddsMetrics field's value.
func (s AggregatedVariablesImportanceMetrics) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AllowDenyList struct { // The ARN of the list. Arn *string `locationName:"arn" min:"1" type:"string"` // The time the list was created. CreatedTime *string `locationName:"createdTime" min:"11" type:"string"` // The description of the list. Description *string `locationName:"description" min:"1" type:"string"` // The name of the list. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The time the list was last updated. UpdatedTime *string `locationName:"updatedTime" min:"11" type:"string"` // The variable type of the list. VariableType *string `locationName:"variableType" min:"1" type:"string"` // contains filtered or unexported fields }
The metadata of a list.
func (s AllowDenyList) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AllowDenyList) SetArn(v string) *AllowDenyList
SetArn sets the Arn field's value.
func (s *AllowDenyList) SetCreatedTime(v string) *AllowDenyList
SetCreatedTime sets the CreatedTime field's value.
func (s *AllowDenyList) SetDescription(v string) *AllowDenyList
SetDescription sets the Description field's value.
func (s *AllowDenyList) SetName(v string) *AllowDenyList
SetName sets the Name field's value.
func (s *AllowDenyList) SetUpdatedTime(v string) *AllowDenyList
SetUpdatedTime sets the UpdatedTime field's value.
func (s *AllowDenyList) SetVariableType(v string) *AllowDenyList
SetVariableType sets the VariableType field's value.
func (s AllowDenyList) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchCreateVariableError struct { // The error code. Code *int64 `locationName:"code" type:"integer"` // The error message. Message *string `locationName:"message" type:"string"` // The name. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Provides the error of the batch create variable API.
func (s BatchCreateVariableError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchCreateVariableError) SetCode(v int64) *BatchCreateVariableError
SetCode sets the Code field's value.
func (s *BatchCreateVariableError) SetMessage(v string) *BatchCreateVariableError
SetMessage sets the Message field's value.
func (s *BatchCreateVariableError) SetName(v string) *BatchCreateVariableError
SetName sets the Name field's value.
func (s BatchCreateVariableError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchCreateVariableInput struct { // A collection of key and value pairs. Tags []*Tag `locationName:"tags" type:"list"` // The list of variables for the batch create variable request. // // VariableEntries is a required field VariableEntries []*VariableEntry `locationName:"variableEntries" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s BatchCreateVariableInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchCreateVariableInput) SetTags(v []*Tag) *BatchCreateVariableInput
SetTags sets the Tags field's value.
func (s *BatchCreateVariableInput) SetVariableEntries(v []*VariableEntry) *BatchCreateVariableInput
SetVariableEntries sets the VariableEntries field's value.
func (s BatchCreateVariableInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchCreateVariableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchCreateVariableOutput struct { // Provides the errors for the BatchCreateVariable request. Errors []*BatchCreateVariableError `locationName:"errors" type:"list"` // contains filtered or unexported fields }
func (s BatchCreateVariableOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchCreateVariableOutput) SetErrors(v []*BatchCreateVariableError) *BatchCreateVariableOutput
SetErrors sets the Errors field's value.
func (s BatchCreateVariableOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetVariableError struct { // The error code. Code *int64 `locationName:"code" type:"integer"` // The error message. Message *string `locationName:"message" type:"string"` // The error name. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Provides the error of the batch get variable API.
func (s BatchGetVariableError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchGetVariableError) SetCode(v int64) *BatchGetVariableError
SetCode sets the Code field's value.
func (s *BatchGetVariableError) SetMessage(v string) *BatchGetVariableError
SetMessage sets the Message field's value.
func (s *BatchGetVariableError) SetName(v string) *BatchGetVariableError
SetName sets the Name field's value.
func (s BatchGetVariableError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetVariableInput struct { // The list of variable names to get. // // Names is a required field Names []*string `locationName:"names" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s BatchGetVariableInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchGetVariableInput) SetNames(v []*string) *BatchGetVariableInput
SetNames sets the Names field's value.
func (s BatchGetVariableInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchGetVariableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetVariableOutput struct { // The errors from the request. Errors []*BatchGetVariableError `locationName:"errors" type:"list"` // The returned variables. Variables []*Variable `locationName:"variables" type:"list"` // contains filtered or unexported fields }
func (s BatchGetVariableOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchGetVariableOutput) SetErrors(v []*BatchGetVariableError) *BatchGetVariableOutput
SetErrors sets the Errors field's value.
func (s *BatchGetVariableOutput) SetVariables(v []*Variable) *BatchGetVariableOutput
SetVariables sets the Variables field's value.
func (s BatchGetVariableOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchImport struct { // The ARN of the batch import job. Arn *string `locationName:"arn" min:"1" type:"string"` // Timestamp of when batch import job completed. CompletionTime *string `locationName:"completionTime" min:"11" type:"string"` // The name of the event type. EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` // The number of records that failed to import. FailedRecordsCount *int64 `locationName:"failedRecordsCount" type:"integer"` // The reason batch import job failed. FailureReason *string `locationName:"failureReason" type:"string"` // The ARN of the IAM role to use for this job request. IamRoleArn *string `locationName:"iamRoleArn" min:"1" type:"string"` // The Amazon S3 location of your data file for batch import. InputPath *string `locationName:"inputPath" min:"1" type:"string"` // The ID of the batch import job. JobId *string `locationName:"jobId" min:"1" type:"string"` // The Amazon S3 location of your output file. OutputPath *string `locationName:"outputPath" min:"1" type:"string"` // The number of records processed by batch import job. ProcessedRecordsCount *int64 `locationName:"processedRecordsCount" type:"integer"` // Timestamp of when the batch import job started. StartTime *string `locationName:"startTime" min:"11" type:"string"` // The status of the batch import job. Status *string `locationName:"status" type:"string" enum:"AsyncJobStatus"` // The total number of records in the batch import job. TotalRecordsCount *int64 `locationName:"totalRecordsCount" type:"integer"` // contains filtered or unexported fields }
The batch import job details.
func (s BatchImport) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchImport) SetArn(v string) *BatchImport
SetArn sets the Arn field's value.
func (s *BatchImport) SetCompletionTime(v string) *BatchImport
SetCompletionTime sets the CompletionTime field's value.
func (s *BatchImport) SetEventTypeName(v string) *BatchImport
SetEventTypeName sets the EventTypeName field's value.
func (s *BatchImport) SetFailedRecordsCount(v int64) *BatchImport
SetFailedRecordsCount sets the FailedRecordsCount field's value.
func (s *BatchImport) SetFailureReason(v string) *BatchImport
SetFailureReason sets the FailureReason field's value.
func (s *BatchImport) SetIamRoleArn(v string) *BatchImport
SetIamRoleArn sets the IamRoleArn field's value.
func (s *BatchImport) SetInputPath(v string) *BatchImport
SetInputPath sets the InputPath field's value.
func (s *BatchImport) SetJobId(v string) *BatchImport
SetJobId sets the JobId field's value.
func (s *BatchImport) SetOutputPath(v string) *BatchImport
SetOutputPath sets the OutputPath field's value.
func (s *BatchImport) SetProcessedRecordsCount(v int64) *BatchImport
SetProcessedRecordsCount sets the ProcessedRecordsCount field's value.
func (s *BatchImport) SetStartTime(v string) *BatchImport
SetStartTime sets the StartTime field's value.
func (s *BatchImport) SetStatus(v string) *BatchImport
SetStatus sets the Status field's value.
func (s *BatchImport) SetTotalRecordsCount(v int64) *BatchImport
SetTotalRecordsCount sets the TotalRecordsCount field's value.
func (s BatchImport) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchPrediction struct { // The ARN of batch prediction job. Arn *string `locationName:"arn" min:"1" type:"string"` // Timestamp of when the batch prediction job completed. CompletionTime *string `locationName:"completionTime" min:"11" type:"string"` // The name of the detector. DetectorName *string `locationName:"detectorName" min:"1" type:"string"` // The detector version. DetectorVersion *string `locationName:"detectorVersion" min:"3" type:"string"` // The name of the event type. EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` // The reason a batch prediction job failed. FailureReason *string `locationName:"failureReason" type:"string"` // The ARN of the IAM role to use for this job request. IamRoleArn *string `locationName:"iamRoleArn" min:"1" type:"string"` // The Amazon S3 location of your training file. InputPath *string `locationName:"inputPath" min:"1" type:"string"` // The job ID for the batch prediction. JobId *string `locationName:"jobId" min:"1" type:"string"` // Timestamp of most recent heartbeat indicating the batch prediction job was // making progress. LastHeartbeatTime *string `locationName:"lastHeartbeatTime" min:"11" type:"string"` // The Amazon S3 location of your output file. OutputPath *string `locationName:"outputPath" min:"1" type:"string"` // The number of records processed by the batch prediction job. ProcessedRecordsCount *int64 `locationName:"processedRecordsCount" type:"integer"` // Timestamp of when the batch prediction job started. StartTime *string `locationName:"startTime" min:"11" type:"string"` // The batch prediction status. Status *string `locationName:"status" type:"string" enum:"AsyncJobStatus"` // The total number of records in the batch prediction job. TotalRecordsCount *int64 `locationName:"totalRecordsCount" type:"integer"` // contains filtered or unexported fields }
The batch prediction details.
func (s BatchPrediction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchPrediction) SetArn(v string) *BatchPrediction
SetArn sets the Arn field's value.
func (s *BatchPrediction) SetCompletionTime(v string) *BatchPrediction
SetCompletionTime sets the CompletionTime field's value.
func (s *BatchPrediction) SetDetectorName(v string) *BatchPrediction
SetDetectorName sets the DetectorName field's value.
func (s *BatchPrediction) SetDetectorVersion(v string) *BatchPrediction
SetDetectorVersion sets the DetectorVersion field's value.
func (s *BatchPrediction) SetEventTypeName(v string) *BatchPrediction
SetEventTypeName sets the EventTypeName field's value.
func (s *BatchPrediction) SetFailureReason(v string) *BatchPrediction
SetFailureReason sets the FailureReason field's value.
func (s *BatchPrediction) SetIamRoleArn(v string) *BatchPrediction
SetIamRoleArn sets the IamRoleArn field's value.
func (s *BatchPrediction) SetInputPath(v string) *BatchPrediction
SetInputPath sets the InputPath field's value.
func (s *BatchPrediction) SetJobId(v string) *BatchPrediction
SetJobId sets the JobId field's value.
func (s *BatchPrediction) SetLastHeartbeatTime(v string) *BatchPrediction
SetLastHeartbeatTime sets the LastHeartbeatTime field's value.
func (s *BatchPrediction) SetOutputPath(v string) *BatchPrediction
SetOutputPath sets the OutputPath field's value.
func (s *BatchPrediction) SetProcessedRecordsCount(v int64) *BatchPrediction
SetProcessedRecordsCount sets the ProcessedRecordsCount field's value.
func (s *BatchPrediction) SetStartTime(v string) *BatchPrediction
SetStartTime sets the StartTime field's value.
func (s *BatchPrediction) SetStatus(v string) *BatchPrediction
SetStatus sets the Status field's value.
func (s *BatchPrediction) SetTotalRecordsCount(v int64) *BatchPrediction
SetTotalRecordsCount sets the TotalRecordsCount field's value.
func (s BatchPrediction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CancelBatchImportJobInput struct { // The ID of an in-progress batch import job to cancel. // // Amazon Fraud Detector will throw an error if the batch import job is in FAILED, // CANCELED, or COMPLETED state. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CancelBatchImportJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CancelBatchImportJobInput) SetJobId(v string) *CancelBatchImportJobInput
SetJobId sets the JobId field's value.
func (s CancelBatchImportJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CancelBatchImportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelBatchImportJobOutput struct {
// contains filtered or unexported fields
}
func (s CancelBatchImportJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s CancelBatchImportJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CancelBatchPredictionJobInput struct { // The ID of the batch prediction job to cancel. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CancelBatchPredictionJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CancelBatchPredictionJobInput) SetJobId(v string) *CancelBatchPredictionJobInput
SetJobId sets the JobId field's value.
func (s CancelBatchPredictionJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CancelBatchPredictionJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelBatchPredictionJobOutput struct {
// contains filtered or unexported fields
}
func (s CancelBatchPredictionJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s CancelBatchPredictionJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An exception indicating there was a conflict during a delete operation.
func (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateBatchImportJobInput struct { // The name of the event type. // // EventTypeName is a required field EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` // The ARN of the IAM role created for Amazon S3 bucket that holds your data // file. // // The IAM role must have read permissions to your input S3 bucket and write // permissions to your output S3 bucket. For more information about bucket permissions, // see User policy examples (https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html) // in the Amazon S3 User Guide. // // IamRoleArn is a required field IamRoleArn *string `locationName:"iamRoleArn" min:"1" type:"string" required:"true"` // The URI that points to the Amazon S3 location of your data file. // // InputPath is a required field InputPath *string `locationName:"inputPath" min:"1" type:"string" required:"true"` // The ID of the batch import job. The ID cannot be of a past job, unless the // job exists in CREATE_FAILED state. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // The URI that points to the Amazon S3 location for storing your results. // // OutputPath is a required field OutputPath *string `locationName:"outputPath" min:"1" type:"string" required:"true"` // A collection of key-value pairs associated with this request. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (s CreateBatchImportJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateBatchImportJobInput) SetEventTypeName(v string) *CreateBatchImportJobInput
SetEventTypeName sets the EventTypeName field's value.
func (s *CreateBatchImportJobInput) SetIamRoleArn(v string) *CreateBatchImportJobInput
SetIamRoleArn sets the IamRoleArn field's value.
func (s *CreateBatchImportJobInput) SetInputPath(v string) *CreateBatchImportJobInput
SetInputPath sets the InputPath field's value.
func (s *CreateBatchImportJobInput) SetJobId(v string) *CreateBatchImportJobInput
SetJobId sets the JobId field's value.
func (s *CreateBatchImportJobInput) SetOutputPath(v string) *CreateBatchImportJobInput
SetOutputPath sets the OutputPath field's value.
func (s *CreateBatchImportJobInput) SetTags(v []*Tag) *CreateBatchImportJobInput
SetTags sets the Tags field's value.
func (s CreateBatchImportJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateBatchImportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateBatchImportJobOutput struct {
// contains filtered or unexported fields
}
func (s CreateBatchImportJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s CreateBatchImportJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateBatchPredictionJobInput struct { // The name of the detector. // // DetectorName is a required field DetectorName *string `locationName:"detectorName" min:"1" type:"string" required:"true"` // The detector version. DetectorVersion *string `locationName:"detectorVersion" min:"1" type:"string"` // The name of the event type. // // EventTypeName is a required field EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` // The ARN of the IAM role to use for this job request. // // The IAM Role must have read permissions to your input S3 bucket and write // permissions to your output S3 bucket. For more information about bucket permissions, // see User policy examples (https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html) // in the Amazon S3 User Guide. // // IamRoleArn is a required field IamRoleArn *string `locationName:"iamRoleArn" min:"1" type:"string" required:"true"` // The Amazon S3 location of your training file. // // InputPath is a required field InputPath *string `locationName:"inputPath" min:"1" type:"string" required:"true"` // The ID of the batch prediction job. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // The Amazon S3 location of your output file. // // OutputPath is a required field OutputPath *string `locationName:"outputPath" min:"1" type:"string" required:"true"` // A collection of key and value pairs. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (s CreateBatchPredictionJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateBatchPredictionJobInput) SetDetectorName(v string) *CreateBatchPredictionJobInput
SetDetectorName sets the DetectorName field's value.
func (s *CreateBatchPredictionJobInput) SetDetectorVersion(v string) *CreateBatchPredictionJobInput
SetDetectorVersion sets the DetectorVersion field's value.
func (s *CreateBatchPredictionJobInput) SetEventTypeName(v string) *CreateBatchPredictionJobInput
SetEventTypeName sets the EventTypeName field's value.
func (s *CreateBatchPredictionJobInput) SetIamRoleArn(v string) *CreateBatchPredictionJobInput
SetIamRoleArn sets the IamRoleArn field's value.
func (s *CreateBatchPredictionJobInput) SetInputPath(v string) *CreateBatchPredictionJobInput
SetInputPath sets the InputPath field's value.
func (s *CreateBatchPredictionJobInput) SetJobId(v string) *CreateBatchPredictionJobInput
SetJobId sets the JobId field's value.
func (s *CreateBatchPredictionJobInput) SetOutputPath(v string) *CreateBatchPredictionJobInput
SetOutputPath sets the OutputPath field's value.
func (s *CreateBatchPredictionJobInput) SetTags(v []*Tag) *CreateBatchPredictionJobInput
SetTags sets the Tags field's value.
func (s CreateBatchPredictionJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateBatchPredictionJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateBatchPredictionJobOutput struct {
// contains filtered or unexported fields
}
func (s CreateBatchPredictionJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s CreateBatchPredictionJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateDetectorVersionInput struct { // The description of the detector version. Description *string `locationName:"description" min:"1" type:"string"` // The ID of the detector under which you want to create a new version. // // DetectorId is a required field DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"` // The Amazon Sagemaker model endpoints to include in the detector version. ExternalModelEndpoints []*string `locationName:"externalModelEndpoints" type:"list"` // The model versions to include in the detector version. ModelVersions []*ModelVersion `locationName:"modelVersions" type:"list"` // The rule execution mode for the rules included in the detector version. // // You can define and edit the rule mode at the detector version level, when // it is in draft status. // // If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, // first to last, stopping at the first matched rule. Amazon Fraud dectector // then provides the outcomes for that single rule. // // If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and // returns the outcomes for all matched rules. // // The default behavior is FIRST_MATCHED. RuleExecutionMode *string `locationName:"ruleExecutionMode" type:"string" enum:"RuleExecutionMode"` // The rules to include in the detector version. // // Rules is a required field Rules []*Rule `locationName:"rules" type:"list" required:"true"` // A collection of key and value pairs. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (s CreateDetectorVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDetectorVersionInput) SetDescription(v string) *CreateDetectorVersionInput
SetDescription sets the Description field's value.
func (s *CreateDetectorVersionInput) SetDetectorId(v string) *CreateDetectorVersionInput
SetDetectorId sets the DetectorId field's value.
func (s *CreateDetectorVersionInput) SetExternalModelEndpoints(v []*string) *CreateDetectorVersionInput
SetExternalModelEndpoints sets the ExternalModelEndpoints field's value.
func (s *CreateDetectorVersionInput) SetModelVersions(v []*ModelVersion) *CreateDetectorVersionInput
SetModelVersions sets the ModelVersions field's value.
func (s *CreateDetectorVersionInput) SetRuleExecutionMode(v string) *CreateDetectorVersionInput
SetRuleExecutionMode sets the RuleExecutionMode field's value.
func (s *CreateDetectorVersionInput) SetRules(v []*Rule) *CreateDetectorVersionInput
SetRules sets the Rules field's value.
func (s *CreateDetectorVersionInput) SetTags(v []*Tag) *CreateDetectorVersionInput
SetTags sets the Tags field's value.
func (s CreateDetectorVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDetectorVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDetectorVersionOutput struct { // The ID for the created version's parent detector. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` // The ID for the created detector. DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string"` // The status of the detector version. Status *string `locationName:"status" type:"string" enum:"DetectorVersionStatus"` // contains filtered or unexported fields }
func (s CreateDetectorVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDetectorVersionOutput) SetDetectorId(v string) *CreateDetectorVersionOutput
SetDetectorId sets the DetectorId field's value.
func (s *CreateDetectorVersionOutput) SetDetectorVersionId(v string) *CreateDetectorVersionOutput
SetDetectorVersionId sets the DetectorVersionId field's value.
func (s *CreateDetectorVersionOutput) SetStatus(v string) *CreateDetectorVersionOutput
SetStatus sets the Status field's value.
func (s CreateDetectorVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateListInput struct { // The description of the list. Description *string `locationName:"description" min:"1" type:"string"` // The names of the elements, if providing. You can also create an empty list // and add elements later using the UpdateList (https://docs.aws.amazon.com/frauddetector/latest/api/API_Updatelist.html) // API. Elements []*string `locationName:"elements" type:"list" sensitive:"true"` // The name of the list. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // A collection of the key and value pairs. Tags []*Tag `locationName:"tags" type:"list"` // The variable type of the list. You can only assign the variable type with // String data type. For more information, see Variable types (https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types). VariableType *string `locationName:"variableType" min:"1" type:"string"` // contains filtered or unexported fields }
func (s CreateListInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateListInput) SetDescription(v string) *CreateListInput
SetDescription sets the Description field's value.
func (s *CreateListInput) SetElements(v []*string) *CreateListInput
SetElements sets the Elements field's value.
func (s *CreateListInput) SetName(v string) *CreateListInput
SetName sets the Name field's value.
func (s *CreateListInput) SetTags(v []*Tag) *CreateListInput
SetTags sets the Tags field's value.
func (s *CreateListInput) SetVariableType(v string) *CreateListInput
SetVariableType sets the VariableType field's value.
func (s CreateListInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateListOutput struct {
// contains filtered or unexported fields
}
func (s CreateListOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s CreateListOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateModelInput struct { // The model description. Description *string `locationName:"description" min:"1" type:"string"` // The name of the event type. // // EventTypeName is a required field EventTypeName *string `locationName:"eventTypeName" type:"string" required:"true"` // The model ID. // // ModelId is a required field ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"` // The model type. // // ModelType is a required field ModelType *string `locationName:"modelType" type:"string" required:"true" enum:"ModelTypeEnum"` // A collection of key and value pairs. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (s CreateModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateModelInput) SetDescription(v string) *CreateModelInput
SetDescription sets the Description field's value.
func (s *CreateModelInput) SetEventTypeName(v string) *CreateModelInput
SetEventTypeName sets the EventTypeName field's value.
func (s *CreateModelInput) SetModelId(v string) *CreateModelInput
SetModelId sets the ModelId field's value.
func (s *CreateModelInput) SetModelType(v string) *CreateModelInput
SetModelType sets the ModelType field's value.
func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput
SetTags sets the Tags field's value.
func (s CreateModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateModelOutput struct {
// contains filtered or unexported fields
}
func (s CreateModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s CreateModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateModelVersionInput struct { // Details of the external events data used for model version training. Required // if trainingDataSource is EXTERNAL_EVENTS. ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" type:"structure"` // Details of the ingested events data used for model version training. Required // if trainingDataSource is INGESTED_EVENTS. IngestedEventsDetail *IngestedEventsDetail `locationName:"ingestedEventsDetail" type:"structure"` // The model ID. // // ModelId is a required field ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"` // The model type. // // ModelType is a required field ModelType *string `locationName:"modelType" type:"string" required:"true" enum:"ModelTypeEnum"` // A collection of key and value pairs. Tags []*Tag `locationName:"tags" type:"list"` // The training data schema. // // TrainingDataSchema is a required field TrainingDataSchema *TrainingDataSchema `locationName:"trainingDataSchema" type:"structure" required:"true"` // The training data source location in Amazon S3. // // TrainingDataSource is a required field TrainingDataSource *string `locationName:"trainingDataSource" type:"string" required:"true" enum:"TrainingDataSourceEnum"` // contains filtered or unexported fields }
func (s CreateModelVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateModelVersionInput) SetExternalEventsDetail(v *ExternalEventsDetail) *CreateModelVersionInput
SetExternalEventsDetail sets the ExternalEventsDetail field's value.
func (s *CreateModelVersionInput) SetIngestedEventsDetail(v *IngestedEventsDetail) *CreateModelVersionInput
SetIngestedEventsDetail sets the IngestedEventsDetail field's value.
func (s *CreateModelVersionInput) SetModelId(v string) *CreateModelVersionInput
SetModelId sets the ModelId field's value.
func (s *CreateModelVersionInput) SetModelType(v string) *CreateModelVersionInput
SetModelType sets the ModelType field's value.
func (s *CreateModelVersionInput) SetTags(v []*Tag) *CreateModelVersionInput
SetTags sets the Tags field's value.
func (s *CreateModelVersionInput) SetTrainingDataSchema(v *TrainingDataSchema) *CreateModelVersionInput
SetTrainingDataSchema sets the TrainingDataSchema field's value.
func (s *CreateModelVersionInput) SetTrainingDataSource(v string) *CreateModelVersionInput
SetTrainingDataSource sets the TrainingDataSource field's value.
func (s CreateModelVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateModelVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateModelVersionOutput struct { // The model ID. ModelId *string `locationName:"modelId" min:"1" type:"string"` // The model type. ModelType *string `locationName:"modelType" type:"string" enum:"ModelTypeEnum"` // The model version number of the model version created. ModelVersionNumber *string `locationName:"modelVersionNumber" min:"3" type:"string"` // The model version status. Status *string `locationName:"status" type:"string"` // contains filtered or unexported fields }
func (s CreateModelVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateModelVersionOutput) SetModelId(v string) *CreateModelVersionOutput
SetModelId sets the ModelId field's value.
func (s *CreateModelVersionOutput) SetModelType(v string) *CreateModelVersionOutput
SetModelType sets the ModelType field's value.
func (s *CreateModelVersionOutput) SetModelVersionNumber(v string) *CreateModelVersionOutput
SetModelVersionNumber sets the ModelVersionNumber field's value.
func (s *CreateModelVersionOutput) SetStatus(v string) *CreateModelVersionOutput
SetStatus sets the Status field's value.
func (s CreateModelVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateRuleInput struct { // The rule description. Description *string `locationName:"description" min:"1" type:"string"` // The detector ID for the rule's parent detector. // // DetectorId is a required field DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"` // The rule expression. // // Expression is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateRuleInput's // String and GoString methods. // // Expression is a required field Expression *string `locationName:"expression" min:"1" type:"string" required:"true" sensitive:"true"` // The language of the rule. // // Language is a required field Language *string `locationName:"language" type:"string" required:"true" enum:"Language"` // The outcome or outcomes returned when the rule expression matches. // // Outcomes is a required field Outcomes []*string `locationName:"outcomes" min:"1" type:"list" required:"true"` // The rule ID. // // RuleId is a required field RuleId *string `locationName:"ruleId" min:"1" type:"string" required:"true"` // A collection of key and value pairs. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (s CreateRuleInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRuleInput) SetDescription(v string) *CreateRuleInput
SetDescription sets the Description field's value.
func (s *CreateRuleInput) SetDetectorId(v string) *CreateRuleInput
SetDetectorId sets the DetectorId field's value.
func (s *CreateRuleInput) SetExpression(v string) *CreateRuleInput
SetExpression sets the Expression field's value.
func (s *CreateRuleInput) SetLanguage(v string) *CreateRuleInput
SetLanguage sets the Language field's value.
func (s *CreateRuleInput) SetOutcomes(v []*string) *CreateRuleInput
SetOutcomes sets the Outcomes field's value.
func (s *CreateRuleInput) SetRuleId(v string) *CreateRuleInput
SetRuleId sets the RuleId field's value.
func (s *CreateRuleInput) SetTags(v []*Tag) *CreateRuleInput
SetTags sets the Tags field's value.
func (s CreateRuleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRuleOutput struct { // The created rule. Rule *Rule `locationName:"rule" type:"structure"` // contains filtered or unexported fields }
func (s CreateRuleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRuleOutput) SetRule(v *Rule) *CreateRuleOutput
SetRule sets the Rule field's value.
func (s CreateRuleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateVariableInput struct { // The source of the data. // // DataSource is a required field DataSource *string `locationName:"dataSource" type:"string" required:"true" enum:"DataSource"` // The data type of the variable. // // DataType is a required field DataType *string `locationName:"dataType" type:"string" required:"true" enum:"DataType"` // The default value for the variable when no value is received. // // DefaultValue is a required field DefaultValue *string `locationName:"defaultValue" type:"string" required:"true"` // The description. Description *string `locationName:"description" type:"string"` // The name of the variable. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // A collection of key and value pairs. Tags []*Tag `locationName:"tags" type:"list"` // The variable type. For more information see Variable types (https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types). // // Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | // BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE // | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | // FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID // | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 // | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME // | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT VariableType *string `locationName:"variableType" type:"string"` // contains filtered or unexported fields }
func (s CreateVariableInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVariableInput) SetDataSource(v string) *CreateVariableInput
SetDataSource sets the DataSource field's value.
func (s *CreateVariableInput) SetDataType(v string) *CreateVariableInput
SetDataType sets the DataType field's value.
func (s *CreateVariableInput) SetDefaultValue(v string) *CreateVariableInput
SetDefaultValue sets the DefaultValue field's value.
func (s *CreateVariableInput) SetDescription(v string) *CreateVariableInput
SetDescription sets the Description field's value.
func (s *CreateVariableInput) SetName(v string) *CreateVariableInput
SetName sets the Name field's value.
func (s *CreateVariableInput) SetTags(v []*Tag) *CreateVariableInput
SetTags sets the Tags field's value.
func (s *CreateVariableInput) SetVariableType(v string) *CreateVariableInput
SetVariableType sets the VariableType field's value.
func (s CreateVariableInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVariableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVariableOutput struct {
// contains filtered or unexported fields
}
func (s CreateVariableOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s CreateVariableOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DataValidationMetrics struct { // The field-specific model training validation messages. FieldLevelMessages []*FieldValidationMessage `locationName:"fieldLevelMessages" type:"list"` // The file-specific model training data validation messages. FileLevelMessages []*FileValidationMessage `locationName:"fileLevelMessages" type:"list"` // contains filtered or unexported fields }
The model training data validation metrics.
func (s DataValidationMetrics) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DataValidationMetrics) SetFieldLevelMessages(v []*FieldValidationMessage) *DataValidationMetrics
SetFieldLevelMessages sets the FieldLevelMessages field's value.
func (s *DataValidationMetrics) SetFileLevelMessages(v []*FileValidationMessage) *DataValidationMetrics
SetFileLevelMessages sets the FileLevelMessages field's value.
func (s DataValidationMetrics) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteBatchImportJobInput struct { // The ID of the batch import job to delete. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteBatchImportJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteBatchImportJobInput) SetJobId(v string) *DeleteBatchImportJobInput
SetJobId sets the JobId field's value.
func (s DeleteBatchImportJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteBatchImportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBatchImportJobOutput struct {
// contains filtered or unexported fields
}
func (s DeleteBatchImportJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteBatchImportJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteBatchPredictionJobInput struct { // The ID of the batch prediction job to delete. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteBatchPredictionJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteBatchPredictionJobInput) SetJobId(v string) *DeleteBatchPredictionJobInput
SetJobId sets the JobId field's value.
func (s DeleteBatchPredictionJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteBatchPredictionJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBatchPredictionJobOutput struct {
// contains filtered or unexported fields
}
func (s DeleteBatchPredictionJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteBatchPredictionJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteDetectorInput struct { // The ID of the detector to delete. // // DetectorId is a required field DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteDetectorInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDetectorInput) SetDetectorId(v string) *DeleteDetectorInput
SetDetectorId sets the DetectorId field's value.
func (s DeleteDetectorInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDetectorOutput struct {
// contains filtered or unexported fields
}
func (s DeleteDetectorOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteDetectorOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteDetectorVersionInput struct { // The ID of the parent detector for the detector version to delete. // // DetectorId is a required field DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"` // The ID of the detector version to delete. // // DetectorVersionId is a required field DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteDetectorVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDetectorVersionInput) SetDetectorId(v string) *DeleteDetectorVersionInput
SetDetectorId sets the DetectorId field's value.
func (s *DeleteDetectorVersionInput) SetDetectorVersionId(v string) *DeleteDetectorVersionInput
SetDetectorVersionId sets the DetectorVersionId field's value.
func (s DeleteDetectorVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDetectorVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDetectorVersionOutput struct {
// contains filtered or unexported fields
}
func (s DeleteDetectorVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteDetectorVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteEntityTypeInput struct { // The name of the entity type to delete. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteEntityTypeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteEntityTypeInput) SetName(v string) *DeleteEntityTypeInput
SetName sets the Name field's value.
func (s DeleteEntityTypeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteEntityTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEntityTypeOutput struct {
// contains filtered or unexported fields
}
func (s DeleteEntityTypeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteEntityTypeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteEventInput struct { // Specifies whether or not to delete any predictions associated with the event. // If set to True, DeleteAuditHistory *bool `locationName:"deleteAuditHistory" type:"boolean"` // The ID of the event to delete. // // EventId is a required field EventId *string `locationName:"eventId" min:"1" type:"string" required:"true"` // The name of the event type. // // EventTypeName is a required field EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteEventInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteEventInput) SetDeleteAuditHistory(v bool) *DeleteEventInput
SetDeleteAuditHistory sets the DeleteAuditHistory field's value.
func (s *DeleteEventInput) SetEventId(v string) *DeleteEventInput
SetEventId sets the EventId field's value.
func (s *DeleteEventInput) SetEventTypeName(v string) *DeleteEventInput
SetEventTypeName sets the EventTypeName field's value.
func (s DeleteEventInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteEventInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEventOutput struct {
// contains filtered or unexported fields
}
func (s DeleteEventOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteEventOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteEventTypeInput struct { // The name of the event type to delete. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteEventTypeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteEventTypeInput) SetName(v string) *DeleteEventTypeInput
SetName sets the Name field's value.
func (s DeleteEventTypeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteEventTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEventTypeOutput struct {
// contains filtered or unexported fields
}
func (s DeleteEventTypeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteEventTypeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteEventsByEventTypeInput struct { // The name of the event type. // // EventTypeName is a required field EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteEventsByEventTypeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteEventsByEventTypeInput) SetEventTypeName(v string) *DeleteEventsByEventTypeInput
SetEventTypeName sets the EventTypeName field's value.
func (s DeleteEventsByEventTypeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteEventsByEventTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEventsByEventTypeOutput struct { // Name of event type for which to delete the events. EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` // The status of the delete request. EventsDeletionStatus *string `locationName:"eventsDeletionStatus" type:"string"` // contains filtered or unexported fields }
func (s DeleteEventsByEventTypeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteEventsByEventTypeOutput) SetEventTypeName(v string) *DeleteEventsByEventTypeOutput
SetEventTypeName sets the EventTypeName field's value.
func (s *DeleteEventsByEventTypeOutput) SetEventsDeletionStatus(v string) *DeleteEventsByEventTypeOutput
SetEventsDeletionStatus sets the EventsDeletionStatus field's value.
func (s DeleteEventsByEventTypeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteExternalModelInput struct { // The endpoint of the Amazon Sagemaker model to delete. // // ModelEndpoint is a required field ModelEndpoint *string `locationName:"modelEndpoint" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteExternalModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteExternalModelInput) SetModelEndpoint(v string) *DeleteExternalModelInput
SetModelEndpoint sets the ModelEndpoint field's value.
func (s DeleteExternalModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteExternalModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteExternalModelOutput struct {
// contains filtered or unexported fields
}
func (s DeleteExternalModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteExternalModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteLabelInput struct { // The name of the label to delete. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteLabelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteLabelInput) SetName(v string) *DeleteLabelInput
SetName sets the Name field's value.
func (s DeleteLabelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteLabelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLabelOutput struct {
// contains filtered or unexported fields
}
func (s DeleteLabelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteLabelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteListInput struct { // The name of the list to delete. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteListInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteListInput) SetName(v string) *DeleteListInput
SetName sets the Name field's value.
func (s DeleteListInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteListOutput struct {
// contains filtered or unexported fields
}
func (s DeleteListOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteListOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteModelInput struct { // The model ID of the model to delete. // // ModelId is a required field ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"` // The model type of the model to delete. // // ModelType is a required field ModelType *string `locationName:"modelType" type:"string" required:"true" enum:"ModelTypeEnum"` // contains filtered or unexported fields }
func (s DeleteModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteModelInput) SetModelId(v string) *DeleteModelInput
SetModelId sets the ModelId field's value.
func (s *DeleteModelInput) SetModelType(v string) *DeleteModelInput
SetModelType sets the ModelType field's value.
func (s DeleteModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteModelOutput struct {
// contains filtered or unexported fields
}
func (s DeleteModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteModelVersionInput struct { // The model ID of the model version to delete. // // ModelId is a required field ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"` // The model type of the model version to delete. // // ModelType is a required field ModelType *string `locationName:"modelType" type:"string" required:"true" enum:"ModelTypeEnum"` // The model version number of the model version to delete. // // ModelVersionNumber is a required field ModelVersionNumber *string `locationName:"modelVersionNumber" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteModelVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteModelVersionInput) SetModelId(v string) *DeleteModelVersionInput
SetModelId sets the ModelId field's value.
func (s *DeleteModelVersionInput) SetModelType(v string) *DeleteModelVersionInput
SetModelType sets the ModelType field's value.
func (s *DeleteModelVersionInput) SetModelVersionNumber(v string) *DeleteModelVersionInput
SetModelVersionNumber sets the ModelVersionNumber field's value.
func (s DeleteModelVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteModelVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteModelVersionOutput struct {
// contains filtered or unexported fields
}
func (s DeleteModelVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteModelVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteOutcomeInput struct { // The name of the outcome to delete. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteOutcomeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteOutcomeInput) SetName(v string) *DeleteOutcomeInput
SetName sets the Name field's value.
func (s DeleteOutcomeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteOutcomeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteOutcomeOutput struct {
// contains filtered or unexported fields
}
func (s DeleteOutcomeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteOutcomeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRuleInput struct { // A rule. // // Rule is a required field Rule *Rule `locationName:"rule" type:"structure" required:"true"` // contains filtered or unexported fields }
func (s DeleteRuleInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRuleInput) SetRule(v *Rule) *DeleteRuleInput
SetRule sets the Rule field's value.
func (s DeleteRuleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRuleOutput struct {
// contains filtered or unexported fields
}
func (s DeleteRuleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteRuleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteVariableInput struct { // The name of the variable to delete. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteVariableInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVariableInput) SetName(v string) *DeleteVariableInput
SetName sets the Name field's value.
func (s DeleteVariableInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVariableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVariableOutput struct {
// contains filtered or unexported fields
}
func (s DeleteVariableOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteVariableOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeDetectorInput struct { // The detector ID. // // DetectorId is a required field DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"` // The maximum number of results to return for the request. MaxResults *int64 `locationName:"maxResults" min:"1000" type:"integer"` // The next token from the previous response. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s DescribeDetectorInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeDetectorInput) SetDetectorId(v string) *DescribeDetectorInput
SetDetectorId sets the DetectorId field's value.
func (s *DescribeDetectorInput) SetMaxResults(v int64) *DescribeDetectorInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeDetectorInput) SetNextToken(v string) *DescribeDetectorInput
SetNextToken sets the NextToken field's value.
func (s DescribeDetectorInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDetectorOutput struct { // The detector ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // The detector ID. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` // The status and description for each detector version. DetectorVersionSummaries []*DetectorVersionSummary `locationName:"detectorVersionSummaries" type:"list"` // The next token to be used for subsequent requests. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s DescribeDetectorOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeDetectorOutput) SetArn(v string) *DescribeDetectorOutput
SetArn sets the Arn field's value.
func (s *DescribeDetectorOutput) SetDetectorId(v string) *DescribeDetectorOutput
SetDetectorId sets the DetectorId field's value.
func (s *DescribeDetectorOutput) SetDetectorVersionSummaries(v []*DetectorVersionSummary) *DescribeDetectorOutput
SetDetectorVersionSummaries sets the DetectorVersionSummaries field's value.
func (s *DescribeDetectorOutput) SetNextToken(v string) *DescribeDetectorOutput
SetNextToken sets the NextToken field's value.
func (s DescribeDetectorOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeModelVersionsInput struct { // The maximum number of results to return. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The model ID. ModelId *string `locationName:"modelId" min:"1" type:"string"` // The model type. ModelType *string `locationName:"modelType" type:"string" enum:"ModelTypeEnum"` // The model version number. ModelVersionNumber *string `locationName:"modelVersionNumber" min:"3" type:"string"` // The next token from the previous results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s DescribeModelVersionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeModelVersionsInput) SetMaxResults(v int64) *DescribeModelVersionsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeModelVersionsInput) SetModelId(v string) *DescribeModelVersionsInput
SetModelId sets the ModelId field's value.
func (s *DescribeModelVersionsInput) SetModelType(v string) *DescribeModelVersionsInput
SetModelType sets the ModelType field's value.
func (s *DescribeModelVersionsInput) SetModelVersionNumber(v string) *DescribeModelVersionsInput
SetModelVersionNumber sets the ModelVersionNumber field's value.
func (s *DescribeModelVersionsInput) SetNextToken(v string) *DescribeModelVersionsInput
SetNextToken sets the NextToken field's value.
func (s DescribeModelVersionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeModelVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeModelVersionsOutput struct { // The model version details. ModelVersionDetails []*ModelVersionDetail `locationName:"modelVersionDetails" type:"list"` // The next token. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s DescribeModelVersionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeModelVersionsOutput) SetModelVersionDetails(v []*ModelVersionDetail) *DescribeModelVersionsOutput
SetModelVersionDetails sets the ModelVersionDetails field's value.
func (s *DescribeModelVersionsOutput) SetNextToken(v string) *DescribeModelVersionsOutput
SetNextToken sets the NextToken field's value.
func (s DescribeModelVersionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Detector struct { // The detector ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Timestamp of when the detector was created. CreatedTime *string `locationName:"createdTime" min:"11" type:"string"` // The detector description. Description *string `locationName:"description" min:"1" type:"string"` // The detector ID. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` // The name of the event type. EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` // Timestamp of when the detector was last updated. LastUpdatedTime *string `locationName:"lastUpdatedTime" min:"11" type:"string"` // contains filtered or unexported fields }
The detector.
func (s Detector) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Detector) SetArn(v string) *Detector
SetArn sets the Arn field's value.
func (s *Detector) SetCreatedTime(v string) *Detector
SetCreatedTime sets the CreatedTime field's value.
func (s *Detector) SetDescription(v string) *Detector
SetDescription sets the Description field's value.
func (s *Detector) SetDetectorId(v string) *Detector
SetDetectorId sets the DetectorId field's value.
func (s *Detector) SetEventTypeName(v string) *Detector
SetEventTypeName sets the EventTypeName field's value.
func (s *Detector) SetLastUpdatedTime(v string) *Detector
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (s Detector) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DetectorVersionSummary struct { // The detector version description. Description *string `locationName:"description" min:"1" type:"string"` // The detector version ID. DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string"` // Timestamp of when the detector version was last updated. LastUpdatedTime *string `locationName:"lastUpdatedTime" min:"11" type:"string"` // The detector version status. Status *string `locationName:"status" type:"string" enum:"DetectorVersionStatus"` // contains filtered or unexported fields }
The summary of the detector version.
func (s DetectorVersionSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DetectorVersionSummary) SetDescription(v string) *DetectorVersionSummary
SetDescription sets the Description field's value.
func (s *DetectorVersionSummary) SetDetectorVersionId(v string) *DetectorVersionSummary
SetDetectorVersionId sets the DetectorVersionId field's value.
func (s *DetectorVersionSummary) SetLastUpdatedTime(v string) *DetectorVersionSummary
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (s *DetectorVersionSummary) SetStatus(v string) *DetectorVersionSummary
SetStatus sets the Status field's value.
func (s DetectorVersionSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Entity struct { // The entity ID. If you do not know the entityId, you can pass unknown, which // is areserved string literal. // // EntityId is a required field EntityId *string `locationName:"entityId" min:"1" type:"string" required:"true"` // The entity type. // // EntityType is a required field EntityType *string `locationName:"entityType" type:"string" required:"true"` // contains filtered or unexported fields }
The entity details.
func (s Entity) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Entity) SetEntityId(v string) *Entity
SetEntityId sets the EntityId field's value.
func (s *Entity) SetEntityType(v string) *Entity
SetEntityType sets the EntityType field's value.
func (s Entity) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Entity) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EntityType struct { // The entity type ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Timestamp of when the entity type was created. CreatedTime *string `locationName:"createdTime" min:"11" type:"string"` // The entity type description. Description *string `locationName:"description" min:"1" type:"string"` // Timestamp of when the entity type was last updated. LastUpdatedTime *string `locationName:"lastUpdatedTime" min:"11" type:"string"` // The entity type name. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
The entity type details.
func (s EntityType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EntityType) SetArn(v string) *EntityType
SetArn sets the Arn field's value.
func (s *EntityType) SetCreatedTime(v string) *EntityType
SetCreatedTime sets the CreatedTime field's value.
func (s *EntityType) SetDescription(v string) *EntityType
SetDescription sets the Description field's value.
func (s *EntityType) SetLastUpdatedTime(v string) *EntityType
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (s *EntityType) SetName(v string) *EntityType
SetName sets the Name field's value.
func (s EntityType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EvaluatedExternalModel struct { // Input variables use for generating predictions. // // InputVariables is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EvaluatedExternalModel's // String and GoString methods. InputVariables map[string]*string `locationName:"inputVariables" type:"map" sensitive:"true"` // The endpoint of the external (Amazon Sagemaker) model. ModelEndpoint *string `locationName:"modelEndpoint" type:"string"` // Output variables. // // OutputVariables is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EvaluatedExternalModel's // String and GoString methods. OutputVariables map[string]*string `locationName:"outputVariables" type:"map" sensitive:"true"` // Indicates whether event variables were used to generate predictions. UseEventVariables *bool `locationName:"useEventVariables" type:"boolean"` // contains filtered or unexported fields }
The details of the external (Amazon Sagemaker) model evaluated for generating predictions.
func (s EvaluatedExternalModel) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluatedExternalModel) SetInputVariables(v map[string]*string) *EvaluatedExternalModel
SetInputVariables sets the InputVariables field's value.
func (s *EvaluatedExternalModel) SetModelEndpoint(v string) *EvaluatedExternalModel
SetModelEndpoint sets the ModelEndpoint field's value.
func (s *EvaluatedExternalModel) SetOutputVariables(v map[string]*string) *EvaluatedExternalModel
SetOutputVariables sets the OutputVariables field's value.
func (s *EvaluatedExternalModel) SetUseEventVariables(v bool) *EvaluatedExternalModel
SetUseEventVariables sets the UseEventVariables field's value.
func (s EvaluatedExternalModel) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EvaluatedModelVersion struct { // Evaluations generated for the model version. Evaluations []*ModelVersionEvaluation `locationName:"evaluations" type:"list"` // The model ID. ModelId *string `locationName:"modelId" type:"string"` // The model type. // // Valid values: ONLINE_FRAUD_INSIGHTS | TRANSACTION_FRAUD_INSIGHTS ModelType *string `locationName:"modelType" type:"string"` // The model version. ModelVersion *string `locationName:"modelVersion" type:"string"` // contains filtered or unexported fields }
The model version evaluated for generating prediction.
func (s EvaluatedModelVersion) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluatedModelVersion) SetEvaluations(v []*ModelVersionEvaluation) *EvaluatedModelVersion
SetEvaluations sets the Evaluations field's value.
func (s *EvaluatedModelVersion) SetModelId(v string) *EvaluatedModelVersion
SetModelId sets the ModelId field's value.
func (s *EvaluatedModelVersion) SetModelType(v string) *EvaluatedModelVersion
SetModelType sets the ModelType field's value.
func (s *EvaluatedModelVersion) SetModelVersion(v string) *EvaluatedModelVersion
SetModelVersion sets the ModelVersion field's value.
func (s EvaluatedModelVersion) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EvaluatedRule struct { // Indicates whether the rule was evaluated. Evaluated *bool `locationName:"evaluated" type:"boolean"` // The rule expression. // // Expression is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EvaluatedRule's // String and GoString methods. Expression *string `locationName:"expression" type:"string" sensitive:"true"` // The rule expression value. // // ExpressionWithValues is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EvaluatedRule's // String and GoString methods. ExpressionWithValues *string `locationName:"expressionWithValues" type:"string" sensitive:"true"` // Indicates whether the rule matched. Matched *bool `locationName:"matched" type:"boolean"` // The rule outcome. Outcomes []*string `locationName:"outcomes" type:"list"` // The rule ID. RuleId *string `locationName:"ruleId" min:"1" type:"string"` // The rule version. RuleVersion *string `locationName:"ruleVersion" min:"1" type:"string"` // contains filtered or unexported fields }
The details of the rule used for evaluating variable values.
func (s EvaluatedRule) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluatedRule) SetEvaluated(v bool) *EvaluatedRule
SetEvaluated sets the Evaluated field's value.
func (s *EvaluatedRule) SetExpression(v string) *EvaluatedRule
SetExpression sets the Expression field's value.
func (s *EvaluatedRule) SetExpressionWithValues(v string) *EvaluatedRule
SetExpressionWithValues sets the ExpressionWithValues field's value.
func (s *EvaluatedRule) SetMatched(v bool) *EvaluatedRule
SetMatched sets the Matched field's value.
func (s *EvaluatedRule) SetOutcomes(v []*string) *EvaluatedRule
SetOutcomes sets the Outcomes field's value.
func (s *EvaluatedRule) SetRuleId(v string) *EvaluatedRule
SetRuleId sets the RuleId field's value.
func (s *EvaluatedRule) SetRuleVersion(v string) *EvaluatedRule
SetRuleVersion sets the RuleVersion field's value.
func (s EvaluatedRule) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Event struct { // The label associated with the event. CurrentLabel *string `locationName:"currentLabel" type:"string"` // The event entities. Entities []*Entity `locationName:"entities" type:"list" sensitive:"true"` // The event ID. EventId *string `locationName:"eventId" type:"string"` // The timestamp that defines when the event under evaluation occurred. The // timestamp must be specified using ISO 8601 standard in UTC. EventTimestamp *string `locationName:"eventTimestamp" type:"string"` // The event type. EventTypeName *string `locationName:"eventTypeName" type:"string"` // Names of the event type's variables you defined in Amazon Fraud Detector // to represent data elements and their corresponding values for the event you // are sending for evaluation. EventVariables map[string]*string `locationName:"eventVariables" type:"map" sensitive:"true"` // The timestamp associated with the label to update. The timestamp must be // specified using ISO 8601 standard in UTC. LabelTimestamp *string `locationName:"labelTimestamp" type:"string"` // contains filtered or unexported fields }
The event details.
func (s Event) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Event) SetCurrentLabel(v string) *Event
SetCurrentLabel sets the CurrentLabel field's value.
func (s *Event) SetEntities(v []*Entity) *Event
SetEntities sets the Entities field's value.
func (s *Event) SetEventId(v string) *Event
SetEventId sets the EventId field's value.
func (s *Event) SetEventTimestamp(v string) *Event
SetEventTimestamp sets the EventTimestamp field's value.
func (s *Event) SetEventTypeName(v string) *Event
SetEventTypeName sets the EventTypeName field's value.
func (s *Event) SetEventVariables(v map[string]*string) *Event
SetEventVariables sets the EventVariables field's value.
func (s *Event) SetLabelTimestamp(v string) *Event
SetLabelTimestamp sets the LabelTimestamp field's value.
func (s Event) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventOrchestration struct { // Specifies if event orchestration is enabled through Amazon EventBridge. // // EventBridgeEnabled is a required field EventBridgeEnabled *bool `locationName:"eventBridgeEnabled" type:"boolean" required:"true"` // contains filtered or unexported fields }
The event orchestration status.
func (s EventOrchestration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EventOrchestration) SetEventBridgeEnabled(v bool) *EventOrchestration
SetEventBridgeEnabled sets the EventBridgeEnabled field's value.
func (s EventOrchestration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EventOrchestration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EventPredictionSummary struct { // The detector ID. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` // The detector version ID. DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string"` // The event ID. EventId *string `locationName:"eventId" min:"1" type:"string"` // The timestamp of the event. EventTimestamp *string `locationName:"eventTimestamp" min:"11" type:"string"` // The event type. EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` // The timestamp when the prediction was generated. PredictionTimestamp *string `locationName:"predictionTimestamp" min:"11" type:"string"` // contains filtered or unexported fields }
Information about the summary of an event prediction.
func (s EventPredictionSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EventPredictionSummary) SetDetectorId(v string) *EventPredictionSummary
SetDetectorId sets the DetectorId field's value.
func (s *EventPredictionSummary) SetDetectorVersionId(v string) *EventPredictionSummary
SetDetectorVersionId sets the DetectorVersionId field's value.
func (s *EventPredictionSummary) SetEventId(v string) *EventPredictionSummary
SetEventId sets the EventId field's value.
func (s *EventPredictionSummary) SetEventTimestamp(v string) *EventPredictionSummary
SetEventTimestamp sets the EventTimestamp field's value.
func (s *EventPredictionSummary) SetEventTypeName(v string) *EventPredictionSummary
SetEventTypeName sets the EventTypeName field's value.
func (s *EventPredictionSummary) SetPredictionTimestamp(v string) *EventPredictionSummary
SetPredictionTimestamp sets the PredictionTimestamp field's value.
func (s EventPredictionSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventType struct { // The entity type ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Timestamp of when the event type was created. CreatedTime *string `locationName:"createdTime" min:"11" type:"string"` // The event type description. Description *string `locationName:"description" min:"1" type:"string"` // The event type entity types. EntityTypes []*string `locationName:"entityTypes" min:"1" type:"list"` // If Enabled, Amazon Fraud Detector stores event data when you generate a prediction // and uses that data to update calculated variables in near real-time. Amazon // Fraud Detector uses this data, known as INGESTED_EVENTS, to train your model // and improve fraud predictions. EventIngestion *string `locationName:"eventIngestion" type:"string" enum:"EventIngestion"` // The event orchestration status. EventOrchestration *EventOrchestration `locationName:"eventOrchestration" type:"structure"` // The event type event variables. EventVariables []*string `locationName:"eventVariables" type:"list"` // Data about the stored events. IngestedEventStatistics *IngestedEventStatistics `locationName:"ingestedEventStatistics" type:"structure"` // The event type labels. Labels []*string `locationName:"labels" type:"list"` // Timestamp of when the event type was last updated. LastUpdatedTime *string `locationName:"lastUpdatedTime" min:"11" type:"string"` // The event type name. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
The event type details.
func (s EventType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EventType) SetArn(v string) *EventType
SetArn sets the Arn field's value.
func (s *EventType) SetCreatedTime(v string) *EventType
SetCreatedTime sets the CreatedTime field's value.
func (s *EventType) SetDescription(v string) *EventType
SetDescription sets the Description field's value.
func (s *EventType) SetEntityTypes(v []*string) *EventType
SetEntityTypes sets the EntityTypes field's value.
func (s *EventType) SetEventIngestion(v string) *EventType
SetEventIngestion sets the EventIngestion field's value.
func (s *EventType) SetEventOrchestration(v *EventOrchestration) *EventType
SetEventOrchestration sets the EventOrchestration field's value.
func (s *EventType) SetEventVariables(v []*string) *EventType
SetEventVariables sets the EventVariables field's value.
func (s *EventType) SetIngestedEventStatistics(v *IngestedEventStatistics) *EventType
SetIngestedEventStatistics sets the IngestedEventStatistics field's value.
func (s *EventType) SetLabels(v []*string) *EventType
SetLabels sets the Labels field's value.
func (s *EventType) SetLastUpdatedTime(v string) *EventType
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (s *EventType) SetName(v string) *EventType
SetName sets the Name field's value.
func (s EventType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventVariableSummary struct { // The event variable name. // // Name is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EventVariableSummary's // String and GoString methods. Name *string `locationName:"name" type:"string" sensitive:"true"` // The event variable source. // // Source is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EventVariableSummary's // String and GoString methods. Source *string `locationName:"source" type:"string" sensitive:"true"` // The value of the event variable. // // Value is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EventVariableSummary's // String and GoString methods. Value *string `locationName:"value" type:"string" sensitive:"true"` // contains filtered or unexported fields }
Information about the summary of an event variable that was evaluated for generating prediction.
func (s EventVariableSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EventVariableSummary) SetName(v string) *EventVariableSummary
SetName sets the Name field's value.
func (s *EventVariableSummary) SetSource(v string) *EventVariableSummary
SetSource sets the Source field's value.
func (s *EventVariableSummary) SetValue(v string) *EventVariableSummary
SetValue sets the Value field's value.
func (s EventVariableSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExternalEventsDetail struct { // The ARN of the role that provides Amazon Fraud Detector access to the data // location. // // DataAccessRoleArn is a required field DataAccessRoleArn *string `locationName:"dataAccessRoleArn" min:"1" type:"string" required:"true"` // The Amazon S3 bucket location for the data. // // DataLocation is a required field DataLocation *string `locationName:"dataLocation" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Details for the external events data used for model version training.
func (s ExternalEventsDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ExternalEventsDetail) SetDataAccessRoleArn(v string) *ExternalEventsDetail
SetDataAccessRoleArn sets the DataAccessRoleArn field's value.
func (s *ExternalEventsDetail) SetDataLocation(v string) *ExternalEventsDetail
SetDataLocation sets the DataLocation field's value.
func (s ExternalEventsDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ExternalEventsDetail) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExternalModel struct { // The model ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Timestamp of when the model was last created. CreatedTime *string `locationName:"createdTime" min:"11" type:"string"` // The input configuration. InputConfiguration *ModelInputConfiguration `locationName:"inputConfiguration" type:"structure"` // The role used to invoke the model. InvokeModelEndpointRoleArn *string `locationName:"invokeModelEndpointRoleArn" type:"string"` // Timestamp of when the model was last updated. LastUpdatedTime *string `locationName:"lastUpdatedTime" min:"11" type:"string"` // The Amazon SageMaker model endpoints. ModelEndpoint *string `locationName:"modelEndpoint" type:"string"` // The Amazon Fraud Detector status for the external model endpoint ModelEndpointStatus *string `locationName:"modelEndpointStatus" type:"string" enum:"ModelEndpointStatus"` // The source of the model. ModelSource *string `locationName:"modelSource" type:"string" enum:"ModelSource"` // The output configuration. OutputConfiguration *ModelOutputConfiguration `locationName:"outputConfiguration" type:"structure"` // contains filtered or unexported fields }
The Amazon SageMaker model.
func (s ExternalModel) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ExternalModel) SetArn(v string) *ExternalModel
SetArn sets the Arn field's value.
func (s *ExternalModel) SetCreatedTime(v string) *ExternalModel
SetCreatedTime sets the CreatedTime field's value.
func (s *ExternalModel) SetInputConfiguration(v *ModelInputConfiguration) *ExternalModel
SetInputConfiguration sets the InputConfiguration field's value.
func (s *ExternalModel) SetInvokeModelEndpointRoleArn(v string) *ExternalModel
SetInvokeModelEndpointRoleArn sets the InvokeModelEndpointRoleArn field's value.
func (s *ExternalModel) SetLastUpdatedTime(v string) *ExternalModel
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (s *ExternalModel) SetModelEndpoint(v string) *ExternalModel
SetModelEndpoint sets the ModelEndpoint field's value.
func (s *ExternalModel) SetModelEndpointStatus(v string) *ExternalModel
SetModelEndpointStatus sets the ModelEndpointStatus field's value.
func (s *ExternalModel) SetModelSource(v string) *ExternalModel
SetModelSource sets the ModelSource field's value.
func (s *ExternalModel) SetOutputConfiguration(v *ModelOutputConfiguration) *ExternalModel
SetOutputConfiguration sets the OutputConfiguration field's value.
func (s ExternalModel) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExternalModelOutputs struct { // The Amazon SageMaker model. ExternalModel *ExternalModelSummary `locationName:"externalModel" type:"structure"` // The fraud prediction scores from Amazon SageMaker model. Outputs map[string]*string `locationName:"outputs" type:"map"` // contains filtered or unexported fields }
The fraud prediction scores from Amazon SageMaker model.
func (s ExternalModelOutputs) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ExternalModelOutputs) SetExternalModel(v *ExternalModelSummary) *ExternalModelOutputs
SetExternalModel sets the ExternalModel field's value.
func (s *ExternalModelOutputs) SetOutputs(v map[string]*string) *ExternalModelOutputs
SetOutputs sets the Outputs field's value.
func (s ExternalModelOutputs) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExternalModelSummary struct { // The endpoint of the Amazon SageMaker model. ModelEndpoint *string `locationName:"modelEndpoint" type:"string"` // The source of the model. ModelSource *string `locationName:"modelSource" type:"string" enum:"ModelSource"` // contains filtered or unexported fields }
The Amazon SageMaker model.
func (s ExternalModelSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ExternalModelSummary) SetModelEndpoint(v string) *ExternalModelSummary
SetModelEndpoint sets the ModelEndpoint field's value.
func (s *ExternalModelSummary) SetModelSource(v string) *ExternalModelSummary
SetModelSource sets the ModelSource field's value.
func (s ExternalModelSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FieldValidationMessage struct { // The message content. Content *string `locationName:"content" type:"string"` // The field name. FieldName *string `locationName:"fieldName" type:"string"` // The message ID. Identifier *string `locationName:"identifier" type:"string"` // The message title. Title *string `locationName:"title" type:"string"` // The message type. Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
The message details.
func (s FieldValidationMessage) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FieldValidationMessage) SetContent(v string) *FieldValidationMessage
SetContent sets the Content field's value.
func (s *FieldValidationMessage) SetFieldName(v string) *FieldValidationMessage
SetFieldName sets the FieldName field's value.
func (s *FieldValidationMessage) SetIdentifier(v string) *FieldValidationMessage
SetIdentifier sets the Identifier field's value.
func (s *FieldValidationMessage) SetTitle(v string) *FieldValidationMessage
SetTitle sets the Title field's value.
func (s *FieldValidationMessage) SetType(v string) *FieldValidationMessage
SetType sets the Type field's value.
func (s FieldValidationMessage) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FileValidationMessage struct { // The message content. Content *string `locationName:"content" type:"string"` // The message title. Title *string `locationName:"title" type:"string"` // The message type. Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
The message details.
func (s FileValidationMessage) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FileValidationMessage) SetContent(v string) *FileValidationMessage
SetContent sets the Content field's value.
func (s *FileValidationMessage) SetTitle(v string) *FileValidationMessage
SetTitle sets the Title field's value.
func (s *FileValidationMessage) SetType(v string) *FileValidationMessage
SetType sets the Type field's value.
func (s FileValidationMessage) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FilterCondition struct { // A statement containing a resource property and a value to specify filter // condition. Value *string `locationName:"value" min:"1" type:"string"` // contains filtered or unexported fields }
A conditional statement for filtering a list of past predictions.
func (s FilterCondition) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FilterCondition) SetValue(v string) *FilterCondition
SetValue sets the Value field's value.
func (s FilterCondition) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FilterCondition) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FraudDetector struct { *client.Client }
FraudDetector provides the API operation methods for making requests to Amazon Fraud Detector. See this package's package overview docs for details on the service.
FraudDetector methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(p client.ConfigProvider, cfgs ...*aws.Config) *FraudDetector
New creates a new instance of the FraudDetector client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a FraudDetector client from just a session. svc := frauddetector.New(mySession) // Create a FraudDetector client with additional configuration svc := frauddetector.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *FraudDetector) BatchCreateVariable(input *BatchCreateVariableInput) (*BatchCreateVariableOutput, error)
BatchCreateVariable API operation for Amazon Fraud Detector.
Creates a batch of variables.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation BatchCreateVariable for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchCreateVariable
func (c *FraudDetector) BatchCreateVariableRequest(input *BatchCreateVariableInput) (req *request.Request, output *BatchCreateVariableOutput)
BatchCreateVariableRequest generates a "aws/request.Request" representing the client's request for the BatchCreateVariable operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchCreateVariable for more information on using the BatchCreateVariable API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchCreateVariableRequest method. req, resp := client.BatchCreateVariableRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchCreateVariable
func (c *FraudDetector) BatchCreateVariableWithContext(ctx aws.Context, input *BatchCreateVariableInput, opts ...request.Option) (*BatchCreateVariableOutput, error)
BatchCreateVariableWithContext is the same as BatchCreateVariable with the addition of the ability to pass a context and additional request options.
See BatchCreateVariable for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) BatchGetVariable(input *BatchGetVariableInput) (*BatchGetVariableOutput, error)
BatchGetVariable API operation for Amazon Fraud Detector.
Gets a batch of variables.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation BatchGetVariable for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchGetVariable
func (c *FraudDetector) BatchGetVariableRequest(input *BatchGetVariableInput) (req *request.Request, output *BatchGetVariableOutput)
BatchGetVariableRequest generates a "aws/request.Request" representing the client's request for the BatchGetVariable operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchGetVariable for more information on using the BatchGetVariable API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchGetVariableRequest method. req, resp := client.BatchGetVariableRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchGetVariable
func (c *FraudDetector) BatchGetVariableWithContext(ctx aws.Context, input *BatchGetVariableInput, opts ...request.Option) (*BatchGetVariableOutput, error)
BatchGetVariableWithContext is the same as BatchGetVariable with the addition of the ability to pass a context and additional request options.
See BatchGetVariable for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CancelBatchImportJob(input *CancelBatchImportJobInput) (*CancelBatchImportJobOutput, error)
CancelBatchImportJob API operation for Amazon Fraud Detector.
Cancels an in-progress batch import job.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CancelBatchImportJob for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchImportJob
func (c *FraudDetector) CancelBatchImportJobRequest(input *CancelBatchImportJobInput) (req *request.Request, output *CancelBatchImportJobOutput)
CancelBatchImportJobRequest generates a "aws/request.Request" representing the client's request for the CancelBatchImportJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CancelBatchImportJob for more information on using the CancelBatchImportJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CancelBatchImportJobRequest method. req, resp := client.CancelBatchImportJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchImportJob
func (c *FraudDetector) CancelBatchImportJobWithContext(ctx aws.Context, input *CancelBatchImportJobInput, opts ...request.Option) (*CancelBatchImportJobOutput, error)
CancelBatchImportJobWithContext is the same as CancelBatchImportJob with the addition of the ability to pass a context and additional request options.
See CancelBatchImportJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CancelBatchPredictionJob(input *CancelBatchPredictionJobInput) (*CancelBatchPredictionJobOutput, error)
CancelBatchPredictionJob API operation for Amazon Fraud Detector.
Cancels the specified batch prediction job.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CancelBatchPredictionJob for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchPredictionJob
func (c *FraudDetector) CancelBatchPredictionJobRequest(input *CancelBatchPredictionJobInput) (req *request.Request, output *CancelBatchPredictionJobOutput)
CancelBatchPredictionJobRequest generates a "aws/request.Request" representing the client's request for the CancelBatchPredictionJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CancelBatchPredictionJob for more information on using the CancelBatchPredictionJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CancelBatchPredictionJobRequest method. req, resp := client.CancelBatchPredictionJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchPredictionJob
func (c *FraudDetector) CancelBatchPredictionJobWithContext(ctx aws.Context, input *CancelBatchPredictionJobInput, opts ...request.Option) (*CancelBatchPredictionJobOutput, error)
CancelBatchPredictionJobWithContext is the same as CancelBatchPredictionJob with the addition of the ability to pass a context and additional request options.
See CancelBatchPredictionJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CreateBatchImportJob(input *CreateBatchImportJobInput) (*CreateBatchImportJobOutput, error)
CreateBatchImportJob API operation for Amazon Fraud Detector.
Creates a batch import job.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CreateBatchImportJob for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchImportJob
func (c *FraudDetector) CreateBatchImportJobRequest(input *CreateBatchImportJobInput) (req *request.Request, output *CreateBatchImportJobOutput)
CreateBatchImportJobRequest generates a "aws/request.Request" representing the client's request for the CreateBatchImportJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateBatchImportJob for more information on using the CreateBatchImportJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateBatchImportJobRequest method. req, resp := client.CreateBatchImportJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchImportJob
func (c *FraudDetector) CreateBatchImportJobWithContext(ctx aws.Context, input *CreateBatchImportJobInput, opts ...request.Option) (*CreateBatchImportJobOutput, error)
CreateBatchImportJobWithContext is the same as CreateBatchImportJob with the addition of the ability to pass a context and additional request options.
See CreateBatchImportJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CreateBatchPredictionJob(input *CreateBatchPredictionJobInput) (*CreateBatchPredictionJobOutput, error)
CreateBatchPredictionJob API operation for Amazon Fraud Detector.
Creates a batch prediction job.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CreateBatchPredictionJob for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ResourceNotFoundException An exception indicating the specified resource was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchPredictionJob
func (c *FraudDetector) CreateBatchPredictionJobRequest(input *CreateBatchPredictionJobInput) (req *request.Request, output *CreateBatchPredictionJobOutput)
CreateBatchPredictionJobRequest generates a "aws/request.Request" representing the client's request for the CreateBatchPredictionJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateBatchPredictionJob for more information on using the CreateBatchPredictionJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateBatchPredictionJobRequest method. req, resp := client.CreateBatchPredictionJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchPredictionJob
func (c *FraudDetector) CreateBatchPredictionJobWithContext(ctx aws.Context, input *CreateBatchPredictionJobInput, opts ...request.Option) (*CreateBatchPredictionJobOutput, error)
CreateBatchPredictionJobWithContext is the same as CreateBatchPredictionJob with the addition of the ability to pass a context and additional request options.
See CreateBatchPredictionJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CreateDetectorVersion(input *CreateDetectorVersionInput) (*CreateDetectorVersionOutput, error)
CreateDetectorVersion API operation for Amazon Fraud Detector.
Creates a detector version. The detector version starts in a DRAFT status.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CreateDetectorVersion for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateDetectorVersion
func (c *FraudDetector) CreateDetectorVersionRequest(input *CreateDetectorVersionInput) (req *request.Request, output *CreateDetectorVersionOutput)
CreateDetectorVersionRequest generates a "aws/request.Request" representing the client's request for the CreateDetectorVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateDetectorVersion for more information on using the CreateDetectorVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateDetectorVersionRequest method. req, resp := client.CreateDetectorVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateDetectorVersion
func (c *FraudDetector) CreateDetectorVersionWithContext(ctx aws.Context, input *CreateDetectorVersionInput, opts ...request.Option) (*CreateDetectorVersionOutput, error)
CreateDetectorVersionWithContext is the same as CreateDetectorVersion with the addition of the ability to pass a context and additional request options.
See CreateDetectorVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CreateList(input *CreateListInput) (*CreateListOutput, error)
CreateList API operation for Amazon Fraud Detector.
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 (https://docs.aws.amazon.com/frauddetector/latest/ug/lists.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CreateList for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateList
func (c *FraudDetector) CreateListRequest(input *CreateListInput) (req *request.Request, output *CreateListOutput)
CreateListRequest generates a "aws/request.Request" representing the client's request for the CreateList operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateList for more information on using the CreateList API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateListRequest method. req, resp := client.CreateListRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateList
func (c *FraudDetector) CreateListWithContext(ctx aws.Context, input *CreateListInput, opts ...request.Option) (*CreateListOutput, error)
CreateListWithContext is the same as CreateList with the addition of the ability to pass a context and additional request options.
See CreateList for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CreateModel(input *CreateModelInput) (*CreateModelOutput, error)
CreateModel API operation for Amazon Fraud Detector.
Creates a model using the specified model type.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CreateModel for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModel
func (c *FraudDetector) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput)
CreateModelRequest generates a "aws/request.Request" representing the client's request for the CreateModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateModel for more information on using the CreateModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateModelRequest method. req, resp := client.CreateModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModel
func (c *FraudDetector) CreateModelVersion(input *CreateModelVersionInput) (*CreateModelVersionOutput, error)
CreateModelVersion API operation for Amazon Fraud Detector.
Creates a version of the model using the specified model type and model id.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CreateModelVersion for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
AccessDeniedException 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.
ThrottlingException An exception indicating a throttling error.
InternalServerException An exception indicating an internal server error.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModelVersion
func (c *FraudDetector) CreateModelVersionRequest(input *CreateModelVersionInput) (req *request.Request, output *CreateModelVersionOutput)
CreateModelVersionRequest generates a "aws/request.Request" representing the client's request for the CreateModelVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateModelVersion for more information on using the CreateModelVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateModelVersionRequest method. req, resp := client.CreateModelVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModelVersion
func (c *FraudDetector) CreateModelVersionWithContext(ctx aws.Context, input *CreateModelVersionInput, opts ...request.Option) (*CreateModelVersionOutput, error)
CreateModelVersionWithContext is the same as CreateModelVersion with the addition of the ability to pass a context and additional request options.
See CreateModelVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error)
CreateModelWithContext is the same as CreateModel with the addition of the ability to pass a context and additional request options.
See CreateModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error)
CreateRule API operation for Amazon Fraud Detector.
Creates a rule for use with the specified detector.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CreateRule for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateRule
func (c *FraudDetector) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput)
CreateRuleRequest generates a "aws/request.Request" representing the client's request for the CreateRule operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateRule for more information on using the CreateRule API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateRuleRequest method. req, resp := client.CreateRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateRule
func (c *FraudDetector) CreateRuleWithContext(ctx aws.Context, input *CreateRuleInput, opts ...request.Option) (*CreateRuleOutput, error)
CreateRuleWithContext is the same as CreateRule with the addition of the ability to pass a context and additional request options.
See CreateRule for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) CreateVariable(input *CreateVariableInput) (*CreateVariableOutput, error)
CreateVariable API operation for Amazon Fraud Detector.
Creates a variable.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation CreateVariable for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateVariable
func (c *FraudDetector) CreateVariableRequest(input *CreateVariableInput) (req *request.Request, output *CreateVariableOutput)
CreateVariableRequest generates a "aws/request.Request" representing the client's request for the CreateVariable operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateVariable for more information on using the CreateVariable API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateVariableRequest method. req, resp := client.CreateVariableRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateVariable
func (c *FraudDetector) CreateVariableWithContext(ctx aws.Context, input *CreateVariableInput, opts ...request.Option) (*CreateVariableOutput, error)
CreateVariableWithContext is the same as CreateVariable with the addition of the ability to pass a context and additional request options.
See CreateVariable for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteBatchImportJob(input *DeleteBatchImportJobInput) (*DeleteBatchImportJobOutput, error)
DeleteBatchImportJob API operation for Amazon Fraud Detector.
Deletes the specified batch import job ID record. This action does not delete the data that was batch imported.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteBatchImportJob for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchImportJob
func (c *FraudDetector) DeleteBatchImportJobRequest(input *DeleteBatchImportJobInput) (req *request.Request, output *DeleteBatchImportJobOutput)
DeleteBatchImportJobRequest generates a "aws/request.Request" representing the client's request for the DeleteBatchImportJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteBatchImportJob for more information on using the DeleteBatchImportJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteBatchImportJobRequest method. req, resp := client.DeleteBatchImportJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchImportJob
func (c *FraudDetector) DeleteBatchImportJobWithContext(ctx aws.Context, input *DeleteBatchImportJobInput, opts ...request.Option) (*DeleteBatchImportJobOutput, error)
DeleteBatchImportJobWithContext is the same as DeleteBatchImportJob with the addition of the ability to pass a context and additional request options.
See DeleteBatchImportJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteBatchPredictionJob(input *DeleteBatchPredictionJobInput) (*DeleteBatchPredictionJobOutput, error)
DeleteBatchPredictionJob API operation for Amazon Fraud Detector.
Deletes a batch prediction job.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteBatchPredictionJob for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchPredictionJob
func (c *FraudDetector) DeleteBatchPredictionJobRequest(input *DeleteBatchPredictionJobInput) (req *request.Request, output *DeleteBatchPredictionJobOutput)
DeleteBatchPredictionJobRequest generates a "aws/request.Request" representing the client's request for the DeleteBatchPredictionJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteBatchPredictionJob for more information on using the DeleteBatchPredictionJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteBatchPredictionJobRequest method. req, resp := client.DeleteBatchPredictionJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchPredictionJob
func (c *FraudDetector) DeleteBatchPredictionJobWithContext(ctx aws.Context, input *DeleteBatchPredictionJobInput, opts ...request.Option) (*DeleteBatchPredictionJobOutput, error)
DeleteBatchPredictionJobWithContext is the same as DeleteBatchPredictionJob with the addition of the ability to pass a context and additional request options.
See DeleteBatchPredictionJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteDetector(input *DeleteDetectorInput) (*DeleteDetectorOutput, error)
DeleteDetector API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteDetector for usage and error information.
Returned Error Types:
ConflictException An exception indicating there was a conflict during a delete operation.
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteDetector
func (c *FraudDetector) DeleteDetectorRequest(input *DeleteDetectorInput) (req *request.Request, output *DeleteDetectorOutput)
DeleteDetectorRequest generates a "aws/request.Request" representing the client's request for the DeleteDetector operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteDetector for more information on using the DeleteDetector API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteDetectorRequest method. req, resp := client.DeleteDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteDetector
func (c *FraudDetector) DeleteDetectorVersion(input *DeleteDetectorVersionInput) (*DeleteDetectorVersionOutput, error)
DeleteDetectorVersion API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteDetectorVersion for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
ConflictException An exception indicating there was a conflict during a delete operation.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteDetectorVersion
func (c *FraudDetector) DeleteDetectorVersionRequest(input *DeleteDetectorVersionInput) (req *request.Request, output *DeleteDetectorVersionOutput)
DeleteDetectorVersionRequest generates a "aws/request.Request" representing the client's request for the DeleteDetectorVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteDetectorVersion for more information on using the DeleteDetectorVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteDetectorVersionRequest method. req, resp := client.DeleteDetectorVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteDetectorVersion
func (c *FraudDetector) DeleteDetectorVersionWithContext(ctx aws.Context, input *DeleteDetectorVersionInput, opts ...request.Option) (*DeleteDetectorVersionOutput, error)
DeleteDetectorVersionWithContext is the same as DeleteDetectorVersion with the addition of the ability to pass a context and additional request options.
See DeleteDetectorVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteDetectorWithContext(ctx aws.Context, input *DeleteDetectorInput, opts ...request.Option) (*DeleteDetectorOutput, error)
DeleteDetectorWithContext is the same as DeleteDetector with the addition of the ability to pass a context and additional request options.
See DeleteDetector for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteEntityType(input *DeleteEntityTypeInput) (*DeleteEntityTypeOutput, error)
DeleteEntityType API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteEntityType for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ConflictException An exception indicating there was a conflict during a delete operation.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEntityType
func (c *FraudDetector) DeleteEntityTypeRequest(input *DeleteEntityTypeInput) (req *request.Request, output *DeleteEntityTypeOutput)
DeleteEntityTypeRequest generates a "aws/request.Request" representing the client's request for the DeleteEntityType operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteEntityType for more information on using the DeleteEntityType API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteEntityTypeRequest method. req, resp := client.DeleteEntityTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEntityType
func (c *FraudDetector) DeleteEntityTypeWithContext(ctx aws.Context, input *DeleteEntityTypeInput, opts ...request.Option) (*DeleteEntityTypeOutput, error)
DeleteEntityTypeWithContext is the same as DeleteEntityType with the addition of the ability to pass a context and additional request options.
See DeleteEntityType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteEvent(input *DeleteEventInput) (*DeleteEventOutput, error)
DeleteEvent API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteEvent for usage and error information.
Returned Error Types:
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ValidationException An exception indicating a specified value is not allowed.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEvent
func (c *FraudDetector) DeleteEventRequest(input *DeleteEventInput) (req *request.Request, output *DeleteEventOutput)
DeleteEventRequest generates a "aws/request.Request" representing the client's request for the DeleteEvent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteEvent for more information on using the DeleteEvent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteEventRequest method. req, resp := client.DeleteEventRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEvent
func (c *FraudDetector) DeleteEventType(input *DeleteEventTypeInput) (*DeleteEventTypeOutput, error)
DeleteEventType API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteEventType for usage and error information.
Returned Error Types:
ConflictException An exception indicating there was a conflict during a delete operation.
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventType
func (c *FraudDetector) DeleteEventTypeRequest(input *DeleteEventTypeInput) (req *request.Request, output *DeleteEventTypeOutput)
DeleteEventTypeRequest generates a "aws/request.Request" representing the client's request for the DeleteEventType operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteEventType for more information on using the DeleteEventType API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteEventTypeRequest method. req, resp := client.DeleteEventTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventType
func (c *FraudDetector) DeleteEventTypeWithContext(ctx aws.Context, input *DeleteEventTypeInput, opts ...request.Option) (*DeleteEventTypeOutput, error)
DeleteEventTypeWithContext is the same as DeleteEventType with the addition of the ability to pass a context and additional request options.
See DeleteEventType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteEventWithContext(ctx aws.Context, input *DeleteEventInput, opts ...request.Option) (*DeleteEventOutput, error)
DeleteEventWithContext is the same as DeleteEvent with the addition of the ability to pass a context and additional request options.
See DeleteEvent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteEventsByEventType(input *DeleteEventsByEventTypeInput) (*DeleteEventsByEventTypeOutput, error)
DeleteEventsByEventType API operation for Amazon Fraud Detector.
Deletes all events of a particular event type.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteEventsByEventType for usage and error information.
Returned Error Types:
ConflictException An exception indicating there was a conflict during a delete operation.
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventsByEventType
func (c *FraudDetector) DeleteEventsByEventTypeRequest(input *DeleteEventsByEventTypeInput) (req *request.Request, output *DeleteEventsByEventTypeOutput)
DeleteEventsByEventTypeRequest generates a "aws/request.Request" representing the client's request for the DeleteEventsByEventType operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteEventsByEventType for more information on using the DeleteEventsByEventType API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteEventsByEventTypeRequest method. req, resp := client.DeleteEventsByEventTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventsByEventType
func (c *FraudDetector) DeleteEventsByEventTypeWithContext(ctx aws.Context, input *DeleteEventsByEventTypeInput, opts ...request.Option) (*DeleteEventsByEventTypeOutput, error)
DeleteEventsByEventTypeWithContext is the same as DeleteEventsByEventType with the addition of the ability to pass a context and additional request options.
See DeleteEventsByEventType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteExternalModel(input *DeleteExternalModelInput) (*DeleteExternalModelOutput, error)
DeleteExternalModel API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteExternalModel for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ConflictException An exception indicating there was a conflict during a delete operation.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteExternalModel
func (c *FraudDetector) DeleteExternalModelRequest(input *DeleteExternalModelInput) (req *request.Request, output *DeleteExternalModelOutput)
DeleteExternalModelRequest generates a "aws/request.Request" representing the client's request for the DeleteExternalModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteExternalModel for more information on using the DeleteExternalModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteExternalModelRequest method. req, resp := client.DeleteExternalModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteExternalModel
func (c *FraudDetector) DeleteExternalModelWithContext(ctx aws.Context, input *DeleteExternalModelInput, opts ...request.Option) (*DeleteExternalModelOutput, error)
DeleteExternalModelWithContext is the same as DeleteExternalModel with the addition of the ability to pass a context and additional request options.
See DeleteExternalModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteLabel(input *DeleteLabelInput) (*DeleteLabelOutput, error)
DeleteLabel API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteLabel for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ConflictException An exception indicating there was a conflict during a delete operation.
ThrottlingException An exception indicating a throttling error.
InternalServerException An exception indicating an internal server error.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteLabel
func (c *FraudDetector) DeleteLabelRequest(input *DeleteLabelInput) (req *request.Request, output *DeleteLabelOutput)
DeleteLabelRequest generates a "aws/request.Request" representing the client's request for the DeleteLabel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteLabel for more information on using the DeleteLabel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteLabelRequest method. req, resp := client.DeleteLabelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteLabel
func (c *FraudDetector) DeleteLabelWithContext(ctx aws.Context, input *DeleteLabelInput, opts ...request.Option) (*DeleteLabelOutput, error)
DeleteLabelWithContext is the same as DeleteLabel with the addition of the ability to pass a context and additional request options.
See DeleteLabel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteList(input *DeleteListInput) (*DeleteListOutput, error)
DeleteList API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteList for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteList
func (c *FraudDetector) DeleteListRequest(input *DeleteListInput) (req *request.Request, output *DeleteListOutput)
DeleteListRequest generates a "aws/request.Request" representing the client's request for the DeleteList operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteList for more information on using the DeleteList API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteListRequest method. req, resp := client.DeleteListRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteList
func (c *FraudDetector) DeleteListWithContext(ctx aws.Context, input *DeleteListInput, opts ...request.Option) (*DeleteListOutput, error)
DeleteListWithContext is the same as DeleteList with the addition of the ability to pass a context and additional request options.
See DeleteList for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error)
DeleteModel API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteModel for usage and error information.
Returned Error Types:
ConflictException An exception indicating there was a conflict during a delete operation.
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModel
func (c *FraudDetector) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput)
DeleteModelRequest generates a "aws/request.Request" representing the client's request for the DeleteModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteModel for more information on using the DeleteModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteModelRequest method. req, resp := client.DeleteModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModel
func (c *FraudDetector) DeleteModelVersion(input *DeleteModelVersionInput) (*DeleteModelVersionOutput, error)
DeleteModelVersion API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteModelVersion for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
AccessDeniedException 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.
ThrottlingException An exception indicating a throttling error.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelVersion
func (c *FraudDetector) DeleteModelVersionRequest(input *DeleteModelVersionInput) (req *request.Request, output *DeleteModelVersionOutput)
DeleteModelVersionRequest generates a "aws/request.Request" representing the client's request for the DeleteModelVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteModelVersion for more information on using the DeleteModelVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteModelVersionRequest method. req, resp := client.DeleteModelVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelVersion
func (c *FraudDetector) DeleteModelVersionWithContext(ctx aws.Context, input *DeleteModelVersionInput, opts ...request.Option) (*DeleteModelVersionOutput, error)
DeleteModelVersionWithContext is the same as DeleteModelVersion with the addition of the ability to pass a context and additional request options.
See DeleteModelVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error)
DeleteModelWithContext is the same as DeleteModel with the addition of the ability to pass a context and additional request options.
See DeleteModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteOutcome(input *DeleteOutcomeInput) (*DeleteOutcomeOutput, error)
DeleteOutcome API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteOutcome for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
ConflictException An exception indicating there was a conflict during a delete operation.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteOutcome
func (c *FraudDetector) DeleteOutcomeRequest(input *DeleteOutcomeInput) (req *request.Request, output *DeleteOutcomeOutput)
DeleteOutcomeRequest generates a "aws/request.Request" representing the client's request for the DeleteOutcome operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteOutcome for more information on using the DeleteOutcome API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteOutcomeRequest method. req, resp := client.DeleteOutcomeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteOutcome
func (c *FraudDetector) DeleteOutcomeWithContext(ctx aws.Context, input *DeleteOutcomeInput, opts ...request.Option) (*DeleteOutcomeOutput, error)
DeleteOutcomeWithContext is the same as DeleteOutcome with the addition of the ability to pass a context and additional request options.
See DeleteOutcome for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error)
DeleteRule API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteRule for usage and error information.
Returned Error Types:
ConflictException An exception indicating there was a conflict during a delete operation.
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteRule
func (c *FraudDetector) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput)
DeleteRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteRule operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteRule for more information on using the DeleteRule API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteRuleRequest method. req, resp := client.DeleteRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteRule
func (c *FraudDetector) DeleteRuleWithContext(ctx aws.Context, input *DeleteRuleInput, opts ...request.Option) (*DeleteRuleOutput, error)
DeleteRuleWithContext is the same as DeleteRule with the addition of the ability to pass a context and additional request options.
See DeleteRule for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DeleteVariable(input *DeleteVariableInput) (*DeleteVariableOutput, error)
DeleteVariable API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DeleteVariable for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ConflictException An exception indicating there was a conflict during a delete operation.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteVariable
func (c *FraudDetector) DeleteVariableRequest(input *DeleteVariableInput) (req *request.Request, output *DeleteVariableOutput)
DeleteVariableRequest generates a "aws/request.Request" representing the client's request for the DeleteVariable operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteVariable for more information on using the DeleteVariable API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteVariableRequest method. req, resp := client.DeleteVariableRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteVariable
func (c *FraudDetector) DeleteVariableWithContext(ctx aws.Context, input *DeleteVariableInput, opts ...request.Option) (*DeleteVariableOutput, error)
DeleteVariableWithContext is the same as DeleteVariable with the addition of the ability to pass a context and additional request options.
See DeleteVariable for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DescribeDetector(input *DescribeDetectorInput) (*DescribeDetectorOutput, error)
DescribeDetector API operation for Amazon Fraud Detector.
Gets all versions for a specified detector.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DescribeDetector for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeDetector
func (c *FraudDetector) DescribeDetectorRequest(input *DescribeDetectorInput) (req *request.Request, output *DescribeDetectorOutput)
DescribeDetectorRequest generates a "aws/request.Request" representing the client's request for the DescribeDetector operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeDetector for more information on using the DescribeDetector API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeDetectorRequest method. req, resp := client.DescribeDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeDetector
func (c *FraudDetector) DescribeDetectorWithContext(ctx aws.Context, input *DescribeDetectorInput, opts ...request.Option) (*DescribeDetectorOutput, error)
DescribeDetectorWithContext is the same as DescribeDetector with the addition of the ability to pass a context and additional request options.
See DescribeDetector for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DescribeModelVersions(input *DescribeModelVersionsInput) (*DescribeModelVersionsOutput, error)
DescribeModelVersions API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation DescribeModelVersions for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeModelVersions
func (c *FraudDetector) DescribeModelVersionsPages(input *DescribeModelVersionsInput, fn func(*DescribeModelVersionsOutput, bool) bool) error
DescribeModelVersionsPages iterates over the pages of a DescribeModelVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeModelVersions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeModelVersions operation. pageNum := 0 err := client.DescribeModelVersionsPages(params, func(page *frauddetector.DescribeModelVersionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) DescribeModelVersionsPagesWithContext(ctx aws.Context, input *DescribeModelVersionsInput, fn func(*DescribeModelVersionsOutput, bool) bool, opts ...request.Option) error
DescribeModelVersionsPagesWithContext same as DescribeModelVersionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) DescribeModelVersionsRequest(input *DescribeModelVersionsInput) (req *request.Request, output *DescribeModelVersionsOutput)
DescribeModelVersionsRequest generates a "aws/request.Request" representing the client's request for the DescribeModelVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeModelVersions for more information on using the DescribeModelVersions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeModelVersionsRequest method. req, resp := client.DescribeModelVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeModelVersions
func (c *FraudDetector) DescribeModelVersionsWithContext(ctx aws.Context, input *DescribeModelVersionsInput, opts ...request.Option) (*DescribeModelVersionsOutput, error)
DescribeModelVersionsWithContext is the same as DescribeModelVersions with the addition of the ability to pass a context and additional request options.
See DescribeModelVersions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetBatchImportJobs(input *GetBatchImportJobsInput) (*GetBatchImportJobsOutput, error)
GetBatchImportJobs API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetBatchImportJobs for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchImportJobs
func (c *FraudDetector) GetBatchImportJobsPages(input *GetBatchImportJobsInput, fn func(*GetBatchImportJobsOutput, bool) bool) error
GetBatchImportJobsPages iterates over the pages of a GetBatchImportJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetBatchImportJobs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetBatchImportJobs operation. pageNum := 0 err := client.GetBatchImportJobsPages(params, func(page *frauddetector.GetBatchImportJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetBatchImportJobsPagesWithContext(ctx aws.Context, input *GetBatchImportJobsInput, fn func(*GetBatchImportJobsOutput, bool) bool, opts ...request.Option) error
GetBatchImportJobsPagesWithContext same as GetBatchImportJobsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetBatchImportJobsRequest(input *GetBatchImportJobsInput) (req *request.Request, output *GetBatchImportJobsOutput)
GetBatchImportJobsRequest generates a "aws/request.Request" representing the client's request for the GetBatchImportJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetBatchImportJobs for more information on using the GetBatchImportJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetBatchImportJobsRequest method. req, resp := client.GetBatchImportJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchImportJobs
func (c *FraudDetector) GetBatchImportJobsWithContext(ctx aws.Context, input *GetBatchImportJobsInput, opts ...request.Option) (*GetBatchImportJobsOutput, error)
GetBatchImportJobsWithContext is the same as GetBatchImportJobs with the addition of the ability to pass a context and additional request options.
See GetBatchImportJobs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetBatchPredictionJobs(input *GetBatchPredictionJobsInput) (*GetBatchPredictionJobsOutput, error)
GetBatchPredictionJobs API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetBatchPredictionJobs for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchPredictionJobs
func (c *FraudDetector) GetBatchPredictionJobsPages(input *GetBatchPredictionJobsInput, fn func(*GetBatchPredictionJobsOutput, bool) bool) error
GetBatchPredictionJobsPages iterates over the pages of a GetBatchPredictionJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetBatchPredictionJobs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetBatchPredictionJobs operation. pageNum := 0 err := client.GetBatchPredictionJobsPages(params, func(page *frauddetector.GetBatchPredictionJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetBatchPredictionJobsPagesWithContext(ctx aws.Context, input *GetBatchPredictionJobsInput, fn func(*GetBatchPredictionJobsOutput, bool) bool, opts ...request.Option) error
GetBatchPredictionJobsPagesWithContext same as GetBatchPredictionJobsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetBatchPredictionJobsRequest(input *GetBatchPredictionJobsInput) (req *request.Request, output *GetBatchPredictionJobsOutput)
GetBatchPredictionJobsRequest generates a "aws/request.Request" representing the client's request for the GetBatchPredictionJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetBatchPredictionJobs for more information on using the GetBatchPredictionJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetBatchPredictionJobsRequest method. req, resp := client.GetBatchPredictionJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchPredictionJobs
func (c *FraudDetector) GetBatchPredictionJobsWithContext(ctx aws.Context, input *GetBatchPredictionJobsInput, opts ...request.Option) (*GetBatchPredictionJobsOutput, error)
GetBatchPredictionJobsWithContext is the same as GetBatchPredictionJobs with the addition of the ability to pass a context and additional request options.
See GetBatchPredictionJobs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetDeleteEventsByEventTypeStatus(input *GetDeleteEventsByEventTypeStatusInput) (*GetDeleteEventsByEventTypeStatusOutput, error)
GetDeleteEventsByEventTypeStatus API operation for Amazon Fraud Detector.
Retrieves the status of a DeleteEventsByEventType action.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetDeleteEventsByEventTypeStatus for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDeleteEventsByEventTypeStatus
func (c *FraudDetector) GetDeleteEventsByEventTypeStatusRequest(input *GetDeleteEventsByEventTypeStatusInput) (req *request.Request, output *GetDeleteEventsByEventTypeStatusOutput)
GetDeleteEventsByEventTypeStatusRequest generates a "aws/request.Request" representing the client's request for the GetDeleteEventsByEventTypeStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDeleteEventsByEventTypeStatus for more information on using the GetDeleteEventsByEventTypeStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDeleteEventsByEventTypeStatusRequest method. req, resp := client.GetDeleteEventsByEventTypeStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDeleteEventsByEventTypeStatus
func (c *FraudDetector) GetDeleteEventsByEventTypeStatusWithContext(ctx aws.Context, input *GetDeleteEventsByEventTypeStatusInput, opts ...request.Option) (*GetDeleteEventsByEventTypeStatusOutput, error)
GetDeleteEventsByEventTypeStatusWithContext is the same as GetDeleteEventsByEventTypeStatus with the addition of the ability to pass a context and additional request options.
See GetDeleteEventsByEventTypeStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetDetectorVersion(input *GetDetectorVersionInput) (*GetDetectorVersionOutput, error)
GetDetectorVersion API operation for Amazon Fraud Detector.
Gets a particular detector version.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetDetectorVersion for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectorVersion
func (c *FraudDetector) GetDetectorVersionRequest(input *GetDetectorVersionInput) (req *request.Request, output *GetDetectorVersionOutput)
GetDetectorVersionRequest generates a "aws/request.Request" representing the client's request for the GetDetectorVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDetectorVersion for more information on using the GetDetectorVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDetectorVersionRequest method. req, resp := client.GetDetectorVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectorVersion
func (c *FraudDetector) GetDetectorVersionWithContext(ctx aws.Context, input *GetDetectorVersionInput, opts ...request.Option) (*GetDetectorVersionOutput, error)
GetDetectorVersionWithContext is the same as GetDetectorVersion with the addition of the ability to pass a context and additional request options.
See GetDetectorVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetDetectors(input *GetDetectorsInput) (*GetDetectorsOutput, error)
GetDetectors API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetDetectors for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectors
func (c *FraudDetector) GetDetectorsPages(input *GetDetectorsInput, fn func(*GetDetectorsOutput, bool) bool) error
GetDetectorsPages iterates over the pages of a GetDetectors operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetDetectors method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetDetectors operation. pageNum := 0 err := client.GetDetectorsPages(params, func(page *frauddetector.GetDetectorsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetDetectorsPagesWithContext(ctx aws.Context, input *GetDetectorsInput, fn func(*GetDetectorsOutput, bool) bool, opts ...request.Option) error
GetDetectorsPagesWithContext same as GetDetectorsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetDetectorsRequest(input *GetDetectorsInput) (req *request.Request, output *GetDetectorsOutput)
GetDetectorsRequest generates a "aws/request.Request" representing the client's request for the GetDetectors operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDetectors for more information on using the GetDetectors API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDetectorsRequest method. req, resp := client.GetDetectorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectors
func (c *FraudDetector) GetDetectorsWithContext(ctx aws.Context, input *GetDetectorsInput, opts ...request.Option) (*GetDetectorsOutput, error)
GetDetectorsWithContext is the same as GetDetectors with the addition of the ability to pass a context and additional request options.
See GetDetectors for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetEntityTypes(input *GetEntityTypesInput) (*GetEntityTypesOutput, error)
GetEntityTypes API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetEntityTypes for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEntityTypes
func (c *FraudDetector) GetEntityTypesPages(input *GetEntityTypesInput, fn func(*GetEntityTypesOutput, bool) bool) error
GetEntityTypesPages iterates over the pages of a GetEntityTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetEntityTypes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetEntityTypes operation. pageNum := 0 err := client.GetEntityTypesPages(params, func(page *frauddetector.GetEntityTypesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetEntityTypesPagesWithContext(ctx aws.Context, input *GetEntityTypesInput, fn func(*GetEntityTypesOutput, bool) bool, opts ...request.Option) error
GetEntityTypesPagesWithContext same as GetEntityTypesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetEntityTypesRequest(input *GetEntityTypesInput) (req *request.Request, output *GetEntityTypesOutput)
GetEntityTypesRequest generates a "aws/request.Request" representing the client's request for the GetEntityTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEntityTypes for more information on using the GetEntityTypes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEntityTypesRequest method. req, resp := client.GetEntityTypesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEntityTypes
func (c *FraudDetector) GetEntityTypesWithContext(ctx aws.Context, input *GetEntityTypesInput, opts ...request.Option) (*GetEntityTypesOutput, error)
GetEntityTypesWithContext is the same as GetEntityTypes with the addition of the ability to pass a context and additional request options.
See GetEntityTypes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetEvent(input *GetEventInput) (*GetEventOutput, error)
GetEvent API operation for Amazon Fraud Detector.
Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetEvent for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEvent
func (c *FraudDetector) GetEventPrediction(input *GetEventPredictionInput) (*GetEventPredictionOutput, error)
GetEventPrediction API operation for Amazon Fraud Detector.
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE) version is used.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetEventPrediction for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
ResourceUnavailableException An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPrediction
func (c *FraudDetector) GetEventPredictionMetadata(input *GetEventPredictionMetadataInput) (*GetEventPredictionMetadataOutput, error)
GetEventPredictionMetadata API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetEventPredictionMetadata for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
AccessDeniedException 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.
ThrottlingException An exception indicating a throttling error.
InternalServerException An exception indicating an internal server error.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPredictionMetadata
func (c *FraudDetector) GetEventPredictionMetadataRequest(input *GetEventPredictionMetadataInput) (req *request.Request, output *GetEventPredictionMetadataOutput)
GetEventPredictionMetadataRequest generates a "aws/request.Request" representing the client's request for the GetEventPredictionMetadata operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEventPredictionMetadata for more information on using the GetEventPredictionMetadata API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEventPredictionMetadataRequest method. req, resp := client.GetEventPredictionMetadataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPredictionMetadata
func (c *FraudDetector) GetEventPredictionMetadataWithContext(ctx aws.Context, input *GetEventPredictionMetadataInput, opts ...request.Option) (*GetEventPredictionMetadataOutput, error)
GetEventPredictionMetadataWithContext is the same as GetEventPredictionMetadata with the addition of the ability to pass a context and additional request options.
See GetEventPredictionMetadata for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetEventPredictionRequest(input *GetEventPredictionInput) (req *request.Request, output *GetEventPredictionOutput)
GetEventPredictionRequest generates a "aws/request.Request" representing the client's request for the GetEventPrediction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEventPrediction for more information on using the GetEventPrediction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEventPredictionRequest method. req, resp := client.GetEventPredictionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPrediction
func (c *FraudDetector) GetEventPredictionWithContext(ctx aws.Context, input *GetEventPredictionInput, opts ...request.Option) (*GetEventPredictionOutput, error)
GetEventPredictionWithContext is the same as GetEventPrediction with the addition of the ability to pass a context and additional request options.
See GetEventPrediction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetEventRequest(input *GetEventInput) (req *request.Request, output *GetEventOutput)
GetEventRequest generates a "aws/request.Request" representing the client's request for the GetEvent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEvent for more information on using the GetEvent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEventRequest method. req, resp := client.GetEventRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEvent
func (c *FraudDetector) GetEventTypes(input *GetEventTypesInput) (*GetEventTypesOutput, error)
GetEventTypes API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetEventTypes for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventTypes
func (c *FraudDetector) GetEventTypesPages(input *GetEventTypesInput, fn func(*GetEventTypesOutput, bool) bool) error
GetEventTypesPages iterates over the pages of a GetEventTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetEventTypes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetEventTypes operation. pageNum := 0 err := client.GetEventTypesPages(params, func(page *frauddetector.GetEventTypesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetEventTypesPagesWithContext(ctx aws.Context, input *GetEventTypesInput, fn func(*GetEventTypesOutput, bool) bool, opts ...request.Option) error
GetEventTypesPagesWithContext same as GetEventTypesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetEventTypesRequest(input *GetEventTypesInput) (req *request.Request, output *GetEventTypesOutput)
GetEventTypesRequest generates a "aws/request.Request" representing the client's request for the GetEventTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEventTypes for more information on using the GetEventTypes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEventTypesRequest method. req, resp := client.GetEventTypesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventTypes
func (c *FraudDetector) GetEventTypesWithContext(ctx aws.Context, input *GetEventTypesInput, opts ...request.Option) (*GetEventTypesOutput, error)
GetEventTypesWithContext is the same as GetEventTypes with the addition of the ability to pass a context and additional request options.
See GetEventTypes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetEventWithContext(ctx aws.Context, input *GetEventInput, opts ...request.Option) (*GetEventOutput, error)
GetEventWithContext is the same as GetEvent with the addition of the ability to pass a context and additional request options.
See GetEvent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetExternalModels(input *GetExternalModelsInput) (*GetExternalModelsOutput, error)
GetExternalModels API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetExternalModels for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetExternalModels
func (c *FraudDetector) GetExternalModelsPages(input *GetExternalModelsInput, fn func(*GetExternalModelsOutput, bool) bool) error
GetExternalModelsPages iterates over the pages of a GetExternalModels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetExternalModels method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetExternalModels operation. pageNum := 0 err := client.GetExternalModelsPages(params, func(page *frauddetector.GetExternalModelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetExternalModelsPagesWithContext(ctx aws.Context, input *GetExternalModelsInput, fn func(*GetExternalModelsOutput, bool) bool, opts ...request.Option) error
GetExternalModelsPagesWithContext same as GetExternalModelsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetExternalModelsRequest(input *GetExternalModelsInput) (req *request.Request, output *GetExternalModelsOutput)
GetExternalModelsRequest generates a "aws/request.Request" representing the client's request for the GetExternalModels operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetExternalModels for more information on using the GetExternalModels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetExternalModelsRequest method. req, resp := client.GetExternalModelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetExternalModels
func (c *FraudDetector) GetExternalModelsWithContext(ctx aws.Context, input *GetExternalModelsInput, opts ...request.Option) (*GetExternalModelsOutput, error)
GetExternalModelsWithContext is the same as GetExternalModels with the addition of the ability to pass a context and additional request options.
See GetExternalModels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetKMSEncryptionKey(input *GetKMSEncryptionKeyInput) (*GetKMSEncryptionKeyOutput, error)
GetKMSEncryptionKey API operation for Amazon Fraud Detector.
Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetKMSEncryptionKey for usage and error information.
Returned Error Types:
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetKMSEncryptionKey
func (c *FraudDetector) GetKMSEncryptionKeyRequest(input *GetKMSEncryptionKeyInput) (req *request.Request, output *GetKMSEncryptionKeyOutput)
GetKMSEncryptionKeyRequest generates a "aws/request.Request" representing the client's request for the GetKMSEncryptionKey operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetKMSEncryptionKey for more information on using the GetKMSEncryptionKey API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetKMSEncryptionKeyRequest method. req, resp := client.GetKMSEncryptionKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetKMSEncryptionKey
func (c *FraudDetector) GetKMSEncryptionKeyWithContext(ctx aws.Context, input *GetKMSEncryptionKeyInput, opts ...request.Option) (*GetKMSEncryptionKeyOutput, error)
GetKMSEncryptionKeyWithContext is the same as GetKMSEncryptionKey with the addition of the ability to pass a context and additional request options.
See GetKMSEncryptionKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetLabels(input *GetLabelsInput) (*GetLabelsOutput, error)
GetLabels API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetLabels for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetLabels
func (c *FraudDetector) GetLabelsPages(input *GetLabelsInput, fn func(*GetLabelsOutput, bool) bool) error
GetLabelsPages iterates over the pages of a GetLabels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetLabels method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetLabels operation. pageNum := 0 err := client.GetLabelsPages(params, func(page *frauddetector.GetLabelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetLabelsPagesWithContext(ctx aws.Context, input *GetLabelsInput, fn func(*GetLabelsOutput, bool) bool, opts ...request.Option) error
GetLabelsPagesWithContext same as GetLabelsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetLabelsRequest(input *GetLabelsInput) (req *request.Request, output *GetLabelsOutput)
GetLabelsRequest generates a "aws/request.Request" representing the client's request for the GetLabels operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetLabels for more information on using the GetLabels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetLabelsRequest method. req, resp := client.GetLabelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetLabels
func (c *FraudDetector) GetLabelsWithContext(ctx aws.Context, input *GetLabelsInput, opts ...request.Option) (*GetLabelsOutput, error)
GetLabelsWithContext is the same as GetLabels with the addition of the ability to pass a context and additional request options.
See GetLabels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetListElements(input *GetListElementsInput) (*GetListElementsOutput, error)
GetListElements API operation for Amazon Fraud Detector.
Gets all the elements in the specified list.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetListElements for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListElements
func (c *FraudDetector) GetListElementsPages(input *GetListElementsInput, fn func(*GetListElementsOutput, bool) bool) error
GetListElementsPages iterates over the pages of a GetListElements operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetListElements method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetListElements operation. pageNum := 0 err := client.GetListElementsPages(params, func(page *frauddetector.GetListElementsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetListElementsPagesWithContext(ctx aws.Context, input *GetListElementsInput, fn func(*GetListElementsOutput, bool) bool, opts ...request.Option) error
GetListElementsPagesWithContext same as GetListElementsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetListElementsRequest(input *GetListElementsInput) (req *request.Request, output *GetListElementsOutput)
GetListElementsRequest generates a "aws/request.Request" representing the client's request for the GetListElements operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetListElements for more information on using the GetListElements API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetListElementsRequest method. req, resp := client.GetListElementsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListElements
func (c *FraudDetector) GetListElementsWithContext(ctx aws.Context, input *GetListElementsInput, opts ...request.Option) (*GetListElementsOutput, error)
GetListElementsWithContext is the same as GetListElements with the addition of the ability to pass a context and additional request options.
See GetListElements for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetListsMetadata(input *GetListsMetadataInput) (*GetListsMetadataOutput, error)
GetListsMetadata API operation for Amazon Fraud Detector.
Gets the metadata of either all the lists under the account or the specified list.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetListsMetadata for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListsMetadata
func (c *FraudDetector) GetListsMetadataPages(input *GetListsMetadataInput, fn func(*GetListsMetadataOutput, bool) bool) error
GetListsMetadataPages iterates over the pages of a GetListsMetadata operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetListsMetadata method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetListsMetadata operation. pageNum := 0 err := client.GetListsMetadataPages(params, func(page *frauddetector.GetListsMetadataOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetListsMetadataPagesWithContext(ctx aws.Context, input *GetListsMetadataInput, fn func(*GetListsMetadataOutput, bool) bool, opts ...request.Option) error
GetListsMetadataPagesWithContext same as GetListsMetadataPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetListsMetadataRequest(input *GetListsMetadataInput) (req *request.Request, output *GetListsMetadataOutput)
GetListsMetadataRequest generates a "aws/request.Request" representing the client's request for the GetListsMetadata operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetListsMetadata for more information on using the GetListsMetadata API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetListsMetadataRequest method. req, resp := client.GetListsMetadataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListsMetadata
func (c *FraudDetector) GetListsMetadataWithContext(ctx aws.Context, input *GetListsMetadataInput, opts ...request.Option) (*GetListsMetadataOutput, error)
GetListsMetadataWithContext is the same as GetListsMetadata with the addition of the ability to pass a context and additional request options.
See GetListsMetadata for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetModelVersion(input *GetModelVersionInput) (*GetModelVersionOutput, error)
GetModelVersion API operation for Amazon Fraud Detector.
Gets the details of the specified model version.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetModelVersion for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModelVersion
func (c *FraudDetector) GetModelVersionRequest(input *GetModelVersionInput) (req *request.Request, output *GetModelVersionOutput)
GetModelVersionRequest generates a "aws/request.Request" representing the client's request for the GetModelVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetModelVersion for more information on using the GetModelVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetModelVersionRequest method. req, resp := client.GetModelVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModelVersion
func (c *FraudDetector) GetModelVersionWithContext(ctx aws.Context, input *GetModelVersionInput, opts ...request.Option) (*GetModelVersionOutput, error)
GetModelVersionWithContext is the same as GetModelVersion with the addition of the ability to pass a context and additional request options.
See GetModelVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetModels(input *GetModelsInput) (*GetModelsOutput, error)
GetModels API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetModels for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModels
func (c *FraudDetector) GetModelsPages(input *GetModelsInput, fn func(*GetModelsOutput, bool) bool) error
GetModelsPages iterates over the pages of a GetModels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetModels method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetModels operation. pageNum := 0 err := client.GetModelsPages(params, func(page *frauddetector.GetModelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetModelsPagesWithContext(ctx aws.Context, input *GetModelsInput, fn func(*GetModelsOutput, bool) bool, opts ...request.Option) error
GetModelsPagesWithContext same as GetModelsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput)
GetModelsRequest generates a "aws/request.Request" representing the client's request for the GetModels operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetModels for more information on using the GetModels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetModelsRequest method. req, resp := client.GetModelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModels
func (c *FraudDetector) GetModelsWithContext(ctx aws.Context, input *GetModelsInput, opts ...request.Option) (*GetModelsOutput, error)
GetModelsWithContext is the same as GetModels with the addition of the ability to pass a context and additional request options.
See GetModels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetOutcomes(input *GetOutcomesInput) (*GetOutcomesOutput, error)
GetOutcomes API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetOutcomes for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetOutcomes
func (c *FraudDetector) GetOutcomesPages(input *GetOutcomesInput, fn func(*GetOutcomesOutput, bool) bool) error
GetOutcomesPages iterates over the pages of a GetOutcomes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetOutcomes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetOutcomes operation. pageNum := 0 err := client.GetOutcomesPages(params, func(page *frauddetector.GetOutcomesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetOutcomesPagesWithContext(ctx aws.Context, input *GetOutcomesInput, fn func(*GetOutcomesOutput, bool) bool, opts ...request.Option) error
GetOutcomesPagesWithContext same as GetOutcomesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetOutcomesRequest(input *GetOutcomesInput) (req *request.Request, output *GetOutcomesOutput)
GetOutcomesRequest generates a "aws/request.Request" representing the client's request for the GetOutcomes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetOutcomes for more information on using the GetOutcomes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetOutcomesRequest method. req, resp := client.GetOutcomesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetOutcomes
func (c *FraudDetector) GetOutcomesWithContext(ctx aws.Context, input *GetOutcomesInput, opts ...request.Option) (*GetOutcomesOutput, error)
GetOutcomesWithContext is the same as GetOutcomes with the addition of the ability to pass a context and additional request options.
See GetOutcomes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetRules(input *GetRulesInput) (*GetRulesOutput, error)
GetRules API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetRules for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetRules
func (c *FraudDetector) GetRulesPages(input *GetRulesInput, fn func(*GetRulesOutput, bool) bool) error
GetRulesPages iterates over the pages of a GetRules operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetRules method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetRules operation. pageNum := 0 err := client.GetRulesPages(params, func(page *frauddetector.GetRulesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetRulesPagesWithContext(ctx aws.Context, input *GetRulesInput, fn func(*GetRulesOutput, bool) bool, opts ...request.Option) error
GetRulesPagesWithContext same as GetRulesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetRulesRequest(input *GetRulesInput) (req *request.Request, output *GetRulesOutput)
GetRulesRequest generates a "aws/request.Request" representing the client's request for the GetRules operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRules for more information on using the GetRules API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRulesRequest method. req, resp := client.GetRulesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetRules
func (c *FraudDetector) GetRulesWithContext(ctx aws.Context, input *GetRulesInput, opts ...request.Option) (*GetRulesOutput, error)
GetRulesWithContext is the same as GetRules with the addition of the ability to pass a context and additional request options.
See GetRules for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetVariables(input *GetVariablesInput) (*GetVariablesOutput, error)
GetVariables API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation GetVariables for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetVariables
func (c *FraudDetector) GetVariablesPages(input *GetVariablesInput, fn func(*GetVariablesOutput, bool) bool) error
GetVariablesPages iterates over the pages of a GetVariables operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetVariables method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetVariables operation. pageNum := 0 err := client.GetVariablesPages(params, func(page *frauddetector.GetVariablesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) GetVariablesPagesWithContext(ctx aws.Context, input *GetVariablesInput, fn func(*GetVariablesOutput, bool) bool, opts ...request.Option) error
GetVariablesPagesWithContext same as GetVariablesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) GetVariablesRequest(input *GetVariablesInput) (req *request.Request, output *GetVariablesOutput)
GetVariablesRequest generates a "aws/request.Request" representing the client's request for the GetVariables operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetVariables for more information on using the GetVariables API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetVariablesRequest method. req, resp := client.GetVariablesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetVariables
func (c *FraudDetector) GetVariablesWithContext(ctx aws.Context, input *GetVariablesInput, opts ...request.Option) (*GetVariablesOutput, error)
GetVariablesWithContext is the same as GetVariables with the addition of the ability to pass a context and additional request options.
See GetVariables for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) ListEventPredictions(input *ListEventPredictionsInput) (*ListEventPredictionsOutput, error)
ListEventPredictions API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation ListEventPredictions for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
AccessDeniedException 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.
ThrottlingException An exception indicating a throttling error.
InternalServerException An exception indicating an internal server error.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListEventPredictions
func (c *FraudDetector) ListEventPredictionsPages(input *ListEventPredictionsInput, fn func(*ListEventPredictionsOutput, bool) bool) error
ListEventPredictionsPages iterates over the pages of a ListEventPredictions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListEventPredictions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListEventPredictions operation. pageNum := 0 err := client.ListEventPredictionsPages(params, func(page *frauddetector.ListEventPredictionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) ListEventPredictionsPagesWithContext(ctx aws.Context, input *ListEventPredictionsInput, fn func(*ListEventPredictionsOutput, bool) bool, opts ...request.Option) error
ListEventPredictionsPagesWithContext same as ListEventPredictionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) ListEventPredictionsRequest(input *ListEventPredictionsInput) (req *request.Request, output *ListEventPredictionsOutput)
ListEventPredictionsRequest generates a "aws/request.Request" representing the client's request for the ListEventPredictions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListEventPredictions for more information on using the ListEventPredictions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListEventPredictionsRequest method. req, resp := client.ListEventPredictionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListEventPredictions
func (c *FraudDetector) ListEventPredictionsWithContext(ctx aws.Context, input *ListEventPredictionsInput, opts ...request.Option) (*ListEventPredictionsOutput, error)
ListEventPredictionsWithContext is the same as ListEventPredictions with the addition of the ability to pass a context and additional request options.
See ListEventPredictions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation ListTagsForResource for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListTagsForResource
func (c *FraudDetector) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error
ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTagsForResource method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTagsForResource operation. pageNum := 0 err := client.ListTagsForResourcePages(params, func(page *frauddetector.ListTagsForResourceOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FraudDetector) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error
ListTagsForResourcePagesWithContext same as ListTagsForResourcePages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListTagsForResource
func (c *FraudDetector) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) PutDetector(input *PutDetectorInput) (*PutDetectorOutput, error)
PutDetector API operation for Amazon Fraud Detector.
Creates or updates a detector.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation PutDetector for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutDetector
func (c *FraudDetector) PutDetectorRequest(input *PutDetectorInput) (req *request.Request, output *PutDetectorOutput)
PutDetectorRequest generates a "aws/request.Request" representing the client's request for the PutDetector operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutDetector for more information on using the PutDetector API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutDetectorRequest method. req, resp := client.PutDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutDetector
func (c *FraudDetector) PutDetectorWithContext(ctx aws.Context, input *PutDetectorInput, opts ...request.Option) (*PutDetectorOutput, error)
PutDetectorWithContext is the same as PutDetector with the addition of the ability to pass a context and additional request options.
See PutDetector for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) PutEntityType(input *PutEntityTypeInput) (*PutEntityTypeOutput, error)
PutEntityType API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation PutEntityType for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEntityType
func (c *FraudDetector) PutEntityTypeRequest(input *PutEntityTypeInput) (req *request.Request, output *PutEntityTypeOutput)
PutEntityTypeRequest generates a "aws/request.Request" representing the client's request for the PutEntityType operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutEntityType for more information on using the PutEntityType API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutEntityTypeRequest method. req, resp := client.PutEntityTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEntityType
func (c *FraudDetector) PutEntityTypeWithContext(ctx aws.Context, input *PutEntityTypeInput, opts ...request.Option) (*PutEntityTypeOutput, error)
PutEntityTypeWithContext is the same as PutEntityType with the addition of the ability to pass a context and additional request options.
See PutEntityType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) PutEventType(input *PutEventTypeInput) (*PutEventTypeOutput, error)
PutEventType API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation PutEventType for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventType
func (c *FraudDetector) PutEventTypeRequest(input *PutEventTypeInput) (req *request.Request, output *PutEventTypeOutput)
PutEventTypeRequest generates a "aws/request.Request" representing the client's request for the PutEventType operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutEventType for more information on using the PutEventType API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutEventTypeRequest method. req, resp := client.PutEventTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventType
func (c *FraudDetector) PutEventTypeWithContext(ctx aws.Context, input *PutEventTypeInput, opts ...request.Option) (*PutEventTypeOutput, error)
PutEventTypeWithContext is the same as PutEventType with the addition of the ability to pass a context and additional request options.
See PutEventType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) PutExternalModel(input *PutExternalModelInput) (*PutExternalModelOutput, error)
PutExternalModel API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation PutExternalModel for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutExternalModel
func (c *FraudDetector) PutExternalModelRequest(input *PutExternalModelInput) (req *request.Request, output *PutExternalModelOutput)
PutExternalModelRequest generates a "aws/request.Request" representing the client's request for the PutExternalModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutExternalModel for more information on using the PutExternalModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutExternalModelRequest method. req, resp := client.PutExternalModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutExternalModel
func (c *FraudDetector) PutExternalModelWithContext(ctx aws.Context, input *PutExternalModelInput, opts ...request.Option) (*PutExternalModelOutput, error)
PutExternalModelWithContext is the same as PutExternalModel with the addition of the ability to pass a context and additional request options.
See PutExternalModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) PutKMSEncryptionKey(input *PutKMSEncryptionKeyInput) (*PutKMSEncryptionKeyOutput, error)
PutKMSEncryptionKey API operation for Amazon Fraud Detector.
Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation PutKMSEncryptionKey for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutKMSEncryptionKey
func (c *FraudDetector) PutKMSEncryptionKeyRequest(input *PutKMSEncryptionKeyInput) (req *request.Request, output *PutKMSEncryptionKeyOutput)
PutKMSEncryptionKeyRequest generates a "aws/request.Request" representing the client's request for the PutKMSEncryptionKey operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutKMSEncryptionKey for more information on using the PutKMSEncryptionKey API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutKMSEncryptionKeyRequest method. req, resp := client.PutKMSEncryptionKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutKMSEncryptionKey
func (c *FraudDetector) PutKMSEncryptionKeyWithContext(ctx aws.Context, input *PutKMSEncryptionKeyInput, opts ...request.Option) (*PutKMSEncryptionKeyOutput, error)
PutKMSEncryptionKeyWithContext is the same as PutKMSEncryptionKey with the addition of the ability to pass a context and additional request options.
See PutKMSEncryptionKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) PutLabel(input *PutLabelInput) (*PutLabelOutput, error)
PutLabel API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation PutLabel for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutLabel
func (c *FraudDetector) PutLabelRequest(input *PutLabelInput) (req *request.Request, output *PutLabelOutput)
PutLabelRequest generates a "aws/request.Request" representing the client's request for the PutLabel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutLabel for more information on using the PutLabel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutLabelRequest method. req, resp := client.PutLabelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutLabel
func (c *FraudDetector) PutLabelWithContext(ctx aws.Context, input *PutLabelInput, opts ...request.Option) (*PutLabelOutput, error)
PutLabelWithContext is the same as PutLabel with the addition of the ability to pass a context and additional request options.
See PutLabel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) PutOutcome(input *PutOutcomeInput) (*PutOutcomeOutput, error)
PutOutcome API operation for Amazon Fraud Detector.
Creates or updates an outcome.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation PutOutcome for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutOutcome
func (c *FraudDetector) PutOutcomeRequest(input *PutOutcomeInput) (req *request.Request, output *PutOutcomeOutput)
PutOutcomeRequest generates a "aws/request.Request" representing the client's request for the PutOutcome operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutOutcome for more information on using the PutOutcome API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutOutcomeRequest method. req, resp := client.PutOutcomeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutOutcome
func (c *FraudDetector) PutOutcomeWithContext(ctx aws.Context, input *PutOutcomeInput, opts ...request.Option) (*PutOutcomeOutput, error)
PutOutcomeWithContext is the same as PutOutcome with the addition of the ability to pass a context and additional request options.
See PutOutcome for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) SendEvent(input *SendEventInput) (*SendEventOutput, error)
SendEvent API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation SendEvent for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ConflictException An exception indicating there was a conflict during a delete operation.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/SendEvent
func (c *FraudDetector) SendEventRequest(input *SendEventInput) (req *request.Request, output *SendEventOutput)
SendEventRequest generates a "aws/request.Request" representing the client's request for the SendEvent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SendEvent for more information on using the SendEvent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SendEventRequest method. req, resp := client.SendEventRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/SendEvent
func (c *FraudDetector) SendEventWithContext(ctx aws.Context, input *SendEventInput, opts ...request.Option) (*SendEventOutput, error)
SendEventWithContext is the same as SendEvent with the addition of the ability to pass a context and additional request options.
See SendEvent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Fraud Detector.
Assigns tags to a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation TagResource for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TagResource
func (c *FraudDetector) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TagResource
func (c *FraudDetector) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Fraud Detector.
Removes tags from a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UntagResource for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UntagResource
func (c *FraudDetector) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UntagResource
func (c *FraudDetector) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateDetectorVersion(input *UpdateDetectorVersionInput) (*UpdateDetectorVersionOutput, error)
UpdateDetectorVersion API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateDetectorVersion for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersion
func (c *FraudDetector) UpdateDetectorVersionMetadata(input *UpdateDetectorVersionMetadataInput) (*UpdateDetectorVersionMetadataOutput, error)
UpdateDetectorVersionMetadata API operation for Amazon Fraud Detector.
Updates the detector version's description. You can update the metadata for any detector version (DRAFT, ACTIVE, or INACTIVE).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateDetectorVersionMetadata for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionMetadata
func (c *FraudDetector) UpdateDetectorVersionMetadataRequest(input *UpdateDetectorVersionMetadataInput) (req *request.Request, output *UpdateDetectorVersionMetadataOutput)
UpdateDetectorVersionMetadataRequest generates a "aws/request.Request" representing the client's request for the UpdateDetectorVersionMetadata operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDetectorVersionMetadata for more information on using the UpdateDetectorVersionMetadata API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDetectorVersionMetadataRequest method. req, resp := client.UpdateDetectorVersionMetadataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionMetadata
func (c *FraudDetector) UpdateDetectorVersionMetadataWithContext(ctx aws.Context, input *UpdateDetectorVersionMetadataInput, opts ...request.Option) (*UpdateDetectorVersionMetadataOutput, error)
UpdateDetectorVersionMetadataWithContext is the same as UpdateDetectorVersionMetadata with the addition of the ability to pass a context and additional request options.
See UpdateDetectorVersionMetadata for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateDetectorVersionRequest(input *UpdateDetectorVersionInput) (req *request.Request, output *UpdateDetectorVersionOutput)
UpdateDetectorVersionRequest generates a "aws/request.Request" representing the client's request for the UpdateDetectorVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDetectorVersion for more information on using the UpdateDetectorVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDetectorVersionRequest method. req, resp := client.UpdateDetectorVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersion
func (c *FraudDetector) UpdateDetectorVersionStatus(input *UpdateDetectorVersionStatusInput) (*UpdateDetectorVersionStatusOutput, error)
UpdateDetectorVersionStatus API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateDetectorVersionStatus for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionStatus
func (c *FraudDetector) UpdateDetectorVersionStatusRequest(input *UpdateDetectorVersionStatusInput) (req *request.Request, output *UpdateDetectorVersionStatusOutput)
UpdateDetectorVersionStatusRequest generates a "aws/request.Request" representing the client's request for the UpdateDetectorVersionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDetectorVersionStatus for more information on using the UpdateDetectorVersionStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDetectorVersionStatusRequest method. req, resp := client.UpdateDetectorVersionStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionStatus
func (c *FraudDetector) UpdateDetectorVersionStatusWithContext(ctx aws.Context, input *UpdateDetectorVersionStatusInput, opts ...request.Option) (*UpdateDetectorVersionStatusOutput, error)
UpdateDetectorVersionStatusWithContext is the same as UpdateDetectorVersionStatus with the addition of the ability to pass a context and additional request options.
See UpdateDetectorVersionStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateDetectorVersionWithContext(ctx aws.Context, input *UpdateDetectorVersionInput, opts ...request.Option) (*UpdateDetectorVersionOutput, error)
UpdateDetectorVersionWithContext is the same as UpdateDetectorVersion with the addition of the ability to pass a context and additional request options.
See UpdateDetectorVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateEventLabel(input *UpdateEventLabelInput) (*UpdateEventLabelOutput, error)
UpdateEventLabel API operation for Amazon Fraud Detector.
Updates the specified event with a new label.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateEventLabel for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateEventLabel
func (c *FraudDetector) UpdateEventLabelRequest(input *UpdateEventLabelInput) (req *request.Request, output *UpdateEventLabelOutput)
UpdateEventLabelRequest generates a "aws/request.Request" representing the client's request for the UpdateEventLabel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateEventLabel for more information on using the UpdateEventLabel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateEventLabelRequest method. req, resp := client.UpdateEventLabelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateEventLabel
func (c *FraudDetector) UpdateEventLabelWithContext(ctx aws.Context, input *UpdateEventLabelInput, opts ...request.Option) (*UpdateEventLabelOutput, error)
UpdateEventLabelWithContext is the same as UpdateEventLabel with the addition of the ability to pass a context and additional request options.
See UpdateEventLabel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateList(input *UpdateListInput) (*UpdateListOutput, error)
UpdateList API operation for Amazon Fraud Detector.
Updates a list.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateList for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateList
func (c *FraudDetector) UpdateListRequest(input *UpdateListInput) (req *request.Request, output *UpdateListOutput)
UpdateListRequest generates a "aws/request.Request" representing the client's request for the UpdateList operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateList for more information on using the UpdateList API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateListRequest method. req, resp := client.UpdateListRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateList
func (c *FraudDetector) UpdateListWithContext(ctx aws.Context, input *UpdateListInput, opts ...request.Option) (*UpdateListOutput, error)
UpdateListWithContext is the same as UpdateList with the addition of the ability to pass a context and additional request options.
See UpdateList for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error)
UpdateModel API operation for Amazon Fraud Detector.
Updates model description.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateModel for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModel
func (c *FraudDetector) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *UpdateModelOutput)
UpdateModelRequest generates a "aws/request.Request" representing the client's request for the UpdateModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateModel for more information on using the UpdateModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateModelRequest method. req, resp := client.UpdateModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModel
func (c *FraudDetector) UpdateModelVersion(input *UpdateModelVersionInput) (*UpdateModelVersionOutput, error)
UpdateModelVersion API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateModelVersion for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
AccessDeniedException 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.
ThrottlingException An exception indicating a throttling error.
InternalServerException An exception indicating an internal server error.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersion
func (c *FraudDetector) UpdateModelVersionRequest(input *UpdateModelVersionInput) (req *request.Request, output *UpdateModelVersionOutput)
UpdateModelVersionRequest generates a "aws/request.Request" representing the client's request for the UpdateModelVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateModelVersion for more information on using the UpdateModelVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateModelVersionRequest method. req, resp := client.UpdateModelVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersion
func (c *FraudDetector) UpdateModelVersionStatus(input *UpdateModelVersionStatusInput) (*UpdateModelVersionStatusOutput, error)
UpdateModelVersionStatus API operation for Amazon Fraud Detector.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateModelVersionStatus for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersionStatus
func (c *FraudDetector) UpdateModelVersionStatusRequest(input *UpdateModelVersionStatusInput) (req *request.Request, output *UpdateModelVersionStatusOutput)
UpdateModelVersionStatusRequest generates a "aws/request.Request" representing the client's request for the UpdateModelVersionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateModelVersionStatus for more information on using the UpdateModelVersionStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateModelVersionStatusRequest method. req, resp := client.UpdateModelVersionStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersionStatus
func (c *FraudDetector) UpdateModelVersionStatusWithContext(ctx aws.Context, input *UpdateModelVersionStatusInput, opts ...request.Option) (*UpdateModelVersionStatusOutput, error)
UpdateModelVersionStatusWithContext is the same as UpdateModelVersionStatus with the addition of the ability to pass a context and additional request options.
See UpdateModelVersionStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateModelVersionWithContext(ctx aws.Context, input *UpdateModelVersionInput, opts ...request.Option) (*UpdateModelVersionOutput, error)
UpdateModelVersionWithContext is the same as UpdateModelVersion with the addition of the ability to pass a context and additional request options.
See UpdateModelVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateModelWithContext(ctx aws.Context, input *UpdateModelInput, opts ...request.Option) (*UpdateModelOutput, error)
UpdateModelWithContext is the same as UpdateModel with the addition of the ability to pass a context and additional request options.
See UpdateModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateRuleMetadata(input *UpdateRuleMetadataInput) (*UpdateRuleMetadataOutput, error)
UpdateRuleMetadata API operation for Amazon Fraud Detector.
Updates a rule's metadata. The description attribute can be updated.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateRuleMetadata for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleMetadata
func (c *FraudDetector) UpdateRuleMetadataRequest(input *UpdateRuleMetadataInput) (req *request.Request, output *UpdateRuleMetadataOutput)
UpdateRuleMetadataRequest generates a "aws/request.Request" representing the client's request for the UpdateRuleMetadata operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateRuleMetadata for more information on using the UpdateRuleMetadata API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateRuleMetadataRequest method. req, resp := client.UpdateRuleMetadataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleMetadata
func (c *FraudDetector) UpdateRuleMetadataWithContext(ctx aws.Context, input *UpdateRuleMetadataInput, opts ...request.Option) (*UpdateRuleMetadataOutput, error)
UpdateRuleMetadataWithContext is the same as UpdateRuleMetadata with the addition of the ability to pass a context and additional request options.
See UpdateRuleMetadata for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateRuleVersion(input *UpdateRuleVersionInput) (*UpdateRuleVersionOutput, error)
UpdateRuleVersion API operation for Amazon Fraud Detector.
Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateRuleVersion for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleVersion
func (c *FraudDetector) UpdateRuleVersionRequest(input *UpdateRuleVersionInput) (req *request.Request, output *UpdateRuleVersionOutput)
UpdateRuleVersionRequest generates a "aws/request.Request" representing the client's request for the UpdateRuleVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateRuleVersion for more information on using the UpdateRuleVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateRuleVersionRequest method. req, resp := client.UpdateRuleVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleVersion
func (c *FraudDetector) UpdateRuleVersionWithContext(ctx aws.Context, input *UpdateRuleVersionInput, opts ...request.Option) (*UpdateRuleVersionOutput, error)
UpdateRuleVersionWithContext is the same as UpdateRuleVersion with the addition of the ability to pass a context and additional request options.
See UpdateRuleVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *FraudDetector) UpdateVariable(input *UpdateVariableInput) (*UpdateVariableOutput, error)
UpdateVariable API operation for Amazon Fraud Detector.
Updates a variable.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateVariable for usage and error information.
Returned Error Types:
ValidationException An exception indicating a specified value is not allowed.
ResourceNotFoundException An exception indicating the specified resource was not found.
InternalServerException An exception indicating an internal server error.
ThrottlingException An exception indicating a throttling error.
AccessDeniedException 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.
ConflictException An exception indicating there was a conflict during a delete operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateVariable
func (c *FraudDetector) UpdateVariableRequest(input *UpdateVariableInput) (req *request.Request, output *UpdateVariableOutput)
UpdateVariableRequest generates a "aws/request.Request" representing the client's request for the UpdateVariable operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateVariable for more information on using the UpdateVariable API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateVariableRequest method. req, resp := client.UpdateVariableRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateVariable
func (c *FraudDetector) UpdateVariableWithContext(ctx aws.Context, input *UpdateVariableInput, opts ...request.Option) (*UpdateVariableOutput, error)
UpdateVariableWithContext is the same as UpdateVariable with the addition of the ability to pass a context and additional request options.
See UpdateVariable for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type GetBatchImportJobsInput struct { // The ID of the batch import job to get. JobId *string `locationName:"jobId" min:"1" type:"string"` // The maximum number of objects to return for request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The next token from the previous request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetBatchImportJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetBatchImportJobsInput) SetJobId(v string) *GetBatchImportJobsInput
SetJobId sets the JobId field's value.
func (s *GetBatchImportJobsInput) SetMaxResults(v int64) *GetBatchImportJobsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetBatchImportJobsInput) SetNextToken(v string) *GetBatchImportJobsInput
SetNextToken sets the NextToken field's value.
func (s GetBatchImportJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetBatchImportJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBatchImportJobsOutput struct { // An array containing the details of each batch import job. BatchImports []*BatchImport `locationName:"batchImports" type:"list"` // The next token for the subsequent resquest. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetBatchImportJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetBatchImportJobsOutput) SetBatchImports(v []*BatchImport) *GetBatchImportJobsOutput
SetBatchImports sets the BatchImports field's value.
func (s *GetBatchImportJobsOutput) SetNextToken(v string) *GetBatchImportJobsOutput
SetNextToken sets the NextToken field's value.
func (s GetBatchImportJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetBatchPredictionJobsInput struct { // The batch prediction job for which to get the details. JobId *string `locationName:"jobId" min:"1" type:"string"` // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The next token from the previous request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetBatchPredictionJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetBatchPredictionJobsInput) SetJobId(v string) *GetBatchPredictionJobsInput
SetJobId sets the JobId field's value.
func (s *GetBatchPredictionJobsInput) SetMaxResults(v int64) *GetBatchPredictionJobsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetBatchPredictionJobsInput) SetNextToken(v string) *GetBatchPredictionJobsInput
SetNextToken sets the NextToken field's value.
func (s GetBatchPredictionJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetBatchPredictionJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBatchPredictionJobsOutput struct { // An array containing the details of each batch prediction job. BatchPredictions []*BatchPrediction `locationName:"batchPredictions" type:"list"` // The next token for the subsequent request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetBatchPredictionJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetBatchPredictionJobsOutput) SetBatchPredictions(v []*BatchPrediction) *GetBatchPredictionJobsOutput
SetBatchPredictions sets the BatchPredictions field's value.
func (s *GetBatchPredictionJobsOutput) SetNextToken(v string) *GetBatchPredictionJobsOutput
SetNextToken sets the NextToken field's value.
func (s GetBatchPredictionJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDeleteEventsByEventTypeStatusInput struct { // Name of event type for which to get the deletion status. // // EventTypeName is a required field EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetDeleteEventsByEventTypeStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDeleteEventsByEventTypeStatusInput) SetEventTypeName(v string) *GetDeleteEventsByEventTypeStatusInput
SetEventTypeName sets the EventTypeName field's value.
func (s GetDeleteEventsByEventTypeStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDeleteEventsByEventTypeStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDeleteEventsByEventTypeStatusOutput struct { // The event type name. EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` // The deletion status. EventsDeletionStatus *string `locationName:"eventsDeletionStatus" type:"string" enum:"AsyncJobStatus"` // contains filtered or unexported fields }
func (s GetDeleteEventsByEventTypeStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDeleteEventsByEventTypeStatusOutput) SetEventTypeName(v string) *GetDeleteEventsByEventTypeStatusOutput
SetEventTypeName sets the EventTypeName field's value.
func (s *GetDeleteEventsByEventTypeStatusOutput) SetEventsDeletionStatus(v string) *GetDeleteEventsByEventTypeStatusOutput
SetEventsDeletionStatus sets the EventsDeletionStatus field's value.
func (s GetDeleteEventsByEventTypeStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDetectorVersionInput struct { // The detector ID. // // DetectorId is a required field DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"` // The detector version ID. // // DetectorVersionId is a required field DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetDetectorVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDetectorVersionInput) SetDetectorId(v string) *GetDetectorVersionInput
SetDetectorId sets the DetectorId field's value.
func (s *GetDetectorVersionInput) SetDetectorVersionId(v string) *GetDetectorVersionInput
SetDetectorVersionId sets the DetectorVersionId field's value.
func (s GetDetectorVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDetectorVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDetectorVersionOutput struct { // The detector version ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // The timestamp when the detector version was created. CreatedTime *string `locationName:"createdTime" min:"11" type:"string"` // The detector version description. Description *string `locationName:"description" min:"1" type:"string"` // The detector ID. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` // The detector version ID. DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string"` // The Amazon SageMaker model endpoints included in the detector version. ExternalModelEndpoints []*string `locationName:"externalModelEndpoints" type:"list"` // The timestamp when the detector version was last updated. LastUpdatedTime *string `locationName:"lastUpdatedTime" min:"11" type:"string"` // The model versions included in the detector version. ModelVersions []*ModelVersion `locationName:"modelVersions" type:"list"` // The execution mode of the rule in the dectector // // FIRST_MATCHED indicates that Amazon Fraud Detector evaluates rules sequentially, // first to last, stopping at the first matched rule. Amazon Fraud dectector // then provides the outcomes for that single rule. // // ALL_MATCHED indicates that Amazon Fraud Detector evaluates all rules and // returns the outcomes for all matched rules. You can define and edit the rule // mode at the detector version level, when it is in draft status. RuleExecutionMode *string `locationName:"ruleExecutionMode" type:"string" enum:"RuleExecutionMode"` // The rules included in the detector version. Rules []*Rule `locationName:"rules" type:"list"` // The status of the detector version. Status *string `locationName:"status" type:"string" enum:"DetectorVersionStatus"` // contains filtered or unexported fields }
func (s GetDetectorVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDetectorVersionOutput) SetArn(v string) *GetDetectorVersionOutput
SetArn sets the Arn field's value.
func (s *GetDetectorVersionOutput) SetCreatedTime(v string) *GetDetectorVersionOutput
SetCreatedTime sets the CreatedTime field's value.
func (s *GetDetectorVersionOutput) SetDescription(v string) *GetDetectorVersionOutput
SetDescription sets the Description field's value.
func (s *GetDetectorVersionOutput) SetDetectorId(v string) *GetDetectorVersionOutput
SetDetectorId sets the DetectorId field's value.
func (s *GetDetectorVersionOutput) SetDetectorVersionId(v string) *GetDetectorVersionOutput
SetDetectorVersionId sets the DetectorVersionId field's value.
func (s *GetDetectorVersionOutput) SetExternalModelEndpoints(v []*string) *GetDetectorVersionOutput
SetExternalModelEndpoints sets the ExternalModelEndpoints field's value.
func (s *GetDetectorVersionOutput) SetLastUpdatedTime(v string) *GetDetectorVersionOutput
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (s *GetDetectorVersionOutput) SetModelVersions(v []*ModelVersion) *GetDetectorVersionOutput
SetModelVersions sets the ModelVersions field's value.
func (s *GetDetectorVersionOutput) SetRuleExecutionMode(v string) *GetDetectorVersionOutput
SetRuleExecutionMode sets the RuleExecutionMode field's value.
func (s *GetDetectorVersionOutput) SetRules(v []*Rule) *GetDetectorVersionOutput
SetRules sets the Rules field's value.
func (s *GetDetectorVersionOutput) SetStatus(v string) *GetDetectorVersionOutput
SetStatus sets the Status field's value.
func (s GetDetectorVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDetectorsInput struct { // The detector ID. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"` // The next token for the subsequent request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetDetectorsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDetectorsInput) SetDetectorId(v string) *GetDetectorsInput
SetDetectorId sets the DetectorId field's value.
func (s *GetDetectorsInput) SetMaxResults(v int64) *GetDetectorsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetDetectorsInput) SetNextToken(v string) *GetDetectorsInput
SetNextToken sets the NextToken field's value.
func (s GetDetectorsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDetectorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDetectorsOutput struct { // The detectors. Detectors []*Detector `locationName:"detectors" type:"list"` // The next page token. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetDetectorsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDetectorsOutput) SetDetectors(v []*Detector) *GetDetectorsOutput
SetDetectors sets the Detectors field's value.
func (s *GetDetectorsOutput) SetNextToken(v string) *GetDetectorsOutput
SetNextToken sets the NextToken field's value.
func (s GetDetectorsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEntityTypesInput struct { // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"` // The name. Name *string `locationName:"name" min:"1" type:"string"` // The next token for the subsequent request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetEntityTypesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEntityTypesInput) SetMaxResults(v int64) *GetEntityTypesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetEntityTypesInput) SetName(v string) *GetEntityTypesInput
SetName sets the Name field's value.
func (s *GetEntityTypesInput) SetNextToken(v string) *GetEntityTypesInput
SetNextToken sets the NextToken field's value.
func (s GetEntityTypesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEntityTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEntityTypesOutput struct { // An array of entity types. EntityTypes []*EntityType `locationName:"entityTypes" type:"list"` // The next page token. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetEntityTypesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEntityTypesOutput) SetEntityTypes(v []*EntityType) *GetEntityTypesOutput
SetEntityTypes sets the EntityTypes field's value.
func (s *GetEntityTypesOutput) SetNextToken(v string) *GetEntityTypesOutput
SetNextToken sets the NextToken field's value.
func (s GetEntityTypesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEventInput struct { // The ID of the event to retrieve. // // EventId is a required field EventId *string `locationName:"eventId" type:"string" required:"true"` // The event type of the event to retrieve. // // EventTypeName is a required field EventTypeName *string `locationName:"eventTypeName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetEventInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventInput) SetEventId(v string) *GetEventInput
SetEventId sets the EventId field's value.
func (s *GetEventInput) SetEventTypeName(v string) *GetEventInput
SetEventTypeName sets the EventTypeName field's value.
func (s GetEventInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEventOutput struct { // The details of the event. Event *Event `locationName:"event" type:"structure"` // contains filtered or unexported fields }
func (s GetEventOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventOutput) SetEvent(v *Event) *GetEventOutput
SetEvent sets the Event field's value.
func (s GetEventOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEventPredictionInput struct { // The detector ID. // // DetectorId is a required field DetectorId *string `locationName:"detectorId" type:"string" required:"true"` // The detector version ID. DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string"` // The entity type (associated with the detector's event type) and specific // entity ID representing who performed the event. If an entity id is not available, // use "UNKNOWN." // // Entities is a required field Entities []*Entity `locationName:"entities" type:"list" required:"true" sensitive:"true"` // The unique ID used to identify the event. // // EventId is a required field EventId *string `locationName:"eventId" type:"string" required:"true"` // Timestamp that defines when the event under evaluation occurred. The timestamp // must be specified using ISO 8601 standard in UTC. // // EventTimestamp is a required field EventTimestamp *string `locationName:"eventTimestamp" min:"10" type:"string" required:"true"` // The event type associated with the detector specified for the prediction. // // EventTypeName is a required field EventTypeName *string `locationName:"eventTypeName" type:"string" required:"true"` // Names of the event type's variables you defined in Amazon Fraud Detector // to represent data elements and their corresponding values for the event you // are sending for evaluation. // // You must provide at least one eventVariable // // To ensure most accurate fraud prediction and to simplify your data preparation, // Amazon Fraud Detector will replace all missing variables or values as follows: // // For Amazon Fraud Detector trained models: // // If a null value is provided explicitly for a variable or if a variable is // missing, model will replace the null value or the missing variable (no variable // name in the eventVariables map) with calculated default mean/medians for // numeric variables and with special values for categorical variables. // // For imported SageMaker models: // // If a null value is provided explicitly for a variable, the model and rules // will use “null” as the value. If a variable is not provided (no variable // name in the eventVariables map), model and rules will use the default value // that is provided for the variable. // // EventVariables is a required field EventVariables map[string]*string `locationName:"eventVariables" min:"1" type:"map" required:"true" sensitive:"true"` // The Amazon SageMaker model endpoint input data blobs. // // ExternalModelEndpointDataBlobs is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetEventPredictionInput's // String and GoString methods. ExternalModelEndpointDataBlobs map[string]*ModelEndpointDataBlob `locationName:"externalModelEndpointDataBlobs" type:"map" sensitive:"true"` // contains filtered or unexported fields }
func (s GetEventPredictionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventPredictionInput) SetDetectorId(v string) *GetEventPredictionInput
SetDetectorId sets the DetectorId field's value.
func (s *GetEventPredictionInput) SetDetectorVersionId(v string) *GetEventPredictionInput
SetDetectorVersionId sets the DetectorVersionId field's value.
func (s *GetEventPredictionInput) SetEntities(v []*Entity) *GetEventPredictionInput
SetEntities sets the Entities field's value.
func (s *GetEventPredictionInput) SetEventId(v string) *GetEventPredictionInput
SetEventId sets the EventId field's value.
func (s *GetEventPredictionInput) SetEventTimestamp(v string) *GetEventPredictionInput
SetEventTimestamp sets the EventTimestamp field's value.
func (s *GetEventPredictionInput) SetEventTypeName(v string) *GetEventPredictionInput
SetEventTypeName sets the EventTypeName field's value.
func (s *GetEventPredictionInput) SetEventVariables(v map[string]*string) *GetEventPredictionInput
SetEventVariables sets the EventVariables field's value.
func (s *GetEventPredictionInput) SetExternalModelEndpointDataBlobs(v map[string]*ModelEndpointDataBlob) *GetEventPredictionInput
SetExternalModelEndpointDataBlobs sets the ExternalModelEndpointDataBlobs field's value.
func (s GetEventPredictionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventPredictionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEventPredictionMetadataInput struct { // The detector ID. // // DetectorId is a required field DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"` // The detector version ID. // // DetectorVersionId is a required field DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string" required:"true"` // The event ID. // // EventId is a required field EventId *string `locationName:"eventId" min:"1" type:"string" required:"true"` // The event type associated with the detector specified for the prediction. // // EventTypeName is a required field EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` // The timestamp that defines when the prediction was generated. The timestamp // must be specified using ISO 8601 standard in UTC. // // We recommend calling ListEventPredictions (https://docs.aws.amazon.com/frauddetector/latest/api/API_ListEventPredictions.html) // first, and using the predictionTimestamp value in the response to provide // an accurate prediction timestamp value. // // PredictionTimestamp is a required field PredictionTimestamp *string `locationName:"predictionTimestamp" min:"11" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetEventPredictionMetadataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventPredictionMetadataInput) SetDetectorId(v string) *GetEventPredictionMetadataInput
SetDetectorId sets the DetectorId field's value.
func (s *GetEventPredictionMetadataInput) SetDetectorVersionId(v string) *GetEventPredictionMetadataInput
SetDetectorVersionId sets the DetectorVersionId field's value.
func (s *GetEventPredictionMetadataInput) SetEventId(v string) *GetEventPredictionMetadataInput
SetEventId sets the EventId field's value.
func (s *GetEventPredictionMetadataInput) SetEventTypeName(v string) *GetEventPredictionMetadataInput
SetEventTypeName sets the EventTypeName field's value.
func (s *GetEventPredictionMetadataInput) SetPredictionTimestamp(v string) *GetEventPredictionMetadataInput
SetPredictionTimestamp sets the PredictionTimestamp field's value.
func (s GetEventPredictionMetadataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventPredictionMetadataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEventPredictionMetadataOutput struct { // The detector ID. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` // The detector version ID. DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string"` // The status of the detector version. DetectorVersionStatus *string `locationName:"detectorVersionStatus" type:"string"` // The entity ID. EntityId *string `locationName:"entityId" type:"string"` // The entity type. EntityType *string `locationName:"entityType" type:"string"` // External (Amazon SageMaker) models that were evaluated for generating predictions. EvaluatedExternalModels []*EvaluatedExternalModel `locationName:"evaluatedExternalModels" type:"list"` // Model versions that were evaluated for generating predictions. EvaluatedModelVersions []*EvaluatedModelVersion `locationName:"evaluatedModelVersions" type:"list"` // The event ID. EventId *string `locationName:"eventId" min:"1" type:"string"` // The timestamp for when the prediction was generated for the associated event // ID. EventTimestamp *string `locationName:"eventTimestamp" min:"11" type:"string"` // The event type associated with the detector specified for this prediction. EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` // A list of event variables that influenced the prediction scores. EventVariables []*EventVariableSummary `locationName:"eventVariables" type:"list"` // The outcomes of the matched rule, based on the rule execution mode. Outcomes []*string `locationName:"outcomes" type:"list"` // The timestamp that defines when the prediction was generated. PredictionTimestamp *string `locationName:"predictionTimestamp" min:"11" type:"string"` // The execution mode of the rule used for evaluating variable values. RuleExecutionMode *string `locationName:"ruleExecutionMode" type:"string" enum:"RuleExecutionMode"` // List of rules associated with the detector version that were used for evaluating // variable values. Rules []*EvaluatedRule `locationName:"rules" type:"list"` // contains filtered or unexported fields }
func (s GetEventPredictionMetadataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventPredictionMetadataOutput) SetDetectorId(v string) *GetEventPredictionMetadataOutput
SetDetectorId sets the DetectorId field's value.
func (s *GetEventPredictionMetadataOutput) SetDetectorVersionId(v string) *GetEventPredictionMetadataOutput
SetDetectorVersionId sets the DetectorVersionId field's value.
func (s *GetEventPredictionMetadataOutput) SetDetectorVersionStatus(v string) *GetEventPredictionMetadataOutput
SetDetectorVersionStatus sets the DetectorVersionStatus field's value.
func (s *GetEventPredictionMetadataOutput) SetEntityId(v string) *GetEventPredictionMetadataOutput
SetEntityId sets the EntityId field's value.
func (s *GetEventPredictionMetadataOutput) SetEntityType(v string) *GetEventPredictionMetadataOutput
SetEntityType sets the EntityType field's value.
func (s *GetEventPredictionMetadataOutput) SetEvaluatedExternalModels(v []*EvaluatedExternalModel) *GetEventPredictionMetadataOutput
SetEvaluatedExternalModels sets the EvaluatedExternalModels field's value.
func (s *GetEventPredictionMetadataOutput) SetEvaluatedModelVersions(v []*EvaluatedModelVersion) *GetEventPredictionMetadataOutput
SetEvaluatedModelVersions sets the EvaluatedModelVersions field's value.
func (s *GetEventPredictionMetadataOutput) SetEventId(v string) *GetEventPredictionMetadataOutput
SetEventId sets the EventId field's value.
func (s *GetEventPredictionMetadataOutput) SetEventTimestamp(v string) *GetEventPredictionMetadataOutput
SetEventTimestamp sets the EventTimestamp field's value.
func (s *GetEventPredictionMetadataOutput) SetEventTypeName(v string) *GetEventPredictionMetadataOutput
SetEventTypeName sets the EventTypeName field's value.
func (s *GetEventPredictionMetadataOutput) SetEventVariables(v []*EventVariableSummary) *GetEventPredictionMetadataOutput
SetEventVariables sets the EventVariables field's value.
func (s *GetEventPredictionMetadataOutput) SetOutcomes(v []*string) *GetEventPredictionMetadataOutput
SetOutcomes sets the Outcomes field's value.
func (s *GetEventPredictionMetadataOutput) SetPredictionTimestamp(v string) *GetEventPredictionMetadataOutput
SetPredictionTimestamp sets the PredictionTimestamp field's value.
func (s *GetEventPredictionMetadataOutput) SetRuleExecutionMode(v string) *GetEventPredictionMetadataOutput
SetRuleExecutionMode sets the RuleExecutionMode field's value.
func (s *GetEventPredictionMetadataOutput) SetRules(v []*EvaluatedRule) *GetEventPredictionMetadataOutput
SetRules sets the Rules field's value.
func (s GetEventPredictionMetadataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEventPredictionOutput struct { // The model scores for Amazon SageMaker models. ExternalModelOutputs []*ExternalModelOutputs `locationName:"externalModelOutputs" type:"list"` // The model scores. Amazon Fraud Detector generates model scores between 0 // and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores // are directly related to the false positive rate (FPR). For example, a score // of 600 corresponds to an estimated 10% false positive rate whereas a score // of 900 corresponds to an estimated 2% false positive rate. ModelScores []*ModelScores `locationName:"modelScores" type:"list"` // The results from the rules. RuleResults []*RuleResult `locationName:"ruleResults" type:"list"` // contains filtered or unexported fields }
func (s GetEventPredictionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventPredictionOutput) SetExternalModelOutputs(v []*ExternalModelOutputs) *GetEventPredictionOutput
SetExternalModelOutputs sets the ExternalModelOutputs field's value.
func (s *GetEventPredictionOutput) SetModelScores(v []*ModelScores) *GetEventPredictionOutput
SetModelScores sets the ModelScores field's value.
func (s *GetEventPredictionOutput) SetRuleResults(v []*RuleResult) *GetEventPredictionOutput
SetRuleResults sets the RuleResults field's value.
func (s GetEventPredictionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEventTypesInput struct { // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"` // The name. Name *string `locationName:"name" min:"1" type:"string"` // The next token for the subsequent request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetEventTypesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventTypesInput) SetMaxResults(v int64) *GetEventTypesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetEventTypesInput) SetName(v string) *GetEventTypesInput
SetName sets the Name field's value.
func (s *GetEventTypesInput) SetNextToken(v string) *GetEventTypesInput
SetNextToken sets the NextToken field's value.
func (s GetEventTypesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEventTypesOutput struct { // An array of event types. EventTypes []*EventType `locationName:"eventTypes" type:"list" sensitive:"true"` // The next page token. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetEventTypesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetEventTypesOutput) SetEventTypes(v []*EventType) *GetEventTypesOutput
SetEventTypes sets the EventTypes field's value.
func (s *GetEventTypesOutput) SetNextToken(v string) *GetEventTypesOutput
SetNextToken sets the NextToken field's value.
func (s GetEventTypesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetExternalModelsInput struct { // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"` // The Amazon SageMaker model endpoint. ModelEndpoint *string `locationName:"modelEndpoint" type:"string"` // The next page token for the request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetExternalModelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetExternalModelsInput) SetMaxResults(v int64) *GetExternalModelsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetExternalModelsInput) SetModelEndpoint(v string) *GetExternalModelsInput
SetModelEndpoint sets the ModelEndpoint field's value.
func (s *GetExternalModelsInput) SetNextToken(v string) *GetExternalModelsInput
SetNextToken sets the NextToken field's value.
func (s GetExternalModelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetExternalModelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetExternalModelsOutput struct { // Gets the Amazon SageMaker models. ExternalModels []*ExternalModel `locationName:"externalModels" type:"list"` // The next page token to be used in subsequent requests. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetExternalModelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetExternalModelsOutput) SetExternalModels(v []*ExternalModel) *GetExternalModelsOutput
SetExternalModels sets the ExternalModels field's value.
func (s *GetExternalModelsOutput) SetNextToken(v string) *GetExternalModelsOutput
SetNextToken sets the NextToken field's value.
func (s GetExternalModelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetKMSEncryptionKeyInput struct {
// contains filtered or unexported fields
}
func (s GetKMSEncryptionKeyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s GetKMSEncryptionKeyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetKMSEncryptionKeyOutput struct { // The KMS encryption key. KmsKey *KMSKey `locationName:"kmsKey" type:"structure"` // contains filtered or unexported fields }
func (s GetKMSEncryptionKeyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetKMSEncryptionKeyOutput) SetKmsKey(v *KMSKey) *GetKMSEncryptionKeyOutput
SetKmsKey sets the KmsKey field's value.
func (s GetKMSEncryptionKeyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLabelsInput struct { // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"10" type:"integer"` // The name of the label or labels to get. Name *string `locationName:"name" min:"1" type:"string"` // The next token for the subsequent request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetLabelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetLabelsInput) SetMaxResults(v int64) *GetLabelsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetLabelsInput) SetName(v string) *GetLabelsInput
SetName sets the Name field's value.
func (s *GetLabelsInput) SetNextToken(v string) *GetLabelsInput
SetNextToken sets the NextToken field's value.
func (s GetLabelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetLabelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLabelsOutput struct { // An array of labels. Labels []*Label `locationName:"labels" type:"list"` // The next page token. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetLabelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetLabelsOutput) SetLabels(v []*Label) *GetLabelsOutput
SetLabels sets the Labels field's value.
func (s *GetLabelsOutput) SetNextToken(v string) *GetLabelsOutput
SetNextToken sets the NextToken field's value.
func (s GetLabelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetListElementsInput struct { // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"500" type:"integer"` // The name of the list. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The next token for the subsequent request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetListElementsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetListElementsInput) SetMaxResults(v int64) *GetListElementsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetListElementsInput) SetName(v string) *GetListElementsInput
SetName sets the Name field's value.
func (s *GetListElementsInput) SetNextToken(v string) *GetListElementsInput
SetNextToken sets the NextToken field's value.
func (s GetListElementsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetListElementsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetListElementsOutput struct { // The list elements. Elements []*string `locationName:"elements" type:"list" sensitive:"true"` // The next page token. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetListElementsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetListElementsOutput) SetElements(v []*string) *GetListElementsOutput
SetElements sets the Elements field's value.
func (s *GetListElementsOutput) SetNextToken(v string) *GetListElementsOutput
SetNextToken sets the NextToken field's value.
func (s GetListElementsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetListsMetadataInput struct { // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"` // The name of the list. Name *string `locationName:"name" min:"1" type:"string"` // The next token for the subsequent request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetListsMetadataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetListsMetadataInput) SetMaxResults(v int64) *GetListsMetadataInput
SetMaxResults sets the MaxResults field's value.
func (s *GetListsMetadataInput) SetName(v string) *GetListsMetadataInput
SetName sets the Name field's value.
func (s *GetListsMetadataInput) SetNextToken(v string) *GetListsMetadataInput
SetNextToken sets the NextToken field's value.
func (s GetListsMetadataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetListsMetadataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetListsMetadataOutput struct { // The metadata of the specified list or all lists under the account. Lists []*AllowDenyList `locationName:"lists" type:"list"` // The next page token. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetListsMetadataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetListsMetadataOutput) SetLists(v []*AllowDenyList) *GetListsMetadataOutput
SetLists sets the Lists field's value.
func (s *GetListsMetadataOutput) SetNextToken(v string) *GetListsMetadataOutput
SetNextToken sets the NextToken field's value.
func (s GetListsMetadataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetModelVersionInput struct { // The model ID. // // ModelId is a required field ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"` // The model type. // // ModelType is a required field ModelType *string `locationName:"modelType" type:"string" required:"true" enum:"ModelTypeEnum"` // The model version number. // // ModelVersionNumber is a required field ModelVersionNumber *string `locationName:"modelVersionNumber" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetModelVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelVersionInput) SetModelId(v string) *GetModelVersionInput
SetModelId sets the ModelId field's value.
func (s *GetModelVersionInput) SetModelType(v string) *GetModelVersionInput
SetModelType sets the ModelType field's value.
func (s *GetModelVersionInput) SetModelVersionNumber(v string) *GetModelVersionInput
SetModelVersionNumber sets the ModelVersionNumber field's value.
func (s GetModelVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetModelVersionOutput struct { // The model version ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // The details of the external events data used for training the model version. // This will be populated if the trainingDataSource is EXTERNAL_EVENTS ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" type:"structure"` // The details of the ingested events data used for training the model version. // This will be populated if the trainingDataSource is INGESTED_EVENTS. IngestedEventsDetail *IngestedEventsDetail `locationName:"ingestedEventsDetail" type:"structure"` // The model ID. ModelId *string `locationName:"modelId" min:"1" type:"string"` // The model type. ModelType *string `locationName:"modelType" type:"string" enum:"ModelTypeEnum"` // The model version number. ModelVersionNumber *string `locationName:"modelVersionNumber" min:"3" type:"string"` // The model version status. // // Possible values are: // // * TRAINING_IN_PROGRESS // // * TRAINING_COMPLETE // // * ACTIVATE_REQUESTED // // * ACTIVATE_IN_PROGRESS // // * ACTIVE // // * INACTIVATE_REQUESTED // // * INACTIVATE_IN_PROGRESS // // * INACTIVE // // * ERROR Status *string `locationName:"status" type:"string"` // The training data schema. TrainingDataSchema *TrainingDataSchema `locationName:"trainingDataSchema" type:"structure"` // The training data source. TrainingDataSource *string `locationName:"trainingDataSource" type:"string" enum:"TrainingDataSourceEnum"` // contains filtered or unexported fields }
func (s GetModelVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelVersionOutput) SetArn(v string) *GetModelVersionOutput
SetArn sets the Arn field's value.
func (s *GetModelVersionOutput) SetExternalEventsDetail(v *ExternalEventsDetail) *GetModelVersionOutput
SetExternalEventsDetail sets the ExternalEventsDetail field's value.
func (s *GetModelVersionOutput) SetIngestedEventsDetail(v *IngestedEventsDetail) *GetModelVersionOutput
SetIngestedEventsDetail sets the IngestedEventsDetail field's value.
func (s *GetModelVersionOutput) SetModelId(v string) *GetModelVersionOutput
SetModelId sets the ModelId field's value.
func (s *GetModelVersionOutput) SetModelType(v string) *GetModelVersionOutput
SetModelType sets the ModelType field's value.
func (s *GetModelVersionOutput) SetModelVersionNumber(v string) *GetModelVersionOutput
SetModelVersionNumber sets the ModelVersionNumber field's value.
func (s *GetModelVersionOutput) SetStatus(v string) *GetModelVersionOutput
SetStatus sets the Status field's value.
func (s *GetModelVersionOutput) SetTrainingDataSchema(v *TrainingDataSchema) *GetModelVersionOutput
SetTrainingDataSchema sets the TrainingDataSchema field's value.
func (s *GetModelVersionOutput) SetTrainingDataSource(v string) *GetModelVersionOutput
SetTrainingDataSource sets the TrainingDataSource field's value.
func (s GetModelVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetModelsInput struct { // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The model ID. ModelId *string `locationName:"modelId" min:"1" type:"string"` // The model type. ModelType *string `locationName:"modelType" type:"string" enum:"ModelTypeEnum"` // The next token for the subsequent request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetModelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelsInput) SetMaxResults(v int64) *GetModelsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetModelsInput) SetModelId(v string) *GetModelsInput
SetModelId sets the ModelId field's value.
func (s *GetModelsInput) SetModelType(v string) *GetModelsInput
SetModelType sets the ModelType field's value.
func (s *GetModelsInput) SetNextToken(v string) *GetModelsInput
SetNextToken sets the NextToken field's value.
func (s GetModelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetModelsOutput struct { // The array of models. Models []*Model `locationName:"models" type:"list"` // The next page token to be used in subsequent requests. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetModelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelsOutput) SetModels(v []*Model) *GetModelsOutput
SetModels sets the Models field's value.
func (s *GetModelsOutput) SetNextToken(v string) *GetModelsOutput
SetNextToken sets the NextToken field's value.
func (s GetModelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetOutcomesInput struct { // The maximum number of objects to return for the request. MaxResults *int64 `locationName:"maxResults" min:"50" type:"integer"` // The name of the outcome or outcomes to get. Name *string `locationName:"name" min:"1" type:"string"` // The next page token for the request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetOutcomesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetOutcomesInput) SetMaxResults(v int64) *GetOutcomesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetOutcomesInput) SetName(v string) *GetOutcomesInput
SetName sets the Name field's value.
func (s *GetOutcomesInput) SetNextToken(v string) *GetOutcomesInput
SetNextToken sets the NextToken field's value.
func (s GetOutcomesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetOutcomesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetOutcomesOutput struct { // The next page token for subsequent requests. NextToken *string `locationName:"nextToken" type:"string"` // The outcomes. Outcomes []*Outcome `locationName:"outcomes" type:"list"` // contains filtered or unexported fields }
func (s GetOutcomesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetOutcomesOutput) SetNextToken(v string) *GetOutcomesOutput
SetNextToken sets the NextToken field's value.
func (s *GetOutcomesOutput) SetOutcomes(v []*Outcome) *GetOutcomesOutput
SetOutcomes sets the Outcomes field's value.
func (s GetOutcomesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRulesInput struct { // The detector ID. // // DetectorId is a required field DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"` // The maximum number of rules to return for the request. MaxResults *int64 `locationName:"maxResults" min:"50" type:"integer"` // The next page token. NextToken *string `locationName:"nextToken" type:"string"` // The rule ID. RuleId *string `locationName:"ruleId" min:"1" type:"string"` // The rule version. RuleVersion *string `locationName:"ruleVersion" min:"1" type:"string"` // contains filtered or unexported fields }
func (s GetRulesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRulesInput) SetDetectorId(v string) *GetRulesInput
SetDetectorId sets the DetectorId field's value.
func (s *GetRulesInput) SetMaxResults(v int64) *GetRulesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetRulesInput) SetNextToken(v string) *GetRulesInput
SetNextToken sets the NextToken field's value.
func (s *GetRulesInput) SetRuleId(v string) *GetRulesInput
SetRuleId sets the RuleId field's value.
func (s *GetRulesInput) SetRuleVersion(v string) *GetRulesInput
SetRuleVersion sets the RuleVersion field's value.
func (s GetRulesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRulesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRulesOutput struct { // The next page token to be used in subsequent requests. NextToken *string `locationName:"nextToken" type:"string"` // The details of the requested rule. RuleDetails []*RuleDetail `locationName:"ruleDetails" type:"list"` // contains filtered or unexported fields }
func (s GetRulesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRulesOutput) SetNextToken(v string) *GetRulesOutput
SetNextToken sets the NextToken field's value.
func (s *GetRulesOutput) SetRuleDetails(v []*RuleDetail) *GetRulesOutput
SetRuleDetails sets the RuleDetails field's value.
func (s GetRulesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetVariablesInput struct { // The max size per page determined for the get variable request. MaxResults *int64 `locationName:"maxResults" min:"50" type:"integer"` // The name of the variable. Name *string `locationName:"name" type:"string"` // The next page token of the get variable request. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetVariablesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVariablesInput) SetMaxResults(v int64) *GetVariablesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetVariablesInput) SetName(v string) *GetVariablesInput
SetName sets the Name field's value.
func (s *GetVariablesInput) SetNextToken(v string) *GetVariablesInput
SetNextToken sets the NextToken field's value.
func (s GetVariablesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVariablesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetVariablesOutput struct { // The next page token to be used in subsequent requests. NextToken *string `locationName:"nextToken" type:"string"` // The names of the variables returned. Variables []*Variable `locationName:"variables" type:"list"` // contains filtered or unexported fields }
func (s GetVariablesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVariablesOutput) SetNextToken(v string) *GetVariablesOutput
SetNextToken sets the NextToken field's value.
func (s *GetVariablesOutput) SetVariables(v []*Variable) *GetVariablesOutput
SetVariables sets the Variables field's value.
func (s GetVariablesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IngestedEventStatistics struct { // The total size of the stored events. EventDataSizeInBytes *int64 `locationName:"eventDataSizeInBytes" type:"long"` // Timestamp of when the stored event was last updated. LastUpdatedTime *string `locationName:"lastUpdatedTime" min:"11" type:"string"` // The oldest stored event. LeastRecentEvent *string `locationName:"leastRecentEvent" min:"11" type:"string"` // The newest stored event. MostRecentEvent *string `locationName:"mostRecentEvent" min:"11" type:"string"` // The number of stored events. NumberOfEvents *int64 `locationName:"numberOfEvents" type:"long"` // contains filtered or unexported fields }
Data about the stored events.
func (s IngestedEventStatistics) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IngestedEventStatistics) SetEventDataSizeInBytes(v int64) *IngestedEventStatistics
SetEventDataSizeInBytes sets the EventDataSizeInBytes field's value.
func (s *IngestedEventStatistics) SetLastUpdatedTime(v string) *IngestedEventStatistics
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (s *IngestedEventStatistics) SetLeastRecentEvent(v string) *IngestedEventStatistics
SetLeastRecentEvent sets the LeastRecentEvent field's value.
func (s *IngestedEventStatistics) SetMostRecentEvent(v string) *IngestedEventStatistics
SetMostRecentEvent sets the MostRecentEvent field's value.
func (s *IngestedEventStatistics) SetNumberOfEvents(v int64) *IngestedEventStatistics
SetNumberOfEvents sets the NumberOfEvents field's value.
func (s IngestedEventStatistics) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IngestedEventsDetail struct { // The start and stop time of the ingested events. // // IngestedEventsTimeWindow is a required field IngestedEventsTimeWindow *IngestedEventsTimeWindow `locationName:"ingestedEventsTimeWindow" type:"structure" required:"true"` // contains filtered or unexported fields }
The details of the ingested event.
func (s IngestedEventsDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IngestedEventsDetail) SetIngestedEventsTimeWindow(v *IngestedEventsTimeWindow) *IngestedEventsDetail
SetIngestedEventsTimeWindow sets the IngestedEventsTimeWindow field's value.
func (s IngestedEventsDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IngestedEventsDetail) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type IngestedEventsTimeWindow struct { // Timestamp of the final ingested event. // // EndTime is a required field EndTime *string `locationName:"endTime" min:"11" type:"string" required:"true"` // Timestamp of the first ingensted event. // // StartTime is a required field StartTime *string `locationName:"startTime" min:"11" type:"string" required:"true"` // contains filtered or unexported fields }
The start and stop time of the ingested events.
func (s IngestedEventsTimeWindow) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IngestedEventsTimeWindow) SetEndTime(v string) *IngestedEventsTimeWindow
SetEndTime sets the EndTime field's value.
func (s *IngestedEventsTimeWindow) SetStartTime(v string) *IngestedEventsTimeWindow
SetStartTime sets the StartTime field's value.
func (s IngestedEventsTimeWindow) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IngestedEventsTimeWindow) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An exception indicating an internal server error.
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".