frauddetector

package
v1.33.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 9 Imported by: 14

Documentation

Overview

Package frauddetector provides the client and types for making API requests to Amazon Fraud Detector.

This is the Amazon Fraud Detector API Reference. This guide is for developers who need detailed information about Amazon Fraud Detector API actions, data types, and errors. For more information about Amazon Fraud Detector features, see the Amazon Fraud Detector User Guide (https://docs.aws.amazon.com/frauddetector/latest/ug/).

See https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15 for more information on this service.

See frauddetector package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/frauddetector/

Using the Client

To contact Amazon Fraud Detector with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Fraud Detector client FraudDetector for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/frauddetector/#New

Index

Constants

View Source
const (
	// DataSourceEvent is a DataSource enum value
	DataSourceEvent = "EVENT"

	// DataSourceModelScore is a DataSource enum value
	DataSourceModelScore = "MODEL_SCORE"

	// DataSourceExternalModelScore is a DataSource enum value
	DataSourceExternalModelScore = "EXTERNAL_MODEL_SCORE"
)
View Source
const (
	// DataTypeString is a DataType enum value
	DataTypeString = "STRING"

	// DataTypeInteger is a DataType enum value
	DataTypeInteger = "INTEGER"

	// DataTypeFloat is a DataType enum value
	DataTypeFloat = "FLOAT"

	// DataTypeBoolean is a DataType enum value
	DataTypeBoolean = "BOOLEAN"
)
View Source
const (
	// DetectorVersionStatusDraft is a DetectorVersionStatus enum value
	DetectorVersionStatusDraft = "DRAFT"

	// DetectorVersionStatusActive is a DetectorVersionStatus enum value
	DetectorVersionStatusActive = "ACTIVE"

	// DetectorVersionStatusInactive is a DetectorVersionStatus enum value
	DetectorVersionStatusInactive = "INACTIVE"
)
View Source
const (
	// ModelEndpointStatusAssociated is a ModelEndpointStatus enum value
	ModelEndpointStatusAssociated = "ASSOCIATED"

	// ModelEndpointStatusDissociated is a ModelEndpointStatus enum value
	ModelEndpointStatusDissociated = "DISSOCIATED"
)
View Source
const (
	// ModelInputDataFormatTextCsv is a ModelInputDataFormat enum value
	ModelInputDataFormatTextCsv = "TEXT_CSV"

	// ModelInputDataFormatApplicationJson is a ModelInputDataFormat enum value
	ModelInputDataFormatApplicationJson = "APPLICATION_JSON"
)
View Source
const (
	// ModelOutputDataFormatTextCsv is a ModelOutputDataFormat enum value
	ModelOutputDataFormatTextCsv = "TEXT_CSV"

	// ModelOutputDataFormatApplicationJsonlines is a ModelOutputDataFormat enum value
	ModelOutputDataFormatApplicationJsonlines = "APPLICATION_JSONLINES"
)
View Source
const (
	// ModelVersionStatusTrainingInProgress is a ModelVersionStatus enum value
	ModelVersionStatusTrainingInProgress = "TRAINING_IN_PROGRESS"

	// ModelVersionStatusTrainingComplete is a ModelVersionStatus enum value
	ModelVersionStatusTrainingComplete = "TRAINING_COMPLETE"

	// ModelVersionStatusActivateRequested is a ModelVersionStatus enum value
	ModelVersionStatusActivateRequested = "ACTIVATE_REQUESTED"

	// ModelVersionStatusActivateInProgress is a ModelVersionStatus enum value
	ModelVersionStatusActivateInProgress = "ACTIVATE_IN_PROGRESS"

	// ModelVersionStatusActive is a ModelVersionStatus enum value
	ModelVersionStatusActive = "ACTIVE"

	// ModelVersionStatusInactivateInProgress is a ModelVersionStatus enum value
	ModelVersionStatusInactivateInProgress = "INACTIVATE_IN_PROGRESS"

	// ModelVersionStatusInactive is a ModelVersionStatus enum value
	ModelVersionStatusInactive = "INACTIVE"

	// ModelVersionStatusDeleteRequested is a ModelVersionStatus enum value
	ModelVersionStatusDeleteRequested = "DELETE_REQUESTED"

	// ModelVersionStatusDeleteInProgress is a ModelVersionStatus enum value
	ModelVersionStatusDeleteInProgress = "DELETE_IN_PROGRESS"

	// ModelVersionStatusError is a ModelVersionStatus enum value
	ModelVersionStatusError = "ERROR"
)
View Source
const (
	// RuleExecutionModeAllMatched is a RuleExecutionMode enum value
	RuleExecutionModeAllMatched = "ALL_MATCHED"

	// RuleExecutionModeFirstMatched is a RuleExecutionMode enum value
	RuleExecutionModeFirstMatched = "FIRST_MATCHED"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "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.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// An exception indicating there was a conflict during a delete operation. The
	// following delete operations can cause a conflict exception:
	//
	//    * DeleteDetector: A conflict exception will occur if the detector has
	//    associated Rules or DetectorVersions. You can only delete a detector if
	//    it has no Rules or DetectorVersions.
	//
	//    * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion
	//    status is ACTIVE.
	//
	//    * DeleteRule: A conflict exception will occur if the RuleVersion is in
	//    use by an associated ACTIVE or INACTIVE DetectorVersion.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An exception indicating an internal server error.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// An exception indicating the specified resource was not found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// An exception indicating a throttling error.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// An exception indicating a specified value is not allowed.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "FraudDetector" // Name of service.
	EndpointsID = "frauddetector" // ID to lookup a service endpoint with.
	ServiceID   = "FraudDetector" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// LanguageDetectorpl is a Language enum value
	LanguageDetectorpl = "DETECTORPL"
)
View Source
const (
	// ModelSourceSagemaker is a ModelSource enum value
	ModelSourceSagemaker = "SAGEMAKER"
)
View Source
const (
	// ModelTypeEnumOnlineFraudInsights is a ModelTypeEnum enum value
	ModelTypeEnumOnlineFraudInsights = "ONLINE_FRAUD_INSIGHTS"
)
View Source
const (
	// TrainingDataSourceEnumExternalEvents is a TrainingDataSourceEnum enum value
	TrainingDataSourceEnumExternalEvents = "EXTERNAL_EVENTS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException added in v1.33.8

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 (*AccessDeniedException) Code added in v1.33.8

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.33.8

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.33.8

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message added in v1.33.8

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.33.8

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.33.8

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.33.8

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String added in v1.33.8

func (s AccessDeniedException) String() string

String returns the string representation

type BatchCreateVariableError

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 (BatchCreateVariableError) GoString

func (s BatchCreateVariableError) GoString() string

GoString returns the string representation

func (*BatchCreateVariableError) SetCode

SetCode sets the Code field's value.

func (*BatchCreateVariableError) SetMessage

SetMessage sets the Message field's value.

func (*BatchCreateVariableError) SetName

SetName sets the Name field's value.

func (BatchCreateVariableError) String

func (s BatchCreateVariableError) String() string

String returns the string representation

type BatchCreateVariableInput

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 (BatchCreateVariableInput) GoString

func (s BatchCreateVariableInput) GoString() string

GoString returns the string representation

func (*BatchCreateVariableInput) SetTags added in v1.33.8

SetTags sets the Tags field's value.

func (*BatchCreateVariableInput) SetVariableEntries

SetVariableEntries sets the VariableEntries field's value.

func (BatchCreateVariableInput) String

func (s BatchCreateVariableInput) String() string

String returns the string representation

func (*BatchCreateVariableInput) Validate

func (s *BatchCreateVariableInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchCreateVariableOutput

type BatchCreateVariableOutput struct {

	// Provides the errors for the BatchCreateVariable request.
	Errors []*BatchCreateVariableError `locationName:"errors" type:"list"`
	// contains filtered or unexported fields
}

func (BatchCreateVariableOutput) GoString

func (s BatchCreateVariableOutput) GoString() string

GoString returns the string representation

func (*BatchCreateVariableOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchCreateVariableOutput) String

func (s BatchCreateVariableOutput) String() string

String returns the string representation

type BatchGetVariableError

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 (BatchGetVariableError) GoString

func (s BatchGetVariableError) GoString() string

GoString returns the string representation

func (*BatchGetVariableError) SetCode

SetCode sets the Code field's value.

func (*BatchGetVariableError) SetMessage

SetMessage sets the Message field's value.

func (*BatchGetVariableError) SetName

SetName sets the Name field's value.

func (BatchGetVariableError) String

func (s BatchGetVariableError) String() string

String returns the string representation

type BatchGetVariableInput

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 (BatchGetVariableInput) GoString

func (s BatchGetVariableInput) GoString() string

GoString returns the string representation

func (*BatchGetVariableInput) SetNames

SetNames sets the Names field's value.

func (BatchGetVariableInput) String

func (s BatchGetVariableInput) String() string

String returns the string representation

func (*BatchGetVariableInput) Validate

func (s *BatchGetVariableInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetVariableOutput

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 (BatchGetVariableOutput) GoString

func (s BatchGetVariableOutput) GoString() string

GoString returns the string representation

func (*BatchGetVariableOutput) SetErrors

SetErrors sets the Errors field's value.

func (*BatchGetVariableOutput) SetVariables

SetVariables sets the Variables field's value.

func (BatchGetVariableOutput) String

func (s BatchGetVariableOutput) String() string

String returns the string representation

type ConflictException added in v1.30.9

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. The following delete operations can cause a conflict exception:

  • DeleteDetector: A conflict exception will occur if the detector has associated Rules or DetectorVersions. You can only delete a detector if it has no Rules or DetectorVersions.

  • DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion status is ACTIVE.

  • DeleteRule: A conflict exception will occur if the RuleVersion is in use by an associated ACTIVE or INACTIVE DetectorVersion.

func (*ConflictException) Code added in v1.30.9

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.30.9

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.30.9

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message added in v1.30.9

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.30.9

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.30.9

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.30.9

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String added in v1.30.9

func (s ConflictException) String() string

String returns the string representation

type CreateDetectorVersionInput

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 (CreateDetectorVersionInput) GoString

func (s CreateDetectorVersionInput) GoString() string

GoString returns the string representation

func (*CreateDetectorVersionInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateDetectorVersionInput) SetDetectorId

SetDetectorId sets the DetectorId field's value.

func (*CreateDetectorVersionInput) SetExternalModelEndpoints

func (s *CreateDetectorVersionInput) SetExternalModelEndpoints(v []*string) *CreateDetectorVersionInput

SetExternalModelEndpoints sets the ExternalModelEndpoints field's value.

func (*CreateDetectorVersionInput) SetModelVersions

SetModelVersions sets the ModelVersions field's value.

func (*CreateDetectorVersionInput) SetRuleExecutionMode added in v1.30.9

func (s *CreateDetectorVersionInput) SetRuleExecutionMode(v string) *CreateDetectorVersionInput

SetRuleExecutionMode sets the RuleExecutionMode field's value.

func (*CreateDetectorVersionInput) SetRules

SetRules sets the Rules field's value.

func (*CreateDetectorVersionInput) SetTags added in v1.33.8

SetTags sets the Tags field's value.

func (CreateDetectorVersionInput) String

String returns the string representation

func (*CreateDetectorVersionInput) Validate

func (s *CreateDetectorVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDetectorVersionOutput

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 (CreateDetectorVersionOutput) GoString

func (s CreateDetectorVersionOutput) GoString() string

GoString returns the string representation

func (*CreateDetectorVersionOutput) SetDetectorId

SetDetectorId sets the DetectorId field's value.

func (*CreateDetectorVersionOutput) SetDetectorVersionId

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*CreateDetectorVersionOutput) SetStatus

SetStatus sets the Status field's value.

func (CreateDetectorVersionOutput) String

String returns the string representation

type CreateModelInput added in v1.33.8

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 (CreateModelInput) GoString added in v1.33.8

func (s CreateModelInput) GoString() string

GoString returns the string representation

func (*CreateModelInput) SetDescription added in v1.33.8

func (s *CreateModelInput) SetDescription(v string) *CreateModelInput

SetDescription sets the Description field's value.

func (*CreateModelInput) SetEventTypeName added in v1.33.8

func (s *CreateModelInput) SetEventTypeName(v string) *CreateModelInput

SetEventTypeName sets the EventTypeName field's value.

func (*CreateModelInput) SetModelId added in v1.33.8

func (s *CreateModelInput) SetModelId(v string) *CreateModelInput

SetModelId sets the ModelId field's value.

func (*CreateModelInput) SetModelType added in v1.33.8

func (s *CreateModelInput) SetModelType(v string) *CreateModelInput

SetModelType sets the ModelType field's value.

func (*CreateModelInput) SetTags added in v1.33.8

func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput

SetTags sets the Tags field's value.

func (CreateModelInput) String added in v1.33.8

func (s CreateModelInput) String() string

String returns the string representation

func (*CreateModelInput) Validate added in v1.33.8

func (s *CreateModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateModelOutput added in v1.33.8

type CreateModelOutput struct {
	// contains filtered or unexported fields
}

func (CreateModelOutput) GoString added in v1.33.8

func (s CreateModelOutput) GoString() string

GoString returns the string representation

func (CreateModelOutput) String added in v1.33.8

func (s CreateModelOutput) String() string

String returns the string representation

type CreateModelVersionInput

type CreateModelVersionInput struct {

	// Details for the external events data used for model version training. Required
	// if trainingDataSource is EXTERNAL_EVENTS.
	ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" 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 (CreateModelVersionInput) GoString

func (s CreateModelVersionInput) GoString() string

GoString returns the string representation

func (*CreateModelVersionInput) SetExternalEventsDetail added in v1.33.8

SetExternalEventsDetail sets the ExternalEventsDetail field's value.

func (*CreateModelVersionInput) SetModelId

SetModelId sets the ModelId field's value.

func (*CreateModelVersionInput) SetModelType

SetModelType sets the ModelType field's value.

func (*CreateModelVersionInput) SetTags added in v1.33.8

SetTags sets the Tags field's value.

func (*CreateModelVersionInput) SetTrainingDataSchema added in v1.33.8

SetTrainingDataSchema sets the TrainingDataSchema field's value.

func (*CreateModelVersionInput) SetTrainingDataSource added in v1.33.8

func (s *CreateModelVersionInput) SetTrainingDataSource(v string) *CreateModelVersionInput

SetTrainingDataSource sets the TrainingDataSource field's value.

func (CreateModelVersionInput) String

func (s CreateModelVersionInput) String() string

String returns the string representation

func (*CreateModelVersionInput) Validate

func (s *CreateModelVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateModelVersionOutput

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:"1" type:"string"`

	// The model version status.
	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (CreateModelVersionOutput) GoString

func (s CreateModelVersionOutput) GoString() string

GoString returns the string representation

func (*CreateModelVersionOutput) SetModelId

SetModelId sets the ModelId field's value.

func (*CreateModelVersionOutput) SetModelType

SetModelType sets the ModelType field's value.

func (*CreateModelVersionOutput) SetModelVersionNumber

func (s *CreateModelVersionOutput) SetModelVersionNumber(v string) *CreateModelVersionOutput

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*CreateModelVersionOutput) SetStatus

SetStatus sets the Status field's value.

func (CreateModelVersionOutput) String

func (s CreateModelVersionOutput) String() string

String returns the string representation

type CreateRuleInput

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 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 (CreateRuleInput) GoString

func (s CreateRuleInput) GoString() string

GoString returns the string representation

func (*CreateRuleInput) SetDescription

func (s *CreateRuleInput) SetDescription(v string) *CreateRuleInput

SetDescription sets the Description field's value.

func (*CreateRuleInput) SetDetectorId

func (s *CreateRuleInput) SetDetectorId(v string) *CreateRuleInput

SetDetectorId sets the DetectorId field's value.

func (*CreateRuleInput) SetExpression

func (s *CreateRuleInput) SetExpression(v string) *CreateRuleInput

SetExpression sets the Expression field's value.

func (*CreateRuleInput) SetLanguage

func (s *CreateRuleInput) SetLanguage(v string) *CreateRuleInput

SetLanguage sets the Language field's value.

func (*CreateRuleInput) SetOutcomes

func (s *CreateRuleInput) SetOutcomes(v []*string) *CreateRuleInput

SetOutcomes sets the Outcomes field's value.

func (*CreateRuleInput) SetRuleId

func (s *CreateRuleInput) SetRuleId(v string) *CreateRuleInput

SetRuleId sets the RuleId field's value.

func (*CreateRuleInput) SetTags added in v1.33.8

func (s *CreateRuleInput) SetTags(v []*Tag) *CreateRuleInput

SetTags sets the Tags field's value.

func (CreateRuleInput) String

func (s CreateRuleInput) String() string

String returns the string representation

func (*CreateRuleInput) Validate

func (s *CreateRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRuleOutput

type CreateRuleOutput struct {

	// The created rule.
	Rule *Rule `locationName:"rule" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateRuleOutput) GoString

func (s CreateRuleOutput) GoString() string

GoString returns the string representation

func (*CreateRuleOutput) SetRule

func (s *CreateRuleOutput) SetRule(v *Rule) *CreateRuleOutput

SetRule sets the Rule field's value.

func (CreateRuleOutput) String

func (s CreateRuleOutput) String() string

String returns the string representation

type CreateVariableInput

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.
	//
	// 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.
	//
	// 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 | SHIPPING_ZIP
	// | USERAGENT
	VariableType *string `locationName:"variableType" type:"string"`
	// contains filtered or unexported fields
}

func (CreateVariableInput) GoString

func (s CreateVariableInput) GoString() string

GoString returns the string representation

func (*CreateVariableInput) SetDataSource

func (s *CreateVariableInput) SetDataSource(v string) *CreateVariableInput

SetDataSource sets the DataSource field's value.

func (*CreateVariableInput) SetDataType

func (s *CreateVariableInput) SetDataType(v string) *CreateVariableInput

SetDataType sets the DataType field's value.

func (*CreateVariableInput) SetDefaultValue

func (s *CreateVariableInput) SetDefaultValue(v string) *CreateVariableInput

SetDefaultValue sets the DefaultValue field's value.

func (*CreateVariableInput) SetDescription

func (s *CreateVariableInput) SetDescription(v string) *CreateVariableInput

SetDescription sets the Description field's value.

func (*CreateVariableInput) SetName

SetName sets the Name field's value.

func (*CreateVariableInput) SetTags added in v1.33.8

func (s *CreateVariableInput) SetTags(v []*Tag) *CreateVariableInput

SetTags sets the Tags field's value.

func (*CreateVariableInput) SetVariableType

func (s *CreateVariableInput) SetVariableType(v string) *CreateVariableInput

SetVariableType sets the VariableType field's value.

func (CreateVariableInput) String

func (s CreateVariableInput) String() string

String returns the string representation

func (*CreateVariableInput) Validate

func (s *CreateVariableInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateVariableOutput

type CreateVariableOutput struct {
	// contains filtered or unexported fields
}

func (CreateVariableOutput) GoString

func (s CreateVariableOutput) GoString() string

GoString returns the string representation

func (CreateVariableOutput) String

func (s CreateVariableOutput) String() string

String returns the string representation

type DataValidationMetrics added in v1.33.8

type DataValidationMetrics struct {

	// The field-specific model training validation messages.
	FieldLevelMessages []*FieldValidationMessage `locationName:"fieldLevelMessages" type:"list"`

	// The file-specific model training validation messages.
	FileLevelMessages []*FileValidationMessage `locationName:"fileLevelMessages" type:"list"`
	// contains filtered or unexported fields
}

The model training validation messages.

func (DataValidationMetrics) GoString added in v1.33.8

func (s DataValidationMetrics) GoString() string

GoString returns the string representation

func (*DataValidationMetrics) SetFieldLevelMessages added in v1.33.8

func (s *DataValidationMetrics) SetFieldLevelMessages(v []*FieldValidationMessage) *DataValidationMetrics

SetFieldLevelMessages sets the FieldLevelMessages field's value.

func (*DataValidationMetrics) SetFileLevelMessages added in v1.33.8

func (s *DataValidationMetrics) SetFileLevelMessages(v []*FileValidationMessage) *DataValidationMetrics

SetFileLevelMessages sets the FileLevelMessages field's value.

func (DataValidationMetrics) String added in v1.33.8

func (s DataValidationMetrics) String() string

String returns the string representation

type DeleteDetectorInput added in v1.30.9

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 (DeleteDetectorInput) GoString added in v1.30.9

func (s DeleteDetectorInput) GoString() string

GoString returns the string representation

func (*DeleteDetectorInput) SetDetectorId added in v1.30.9

func (s *DeleteDetectorInput) SetDetectorId(v string) *DeleteDetectorInput

SetDetectorId sets the DetectorId field's value.

func (DeleteDetectorInput) String added in v1.30.9

func (s DeleteDetectorInput) String() string

String returns the string representation

func (*DeleteDetectorInput) Validate added in v1.30.9

func (s *DeleteDetectorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDetectorOutput added in v1.30.9

type DeleteDetectorOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDetectorOutput) GoString added in v1.30.9

func (s DeleteDetectorOutput) GoString() string

GoString returns the string representation

func (DeleteDetectorOutput) String added in v1.30.9

func (s DeleteDetectorOutput) String() string

String returns the string representation

type DeleteDetectorVersionInput

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" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDetectorVersionInput) GoString

func (s DeleteDetectorVersionInput) GoString() string

GoString returns the string representation

func (*DeleteDetectorVersionInput) SetDetectorId

SetDetectorId sets the DetectorId field's value.

func (*DeleteDetectorVersionInput) SetDetectorVersionId

func (s *DeleteDetectorVersionInput) SetDetectorVersionId(v string) *DeleteDetectorVersionInput

SetDetectorVersionId sets the DetectorVersionId field's value.

func (DeleteDetectorVersionInput) String

String returns the string representation

func (*DeleteDetectorVersionInput) Validate

func (s *DeleteDetectorVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDetectorVersionOutput

type DeleteDetectorVersionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDetectorVersionOutput) GoString

func (s DeleteDetectorVersionOutput) GoString() string

GoString returns the string representation

func (DeleteDetectorVersionOutput) String

String returns the string representation

type DeleteEventInput

type DeleteEventInput struct {

	// The ID of the event to delete.
	//
	// EventId is a required field
	EventId *string `locationName:"eventId" type:"string" required:"true"`

	// The name of the event type.
	//
	// EventTypeName is a required field
	EventTypeName *string `locationName:"eventTypeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteEventInput) GoString

func (s DeleteEventInput) GoString() string

GoString returns the string representation

func (*DeleteEventInput) SetEventId

func (s *DeleteEventInput) SetEventId(v string) *DeleteEventInput

SetEventId sets the EventId field's value.

func (*DeleteEventInput) SetEventTypeName added in v1.33.8

func (s *DeleteEventInput) SetEventTypeName(v string) *DeleteEventInput

SetEventTypeName sets the EventTypeName field's value.

func (DeleteEventInput) String

func (s DeleteEventInput) String() string

String returns the string representation

func (*DeleteEventInput) Validate

func (s *DeleteEventInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEventOutput

type DeleteEventOutput struct {
	// contains filtered or unexported fields
}

func (DeleteEventOutput) GoString

func (s DeleteEventOutput) GoString() string

GoString returns the string representation

func (DeleteEventOutput) String

func (s DeleteEventOutput) String() string

String returns the string representation

type DeleteRuleInput added in v1.33.8

type DeleteRuleInput struct {

	// A rule.
	//
	// Rule is a required field
	Rule *Rule `locationName:"rule" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRuleInput) GoString added in v1.33.8

func (s DeleteRuleInput) GoString() string

GoString returns the string representation

func (*DeleteRuleInput) SetRule added in v1.33.8

func (s *DeleteRuleInput) SetRule(v *Rule) *DeleteRuleInput

SetRule sets the Rule field's value.

func (DeleteRuleInput) String added in v1.33.8

func (s DeleteRuleInput) String() string

String returns the string representation

func (*DeleteRuleInput) Validate added in v1.33.8

func (s *DeleteRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRuleOutput added in v1.33.8

type DeleteRuleOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRuleOutput) GoString added in v1.33.8

func (s DeleteRuleOutput) GoString() string

GoString returns the string representation

func (DeleteRuleOutput) String added in v1.33.8

func (s DeleteRuleOutput) String() string

String returns the string representation

type DescribeDetectorInput

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 (DescribeDetectorInput) GoString

func (s DescribeDetectorInput) GoString() string

GoString returns the string representation

func (*DescribeDetectorInput) SetDetectorId

func (s *DescribeDetectorInput) SetDetectorId(v string) *DescribeDetectorInput

SetDetectorId sets the DetectorId field's value.

func (*DescribeDetectorInput) SetMaxResults

func (s *DescribeDetectorInput) SetMaxResults(v int64) *DescribeDetectorInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeDetectorInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeDetectorInput) String

func (s DescribeDetectorInput) String() string

String returns the string representation

func (*DescribeDetectorInput) Validate

func (s *DescribeDetectorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDetectorOutput

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 (DescribeDetectorOutput) GoString

func (s DescribeDetectorOutput) GoString() string

GoString returns the string representation

func (*DescribeDetectorOutput) SetArn added in v1.33.8

SetArn sets the Arn field's value.

func (*DescribeDetectorOutput) SetDetectorId

SetDetectorId sets the DetectorId field's value.

func (*DescribeDetectorOutput) SetDetectorVersionSummaries

func (s *DescribeDetectorOutput) SetDetectorVersionSummaries(v []*DetectorVersionSummary) *DescribeDetectorOutput

SetDetectorVersionSummaries sets the DetectorVersionSummaries field's value.

func (*DescribeDetectorOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeDetectorOutput) String

func (s DescribeDetectorOutput) String() string

String returns the string representation

type DescribeModelVersionsInput

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" type:"string"`

	// The next token from the previous results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeModelVersionsInput) GoString

func (s DescribeModelVersionsInput) GoString() string

GoString returns the string representation

func (*DescribeModelVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeModelVersionsInput) SetModelId

SetModelId sets the ModelId field's value.

func (*DescribeModelVersionsInput) SetModelType

SetModelType sets the ModelType field's value.

func (*DescribeModelVersionsInput) SetModelVersionNumber

func (s *DescribeModelVersionsInput) SetModelVersionNumber(v string) *DescribeModelVersionsInput

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*DescribeModelVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeModelVersionsInput) String

String returns the string representation

func (*DescribeModelVersionsInput) Validate

func (s *DescribeModelVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeModelVersionsOutput

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 (DescribeModelVersionsOutput) GoString

func (s DescribeModelVersionsOutput) GoString() string

GoString returns the string representation

func (*DescribeModelVersionsOutput) SetModelVersionDetails

SetModelVersionDetails sets the ModelVersionDetails field's value.

func (*DescribeModelVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeModelVersionsOutput) String

String returns the string representation

type Detector

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" 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" type:"string"`
	// contains filtered or unexported fields
}

The detector.

func (Detector) GoString

func (s Detector) GoString() string

GoString returns the string representation

func (*Detector) SetArn added in v1.33.8

func (s *Detector) SetArn(v string) *Detector

SetArn sets the Arn field's value.

func (*Detector) SetCreatedTime

func (s *Detector) SetCreatedTime(v string) *Detector

SetCreatedTime sets the CreatedTime field's value.

func (*Detector) SetDescription

func (s *Detector) SetDescription(v string) *Detector

SetDescription sets the Description field's value.

func (*Detector) SetDetectorId

func (s *Detector) SetDetectorId(v string) *Detector

SetDetectorId sets the DetectorId field's value.

func (*Detector) SetEventTypeName added in v1.33.8

func (s *Detector) SetEventTypeName(v string) *Detector

SetEventTypeName sets the EventTypeName field's value.

func (*Detector) SetLastUpdatedTime

func (s *Detector) SetLastUpdatedTime(v string) *Detector

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (Detector) String

func (s Detector) String() string

String returns the string representation

type DetectorVersionSummary

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" 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 (DetectorVersionSummary) GoString

func (s DetectorVersionSummary) GoString() string

GoString returns the string representation

func (*DetectorVersionSummary) SetDescription

SetDescription sets the Description field's value.

func (*DetectorVersionSummary) SetDetectorVersionId

func (s *DetectorVersionSummary) SetDetectorVersionId(v string) *DetectorVersionSummary

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*DetectorVersionSummary) SetLastUpdatedTime

func (s *DetectorVersionSummary) SetLastUpdatedTime(v string) *DetectorVersionSummary

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*DetectorVersionSummary) SetStatus

SetStatus sets the Status field's value.

func (DetectorVersionSummary) String

func (s DetectorVersionSummary) String() string

String returns the string representation

type Entity added in v1.33.8

type Entity struct {

	// The entity ID. If you do not know the entityId, you can pass unknown, which
	// is areserved string literal.
	EntityId *string `locationName:"entityId" min:"1" type:"string"`

	// The entity type.
	EntityType *string `locationName:"entityType" type:"string"`
	// contains filtered or unexported fields
}

The entity details.

func (Entity) GoString added in v1.33.8

func (s Entity) GoString() string

GoString returns the string representation

func (*Entity) SetEntityId added in v1.33.8

func (s *Entity) SetEntityId(v string) *Entity

SetEntityId sets the EntityId field's value.

func (*Entity) SetEntityType added in v1.33.8

func (s *Entity) SetEntityType(v string) *Entity

SetEntityType sets the EntityType field's value.

func (Entity) String added in v1.33.8

func (s Entity) String() string

String returns the string representation

func (*Entity) Validate added in v1.33.8

func (s *Entity) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EntityType added in v1.33.8

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" 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" type:"string"`

	// The entity type name.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

The entity type details.

func (EntityType) GoString added in v1.33.8

func (s EntityType) GoString() string

GoString returns the string representation

func (*EntityType) SetArn added in v1.33.8

func (s *EntityType) SetArn(v string) *EntityType

SetArn sets the Arn field's value.

func (*EntityType) SetCreatedTime added in v1.33.8

func (s *EntityType) SetCreatedTime(v string) *EntityType

SetCreatedTime sets the CreatedTime field's value.

func (*EntityType) SetDescription added in v1.33.8

func (s *EntityType) SetDescription(v string) *EntityType

SetDescription sets the Description field's value.

func (*EntityType) SetLastUpdatedTime added in v1.33.8

func (s *EntityType) SetLastUpdatedTime(v string) *EntityType

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*EntityType) SetName added in v1.33.8

func (s *EntityType) SetName(v string) *EntityType

SetName sets the Name field's value.

func (EntityType) String added in v1.33.8

func (s EntityType) String() string

String returns the string representation

type EventType added in v1.33.8

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" 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"`

	// The event type event variables.
	EventVariables []*string `locationName:"eventVariables" type:"list"`

	// The event type labels.
	Labels []*string `locationName:"labels" type:"list"`

	// Timestamp of when the event type was last updated.
	LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"`

	// The event type name.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

The event type details.

func (EventType) GoString added in v1.33.8

func (s EventType) GoString() string

GoString returns the string representation

func (*EventType) SetArn added in v1.33.8

func (s *EventType) SetArn(v string) *EventType

SetArn sets the Arn field's value.

func (*EventType) SetCreatedTime added in v1.33.8

func (s *EventType) SetCreatedTime(v string) *EventType

SetCreatedTime sets the CreatedTime field's value.

func (*EventType) SetDescription added in v1.33.8

func (s *EventType) SetDescription(v string) *EventType

SetDescription sets the Description field's value.

func (*EventType) SetEntityTypes added in v1.33.8

func (s *EventType) SetEntityTypes(v []*string) *EventType

SetEntityTypes sets the EntityTypes field's value.

func (*EventType) SetEventVariables added in v1.33.8

func (s *EventType) SetEventVariables(v []*string) *EventType

SetEventVariables sets the EventVariables field's value.

func (*EventType) SetLabels added in v1.33.8

func (s *EventType) SetLabels(v []*string) *EventType

SetLabels sets the Labels field's value.

func (*EventType) SetLastUpdatedTime added in v1.33.8

func (s *EventType) SetLastUpdatedTime(v string) *EventType

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*EventType) SetName added in v1.33.8

func (s *EventType) SetName(v string) *EventType

SetName sets the Name field's value.

func (EventType) String added in v1.33.8

func (s EventType) String() string

String returns the string representation

type ExternalEventsDetail added in v1.33.8

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 (ExternalEventsDetail) GoString added in v1.33.8

func (s ExternalEventsDetail) GoString() string

GoString returns the string representation

func (*ExternalEventsDetail) SetDataAccessRoleArn added in v1.33.8

func (s *ExternalEventsDetail) SetDataAccessRoleArn(v string) *ExternalEventsDetail

SetDataAccessRoleArn sets the DataAccessRoleArn field's value.

func (*ExternalEventsDetail) SetDataLocation added in v1.33.8

func (s *ExternalEventsDetail) SetDataLocation(v string) *ExternalEventsDetail

SetDataLocation sets the DataLocation field's value.

func (ExternalEventsDetail) String added in v1.33.8

func (s ExternalEventsDetail) String() string

String returns the string representation

func (*ExternalEventsDetail) Validate added in v1.33.8

func (s *ExternalEventsDetail) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExternalModel

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" type:"string"`

	// The event type names.
	EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"`

	// The input configuration.
	InputConfiguration *ModelInputConfiguration `locationName:"inputConfiguration" type:"structure"`

	// Timestamp of when the model was last updated.
	LastUpdatedTime *string `locationName:"lastUpdatedTime" 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"`

	// The role used to invoke the model.
	Role *Role `locationName:"role" type:"structure"`
	// contains filtered or unexported fields
}

The Amazon SageMaker model.

func (ExternalModel) GoString

func (s ExternalModel) GoString() string

GoString returns the string representation

func (*ExternalModel) SetArn added in v1.33.8

func (s *ExternalModel) SetArn(v string) *ExternalModel

SetArn sets the Arn field's value.

func (*ExternalModel) SetCreatedTime

func (s *ExternalModel) SetCreatedTime(v string) *ExternalModel

SetCreatedTime sets the CreatedTime field's value.

func (*ExternalModel) SetEventTypeName added in v1.33.8

func (s *ExternalModel) SetEventTypeName(v string) *ExternalModel

SetEventTypeName sets the EventTypeName field's value.

func (*ExternalModel) SetInputConfiguration

func (s *ExternalModel) SetInputConfiguration(v *ModelInputConfiguration) *ExternalModel

SetInputConfiguration sets the InputConfiguration field's value.

func (*ExternalModel) SetLastUpdatedTime

func (s *ExternalModel) SetLastUpdatedTime(v string) *ExternalModel

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ExternalModel) SetModelEndpoint

func (s *ExternalModel) SetModelEndpoint(v string) *ExternalModel

SetModelEndpoint sets the ModelEndpoint field's value.

func (*ExternalModel) SetModelEndpointStatus

func (s *ExternalModel) SetModelEndpointStatus(v string) *ExternalModel

SetModelEndpointStatus sets the ModelEndpointStatus field's value.

func (*ExternalModel) SetModelSource

func (s *ExternalModel) SetModelSource(v string) *ExternalModel

SetModelSource sets the ModelSource field's value.

func (*ExternalModel) SetOutputConfiguration

func (s *ExternalModel) SetOutputConfiguration(v *ModelOutputConfiguration) *ExternalModel

SetOutputConfiguration sets the OutputConfiguration field's value.

func (*ExternalModel) SetRole

func (s *ExternalModel) SetRole(v *Role) *ExternalModel

SetRole sets the Role field's value.

func (ExternalModel) String

func (s ExternalModel) String() string

String returns the string representation

type FieldValidationMessage added in v1.33.8

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 (FieldValidationMessage) GoString added in v1.33.8

func (s FieldValidationMessage) GoString() string

GoString returns the string representation

func (*FieldValidationMessage) SetContent added in v1.33.8

SetContent sets the Content field's value.

func (*FieldValidationMessage) SetFieldName added in v1.33.8

SetFieldName sets the FieldName field's value.

func (*FieldValidationMessage) SetIdentifier added in v1.33.8

SetIdentifier sets the Identifier field's value.

func (*FieldValidationMessage) SetTitle added in v1.33.8

SetTitle sets the Title field's value.

func (*FieldValidationMessage) SetType added in v1.33.8

SetType sets the Type field's value.

func (FieldValidationMessage) String added in v1.33.8

func (s FieldValidationMessage) String() string

String returns the string representation

type FileValidationMessage added in v1.33.8

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 (FileValidationMessage) GoString added in v1.33.8

func (s FileValidationMessage) GoString() string

GoString returns the string representation

func (*FileValidationMessage) SetContent added in v1.33.8

SetContent sets the Content field's value.

func (*FileValidationMessage) SetTitle added in v1.33.8

SetTitle sets the Title field's value.

func (*FileValidationMessage) SetType added in v1.33.8

SetType sets the Type field's value.

func (FileValidationMessage) String added in v1.33.8

func (s FileValidationMessage) String() string

String returns the string representation

type FraudDetector

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

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 (*FraudDetector) BatchCreateVariable

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 (*FraudDetector) BatchCreateVariableRequest

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 (*FraudDetector) BatchCreateVariableWithContext

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 (*FraudDetector) BatchGetVariable

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 (*FraudDetector) BatchGetVariableRequest

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 (*FraudDetector) BatchGetVariableWithContext

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 (*FraudDetector) CreateDetectorVersion

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 (*FraudDetector) CreateDetectorVersionRequest

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 (*FraudDetector) CreateDetectorVersionWithContext

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 (*FraudDetector) CreateModel added in v1.33.8

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.

  • 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 (*FraudDetector) CreateModelRequest added in v1.33.8

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 (*FraudDetector) CreateModelVersion

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.

  • InternalServerException An exception indicating an internal server error.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModelVersion

func (*FraudDetector) CreateModelVersionRequest

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 (*FraudDetector) CreateModelVersionWithContext

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 (*FraudDetector) CreateModelWithContext added in v1.33.8

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 (*FraudDetector) CreateRule

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 (*FraudDetector) CreateRuleRequest

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 (*FraudDetector) CreateRuleWithContext

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 (*FraudDetector) CreateVariable

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 (*FraudDetector) CreateVariableRequest

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 (*FraudDetector) CreateVariableWithContext

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 (*FraudDetector) DeleteDetector added in v1.30.9

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.

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. The following delete operations can cause a conflict exception:

  • DeleteDetector: A conflict exception will occur if the detector has associated Rules or DetectorVersions. You can only delete a detector if it has no Rules or DetectorVersions.

  • DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion status is ACTIVE.

  • DeleteRule: A conflict exception will occur if the RuleVersion is in use by an associated ACTIVE or INACTIVE DetectorVersion.

  • 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 (*FraudDetector) DeleteDetectorRequest added in v1.30.9

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 (*FraudDetector) DeleteDetectorVersion

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.

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. The following delete operations can cause a conflict exception:

  • DeleteDetector: A conflict exception will occur if the detector has associated Rules or DetectorVersions. You can only delete a detector if it has no Rules or DetectorVersions.

  • DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion status is ACTIVE.

  • DeleteRule: A conflict exception will occur if the RuleVersion is in use by an associated ACTIVE or INACTIVE DetectorVersion.

  • 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 (*FraudDetector) DeleteDetectorVersionRequest

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 (*FraudDetector) DeleteDetectorVersionWithContext

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 (*FraudDetector) DeleteDetectorWithContext added in v1.30.9

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 (*FraudDetector) DeleteEvent

func (c *FraudDetector) DeleteEvent(input *DeleteEventInput) (*DeleteEventOutput, error)

DeleteEvent API operation for Amazon Fraud Detector.

Deletes the specified event.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEvent

func (*FraudDetector) DeleteEventRequest

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 (*FraudDetector) DeleteEventWithContext

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 (*FraudDetector) DeleteRule added in v1.33.8

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.

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. The following delete operations can cause a conflict exception:

  • DeleteDetector: A conflict exception will occur if the detector has associated Rules or DetectorVersions. You can only delete a detector if it has no Rules or DetectorVersions.

  • DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion status is ACTIVE.

  • DeleteRule: A conflict exception will occur if the RuleVersion is in use by an associated ACTIVE or INACTIVE DetectorVersion.

  • 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 (*FraudDetector) DeleteRuleRequest added in v1.33.8

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 (*FraudDetector) DeleteRuleWithContext added in v1.33.8

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 (*FraudDetector) DescribeDetector

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 (*FraudDetector) DescribeDetectorRequest

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 (*FraudDetector) DescribeDetectorWithContext

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 (*FraudDetector) DescribeModelVersions

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.

  • 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 (*FraudDetector) DescribeModelVersionsPages

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 (*FraudDetector) DescribeModelVersionsPagesWithContext

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 (*FraudDetector) DescribeModelVersionsRequest

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 (*FraudDetector) DescribeModelVersionsWithContext

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 (*FraudDetector) GetDetectorVersion

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 (*FraudDetector) GetDetectorVersionRequest

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 (*FraudDetector) GetDetectorVersionWithContext

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 (*FraudDetector) GetDetectors

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 (*FraudDetector) GetDetectorsPages

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 (*FraudDetector) GetDetectorsPagesWithContext

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 (*FraudDetector) GetDetectorsRequest

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 (*FraudDetector) GetDetectorsWithContext

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 (*FraudDetector) GetEntityTypes added in v1.33.8

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.

  • 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 (*FraudDetector) GetEntityTypesPages added in v1.33.8

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 (*FraudDetector) GetEntityTypesPagesWithContext added in v1.33.8

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 (*FraudDetector) GetEntityTypesRequest added in v1.33.8

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 (*FraudDetector) GetEntityTypesWithContext added in v1.33.8

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 (*FraudDetector) GetEventPrediction added in v1.33.8

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPrediction

func (*FraudDetector) GetEventPredictionRequest added in v1.33.8

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 (*FraudDetector) GetEventPredictionWithContext added in v1.33.8

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 (*FraudDetector) GetEventTypes added in v1.33.8

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.

  • 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 (*FraudDetector) GetEventTypesPages added in v1.33.8

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 (*FraudDetector) GetEventTypesPagesWithContext added in v1.33.8

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 (*FraudDetector) GetEventTypesRequest added in v1.33.8

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 (*FraudDetector) GetEventTypesWithContext added in v1.33.8

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 (*FraudDetector) GetExternalModels

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 (*FraudDetector) GetExternalModelsPages

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 (*FraudDetector) GetExternalModelsPagesWithContext

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 (*FraudDetector) GetExternalModelsRequest

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 (*FraudDetector) GetExternalModelsWithContext

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 (*FraudDetector) GetKMSEncryptionKey added in v1.33.8

func (c *FraudDetector) GetKMSEncryptionKey(input *GetKMSEncryptionKeyInput) (*GetKMSEncryptionKeyOutput, error)

GetKMSEncryptionKey API operation for Amazon Fraud Detector.

Gets the encryption key if a Key Management Service (KMS) customer master key (CMK) 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.

  • 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 (*FraudDetector) GetKMSEncryptionKeyRequest added in v1.33.8

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 (*FraudDetector) GetKMSEncryptionKeyWithContext added in v1.33.8

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 (*FraudDetector) GetLabels added in v1.33.8

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.

  • 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 (*FraudDetector) GetLabelsPages added in v1.33.8

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 (*FraudDetector) GetLabelsPagesWithContext added in v1.33.8

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 (*FraudDetector) GetLabelsRequest added in v1.33.8

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 (*FraudDetector) GetLabelsWithContext added in v1.33.8

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 (*FraudDetector) GetModelVersion

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.

  • 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 (*FraudDetector) GetModelVersionRequest

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 (*FraudDetector) GetModelVersionWithContext

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 (*FraudDetector) GetModels

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 AWS account if no model type and no model id provided. Gets all models for the AWS 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.

  • 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 (*FraudDetector) GetModelsPages

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 (*FraudDetector) GetModelsPagesWithContext

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 (*FraudDetector) GetModelsRequest

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 (*FraudDetector) GetModelsWithContext

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 (*FraudDetector) GetOutcomes

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 (*FraudDetector) GetOutcomesPages

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 (*FraudDetector) GetOutcomesPagesWithContext

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 (*FraudDetector) GetOutcomesRequest

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 (*FraudDetector) GetOutcomesWithContext

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 (*FraudDetector) GetPrediction

func (c *FraudDetector) GetPrediction(input *GetPredictionInput) (*GetPredictionOutput, error)

GetPrediction 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 GetPrediction 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/GetPrediction

func (*FraudDetector) GetPredictionRequest

func (c *FraudDetector) GetPredictionRequest(input *GetPredictionInput) (req *request.Request, output *GetPredictionOutput)

GetPredictionRequest generates a "aws/request.Request" representing the client's request for the GetPrediction 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 GetPrediction for more information on using the GetPrediction 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 GetPredictionRequest method.
req, resp := client.GetPredictionRequest(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/GetPrediction

func (*FraudDetector) GetPredictionWithContext

func (c *FraudDetector) GetPredictionWithContext(ctx aws.Context, input *GetPredictionInput, opts ...request.Option) (*GetPredictionOutput, error)

GetPredictionWithContext is the same as GetPrediction with the addition of the ability to pass a context and additional request options.

See GetPrediction 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 (*FraudDetector) GetRules

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 (*FraudDetector) GetRulesPages

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 (*FraudDetector) GetRulesPagesWithContext

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 (*FraudDetector) GetRulesRequest

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 (*FraudDetector) GetRulesWithContext

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 (*FraudDetector) GetVariables

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 (*FraudDetector) GetVariablesPages

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 (*FraudDetector) GetVariablesPagesWithContext

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 (*FraudDetector) GetVariablesRequest

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 (*FraudDetector) GetVariablesWithContext

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 (*FraudDetector) ListTagsForResource added in v1.33.8

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.

  • 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 (*FraudDetector) ListTagsForResourcePages added in v1.33.8

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 (*FraudDetector) ListTagsForResourcePagesWithContext added in v1.33.8

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 (*FraudDetector) ListTagsForResourceRequest added in v1.33.8

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 (*FraudDetector) ListTagsForResourceWithContext added in v1.33.8

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 (*FraudDetector) PutDetector

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutDetector

func (*FraudDetector) PutDetectorRequest

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 (*FraudDetector) PutDetectorWithContext

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 (*FraudDetector) PutEntityType added in v1.33.8

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.

  • 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/PutEntityType

func (*FraudDetector) PutEntityTypeRequest added in v1.33.8

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 (*FraudDetector) PutEntityTypeWithContext added in v1.33.8

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 (*FraudDetector) PutEventType added in v1.33.8

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.

  • 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/PutEventType

func (*FraudDetector) PutEventTypeRequest added in v1.33.8

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 (*FraudDetector) PutEventTypeWithContext added in v1.33.8

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 (*FraudDetector) PutExternalModel

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutExternalModel

func (*FraudDetector) PutExternalModelRequest

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 (*FraudDetector) PutExternalModelWithContext

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 (*FraudDetector) PutKMSEncryptionKey added in v1.33.8

func (c *FraudDetector) PutKMSEncryptionKey(input *PutKMSEncryptionKeyInput) (*PutKMSEncryptionKeyOutput, error)

PutKMSEncryptionKey API operation for Amazon Fraud Detector.

Specifies the Key Management Service (KMS) customer master key (CMK) 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.

  • 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/PutKMSEncryptionKey

func (*FraudDetector) PutKMSEncryptionKeyRequest added in v1.33.8

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 (*FraudDetector) PutKMSEncryptionKeyWithContext added in v1.33.8

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 (*FraudDetector) PutLabel added in v1.33.8

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.

  • 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/PutLabel

func (*FraudDetector) PutLabelRequest added in v1.33.8

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 (*FraudDetector) PutLabelWithContext added in v1.33.8

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 (*FraudDetector) PutOutcome

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutOutcome

func (*FraudDetector) PutOutcomeRequest

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 (*FraudDetector) PutOutcomeWithContext

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 (*FraudDetector) TagResource added in v1.33.8

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.

  • 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 (*FraudDetector) TagResourceRequest added in v1.33.8

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 (*FraudDetector) TagResourceWithContext added in v1.33.8

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 (*FraudDetector) UntagResource added in v1.33.8

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.

  • 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 (*FraudDetector) UntagResourceRequest added in v1.33.8

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 (*FraudDetector) UntagResourceWithContext added in v1.33.8

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 (*FraudDetector) UpdateDetectorVersion

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersion

func (*FraudDetector) UpdateDetectorVersionMetadata

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionMetadata

func (*FraudDetector) UpdateDetectorVersionMetadataRequest

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 (*FraudDetector) UpdateDetectorVersionMetadataWithContext

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 (*FraudDetector) UpdateDetectorVersionRequest

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 (*FraudDetector) UpdateDetectorVersionStatus

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionStatus

func (*FraudDetector) UpdateDetectorVersionStatusRequest

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 (*FraudDetector) UpdateDetectorVersionStatusWithContext

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 (*FraudDetector) UpdateDetectorVersionWithContext

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 (*FraudDetector) UpdateModel added in v1.33.8

func (c *FraudDetector) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error)

UpdateModel API operation for Amazon Fraud Detector.

Updates a model. You can update the description attribute using this 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 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.

  • 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/UpdateModel

func (*FraudDetector) UpdateModelRequest added in v1.33.8

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 (*FraudDetector) UpdateModelVersion

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.

  • InternalServerException An exception indicating an internal server error.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersion

func (*FraudDetector) UpdateModelVersionRequest

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 (*FraudDetector) UpdateModelVersionStatus added in v1.33.8

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_COMPLETE status to ACTIVE.

Change ACTIVEto 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.

  • 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/UpdateModelVersionStatus

func (*FraudDetector) UpdateModelVersionStatusRequest added in v1.33.8

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 (*FraudDetector) UpdateModelVersionStatusWithContext added in v1.33.8

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 (*FraudDetector) UpdateModelVersionWithContext

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 (*FraudDetector) UpdateModelWithContext added in v1.33.8

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 (*FraudDetector) UpdateRuleMetadata

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleMetadata

func (*FraudDetector) UpdateRuleMetadataRequest

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 (*FraudDetector) UpdateRuleMetadataWithContext

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 (*FraudDetector) UpdateRuleVersion

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleVersion

func (*FraudDetector) UpdateRuleVersionRequest

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 (*FraudDetector) UpdateRuleVersionWithContext

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 (*FraudDetector) UpdateVariable

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateVariable

func (*FraudDetector) UpdateVariableRequest

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 (*FraudDetector) UpdateVariableWithContext

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 GetDetectorVersionInput

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" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDetectorVersionInput) GoString

func (s GetDetectorVersionInput) GoString() string

GoString returns the string representation

func (*GetDetectorVersionInput) SetDetectorId

SetDetectorId sets the DetectorId field's value.

func (*GetDetectorVersionInput) SetDetectorVersionId

func (s *GetDetectorVersionInput) SetDetectorVersionId(v string) *GetDetectorVersionInput

SetDetectorVersionId sets the DetectorVersionId field's value.

func (GetDetectorVersionInput) String

func (s GetDetectorVersionInput) String() string

String returns the string representation

func (*GetDetectorVersionInput) Validate

func (s *GetDetectorVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDetectorVersionOutput

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" 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" 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" 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 (GetDetectorVersionOutput) GoString

func (s GetDetectorVersionOutput) GoString() string

GoString returns the string representation

func (*GetDetectorVersionOutput) SetArn added in v1.33.8

SetArn sets the Arn field's value.

func (*GetDetectorVersionOutput) SetCreatedTime

SetCreatedTime sets the CreatedTime field's value.

func (*GetDetectorVersionOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetDetectorVersionOutput) SetDetectorId

SetDetectorId sets the DetectorId field's value.

func (*GetDetectorVersionOutput) SetDetectorVersionId

func (s *GetDetectorVersionOutput) SetDetectorVersionId(v string) *GetDetectorVersionOutput

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*GetDetectorVersionOutput) SetExternalModelEndpoints

func (s *GetDetectorVersionOutput) SetExternalModelEndpoints(v []*string) *GetDetectorVersionOutput

SetExternalModelEndpoints sets the ExternalModelEndpoints field's value.

func (*GetDetectorVersionOutput) SetLastUpdatedTime

func (s *GetDetectorVersionOutput) SetLastUpdatedTime(v string) *GetDetectorVersionOutput

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*GetDetectorVersionOutput) SetModelVersions

SetModelVersions sets the ModelVersions field's value.

func (*GetDetectorVersionOutput) SetRuleExecutionMode added in v1.30.9

func (s *GetDetectorVersionOutput) SetRuleExecutionMode(v string) *GetDetectorVersionOutput

SetRuleExecutionMode sets the RuleExecutionMode field's value.

func (*GetDetectorVersionOutput) SetRules

SetRules sets the Rules field's value.

func (*GetDetectorVersionOutput) SetStatus

SetStatus sets the Status field's value.

func (GetDetectorVersionOutput) String

func (s GetDetectorVersionOutput) String() string

String returns the string representation

type GetDetectorsInput

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 (GetDetectorsInput) GoString

func (s GetDetectorsInput) GoString() string

GoString returns the string representation

func (*GetDetectorsInput) SetDetectorId

func (s *GetDetectorsInput) SetDetectorId(v string) *GetDetectorsInput

SetDetectorId sets the DetectorId field's value.

func (*GetDetectorsInput) SetMaxResults

func (s *GetDetectorsInput) SetMaxResults(v int64) *GetDetectorsInput

SetMaxResults sets the MaxResults field's value.

func (*GetDetectorsInput) SetNextToken

func (s *GetDetectorsInput) SetNextToken(v string) *GetDetectorsInput

SetNextToken sets the NextToken field's value.

func (GetDetectorsInput) String

func (s GetDetectorsInput) String() string

String returns the string representation

func (*GetDetectorsInput) Validate

func (s *GetDetectorsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDetectorsOutput

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 (GetDetectorsOutput) GoString

func (s GetDetectorsOutput) GoString() string

GoString returns the string representation

func (*GetDetectorsOutput) SetDetectors

func (s *GetDetectorsOutput) SetDetectors(v []*Detector) *GetDetectorsOutput

SetDetectors sets the Detectors field's value.

func (*GetDetectorsOutput) SetNextToken

func (s *GetDetectorsOutput) SetNextToken(v string) *GetDetectorsOutput

SetNextToken sets the NextToken field's value.

func (GetDetectorsOutput) String

func (s GetDetectorsOutput) String() string

String returns the string representation

type GetEntityTypesInput added in v1.33.8

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 (GetEntityTypesInput) GoString added in v1.33.8

func (s GetEntityTypesInput) GoString() string

GoString returns the string representation

func (*GetEntityTypesInput) SetMaxResults added in v1.33.8

func (s *GetEntityTypesInput) SetMaxResults(v int64) *GetEntityTypesInput

SetMaxResults sets the MaxResults field's value.

func (*GetEntityTypesInput) SetName added in v1.33.8

SetName sets the Name field's value.

func (*GetEntityTypesInput) SetNextToken added in v1.33.8

func (s *GetEntityTypesInput) SetNextToken(v string) *GetEntityTypesInput

SetNextToken sets the NextToken field's value.

func (GetEntityTypesInput) String added in v1.33.8

func (s GetEntityTypesInput) String() string

String returns the string representation

func (*GetEntityTypesInput) Validate added in v1.33.8

func (s *GetEntityTypesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEntityTypesOutput added in v1.33.8

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 (GetEntityTypesOutput) GoString added in v1.33.8

func (s GetEntityTypesOutput) GoString() string

GoString returns the string representation

func (*GetEntityTypesOutput) SetEntityTypes added in v1.33.8

func (s *GetEntityTypesOutput) SetEntityTypes(v []*EntityType) *GetEntityTypesOutput

SetEntityTypes sets the EntityTypes field's value.

func (*GetEntityTypesOutput) SetNextToken added in v1.33.8

func (s *GetEntityTypesOutput) SetNextToken(v string) *GetEntityTypesOutput

SetNextToken sets the NextToken field's value.

func (GetEntityTypesOutput) String added in v1.33.8

func (s GetEntityTypesOutput) String() string

String returns the string representation

type GetEventPredictionInput added in v1.33.8

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" 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"`

	// 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.
	//
	// EventTimestamp is a required field
	EventTimestamp *string `locationName:"eventTimestamp" 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.
	//
	// EventVariables is a required field
	EventVariables map[string]*string `locationName:"eventVariables" min:"1" type:"map" required:"true"`

	// The Amazon SageMaker model endpoint input data blobs.
	ExternalModelEndpointDataBlobs map[string]*ModelEndpointDataBlob `locationName:"externalModelEndpointDataBlobs" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (GetEventPredictionInput) GoString added in v1.33.8

func (s GetEventPredictionInput) GoString() string

GoString returns the string representation

func (*GetEventPredictionInput) SetDetectorId added in v1.33.8

SetDetectorId sets the DetectorId field's value.

func (*GetEventPredictionInput) SetDetectorVersionId added in v1.33.8

func (s *GetEventPredictionInput) SetDetectorVersionId(v string) *GetEventPredictionInput

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*GetEventPredictionInput) SetEntities added in v1.33.8

SetEntities sets the Entities field's value.

func (*GetEventPredictionInput) SetEventId added in v1.33.8

SetEventId sets the EventId field's value.

func (*GetEventPredictionInput) SetEventTimestamp added in v1.33.8

func (s *GetEventPredictionInput) SetEventTimestamp(v string) *GetEventPredictionInput

SetEventTimestamp sets the EventTimestamp field's value.

func (*GetEventPredictionInput) SetEventTypeName added in v1.33.8

func (s *GetEventPredictionInput) SetEventTypeName(v string) *GetEventPredictionInput

SetEventTypeName sets the EventTypeName field's value.

func (*GetEventPredictionInput) SetEventVariables added in v1.33.8

func (s *GetEventPredictionInput) SetEventVariables(v map[string]*string) *GetEventPredictionInput

SetEventVariables sets the EventVariables field's value.

func (*GetEventPredictionInput) SetExternalModelEndpointDataBlobs added in v1.33.8

func (s *GetEventPredictionInput) SetExternalModelEndpointDataBlobs(v map[string]*ModelEndpointDataBlob) *GetEventPredictionInput

SetExternalModelEndpointDataBlobs sets the ExternalModelEndpointDataBlobs field's value.

func (GetEventPredictionInput) String added in v1.33.8

func (s GetEventPredictionInput) String() string

String returns the string representation

func (*GetEventPredictionInput) Validate added in v1.33.8

func (s *GetEventPredictionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEventPredictionOutput added in v1.33.8

type GetEventPredictionOutput struct {

	// 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.
	RuleResults []*RuleResult `locationName:"ruleResults" type:"list"`
	// contains filtered or unexported fields
}

func (GetEventPredictionOutput) GoString added in v1.33.8

func (s GetEventPredictionOutput) GoString() string

GoString returns the string representation

func (*GetEventPredictionOutput) SetModelScores added in v1.33.8

SetModelScores sets the ModelScores field's value.

func (*GetEventPredictionOutput) SetRuleResults added in v1.33.8

SetRuleResults sets the RuleResults field's value.

func (GetEventPredictionOutput) String added in v1.33.8

func (s GetEventPredictionOutput) String() string

String returns the string representation

type GetEventTypesInput added in v1.33.8

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 (GetEventTypesInput) GoString added in v1.33.8

func (s GetEventTypesInput) GoString() string

GoString returns the string representation

func (*GetEventTypesInput) SetMaxResults added in v1.33.8

func (s *GetEventTypesInput) SetMaxResults(v int64) *GetEventTypesInput

SetMaxResults sets the MaxResults field's value.

func (*GetEventTypesInput) SetName added in v1.33.8

SetName sets the Name field's value.

func (*GetEventTypesInput) SetNextToken added in v1.33.8

func (s *GetEventTypesInput) SetNextToken(v string) *GetEventTypesInput

SetNextToken sets the NextToken field's value.

func (GetEventTypesInput) String added in v1.33.8

func (s GetEventTypesInput) String() string

String returns the string representation

func (*GetEventTypesInput) Validate added in v1.33.8

func (s *GetEventTypesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEventTypesOutput added in v1.33.8

type GetEventTypesOutput struct {

	// An array of event types.
	EventTypes []*EventType `locationName:"eventTypes" type:"list"`

	// The next page token.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetEventTypesOutput) GoString added in v1.33.8

func (s GetEventTypesOutput) GoString() string

GoString returns the string representation

func (*GetEventTypesOutput) SetEventTypes added in v1.33.8

func (s *GetEventTypesOutput) SetEventTypes(v []*EventType) *GetEventTypesOutput

SetEventTypes sets the EventTypes field's value.

func (*GetEventTypesOutput) SetNextToken added in v1.33.8

func (s *GetEventTypesOutput) SetNextToken(v string) *GetEventTypesOutput

SetNextToken sets the NextToken field's value.

func (GetEventTypesOutput) String added in v1.33.8

func (s GetEventTypesOutput) String() string

String returns the string representation

type GetExternalModelsInput

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 (GetExternalModelsInput) GoString

func (s GetExternalModelsInput) GoString() string

GoString returns the string representation

func (*GetExternalModelsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetExternalModelsInput) SetModelEndpoint

func (s *GetExternalModelsInput) SetModelEndpoint(v string) *GetExternalModelsInput

SetModelEndpoint sets the ModelEndpoint field's value.

func (*GetExternalModelsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetExternalModelsInput) String

func (s GetExternalModelsInput) String() string

String returns the string representation

func (*GetExternalModelsInput) Validate

func (s *GetExternalModelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetExternalModelsOutput

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 (GetExternalModelsOutput) GoString

func (s GetExternalModelsOutput) GoString() string

GoString returns the string representation

func (*GetExternalModelsOutput) SetExternalModels

SetExternalModels sets the ExternalModels field's value.

func (*GetExternalModelsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetExternalModelsOutput) String

func (s GetExternalModelsOutput) String() string

String returns the string representation

type GetKMSEncryptionKeyInput added in v1.33.8

type GetKMSEncryptionKeyInput struct {
	// contains filtered or unexported fields
}

func (GetKMSEncryptionKeyInput) GoString added in v1.33.8

func (s GetKMSEncryptionKeyInput) GoString() string

GoString returns the string representation

func (GetKMSEncryptionKeyInput) String added in v1.33.8

func (s GetKMSEncryptionKeyInput) String() string

String returns the string representation

type GetKMSEncryptionKeyOutput added in v1.33.8

type GetKMSEncryptionKeyOutput struct {

	// The KMS encryption key.
	KmsKey *KMSKey `locationName:"kmsKey" type:"structure"`
	// contains filtered or unexported fields
}

func (GetKMSEncryptionKeyOutput) GoString added in v1.33.8

func (s GetKMSEncryptionKeyOutput) GoString() string

GoString returns the string representation

func (*GetKMSEncryptionKeyOutput) SetKmsKey added in v1.33.8

SetKmsKey sets the KmsKey field's value.

func (GetKMSEncryptionKeyOutput) String added in v1.33.8

func (s GetKMSEncryptionKeyOutput) String() string

String returns the string representation

type GetLabelsInput added in v1.33.8

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 (GetLabelsInput) GoString added in v1.33.8

func (s GetLabelsInput) GoString() string

GoString returns the string representation

func (*GetLabelsInput) SetMaxResults added in v1.33.8

func (s *GetLabelsInput) SetMaxResults(v int64) *GetLabelsInput

SetMaxResults sets the MaxResults field's value.

func (*GetLabelsInput) SetName added in v1.33.8

func (s *GetLabelsInput) SetName(v string) *GetLabelsInput

SetName sets the Name field's value.

func (*GetLabelsInput) SetNextToken added in v1.33.8

func (s *GetLabelsInput) SetNextToken(v string) *GetLabelsInput

SetNextToken sets the NextToken field's value.

func (GetLabelsInput) String added in v1.33.8

func (s GetLabelsInput) String() string

String returns the string representation

func (*GetLabelsInput) Validate added in v1.33.8

func (s *GetLabelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetLabelsOutput added in v1.33.8

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 (GetLabelsOutput) GoString added in v1.33.8

func (s GetLabelsOutput) GoString() string

GoString returns the string representation

func (*GetLabelsOutput) SetLabels added in v1.33.8

func (s *GetLabelsOutput) SetLabels(v []*Label) *GetLabelsOutput

SetLabels sets the Labels field's value.

func (*GetLabelsOutput) SetNextToken added in v1.33.8

func (s *GetLabelsOutput) SetNextToken(v string) *GetLabelsOutput

SetNextToken sets the NextToken field's value.

func (GetLabelsOutput) String added in v1.33.8

func (s GetLabelsOutput) String() string

String returns the string representation

type GetModelVersionInput

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" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetModelVersionInput) GoString

func (s GetModelVersionInput) GoString() string

GoString returns the string representation

func (*GetModelVersionInput) SetModelId

SetModelId sets the ModelId field's value.

func (*GetModelVersionInput) SetModelType

func (s *GetModelVersionInput) SetModelType(v string) *GetModelVersionInput

SetModelType sets the ModelType field's value.

func (*GetModelVersionInput) SetModelVersionNumber

func (s *GetModelVersionInput) SetModelVersionNumber(v string) *GetModelVersionInput

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (GetModelVersionInput) String

func (s GetModelVersionInput) String() string

String returns the string representation

func (*GetModelVersionInput) Validate

func (s *GetModelVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetModelVersionOutput

type GetModelVersionOutput struct {

	// The model version ARN.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The event details.
	ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" 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" type:"string"`

	// The model version status.
	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 (GetModelVersionOutput) GoString

func (s GetModelVersionOutput) GoString() string

GoString returns the string representation

func (*GetModelVersionOutput) SetArn added in v1.33.8

SetArn sets the Arn field's value.

func (*GetModelVersionOutput) SetExternalEventsDetail added in v1.33.8

func (s *GetModelVersionOutput) SetExternalEventsDetail(v *ExternalEventsDetail) *GetModelVersionOutput

SetExternalEventsDetail sets the ExternalEventsDetail field's value.

func (*GetModelVersionOutput) SetModelId

SetModelId sets the ModelId field's value.

func (*GetModelVersionOutput) SetModelType

SetModelType sets the ModelType field's value.

func (*GetModelVersionOutput) SetModelVersionNumber

func (s *GetModelVersionOutput) SetModelVersionNumber(v string) *GetModelVersionOutput

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*GetModelVersionOutput) SetStatus

SetStatus sets the Status field's value.

func (*GetModelVersionOutput) SetTrainingDataSchema added in v1.33.8

func (s *GetModelVersionOutput) SetTrainingDataSchema(v *TrainingDataSchema) *GetModelVersionOutput

SetTrainingDataSchema sets the TrainingDataSchema field's value.

func (*GetModelVersionOutput) SetTrainingDataSource added in v1.33.8

func (s *GetModelVersionOutput) SetTrainingDataSource(v string) *GetModelVersionOutput

SetTrainingDataSource sets the TrainingDataSource field's value.

func (GetModelVersionOutput) String

func (s GetModelVersionOutput) String() string

String returns the string representation

type GetModelsInput

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 (GetModelsInput) GoString

func (s GetModelsInput) GoString() string

GoString returns the string representation

func (*GetModelsInput) SetMaxResults

func (s *GetModelsInput) SetMaxResults(v int64) *GetModelsInput

SetMaxResults sets the MaxResults field's value.

func (*GetModelsInput) SetModelId

func (s *GetModelsInput) SetModelId(v string) *GetModelsInput

SetModelId sets the ModelId field's value.

func (*GetModelsInput) SetModelType

func (s *GetModelsInput) SetModelType(v string) *GetModelsInput

SetModelType sets the ModelType field's value.

func (*GetModelsInput) SetNextToken

func (s *GetModelsInput) SetNextToken(v string) *GetModelsInput

SetNextToken sets the NextToken field's value.

func (GetModelsInput) String

func (s GetModelsInput) String() string

String returns the string representation

func (*GetModelsInput) Validate

func (s *GetModelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetModelsOutput

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 (GetModelsOutput) GoString

func (s GetModelsOutput) GoString() string

GoString returns the string representation

func (*GetModelsOutput) SetModels

func (s *GetModelsOutput) SetModels(v []*Model) *GetModelsOutput

SetModels sets the Models field's value.

func (*GetModelsOutput) SetNextToken

func (s *GetModelsOutput) SetNextToken(v string) *GetModelsOutput

SetNextToken sets the NextToken field's value.

func (GetModelsOutput) String

func (s GetModelsOutput) String() string

String returns the string representation

type GetOutcomesInput

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 (GetOutcomesInput) GoString

func (s GetOutcomesInput) GoString() string

GoString returns the string representation

func (*GetOutcomesInput) SetMaxResults

func (s *GetOutcomesInput) SetMaxResults(v int64) *GetOutcomesInput

SetMaxResults sets the MaxResults field's value.

func (*GetOutcomesInput) SetName

func (s *GetOutcomesInput) SetName(v string) *GetOutcomesInput

SetName sets the Name field's value.

func (*GetOutcomesInput) SetNextToken

func (s *GetOutcomesInput) SetNextToken(v string) *GetOutcomesInput

SetNextToken sets the NextToken field's value.

func (GetOutcomesInput) String

func (s GetOutcomesInput) String() string

String returns the string representation

func (*GetOutcomesInput) Validate

func (s *GetOutcomesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetOutcomesOutput

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 (GetOutcomesOutput) GoString

func (s GetOutcomesOutput) GoString() string

GoString returns the string representation

func (*GetOutcomesOutput) SetNextToken

func (s *GetOutcomesOutput) SetNextToken(v string) *GetOutcomesOutput

SetNextToken sets the NextToken field's value.

func (*GetOutcomesOutput) SetOutcomes

func (s *GetOutcomesOutput) SetOutcomes(v []*Outcome) *GetOutcomesOutput

SetOutcomes sets the Outcomes field's value.

func (GetOutcomesOutput) String

func (s GetOutcomesOutput) String() string

String returns the string representation

type GetPredictionInput

type GetPredictionInput 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" type:"string"`

	// Names of variables you defined in Amazon Fraud Detector to represent event
	// data elements and their corresponding values for the event you are sending
	// for evaluation.
	EventAttributes map[string]*string `locationName:"eventAttributes" type:"map"`

	// The unique ID used to identify the event.
	//
	// EventId is a required field
	EventId *string `locationName:"eventId" type:"string" required:"true"`

	// The Amazon SageMaker model endpoint input data blobs.
	ExternalModelEndpointDataBlobs map[string]*ModelEndpointDataBlob `locationName:"externalModelEndpointDataBlobs" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (GetPredictionInput) GoString

func (s GetPredictionInput) GoString() string

GoString returns the string representation

func (*GetPredictionInput) SetDetectorId

func (s *GetPredictionInput) SetDetectorId(v string) *GetPredictionInput

SetDetectorId sets the DetectorId field's value.

func (*GetPredictionInput) SetDetectorVersionId

func (s *GetPredictionInput) SetDetectorVersionId(v string) *GetPredictionInput

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*GetPredictionInput) SetEventAttributes

func (s *GetPredictionInput) SetEventAttributes(v map[string]*string) *GetPredictionInput

SetEventAttributes sets the EventAttributes field's value.

func (*GetPredictionInput) SetEventId

func (s *GetPredictionInput) SetEventId(v string) *GetPredictionInput

SetEventId sets the EventId field's value.

func (*GetPredictionInput) SetExternalModelEndpointDataBlobs

func (s *GetPredictionInput) SetExternalModelEndpointDataBlobs(v map[string]*ModelEndpointDataBlob) *GetPredictionInput

SetExternalModelEndpointDataBlobs sets the ExternalModelEndpointDataBlobs field's value.

func (GetPredictionInput) String

func (s GetPredictionInput) String() string

String returns the string representation

func (*GetPredictionInput) Validate

func (s *GetPredictionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetPredictionOutput

type GetPredictionOutput struct {

	// The model scores for models used in the detector version.
	ModelScores []*ModelScores `locationName:"modelScores" type:"list"`

	// The prediction outcomes.
	Outcomes []*string `locationName:"outcomes" type:"list"`

	// The rule results in the prediction.
	RuleResults []*RuleResult `locationName:"ruleResults" type:"list"`
	// contains filtered or unexported fields
}

func (GetPredictionOutput) GoString

func (s GetPredictionOutput) GoString() string

GoString returns the string representation

func (*GetPredictionOutput) SetModelScores

func (s *GetPredictionOutput) SetModelScores(v []*ModelScores) *GetPredictionOutput

SetModelScores sets the ModelScores field's value.

func (*GetPredictionOutput) SetOutcomes

func (s *GetPredictionOutput) SetOutcomes(v []*string) *GetPredictionOutput

SetOutcomes sets the Outcomes field's value.

func (*GetPredictionOutput) SetRuleResults added in v1.30.9

func (s *GetPredictionOutput) SetRuleResults(v []*RuleResult) *GetPredictionOutput

SetRuleResults sets the RuleResults field's value.

func (GetPredictionOutput) String

func (s GetPredictionOutput) String() string

String returns the string representation

type GetRulesInput

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" type:"string"`
	// contains filtered or unexported fields
}

func (GetRulesInput) GoString

func (s GetRulesInput) GoString() string

GoString returns the string representation

func (*GetRulesInput) SetDetectorId

func (s *GetRulesInput) SetDetectorId(v string) *GetRulesInput

SetDetectorId sets the DetectorId field's value.

func (*GetRulesInput) SetMaxResults

func (s *GetRulesInput) SetMaxResults(v int64) *GetRulesInput

SetMaxResults sets the MaxResults field's value.

func (*GetRulesInput) SetNextToken

func (s *GetRulesInput) SetNextToken(v string) *GetRulesInput

SetNextToken sets the NextToken field's value.

func (*GetRulesInput) SetRuleId

func (s *GetRulesInput) SetRuleId(v string) *GetRulesInput

SetRuleId sets the RuleId field's value.

func (*GetRulesInput) SetRuleVersion

func (s *GetRulesInput) SetRuleVersion(v string) *GetRulesInput

SetRuleVersion sets the RuleVersion field's value.

func (GetRulesInput) String

func (s GetRulesInput) String() string

String returns the string representation

func (*GetRulesInput) Validate

func (s *GetRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRulesOutput

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 (GetRulesOutput) GoString

func (s GetRulesOutput) GoString() string

GoString returns the string representation

func (*GetRulesOutput) SetNextToken

func (s *GetRulesOutput) SetNextToken(v string) *GetRulesOutput

SetNextToken sets the NextToken field's value.

func (*GetRulesOutput) SetRuleDetails

func (s *GetRulesOutput) SetRuleDetails(v []*RuleDetail) *GetRulesOutput

SetRuleDetails sets the RuleDetails field's value.

func (GetRulesOutput) String

func (s GetRulesOutput) String() string

String returns the string representation

type GetVariablesInput

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 (GetVariablesInput) GoString

func (s GetVariablesInput) GoString() string

GoString returns the string representation

func (*GetVariablesInput) SetMaxResults

func (s *GetVariablesInput) SetMaxResults(v int64) *GetVariablesInput

SetMaxResults sets the MaxResults field's value.

func (*GetVariablesInput) SetName

SetName sets the Name field's value.

func (*GetVariablesInput) SetNextToken

func (s *GetVariablesInput) SetNextToken(v string) *GetVariablesInput

SetNextToken sets the NextToken field's value.

func (GetVariablesInput) String

func (s GetVariablesInput) String() string

String returns the string representation

func (*GetVariablesInput) Validate

func (s *GetVariablesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetVariablesOutput

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 (GetVariablesOutput) GoString

func (s GetVariablesOutput) GoString() string

GoString returns the string representation

func (*GetVariablesOutput) SetNextToken

func (s *GetVariablesOutput) SetNextToken(v string) *GetVariablesOutput

SetNextToken sets the NextToken field's value.

func (*GetVariablesOutput) SetVariables

func (s *GetVariablesOutput) SetVariables(v []*Variable) *GetVariablesOutput

SetVariables sets the Variables field's value.

func (GetVariablesOutput) String

func (s GetVariablesOutput) String() string

String returns the string representation

type InternalServerException added in v1.28.0

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 (*InternalServerException) Code added in v1.28.0

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error added in v1.28.0

func (s *InternalServerException) Error() string

func (InternalServerException) GoString added in v1.28.0

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message added in v1.28.0

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr added in v1.28.0

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID added in v1.28.0

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode added in v1.28.0

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String added in v1.28.0

func (s InternalServerException) String() string

String returns the string representation

type KMSKey added in v1.33.8

type KMSKey struct {

	// The encryption key ARN.
	KmsEncryptionKeyArn *string `locationName:"kmsEncryptionKeyArn" min:"7" type:"string"`
	// contains filtered or unexported fields
}

The KMS key details.

func (KMSKey) GoString added in v1.33.8

func (s KMSKey) GoString() string

GoString returns the string representation

func (*KMSKey) SetKmsEncryptionKeyArn added in v1.33.8

func (s *KMSKey) SetKmsEncryptionKeyArn(v string) *KMSKey

SetKmsEncryptionKeyArn sets the KmsEncryptionKeyArn field's value.

func (KMSKey) String added in v1.33.8

func (s KMSKey) String() string

String returns the string representation

type Label added in v1.33.8

type Label struct {

	// The label ARN.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// Timestamp of when the event type was created.
	CreatedTime *string `locationName:"createdTime" type:"string"`

	// The label description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// Timestamp of when the label was last updated.
	LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"`

	// The label name.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

The label details.

func (Label) GoString added in v1.33.8

func (s Label) GoString() string

GoString returns the string representation

func (*Label) SetArn added in v1.33.8

func (s *Label) SetArn(v string) *Label

SetArn sets the Arn field's value.

func (*Label) SetCreatedTime added in v1.33.8

func (s *Label) SetCreatedTime(v string) *Label

SetCreatedTime sets the CreatedTime field's value.

func (*Label) SetDescription added in v1.33.8

func (s *Label) SetDescription(v string) *Label

SetDescription sets the Description field's value.

func (*Label) SetLastUpdatedTime added in v1.33.8

func (s *Label) SetLastUpdatedTime(v string) *Label

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Label) SetName added in v1.33.8

func (s *Label) SetName(v string) *Label

SetName sets the Name field's value.

func (Label) String added in v1.33.8

func (s Label) String() string

String returns the string representation

type LabelSchema

type LabelSchema struct {

	// The label mapper maps the Amazon Fraud Detector supported model classification
	// labels (FRAUD, LEGIT) to the appropriate event type labels. For example,
	// if "FRAUD" and "LEGIT" are Amazon Fraud Detector supported labels, this mapper
	// could be: {"FRAUD" => ["0"], "LEGIT" => ["1"]} or {"FRAUD" => ["false"],
	// "LEGIT" => ["true"]} or {"FRAUD" => ["fraud", "abuse"], "LEGIT" => ["legit",
	// "safe"]}. The value part of the mapper is a list, because you may have multiple
	// label variants from your event type for a single Amazon Fraud Detector label.
	//
	// LabelMapper is a required field
	LabelMapper map[string][]*string `locationName:"labelMapper" type:"map" required:"true"`
	// contains filtered or unexported fields
}

The label schema.

func (LabelSchema) GoString

func (s LabelSchema) GoString() string

GoString returns the string representation

func (*LabelSchema) SetLabelMapper

func (s *LabelSchema) SetLabelMapper(v map[string][]*string) *LabelSchema

SetLabelMapper sets the LabelMapper field's value.

func (LabelSchema) String

func (s LabelSchema) String() string

String returns the string representation

func (*LabelSchema) Validate

func (s *LabelSchema) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceInput added in v1.33.8

type ListTagsForResourceInput struct {

	// The maximum number of objects to return for the request.
	MaxResults *int64 `locationName:"maxResults" min:"50" type:"integer"`

	// The next token from the previous results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The ARN that specifies the resource whose tags you want to list.
	//
	// ResourceARN is a required field
	ResourceARN *string `locationName:"resourceARN" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString added in v1.33.8

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetMaxResults added in v1.33.8

SetMaxResults sets the MaxResults field's value.

func (*ListTagsForResourceInput) SetNextToken added in v1.33.8

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceInput) SetResourceARN added in v1.33.8

SetResourceARN sets the ResourceARN field's value.

func (ListTagsForResourceInput) String added in v1.33.8

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v1.33.8

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput added in v1.33.8

type ListTagsForResourceOutput struct {

	// The next token for subsequent requests.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A collection of key and value pairs.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString added in v1.33.8

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetNextToken added in v1.33.8

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceOutput) SetTags added in v1.33.8

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.33.8

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type MetricDataPoint added in v1.33.8

type MetricDataPoint struct {

	// The false positive rate. This is the percentage of total legitimate events
	// that are incorrectly predicted as fraud.
	Fpr *float64 `locationName:"fpr" type:"float"`

	// The percentage of fraud events correctly predicted as fraudulent as compared
	// to all events predicted as fraudulent.
	Precision *float64 `locationName:"precision" type:"float"`

	// The model 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"`

	// The true positive rate. This is the percentage of total fraud the model detects.
	// Also known as capture rate.
	Tpr *float64 `locationName:"tpr" type:"float"`
	// contains filtered or unexported fields
}

Model performance metrics data points.

func (MetricDataPoint) GoString added in v1.33.8

func (s MetricDataPoint) GoString() string

GoString returns the string representation

func (*MetricDataPoint) SetFpr added in v1.33.8

func (s *MetricDataPoint) SetFpr(v float64) *MetricDataPoint

SetFpr sets the Fpr field's value.

func (*MetricDataPoint) SetPrecision added in v1.33.8

func (s *MetricDataPoint) SetPrecision(v float64) *MetricDataPoint

SetPrecision sets the Precision field's value.

func (*MetricDataPoint) SetThreshold added in v1.33.8

func (s *MetricDataPoint) SetThreshold(v float64) *MetricDataPoint

SetThreshold sets the Threshold field's value.

func (*MetricDataPoint) SetTpr added in v1.33.8

func (s *MetricDataPoint) SetTpr(v float64) *MetricDataPoint

SetTpr sets the Tpr field's value.

func (MetricDataPoint) String added in v1.33.8

func (s MetricDataPoint) String() string

String returns the string representation

type Model

type Model struct {

	// The ARN of the model.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// Timestamp of when the model was created.
	CreatedTime *string `locationName:"createdTime" type:"string"`

	// The model description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The name of the event type.
	EventTypeName *string `locationName:"eventTypeName" type:"string"`

	// Timestamp of last time the model was updated.
	LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"`

	// The model ID.
	ModelId *string `locationName:"modelId" min:"1" type:"string"`

	// The model type.
	ModelType *string `locationName:"modelType" type:"string" enum:"ModelTypeEnum"`
	// contains filtered or unexported fields
}

The model.

func (Model) GoString

func (s Model) GoString() string

GoString returns the string representation

func (*Model) SetArn added in v1.33.8

func (s *Model) SetArn(v string) *Model

SetArn sets the Arn field's value.

func (*Model) SetCreatedTime

func (s *Model) SetCreatedTime(v string) *Model

SetCreatedTime sets the CreatedTime field's value.

func (*Model) SetDescription

func (s *Model) SetDescription(v string) *Model

SetDescription sets the Description field's value.

func (*Model) SetEventTypeName added in v1.33.8

func (s *Model) SetEventTypeName(v string) *Model

SetEventTypeName sets the EventTypeName field's value.

func (*Model) SetLastUpdatedTime

func (s *Model) SetLastUpdatedTime(v string) *Model

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Model) SetModelId

func (s *Model) SetModelId(v string) *Model

SetModelId sets the ModelId field's value.

func (*Model) SetModelType

func (s *Model) SetModelType(v string) *Model

SetModelType sets the ModelType field's value.

func (Model) String

func (s Model) String() string

String returns the string representation

type ModelEndpointDataBlob

type ModelEndpointDataBlob struct {

	// The byte buffer of the Amazon SageMaker model endpoint input data blob.
	//
	// ByteBuffer is automatically base64 encoded/decoded by the SDK.
	ByteBuffer []byte `locationName:"byteBuffer" type:"blob"`

	// The content type of the Amazon SageMaker model endpoint input data blob.
	ContentType *string `locationName:"contentType" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A pre-formed Amazon SageMaker model input you can include if your detector version includes an imported Amazon SageMaker model endpoint with pass-through input configuration.

func (ModelEndpointDataBlob) GoString

func (s ModelEndpointDataBlob) GoString() string

GoString returns the string representation

func (*ModelEndpointDataBlob) SetByteBuffer

func (s *ModelEndpointDataBlob) SetByteBuffer(v []byte) *ModelEndpointDataBlob

SetByteBuffer sets the ByteBuffer field's value.

func (*ModelEndpointDataBlob) SetContentType

func (s *ModelEndpointDataBlob) SetContentType(v string) *ModelEndpointDataBlob

SetContentType sets the ContentType field's value.

func (ModelEndpointDataBlob) String

func (s ModelEndpointDataBlob) String() string

String returns the string representation

func (*ModelEndpointDataBlob) Validate

func (s *ModelEndpointDataBlob) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModelInputConfiguration

type ModelInputConfiguration struct {

	// Template for constructing the CSV input-data sent to SageMaker. At event-evaluation,
	// the placeholders for variable-names in the template will be replaced with
	// the variable values before being sent to SageMaker.
	CsvInputTemplate *string `locationName:"csvInputTemplate" type:"string"`

	// The format of the model input configuration. The format differs depending
	// on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.
	Format *string `locationName:"format" type:"string" enum:"ModelInputDataFormat"`

	// Template for constructing the JSON input-data sent to SageMaker. At event-evaluation,
	// the placeholders for variable names in the template will be replaced with
	// the variable values before being sent to SageMaker.
	JsonInputTemplate *string `locationName:"jsonInputTemplate" type:"string"`

	// The event variables.
	//
	// UseEventVariables is a required field
	UseEventVariables *bool `locationName:"useEventVariables" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

The Amazon SageMaker model input configuration.

func (ModelInputConfiguration) GoString

func (s ModelInputConfiguration) GoString() string

GoString returns the string representation

func (*ModelInputConfiguration) SetCsvInputTemplate

func (s *ModelInputConfiguration) SetCsvInputTemplate(v string) *ModelInputConfiguration

SetCsvInputTemplate sets the CsvInputTemplate field's value.

func (*ModelInputConfiguration) SetFormat

SetFormat sets the Format field's value.

func (*ModelInputConfiguration) SetJsonInputTemplate

func (s *ModelInputConfiguration) SetJsonInputTemplate(v string) *ModelInputConfiguration

SetJsonInputTemplate sets the JsonInputTemplate field's value.

func (*ModelInputConfiguration) SetUseEventVariables added in v1.33.8

func (s *ModelInputConfiguration) SetUseEventVariables(v bool) *ModelInputConfiguration

SetUseEventVariables sets the UseEventVariables field's value.

func (ModelInputConfiguration) String

func (s ModelInputConfiguration) String() string

String returns the string representation

func (*ModelInputConfiguration) Validate

func (s *ModelInputConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModelOutputConfiguration

type ModelOutputConfiguration struct {

	// A map of CSV index values in the SageMaker response to the Amazon Fraud Detector
	// variables.
	CsvIndexToVariableMap map[string]*string `locationName:"csvIndexToVariableMap" type:"map"`

	// The format of the model output configuration.
	//
	// Format is a required field
	Format *string `locationName:"format" type:"string" required:"true" enum:"ModelOutputDataFormat"`

	// A map of JSON keys in response from SageMaker to the Amazon Fraud Detector
	// variables.
	JsonKeyToVariableMap map[string]*string `locationName:"jsonKeyToVariableMap" type:"map"`
	// contains filtered or unexported fields
}

Provides the Amazon Sagemaker model output configuration.

func (ModelOutputConfiguration) GoString

func (s ModelOutputConfiguration) GoString() string

GoString returns the string representation

func (*ModelOutputConfiguration) SetCsvIndexToVariableMap

func (s *ModelOutputConfiguration) SetCsvIndexToVariableMap(v map[string]*string) *ModelOutputConfiguration

SetCsvIndexToVariableMap sets the CsvIndexToVariableMap field's value.

func (*ModelOutputConfiguration) SetFormat

SetFormat sets the Format field's value.

func (*ModelOutputConfiguration) SetJsonKeyToVariableMap

func (s *ModelOutputConfiguration) SetJsonKeyToVariableMap(v map[string]*string) *ModelOutputConfiguration

SetJsonKeyToVariableMap sets the JsonKeyToVariableMap field's value.

func (ModelOutputConfiguration) String

func (s ModelOutputConfiguration) String() string

String returns the string representation

func (*ModelOutputConfiguration) Validate

func (s *ModelOutputConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModelScores

type ModelScores struct {

	// The model version.
	ModelVersion *ModelVersion `locationName:"modelVersion" type:"structure"`

	// The model's fraud prediction scores.
	Scores map[string]*float64 `locationName:"scores" type:"map"`
	// contains filtered or unexported fields
}

The fraud prediction scores.

func (ModelScores) GoString

func (s ModelScores) GoString() string

GoString returns the string representation

func (*ModelScores) SetModelVersion

func (s *ModelScores) SetModelVersion(v *ModelVersion) *ModelScores

SetModelVersion sets the ModelVersion field's value.

func (*ModelScores) SetScores

func (s *ModelScores) SetScores(v map[string]*float64) *ModelScores

SetScores sets the Scores field's value.

func (ModelScores) String

func (s ModelScores) String() string

String returns the string representation

type ModelVersion

type ModelVersion struct {

	// The model version ARN.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// 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:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The model version.

func (ModelVersion) GoString

func (s ModelVersion) GoString() string

GoString returns the string representation

func (*ModelVersion) SetArn added in v1.33.8

func (s *ModelVersion) SetArn(v string) *ModelVersion

SetArn sets the Arn field's value.

func (*ModelVersion) SetModelId

func (s *ModelVersion) SetModelId(v string) *ModelVersion

SetModelId sets the ModelId field's value.

func (*ModelVersion) SetModelType

func (s *ModelVersion) SetModelType(v string) *ModelVersion

SetModelType sets the ModelType field's value.

func (*ModelVersion) SetModelVersionNumber

func (s *ModelVersion) SetModelVersionNumber(v string) *ModelVersion

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (ModelVersion) String

func (s ModelVersion) String() string

String returns the string representation

func (*ModelVersion) Validate

func (s *ModelVersion) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModelVersionDetail

type ModelVersionDetail struct {

	// The model version ARN.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The timestamp when the model was created.
	CreatedTime *string `locationName:"createdTime" type:"string"`

	// The event details.
	ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" type:"structure"`

	// The timestamp when the model was last updated.
	LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"`

	// 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" type:"string"`

	// The status of the model version.
	Status *string `locationName:"status" type:"string"`

	// The training data schema.
	TrainingDataSchema *TrainingDataSchema `locationName:"trainingDataSchema" type:"structure"`

	// The model version training data source.
	TrainingDataSource *string `locationName:"trainingDataSource" type:"string" enum:"TrainingDataSourceEnum"`

	// The training results.
	TrainingResult *TrainingResult `locationName:"trainingResult" type:"structure"`
	// contains filtered or unexported fields
}

The details of the model version.

func (ModelVersionDetail) GoString

func (s ModelVersionDetail) GoString() string

GoString returns the string representation

func (*ModelVersionDetail) SetArn added in v1.33.8

SetArn sets the Arn field's value.

func (*ModelVersionDetail) SetCreatedTime

func (s *ModelVersionDetail) SetCreatedTime(v string) *ModelVersionDetail

SetCreatedTime sets the CreatedTime field's value.

func (*ModelVersionDetail) SetExternalEventsDetail added in v1.33.8

func (s *ModelVersionDetail) SetExternalEventsDetail(v *ExternalEventsDetail) *ModelVersionDetail

SetExternalEventsDetail sets the ExternalEventsDetail field's value.

func (*ModelVersionDetail) SetLastUpdatedTime

func (s *ModelVersionDetail) SetLastUpdatedTime(v string) *ModelVersionDetail

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ModelVersionDetail) SetModelId

func (s *ModelVersionDetail) SetModelId(v string) *ModelVersionDetail

SetModelId sets the ModelId field's value.

func (*ModelVersionDetail) SetModelType

func (s *ModelVersionDetail) SetModelType(v string) *ModelVersionDetail

SetModelType sets the ModelType field's value.

func (*ModelVersionDetail) SetModelVersionNumber

func (s *ModelVersionDetail) SetModelVersionNumber(v string) *ModelVersionDetail

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*ModelVersionDetail) SetStatus

func (s *ModelVersionDetail) SetStatus(v string) *ModelVersionDetail

SetStatus sets the Status field's value.

func (*ModelVersionDetail) SetTrainingDataSchema added in v1.33.8

func (s *ModelVersionDetail) SetTrainingDataSchema(v *TrainingDataSchema) *ModelVersionDetail

SetTrainingDataSchema sets the TrainingDataSchema field's value.

func (*ModelVersionDetail) SetTrainingDataSource

func (s *ModelVersionDetail) SetTrainingDataSource(v string) *ModelVersionDetail

SetTrainingDataSource sets the TrainingDataSource field's value.

func (*ModelVersionDetail) SetTrainingResult added in v1.33.8

func (s *ModelVersionDetail) SetTrainingResult(v *TrainingResult) *ModelVersionDetail

SetTrainingResult sets the TrainingResult field's value.

func (ModelVersionDetail) String

func (s ModelVersionDetail) String() string

String returns the string representation

type Outcome

type Outcome struct {

	// The outcome ARN.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The timestamp when the outcome was created.
	CreatedTime *string `locationName:"createdTime" type:"string"`

	// The outcome description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The timestamp when the outcome was last updated.
	LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"`

	// The outcome name.
	Name *string `locationName:"name" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The outcome.

func (Outcome) GoString

func (s Outcome) GoString() string

GoString returns the string representation

func (*Outcome) SetArn added in v1.33.8

func (s *Outcome) SetArn(v string) *Outcome

SetArn sets the Arn field's value.

func (*Outcome) SetCreatedTime

func (s *Outcome) SetCreatedTime(v string) *Outcome

SetCreatedTime sets the CreatedTime field's value.

func (*Outcome) SetDescription

func (s *Outcome) SetDescription(v string) *Outcome

SetDescription sets the Description field's value.

func (*Outcome) SetLastUpdatedTime

func (s *Outcome) SetLastUpdatedTime(v string) *Outcome

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Outcome) SetName

func (s *Outcome) SetName(v string) *Outcome

SetName sets the Name field's value.

func (Outcome) String

func (s Outcome) String() string

String returns the string representation

type PutDetectorInput

type PutDetectorInput struct {

	// The description of the detector.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The detector ID.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" 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"`

	// A collection of key and value pairs.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (PutDetectorInput) GoString

func (s PutDetectorInput) GoString() string

GoString returns the string representation

func (*PutDetectorInput) SetDescription

func (s *PutDetectorInput) SetDescription(v string) *PutDetectorInput

SetDescription sets the Description field's value.

func (*PutDetectorInput) SetDetectorId

func (s *PutDetectorInput) SetDetectorId(v string) *PutDetectorInput

SetDetectorId sets the DetectorId field's value.

func (*PutDetectorInput) SetEventTypeName added in v1.33.8

func (s *PutDetectorInput) SetEventTypeName(v string) *PutDetectorInput

SetEventTypeName sets the EventTypeName field's value.

func (*PutDetectorInput) SetTags added in v1.33.8

func (s *PutDetectorInput) SetTags(v []*Tag) *PutDetectorInput

SetTags sets the Tags field's value.

func (PutDetectorInput) String

func (s PutDetectorInput) String() string

String returns the string representation

func (*PutDetectorInput) Validate

func (s *PutDetectorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutDetectorOutput

type PutDetectorOutput struct {
	// contains filtered or unexported fields
}

func (PutDetectorOutput) GoString

func (s PutDetectorOutput) GoString() string

GoString returns the string representation

func (PutDetectorOutput) String

func (s PutDetectorOutput) String() string

String returns the string representation

type PutEntityTypeInput added in v1.33.8

type PutEntityTypeInput struct {

	// The description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The name of the entity type.
	//
	// Name is a required field
	Name *string `locationName:"name" 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 (PutEntityTypeInput) GoString added in v1.33.8

func (s PutEntityTypeInput) GoString() string

GoString returns the string representation

func (*PutEntityTypeInput) SetDescription added in v1.33.8

func (s *PutEntityTypeInput) SetDescription(v string) *PutEntityTypeInput

SetDescription sets the Description field's value.

func (*PutEntityTypeInput) SetName added in v1.33.8

SetName sets the Name field's value.

func (*PutEntityTypeInput) SetTags added in v1.33.8

func (s *PutEntityTypeInput) SetTags(v []*Tag) *PutEntityTypeInput

SetTags sets the Tags field's value.

func (PutEntityTypeInput) String added in v1.33.8

func (s PutEntityTypeInput) String() string

String returns the string representation

func (*PutEntityTypeInput) Validate added in v1.33.8

func (s *PutEntityTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutEntityTypeOutput added in v1.33.8

type PutEntityTypeOutput struct {
	// contains filtered or unexported fields
}

func (PutEntityTypeOutput) GoString added in v1.33.8

func (s PutEntityTypeOutput) GoString() string

GoString returns the string representation

func (PutEntityTypeOutput) String added in v1.33.8

func (s PutEntityTypeOutput) String() string

String returns the string representation

type PutEventTypeInput added in v1.33.8

type PutEventTypeInput struct {

	// The description of the event type.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The entity type for the event type. Example entity types: customer, merchant,
	// account.
	//
	// EntityTypes is a required field
	EntityTypes []*string `locationName:"entityTypes" min:"1" type:"list" required:"true"`

	// The event type variables.
	//
	// EventVariables is a required field
	EventVariables []*string `locationName:"eventVariables" min:"1" type:"list" required:"true"`

	// The event type labels.
	Labels []*string `locationName:"labels" type:"list"`

	// The name.
	//
	// Name is a required field
	Name *string `locationName:"name" 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 (PutEventTypeInput) GoString added in v1.33.8

func (s PutEventTypeInput) GoString() string

GoString returns the string representation

func (*PutEventTypeInput) SetDescription added in v1.33.8

func (s *PutEventTypeInput) SetDescription(v string) *PutEventTypeInput

SetDescription sets the Description field's value.

func (*PutEventTypeInput) SetEntityTypes added in v1.33.8

func (s *PutEventTypeInput) SetEntityTypes(v []*string) *PutEventTypeInput

SetEntityTypes sets the EntityTypes field's value.

func (*PutEventTypeInput) SetEventVariables added in v1.33.8

func (s *PutEventTypeInput) SetEventVariables(v []*string) *PutEventTypeInput

SetEventVariables sets the EventVariables field's value.

func (*PutEventTypeInput) SetLabels added in v1.33.8

func (s *PutEventTypeInput) SetLabels(v []*string) *PutEventTypeInput

SetLabels sets the Labels field's value.

func (*PutEventTypeInput) SetName added in v1.33.8

SetName sets the Name field's value.

func (*PutEventTypeInput) SetTags added in v1.33.8

func (s *PutEventTypeInput) SetTags(v []*Tag) *PutEventTypeInput

SetTags sets the Tags field's value.

func (PutEventTypeInput) String added in v1.33.8

func (s PutEventTypeInput) String() string

String returns the string representation

func (*PutEventTypeInput) Validate added in v1.33.8

func (s *PutEventTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutEventTypeOutput added in v1.33.8

type PutEventTypeOutput struct {
	// contains filtered or unexported fields
}

func (PutEventTypeOutput) GoString added in v1.33.8

func (s PutEventTypeOutput) GoString() string

GoString returns the string representation

func (PutEventTypeOutput) String added in v1.33.8

func (s PutEventTypeOutput) String() string

String returns the string representation

type PutExternalModelInput

type PutExternalModelInput struct {

	// The event type name.
	EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"`

	// The model endpoint input configuration.
	//
	// InputConfiguration is a required field
	InputConfiguration *ModelInputConfiguration `locationName:"inputConfiguration" type:"structure" required:"true"`

	// The model endpoints name.
	//
	// ModelEndpoint is a required field
	ModelEndpoint *string `locationName:"modelEndpoint" min:"1" type:"string" required:"true"`

	// The model endpoint’s status in Amazon Fraud Detector.
	//
	// ModelEndpointStatus is a required field
	ModelEndpointStatus *string `locationName:"modelEndpointStatus" type:"string" required:"true" enum:"ModelEndpointStatus"`

	// The source of the model.
	//
	// ModelSource is a required field
	ModelSource *string `locationName:"modelSource" type:"string" required:"true" enum:"ModelSource"`

	// The model endpoint output configuration.
	//
	// OutputConfiguration is a required field
	OutputConfiguration *ModelOutputConfiguration `locationName:"outputConfiguration" type:"structure" required:"true"`

	// The IAM role used to invoke the model endpoint.
	//
	// Role is a required field
	Role *Role `locationName:"role" type:"structure" required:"true"`

	// A collection of key and value pairs.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (PutExternalModelInput) GoString

func (s PutExternalModelInput) GoString() string

GoString returns the string representation

func (*PutExternalModelInput) SetEventTypeName added in v1.33.8

func (s *PutExternalModelInput) SetEventTypeName(v string) *PutExternalModelInput

SetEventTypeName sets the EventTypeName field's value.

func (*PutExternalModelInput) SetInputConfiguration

SetInputConfiguration sets the InputConfiguration field's value.

func (*PutExternalModelInput) SetModelEndpoint

func (s *PutExternalModelInput) SetModelEndpoint(v string) *PutExternalModelInput

SetModelEndpoint sets the ModelEndpoint field's value.

func (*PutExternalModelInput) SetModelEndpointStatus

func (s *PutExternalModelInput) SetModelEndpointStatus(v string) *PutExternalModelInput

SetModelEndpointStatus sets the ModelEndpointStatus field's value.

func (*PutExternalModelInput) SetModelSource

func (s *PutExternalModelInput) SetModelSource(v string) *PutExternalModelInput

SetModelSource sets the ModelSource field's value.

func (*PutExternalModelInput) SetOutputConfiguration

SetOutputConfiguration sets the OutputConfiguration field's value.

func (*PutExternalModelInput) SetRole

SetRole sets the Role field's value.

func (*PutExternalModelInput) SetTags added in v1.33.8

SetTags sets the Tags field's value.

func (PutExternalModelInput) String

func (s PutExternalModelInput) String() string

String returns the string representation

func (*PutExternalModelInput) Validate

func (s *PutExternalModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutExternalModelOutput

type PutExternalModelOutput struct {
	// contains filtered or unexported fields
}

func (PutExternalModelOutput) GoString

func (s PutExternalModelOutput) GoString() string

GoString returns the string representation

func (PutExternalModelOutput) String

func (s PutExternalModelOutput) String() string

String returns the string representation

type PutKMSEncryptionKeyInput added in v1.33.8

type PutKMSEncryptionKeyInput struct {

	// The KMS encryption key ARN.
	//
	// KmsEncryptionKeyArn is a required field
	KmsEncryptionKeyArn *string `locationName:"kmsEncryptionKeyArn" min:"7" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutKMSEncryptionKeyInput) GoString added in v1.33.8

func (s PutKMSEncryptionKeyInput) GoString() string

GoString returns the string representation

func (*PutKMSEncryptionKeyInput) SetKmsEncryptionKeyArn added in v1.33.8

func (s *PutKMSEncryptionKeyInput) SetKmsEncryptionKeyArn(v string) *PutKMSEncryptionKeyInput

SetKmsEncryptionKeyArn sets the KmsEncryptionKeyArn field's value.

func (PutKMSEncryptionKeyInput) String added in v1.33.8

func (s PutKMSEncryptionKeyInput) String() string

String returns the string representation

func (*PutKMSEncryptionKeyInput) Validate added in v1.33.8

func (s *PutKMSEncryptionKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutKMSEncryptionKeyOutput added in v1.33.8

type PutKMSEncryptionKeyOutput struct {
	// contains filtered or unexported fields
}

func (PutKMSEncryptionKeyOutput) GoString added in v1.33.8

func (s PutKMSEncryptionKeyOutput) GoString() string

GoString returns the string representation

func (PutKMSEncryptionKeyOutput) String added in v1.33.8

func (s PutKMSEncryptionKeyOutput) String() string

String returns the string representation

type PutLabelInput added in v1.33.8

type PutLabelInput struct {

	// The label description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The label name.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (PutLabelInput) GoString added in v1.33.8

func (s PutLabelInput) GoString() string

GoString returns the string representation

func (*PutLabelInput) SetDescription added in v1.33.8

func (s *PutLabelInput) SetDescription(v string) *PutLabelInput

SetDescription sets the Description field's value.

func (*PutLabelInput) SetName added in v1.33.8

func (s *PutLabelInput) SetName(v string) *PutLabelInput

SetName sets the Name field's value.

func (*PutLabelInput) SetTags added in v1.33.8

func (s *PutLabelInput) SetTags(v []*Tag) *PutLabelInput

SetTags sets the Tags field's value.

func (PutLabelInput) String added in v1.33.8

func (s PutLabelInput) String() string

String returns the string representation

func (*PutLabelInput) Validate added in v1.33.8

func (s *PutLabelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutLabelOutput added in v1.33.8

type PutLabelOutput struct {
	// contains filtered or unexported fields
}

func (PutLabelOutput) GoString added in v1.33.8

func (s PutLabelOutput) GoString() string

GoString returns the string representation

func (PutLabelOutput) String added in v1.33.8

func (s PutLabelOutput) String() string

String returns the string representation

type PutOutcomeInput

type PutOutcomeInput struct {

	// The outcome description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The name of the outcome.
	//
	// Name is a required field
	Name *string `locationName:"name" 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 (PutOutcomeInput) GoString

func (s PutOutcomeInput) GoString() string

GoString returns the string representation

func (*PutOutcomeInput) SetDescription

func (s *PutOutcomeInput) SetDescription(v string) *PutOutcomeInput

SetDescription sets the Description field's value.

func (*PutOutcomeInput) SetName

func (s *PutOutcomeInput) SetName(v string) *PutOutcomeInput

SetName sets the Name field's value.

func (*PutOutcomeInput) SetTags added in v1.33.8

func (s *PutOutcomeInput) SetTags(v []*Tag) *PutOutcomeInput

SetTags sets the Tags field's value.

func (PutOutcomeInput) String

func (s PutOutcomeInput) String() string

String returns the string representation

func (*PutOutcomeInput) Validate

func (s *PutOutcomeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutOutcomeOutput

type PutOutcomeOutput struct {
	// contains filtered or unexported fields
}

func (PutOutcomeOutput) GoString

func (s PutOutcomeOutput) GoString() string

GoString returns the string representation

func (PutOutcomeOutput) String

func (s PutOutcomeOutput) String() string

String returns the string representation

type ResourceNotFoundException added in v1.28.0

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An exception indicating the specified resource was not found.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation

type Role

type Role struct {

	// The role ARN.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The role name.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The role used to invoke external model endpoints.

func (Role) GoString

func (s Role) GoString() string

GoString returns the string representation

func (*Role) SetArn

func (s *Role) SetArn(v string) *Role

SetArn sets the Arn field's value.

func (*Role) SetName

func (s *Role) SetName(v string) *Role

SetName sets the Name field's value.

func (Role) String

func (s Role) String() string

String returns the string representation

func (*Role) Validate

func (s *Role) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Rule

type Rule struct {

	// The detector for which the rule is associated.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

	// The rule ID.
	//
	// RuleId is a required field
	RuleId *string `locationName:"ruleId" min:"1" type:"string" required:"true"`

	// The rule version.
	//
	// RuleVersion is a required field
	RuleVersion *string `locationName:"ruleVersion" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A rule.

func (Rule) GoString

func (s Rule) GoString() string

GoString returns the string representation

func (*Rule) SetDetectorId

func (s *Rule) SetDetectorId(v string) *Rule

SetDetectorId sets the DetectorId field's value.

func (*Rule) SetRuleId

func (s *Rule) SetRuleId(v string) *Rule

SetRuleId sets the RuleId field's value.

func (*Rule) SetRuleVersion

func (s *Rule) SetRuleVersion(v string) *Rule

SetRuleVersion sets the RuleVersion field's value.

func (Rule) String

func (s Rule) String() string

String returns the string representation

func (*Rule) Validate

func (s *Rule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RuleDetail

type RuleDetail struct {

	// The rule ARN.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The timestamp of when the rule was created.
	CreatedTime *string `locationName:"createdTime" type:"string"`

	// The rule description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The detector for which the rule is associated.
	DetectorId *string `locationName:"detectorId" min:"1" type:"string"`

	// The rule expression.
	Expression *string `locationName:"expression" min:"1" type:"string" sensitive:"true"`

	// The rule language.
	Language *string `locationName:"language" type:"string" enum:"Language"`

	// Timestamp of the last time the rule was updated.
	LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"`

	// The rule outcomes.
	Outcomes []*string `locationName:"outcomes" min:"1" type:"list"`

	// The rule ID.
	RuleId *string `locationName:"ruleId" min:"1" type:"string"`

	// The rule version.
	RuleVersion *string `locationName:"ruleVersion" type:"string"`
	// contains filtered or unexported fields
}

The details of the rule.

func (RuleDetail) GoString

func (s RuleDetail) GoString() string

GoString returns the string representation

func (*RuleDetail) SetArn added in v1.33.8

func (s *RuleDetail) SetArn(v string) *RuleDetail

SetArn sets the Arn field's value.

func (*RuleDetail) SetCreatedTime

func (s *RuleDetail) SetCreatedTime(v string) *RuleDetail

SetCreatedTime sets the CreatedTime field's value.

func (*RuleDetail) SetDescription

func (s *RuleDetail) SetDescription(v string) *RuleDetail

SetDescription sets the Description field's value.

func (*RuleDetail) SetDetectorId

func (s *RuleDetail) SetDetectorId(v string) *RuleDetail

SetDetectorId sets the DetectorId field's value.

func (*RuleDetail) SetExpression

func (s *RuleDetail) SetExpression(v string) *RuleDetail

SetExpression sets the Expression field's value.

func (*RuleDetail) SetLanguage

func (s *RuleDetail) SetLanguage(v string) *RuleDetail

SetLanguage sets the Language field's value.

func (*RuleDetail) SetLastUpdatedTime

func (s *RuleDetail) SetLastUpdatedTime(v string) *RuleDetail

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*RuleDetail) SetOutcomes

func (s *RuleDetail) SetOutcomes(v []*string) *RuleDetail

SetOutcomes sets the Outcomes field's value.

func (*RuleDetail) SetRuleId

func (s *RuleDetail) SetRuleId(v string) *RuleDetail

SetRuleId sets the RuleId field's value.

func (*RuleDetail) SetRuleVersion

func (s *RuleDetail) SetRuleVersion(v string) *RuleDetail

SetRuleVersion sets the RuleVersion field's value.

func (RuleDetail) String

func (s RuleDetail) String() string

String returns the string representation

type RuleResult added in v1.30.9

type RuleResult struct {

	// The outcomes of the matched rule, based on the rule execution mode.
	Outcomes []*string `locationName:"outcomes" type:"list"`

	// The rule ID that was matched, based on the rule execution mode.
	RuleId *string `locationName:"ruleId" type:"string"`
	// contains filtered or unexported fields
}

The rule results.

func (RuleResult) GoString added in v1.30.9

func (s RuleResult) GoString() string

GoString returns the string representation

func (*RuleResult) SetOutcomes added in v1.30.9

func (s *RuleResult) SetOutcomes(v []*string) *RuleResult

SetOutcomes sets the Outcomes field's value.

func (*RuleResult) SetRuleId added in v1.30.9

func (s *RuleResult) SetRuleId(v string) *RuleResult

SetRuleId sets the RuleId field's value.

func (RuleResult) String added in v1.30.9

func (s RuleResult) String() string

String returns the string representation

type Tag added in v1.33.8

type Tag struct {

	// A tag key.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// A value assigned to a tag key.
	//
	// Value is a required field
	Value *string `locationName:"value" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A key and value pair.

func (Tag) GoString added in v1.33.8

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey added in v1.33.8

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.33.8

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String added in v1.33.8

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate added in v1.33.8

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceInput added in v1.33.8

type TagResourceInput struct {

	// The resource ARN.
	//
	// ResourceARN is a required field
	ResourceARN *string `locationName:"resourceARN" min:"1" type:"string" required:"true"`

	// The tags to assign to the resource.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.33.8

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceARN added in v1.33.8

func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput

SetResourceARN sets the ResourceARN field's value.

func (*TagResourceInput) SetTags added in v1.33.8

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.33.8

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v1.33.8

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput added in v1.33.8

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString added in v1.33.8

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String added in v1.33.8

func (s TagResourceOutput) String() string

String returns the string representation

type ThrottlingException added in v1.28.0

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An exception indicating a throttling error.

func (*ThrottlingException) Code added in v1.28.0

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error added in v1.28.0

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString added in v1.28.0

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message added in v1.28.0

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr added in v1.28.0

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID added in v1.28.0

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode added in v1.28.0

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String added in v1.28.0

func (s ThrottlingException) String() string

String returns the string representation

type TrainingDataSchema added in v1.33.8

type TrainingDataSchema struct {

	// The label schema.
	//
	// LabelSchema is a required field
	LabelSchema *LabelSchema `locationName:"labelSchema" type:"structure" required:"true"`

	// The training data schema variables.
	//
	// ModelVariables is a required field
	ModelVariables []*string `locationName:"modelVariables" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The training data schema.

func (TrainingDataSchema) GoString added in v1.33.8

func (s TrainingDataSchema) GoString() string

GoString returns the string representation

func (*TrainingDataSchema) SetLabelSchema added in v1.33.8

func (s *TrainingDataSchema) SetLabelSchema(v *LabelSchema) *TrainingDataSchema

SetLabelSchema sets the LabelSchema field's value.

func (*TrainingDataSchema) SetModelVariables added in v1.33.8

func (s *TrainingDataSchema) SetModelVariables(v []*string) *TrainingDataSchema

SetModelVariables sets the ModelVariables field's value.

func (TrainingDataSchema) String added in v1.33.8

func (s TrainingDataSchema) String() string

String returns the string representation

func (*TrainingDataSchema) Validate added in v1.33.8

func (s *TrainingDataSchema) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TrainingMetrics added in v1.33.8

type TrainingMetrics struct {

	// The area under the curve. This summarizes true positive rate (TPR) and false
	// positive rate (FPR) across all possible model score thresholds. A model with
	// no predictive power has an AUC of 0.5, whereas a perfect model has a score
	// of 1.0.
	Auc *float64 `locationName:"auc" type:"float"`

	// The data points details.
	MetricDataPoints []*MetricDataPoint `locationName:"metricDataPoints" type:"list"`
	// contains filtered or unexported fields
}

The training metric details.

func (TrainingMetrics) GoString added in v1.33.8

func (s TrainingMetrics) GoString() string

GoString returns the string representation

func (*TrainingMetrics) SetAuc added in v1.33.8

func (s *TrainingMetrics) SetAuc(v float64) *TrainingMetrics

SetAuc sets the Auc field's value.

func (*TrainingMetrics) SetMetricDataPoints added in v1.33.8

func (s *TrainingMetrics) SetMetricDataPoints(v []*MetricDataPoint) *TrainingMetrics

SetMetricDataPoints sets the MetricDataPoints field's value.

func (TrainingMetrics) String added in v1.33.8

func (s TrainingMetrics) String() string

String returns the string representation

type TrainingResult added in v1.33.8

type TrainingResult struct {

	// The validation metrics.
	DataValidationMetrics *DataValidationMetrics `locationName:"dataValidationMetrics" type:"structure"`

	// The training metric details.
	TrainingMetrics *TrainingMetrics `locationName:"trainingMetrics" type:"structure"`
	// contains filtered or unexported fields
}

The training result details.

func (TrainingResult) GoString added in v1.33.8

func (s TrainingResult) GoString() string

GoString returns the string representation

func (*TrainingResult) SetDataValidationMetrics added in v1.33.8

func (s *TrainingResult) SetDataValidationMetrics(v *DataValidationMetrics) *TrainingResult

SetDataValidationMetrics sets the DataValidationMetrics field's value.

func (*TrainingResult) SetTrainingMetrics added in v1.33.8

func (s *TrainingResult) SetTrainingMetrics(v *TrainingMetrics) *TrainingResult

SetTrainingMetrics sets the TrainingMetrics field's value.

func (TrainingResult) String added in v1.33.8

func (s TrainingResult) String() string

String returns the string representation

type UntagResourceInput added in v1.33.8

type UntagResourceInput struct {

	// The ARN of the resource from which to remove the tag.
	//
	// ResourceARN is a required field
	ResourceARN *string `locationName:"resourceARN" min:"1" type:"string" required:"true"`

	// The resource ARN.
	//
	// TagKeys is a required field
	TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.33.8

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceARN added in v1.33.8

func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput

SetResourceARN sets the ResourceARN field's value.

func (*UntagResourceInput) SetTagKeys added in v1.33.8

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.33.8

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v1.33.8

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput added in v1.33.8

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString added in v1.33.8

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String added in v1.33.8

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateDetectorVersionInput

type UpdateDetectorVersionInput struct {

	// The detector version description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The parent detector ID for the detector version you want to update.
	//
	// 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" type:"string" required:"true"`

	// The Amazon SageMaker model endpoints to include in the detector version.
	//
	// ExternalModelEndpoints is a required field
	ExternalModelEndpoints []*string `locationName:"externalModelEndpoints" type:"list" required:"true"`

	// The model versions to include in the detector version.
	ModelVersions []*ModelVersion `locationName:"modelVersions" type:"list"`

	// The rule execution mode to add to the detector.
	//
	// 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. You can define and edit the rule
	// mode at the detector version level, when it is in draft status.
	//
	// 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"`
	// contains filtered or unexported fields
}

func (UpdateDetectorVersionInput) GoString

func (s UpdateDetectorVersionInput) GoString() string

GoString returns the string representation

func (*UpdateDetectorVersionInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateDetectorVersionInput) SetDetectorId

SetDetectorId sets the DetectorId field's value.

func (*UpdateDetectorVersionInput) SetDetectorVersionId

func (s *UpdateDetectorVersionInput) SetDetectorVersionId(v string) *UpdateDetectorVersionInput

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*UpdateDetectorVersionInput) SetExternalModelEndpoints

func (s *UpdateDetectorVersionInput) SetExternalModelEndpoints(v []*string) *UpdateDetectorVersionInput

SetExternalModelEndpoints sets the ExternalModelEndpoints field's value.

func (*UpdateDetectorVersionInput) SetModelVersions

SetModelVersions sets the ModelVersions field's value.

func (*UpdateDetectorVersionInput) SetRuleExecutionMode added in v1.30.9

func (s *UpdateDetectorVersionInput) SetRuleExecutionMode(v string) *UpdateDetectorVersionInput

SetRuleExecutionMode sets the RuleExecutionMode field's value.

func (*UpdateDetectorVersionInput) SetRules

SetRules sets the Rules field's value.

func (UpdateDetectorVersionInput) String

String returns the string representation

func (*UpdateDetectorVersionInput) Validate

func (s *UpdateDetectorVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDetectorVersionMetadataInput

type UpdateDetectorVersionMetadataInput struct {

	// The description.
	//
	// Description is a required field
	Description *string `locationName:"description" min:"1" type:"string" required:"true"`

	// 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" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateDetectorVersionMetadataInput) GoString

GoString returns the string representation

func (*UpdateDetectorVersionMetadataInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateDetectorVersionMetadataInput) SetDetectorId

SetDetectorId sets the DetectorId field's value.

func (*UpdateDetectorVersionMetadataInput) SetDetectorVersionId

SetDetectorVersionId sets the DetectorVersionId field's value.

func (UpdateDetectorVersionMetadataInput) String

String returns the string representation

func (*UpdateDetectorVersionMetadataInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateDetectorVersionMetadataOutput

type UpdateDetectorVersionMetadataOutput struct {
	// contains filtered or unexported fields
}

func (UpdateDetectorVersionMetadataOutput) GoString

GoString returns the string representation

func (UpdateDetectorVersionMetadataOutput) String

String returns the string representation

type UpdateDetectorVersionOutput

type UpdateDetectorVersionOutput struct {
	// contains filtered or unexported fields
}

func (UpdateDetectorVersionOutput) GoString

func (s UpdateDetectorVersionOutput) GoString() string

GoString returns the string representation

func (UpdateDetectorVersionOutput) String

String returns the string representation

type UpdateDetectorVersionStatusInput

type UpdateDetectorVersionStatusInput 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" type:"string" required:"true"`

	// The new status.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"DetectorVersionStatus"`
	// contains filtered or unexported fields
}

func (UpdateDetectorVersionStatusInput) GoString

GoString returns the string representation

func (*UpdateDetectorVersionStatusInput) SetDetectorId

SetDetectorId sets the DetectorId field's value.

func (*UpdateDetectorVersionStatusInput) SetDetectorVersionId

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*UpdateDetectorVersionStatusInput) SetStatus

SetStatus sets the Status field's value.

func (UpdateDetectorVersionStatusInput) String

String returns the string representation

func (*UpdateDetectorVersionStatusInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateDetectorVersionStatusOutput

type UpdateDetectorVersionStatusOutput struct {
	// contains filtered or unexported fields
}

func (UpdateDetectorVersionStatusOutput) GoString

GoString returns the string representation

func (UpdateDetectorVersionStatusOutput) String

String returns the string representation

type UpdateModelInput added in v1.33.8

type UpdateModelInput struct {

	// The new model description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// 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"`
	// contains filtered or unexported fields
}

func (UpdateModelInput) GoString added in v1.33.8

func (s UpdateModelInput) GoString() string

GoString returns the string representation

func (*UpdateModelInput) SetDescription added in v1.33.8

func (s *UpdateModelInput) SetDescription(v string) *UpdateModelInput

SetDescription sets the Description field's value.

func (*UpdateModelInput) SetModelId added in v1.33.8

func (s *UpdateModelInput) SetModelId(v string) *UpdateModelInput

SetModelId sets the ModelId field's value.

func (*UpdateModelInput) SetModelType added in v1.33.8

func (s *UpdateModelInput) SetModelType(v string) *UpdateModelInput

SetModelType sets the ModelType field's value.

func (UpdateModelInput) String added in v1.33.8

func (s UpdateModelInput) String() string

String returns the string representation

func (*UpdateModelInput) Validate added in v1.33.8

func (s *UpdateModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateModelOutput added in v1.33.8

type UpdateModelOutput struct {
	// contains filtered or unexported fields
}

func (UpdateModelOutput) GoString added in v1.33.8

func (s UpdateModelOutput) GoString() string

GoString returns the string representation

func (UpdateModelOutput) String added in v1.33.8

func (s UpdateModelOutput) String() string

String returns the string representation

type UpdateModelVersionInput

type UpdateModelVersionInput struct {

	// The event details.
	ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" type:"structure"`

	// The major version number.
	//
	// MajorVersionNumber is a required field
	MajorVersionNumber *string `locationName:"majorVersionNumber" 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 (UpdateModelVersionInput) GoString

func (s UpdateModelVersionInput) GoString() string

GoString returns the string representation

func (*UpdateModelVersionInput) SetExternalEventsDetail added in v1.33.8

SetExternalEventsDetail sets the ExternalEventsDetail field's value.

func (*UpdateModelVersionInput) SetMajorVersionNumber added in v1.33.8

func (s *UpdateModelVersionInput) SetMajorVersionNumber(v string) *UpdateModelVersionInput

SetMajorVersionNumber sets the MajorVersionNumber field's value.

func (*UpdateModelVersionInput) SetModelId

SetModelId sets the ModelId field's value.

func (*UpdateModelVersionInput) SetModelType

SetModelType sets the ModelType field's value.

func (*UpdateModelVersionInput) SetTags added in v1.33.8

SetTags sets the Tags field's value.

func (UpdateModelVersionInput) String

func (s UpdateModelVersionInput) String() string

String returns the string representation

func (*UpdateModelVersionInput) Validate

func (s *UpdateModelVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateModelVersionOutput

type UpdateModelVersionOutput 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 updated.
	ModelVersionNumber *string `locationName:"modelVersionNumber" type:"string"`

	// The status of the updated model version.
	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateModelVersionOutput) GoString

func (s UpdateModelVersionOutput) GoString() string

GoString returns the string representation

func (*UpdateModelVersionOutput) SetModelId added in v1.33.8

SetModelId sets the ModelId field's value.

func (*UpdateModelVersionOutput) SetModelType added in v1.33.8

SetModelType sets the ModelType field's value.

func (*UpdateModelVersionOutput) SetModelVersionNumber added in v1.33.8

func (s *UpdateModelVersionOutput) SetModelVersionNumber(v string) *UpdateModelVersionOutput

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*UpdateModelVersionOutput) SetStatus added in v1.33.8

SetStatus sets the Status field's value.

func (UpdateModelVersionOutput) String

func (s UpdateModelVersionOutput) String() string

String returns the string representation

type UpdateModelVersionStatusInput added in v1.33.8

type UpdateModelVersionStatusInput struct {

	// The model ID of the model version to update.
	//
	// 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" type:"string" required:"true"`

	// The model version status.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ModelVersionStatus"`
	// contains filtered or unexported fields
}

func (UpdateModelVersionStatusInput) GoString added in v1.33.8

GoString returns the string representation

func (*UpdateModelVersionStatusInput) SetModelId added in v1.33.8

SetModelId sets the ModelId field's value.

func (*UpdateModelVersionStatusInput) SetModelType added in v1.33.8

SetModelType sets the ModelType field's value.

func (*UpdateModelVersionStatusInput) SetModelVersionNumber added in v1.33.8

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*UpdateModelVersionStatusInput) SetStatus added in v1.33.8

SetStatus sets the Status field's value.

func (UpdateModelVersionStatusInput) String added in v1.33.8

String returns the string representation

func (*UpdateModelVersionStatusInput) Validate added in v1.33.8

func (s *UpdateModelVersionStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateModelVersionStatusOutput added in v1.33.8

type UpdateModelVersionStatusOutput struct {
	// contains filtered or unexported fields
}

func (UpdateModelVersionStatusOutput) GoString added in v1.33.8

GoString returns the string representation

func (UpdateModelVersionStatusOutput) String added in v1.33.8

String returns the string representation

type UpdateRuleMetadataInput

type UpdateRuleMetadataInput struct {

	// The rule description.
	//
	// Description is a required field
	Description *string `locationName:"description" min:"1" type:"string" required:"true"`

	// The rule to update.
	//
	// Rule is a required field
	Rule *Rule `locationName:"rule" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRuleMetadataInput) GoString

func (s UpdateRuleMetadataInput) GoString() string

GoString returns the string representation

func (*UpdateRuleMetadataInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateRuleMetadataInput) SetRule

SetRule sets the Rule field's value.

func (UpdateRuleMetadataInput) String

func (s UpdateRuleMetadataInput) String() string

String returns the string representation

func (*UpdateRuleMetadataInput) Validate

func (s *UpdateRuleMetadataInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRuleMetadataOutput

type UpdateRuleMetadataOutput struct {
	// contains filtered or unexported fields
}

func (UpdateRuleMetadataOutput) GoString

func (s UpdateRuleMetadataOutput) GoString() string

GoString returns the string representation

func (UpdateRuleMetadataOutput) String

func (s UpdateRuleMetadataOutput) String() string

String returns the string representation

type UpdateRuleVersionInput

type UpdateRuleVersionInput struct {

	// The description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The rule expression.
	//
	// Expression is a required field
	Expression *string `locationName:"expression" min:"1" type:"string" required:"true" sensitive:"true"`

	// The language.
	//
	// Language is a required field
	Language *string `locationName:"language" type:"string" required:"true" enum:"Language"`

	// The outcomes.
	//
	// Outcomes is a required field
	Outcomes []*string `locationName:"outcomes" min:"1" type:"list" required:"true"`

	// The rule to update.
	//
	// Rule is a required field
	Rule *Rule `locationName:"rule" type:"structure" required:"true"`

	// The tags to assign to the rule version.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateRuleVersionInput) GoString

func (s UpdateRuleVersionInput) GoString() string

GoString returns the string representation

func (*UpdateRuleVersionInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateRuleVersionInput) SetExpression

SetExpression sets the Expression field's value.

func (*UpdateRuleVersionInput) SetLanguage

SetLanguage sets the Language field's value.

func (*UpdateRuleVersionInput) SetOutcomes

SetOutcomes sets the Outcomes field's value.

func (*UpdateRuleVersionInput) SetRule

SetRule sets the Rule field's value.

func (*UpdateRuleVersionInput) SetTags added in v1.33.8

SetTags sets the Tags field's value.

func (UpdateRuleVersionInput) String

func (s UpdateRuleVersionInput) String() string

String returns the string representation

func (*UpdateRuleVersionInput) Validate

func (s *UpdateRuleVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRuleVersionOutput

type UpdateRuleVersionOutput struct {

	// The new rule version that was created.
	Rule *Rule `locationName:"rule" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateRuleVersionOutput) GoString

func (s UpdateRuleVersionOutput) GoString() string

GoString returns the string representation

func (*UpdateRuleVersionOutput) SetRule

SetRule sets the Rule field's value.

func (UpdateRuleVersionOutput) String

func (s UpdateRuleVersionOutput) String() string

String returns the string representation

type UpdateVariableInput

type UpdateVariableInput struct {

	// The new default value of the variable.
	DefaultValue *string `locationName:"defaultValue" type:"string"`

	// The new 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"`

	// The variable type.
	VariableType *string `locationName:"variableType" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateVariableInput) GoString

func (s UpdateVariableInput) GoString() string

GoString returns the string representation

func (*UpdateVariableInput) SetDefaultValue

func (s *UpdateVariableInput) SetDefaultValue(v string) *UpdateVariableInput

SetDefaultValue sets the DefaultValue field's value.

func (*UpdateVariableInput) SetDescription

func (s *UpdateVariableInput) SetDescription(v string) *UpdateVariableInput

SetDescription sets the Description field's value.

func (*UpdateVariableInput) SetName

SetName sets the Name field's value.

func (*UpdateVariableInput) SetVariableType

func (s *UpdateVariableInput) SetVariableType(v string) *UpdateVariableInput

SetVariableType sets the VariableType field's value.

func (UpdateVariableInput) String

func (s UpdateVariableInput) String() string

String returns the string representation

func (*UpdateVariableInput) Validate

func (s *UpdateVariableInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateVariableOutput

type UpdateVariableOutput struct {
	// contains filtered or unexported fields
}

func (UpdateVariableOutput) GoString

func (s UpdateVariableOutput) GoString() string

GoString returns the string representation

func (UpdateVariableOutput) String

func (s UpdateVariableOutput) String() string

String returns the string representation

type ValidationException added in v1.28.0

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An exception indicating a specified value is not allowed.

func (*ValidationException) Code added in v1.28.0

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error added in v1.28.0

func (s *ValidationException) Error() string

func (ValidationException) GoString added in v1.28.0

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message added in v1.28.0

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr added in v1.28.0

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID added in v1.28.0

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode added in v1.28.0

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String added in v1.28.0

func (s ValidationException) String() string

String returns the string representation

type Variable

type Variable struct {

	// The ARN of the variable.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The time when the variable was created.
	CreatedTime *string `locationName:"createdTime" type:"string"`

	// The data source of the variable.
	DataSource *string `locationName:"dataSource" type:"string" enum:"DataSource"`

	// The data type of the variable.
	DataType *string `locationName:"dataType" type:"string" enum:"DataType"`

	// The default value of the variable.
	DefaultValue *string `locationName:"defaultValue" type:"string"`

	// The description of the variable.
	Description *string `locationName:"description" type:"string"`

	// The time when variable was last updated.
	LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"`

	// The name of the variable.
	Name *string `locationName:"name" type:"string"`

	// The variable type of the variable.
	//
	// 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 | SHIPPING_ZIP
	// | USERAGENT
	VariableType *string `locationName:"variableType" type:"string"`
	// contains filtered or unexported fields
}

The variable.

func (Variable) GoString

func (s Variable) GoString() string

GoString returns the string representation

func (*Variable) SetArn added in v1.33.8

func (s *Variable) SetArn(v string) *Variable

SetArn sets the Arn field's value.

func (*Variable) SetCreatedTime

func (s *Variable) SetCreatedTime(v string) *Variable

SetCreatedTime sets the CreatedTime field's value.

func (*Variable) SetDataSource

func (s *Variable) SetDataSource(v string) *Variable

SetDataSource sets the DataSource field's value.

func (*Variable) SetDataType

func (s *Variable) SetDataType(v string) *Variable

SetDataType sets the DataType field's value.

func (*Variable) SetDefaultValue

func (s *Variable) SetDefaultValue(v string) *Variable

SetDefaultValue sets the DefaultValue field's value.

func (*Variable) SetDescription

func (s *Variable) SetDescription(v string) *Variable

SetDescription sets the Description field's value.

func (*Variable) SetLastUpdatedTime

func (s *Variable) SetLastUpdatedTime(v string) *Variable

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Variable) SetName

func (s *Variable) SetName(v string) *Variable

SetName sets the Name field's value.

func (*Variable) SetVariableType

func (s *Variable) SetVariableType(v string) *Variable

SetVariableType sets the VariableType field's value.

func (Variable) String

func (s Variable) String() string

String returns the string representation

type VariableEntry

type VariableEntry struct {

	// The data source of the variable.
	DataSource *string `locationName:"dataSource" type:"string"`

	// The data type of the variable.
	DataType *string `locationName:"dataType" type:"string"`

	// The default value of the variable.
	DefaultValue *string `locationName:"defaultValue" type:"string"`

	// The description of the variable.
	Description *string `locationName:"description" type:"string"`

	// The name of the variable.
	Name *string `locationName:"name" type:"string"`

	// The type of the variable.
	//
	// 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 | SHIPPING_ZIP
	// | USERAGENT
	VariableType *string `locationName:"variableType" type:"string"`
	// contains filtered or unexported fields
}

A variable in the list of variables for the batch create variable request.

func (VariableEntry) GoString

func (s VariableEntry) GoString() string

GoString returns the string representation

func (*VariableEntry) SetDataSource

func (s *VariableEntry) SetDataSource(v string) *VariableEntry

SetDataSource sets the DataSource field's value.

func (*VariableEntry) SetDataType

func (s *VariableEntry) SetDataType(v string) *VariableEntry

SetDataType sets the DataType field's value.

func (*VariableEntry) SetDefaultValue

func (s *VariableEntry) SetDefaultValue(v string) *VariableEntry

SetDefaultValue sets the DefaultValue field's value.

func (*VariableEntry) SetDescription

func (s *VariableEntry) SetDescription(v string) *VariableEntry

SetDescription sets the Description field's value.

func (*VariableEntry) SetName

func (s *VariableEntry) SetName(v string) *VariableEntry

SetName sets the Name field's value.

func (*VariableEntry) SetVariableType

func (s *VariableEntry) SetVariableType(v string) *VariableEntry

SetVariableType sets the VariableType field's value.

func (VariableEntry) String

func (s VariableEntry) String() string

String returns the string representation

Directories

Path Synopsis
Package frauddetectoriface provides an interface to enable mocking the Amazon Fraud Detector service client for testing your code.
Package frauddetectoriface provides an interface to enable mocking the Amazon Fraud Detector service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL