...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/frauddetector"
Overview
Constants

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

The stub package, frauddetectoriface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type FraudDetector
func New(p client.ConfigProvider, cfgs ...*aws.Config) *FraudDetector
func (c *FraudDetector) BatchCreateVariable(input *BatchCreateVariableInput) (*BatchCreateVariableOutput, error)
func (c *FraudDetector) BatchCreateVariableRequest(input *BatchCreateVariableInput) (req *request.Request, output *BatchCreateVariableOutput)
func (c *FraudDetector) BatchCreateVariableWithContext(ctx aws.Context, input *BatchCreateVariableInput, opts ...request.Option) (*BatchCreateVariableOutput, error)
func (c *FraudDetector) BatchGetVariable(input *BatchGetVariableInput) (*BatchGetVariableOutput, error)
func (c *FraudDetector) BatchGetVariableRequest(input *BatchGetVariableInput) (req *request.Request, output *BatchGetVariableOutput)
func (c *FraudDetector) BatchGetVariableWithContext(ctx aws.Context, input *BatchGetVariableInput, opts ...request.Option) (*BatchGetVariableOutput, error)
func (c *FraudDetector) CreateDetectorVersion(input *CreateDetectorVersionInput) (*CreateDetectorVersionOutput, error)
func (c *FraudDetector) CreateDetectorVersionRequest(input *CreateDetectorVersionInput) (req *request.Request, output *CreateDetectorVersionOutput)
func (c *FraudDetector) CreateDetectorVersionWithContext(ctx aws.Context, input *CreateDetectorVersionInput, opts ...request.Option) (*CreateDetectorVersionOutput, error)
func (c *FraudDetector) CreateModelVersion(input *CreateModelVersionInput) (*CreateModelVersionOutput, error)
func (c *FraudDetector) CreateModelVersionRequest(input *CreateModelVersionInput) (req *request.Request, output *CreateModelVersionOutput)
func (c *FraudDetector) CreateModelVersionWithContext(ctx aws.Context, input *CreateModelVersionInput, opts ...request.Option) (*CreateModelVersionOutput, error)
func (c *FraudDetector) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error)
func (c *FraudDetector) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput)
func (c *FraudDetector) CreateRuleWithContext(ctx aws.Context, input *CreateRuleInput, opts ...request.Option) (*CreateRuleOutput, error)
func (c *FraudDetector) CreateVariable(input *CreateVariableInput) (*CreateVariableOutput, error)
func (c *FraudDetector) CreateVariableRequest(input *CreateVariableInput) (req *request.Request, output *CreateVariableOutput)
func (c *FraudDetector) CreateVariableWithContext(ctx aws.Context, input *CreateVariableInput, opts ...request.Option) (*CreateVariableOutput, error)
func (c *FraudDetector) DeleteDetector(input *DeleteDetectorInput) (*DeleteDetectorOutput, error)
func (c *FraudDetector) DeleteDetectorRequest(input *DeleteDetectorInput) (req *request.Request, output *DeleteDetectorOutput)
func (c *FraudDetector) DeleteDetectorVersion(input *DeleteDetectorVersionInput) (*DeleteDetectorVersionOutput, error)
func (c *FraudDetector) DeleteDetectorVersionRequest(input *DeleteDetectorVersionInput) (req *request.Request, output *DeleteDetectorVersionOutput)
func (c *FraudDetector) DeleteDetectorVersionWithContext(ctx aws.Context, input *DeleteDetectorVersionInput, opts ...request.Option) (*DeleteDetectorVersionOutput, error)
func (c *FraudDetector) DeleteDetectorWithContext(ctx aws.Context, input *DeleteDetectorInput, opts ...request.Option) (*DeleteDetectorOutput, error)
func (c *FraudDetector) DeleteEvent(input *DeleteEventInput) (*DeleteEventOutput, error)
func (c *FraudDetector) DeleteEventRequest(input *DeleteEventInput) (req *request.Request, output *DeleteEventOutput)
func (c *FraudDetector) DeleteEventWithContext(ctx aws.Context, input *DeleteEventInput, opts ...request.Option) (*DeleteEventOutput, error)
func (c *FraudDetector) DeleteRuleVersion(input *DeleteRuleVersionInput) (*DeleteRuleVersionOutput, error)
func (c *FraudDetector) DeleteRuleVersionRequest(input *DeleteRuleVersionInput) (req *request.Request, output *DeleteRuleVersionOutput)
func (c *FraudDetector) DeleteRuleVersionWithContext(ctx aws.Context, input *DeleteRuleVersionInput, opts ...request.Option) (*DeleteRuleVersionOutput, error)
func (c *FraudDetector) DescribeDetector(input *DescribeDetectorInput) (*DescribeDetectorOutput, error)
func (c *FraudDetector) DescribeDetectorRequest(input *DescribeDetectorInput) (req *request.Request, output *DescribeDetectorOutput)
func (c *FraudDetector) DescribeDetectorWithContext(ctx aws.Context, input *DescribeDetectorInput, opts ...request.Option) (*DescribeDetectorOutput, error)
func (c *FraudDetector) DescribeModelVersions(input *DescribeModelVersionsInput) (*DescribeModelVersionsOutput, error)
func (c *FraudDetector) DescribeModelVersionsPages(input *DescribeModelVersionsInput, fn func(*DescribeModelVersionsOutput, bool) bool) error
func (c *FraudDetector) DescribeModelVersionsPagesWithContext(ctx aws.Context, input *DescribeModelVersionsInput, fn func(*DescribeModelVersionsOutput, bool) bool, opts ...request.Option) error
func (c *FraudDetector) DescribeModelVersionsRequest(input *DescribeModelVersionsInput) (req *request.Request, output *DescribeModelVersionsOutput)
func (c *FraudDetector) DescribeModelVersionsWithContext(ctx aws.Context, input *DescribeModelVersionsInput, opts ...request.Option) (*DescribeModelVersionsOutput, error)
func (c *FraudDetector) GetDetectorVersion(input *GetDetectorVersionInput) (*GetDetectorVersionOutput, error)
func (c *FraudDetector) GetDetectorVersionRequest(input *GetDetectorVersionInput) (req *request.Request, output *GetDetectorVersionOutput)
func (c *FraudDetector) GetDetectorVersionWithContext(ctx aws.Context, input *GetDetectorVersionInput, opts ...request.Option) (*GetDetectorVersionOutput, error)
func (c *FraudDetector) GetDetectors(input *GetDetectorsInput) (*GetDetectorsOutput, error)
func (c *FraudDetector) GetDetectorsPages(input *GetDetectorsInput, fn func(*GetDetectorsOutput, bool) bool) error
func (c *FraudDetector) GetDetectorsPagesWithContext(ctx aws.Context, input *GetDetectorsInput, fn func(*GetDetectorsOutput, bool) bool, opts ...request.Option) error
func (c *FraudDetector) GetDetectorsRequest(input *GetDetectorsInput) (req *request.Request, output *GetDetectorsOutput)
func (c *FraudDetector) GetDetectorsWithContext(ctx aws.Context, input *GetDetectorsInput, opts ...request.Option) (*GetDetectorsOutput, error)
func (c *FraudDetector) GetExternalModels(input *GetExternalModelsInput) (*GetExternalModelsOutput, error)
func (c *FraudDetector) GetExternalModelsPages(input *GetExternalModelsInput, fn func(*GetExternalModelsOutput, bool) bool) error
func (c *FraudDetector) GetExternalModelsPagesWithContext(ctx aws.Context, input *GetExternalModelsInput, fn func(*GetExternalModelsOutput, bool) bool, opts ...request.Option) error
func (c *FraudDetector) GetExternalModelsRequest(input *GetExternalModelsInput) (req *request.Request, output *GetExternalModelsOutput)
func (c *FraudDetector) GetExternalModelsWithContext(ctx aws.Context, input *GetExternalModelsInput, opts ...request.Option) (*GetExternalModelsOutput, error)
func (c *FraudDetector) GetModelVersion(input *GetModelVersionInput) (*GetModelVersionOutput, error)
func (c *FraudDetector) GetModelVersionRequest(input *GetModelVersionInput) (req *request.Request, output *GetModelVersionOutput)
func (c *FraudDetector) GetModelVersionWithContext(ctx aws.Context, input *GetModelVersionInput, opts ...request.Option) (*GetModelVersionOutput, error)
func (c *FraudDetector) GetModels(input *GetModelsInput) (*GetModelsOutput, error)
func (c *FraudDetector) GetModelsPages(input *GetModelsInput, fn func(*GetModelsOutput, bool) bool) error
func (c *FraudDetector) GetModelsPagesWithContext(ctx aws.Context, input *GetModelsInput, fn func(*GetModelsOutput, bool) bool, opts ...request.Option) error
func (c *FraudDetector) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput)
func (c *FraudDetector) GetModelsWithContext(ctx aws.Context, input *GetModelsInput, opts ...request.Option) (*GetModelsOutput, error)
func (c *FraudDetector) GetOutcomes(input *GetOutcomesInput) (*GetOutcomesOutput, error)
func (c *FraudDetector) GetOutcomesPages(input *GetOutcomesInput, fn func(*GetOutcomesOutput, bool) bool) error
func (c *FraudDetector) GetOutcomesPagesWithContext(ctx aws.Context, input *GetOutcomesInput, fn func(*GetOutcomesOutput, bool) bool, opts ...request.Option) error
func (c *FraudDetector) GetOutcomesRequest(input *GetOutcomesInput) (req *request.Request, output *GetOutcomesOutput)
func (c *FraudDetector) GetOutcomesWithContext(ctx aws.Context, input *GetOutcomesInput, opts ...request.Option) (*GetOutcomesOutput, error)
func (c *FraudDetector) GetPrediction(input *GetPredictionInput) (*GetPredictionOutput, error)
func (c *FraudDetector) GetPredictionRequest(input *GetPredictionInput) (req *request.Request, output *GetPredictionOutput)
func (c *FraudDetector) GetPredictionWithContext(ctx aws.Context, input *GetPredictionInput, opts ...request.Option) (*GetPredictionOutput, error)
func (c *FraudDetector) GetRules(input *GetRulesInput) (*GetRulesOutput, error)
func (c *FraudDetector) GetRulesPages(input *GetRulesInput, fn func(*GetRulesOutput, bool) bool) error
func (c *FraudDetector) GetRulesPagesWithContext(ctx aws.Context, input *GetRulesInput, fn func(*GetRulesOutput, bool) bool, opts ...request.Option) error
func (c *FraudDetector) GetRulesRequest(input *GetRulesInput) (req *request.Request, output *GetRulesOutput)
func (c *FraudDetector) GetRulesWithContext(ctx aws.Context, input *GetRulesInput, opts ...request.Option) (*GetRulesOutput, error)
func (c *FraudDetector) GetVariables(input *GetVariablesInput) (*GetVariablesOutput, error)
func (c *FraudDetector) GetVariablesPages(input *GetVariablesInput, fn func(*GetVariablesOutput, bool) bool) error
func (c *FraudDetector) GetVariablesPagesWithContext(ctx aws.Context, input *GetVariablesInput, fn func(*GetVariablesOutput, bool) bool, opts ...request.Option) error
func (c *FraudDetector) GetVariablesRequest(input *GetVariablesInput) (req *request.Request, output *GetVariablesOutput)
func (c *FraudDetector) GetVariablesWithContext(ctx aws.Context, input *GetVariablesInput, opts ...request.Option) (*GetVariablesOutput, error)
func (c *FraudDetector) PutDetector(input *PutDetectorInput) (*PutDetectorOutput, error)
func (c *FraudDetector) PutDetectorRequest(input *PutDetectorInput) (req *request.Request, output *PutDetectorOutput)
func (c *FraudDetector) PutDetectorWithContext(ctx aws.Context, input *PutDetectorInput, opts ...request.Option) (*PutDetectorOutput, error)
func (c *FraudDetector) PutExternalModel(input *PutExternalModelInput) (*PutExternalModelOutput, error)
func (c *FraudDetector) PutExternalModelRequest(input *PutExternalModelInput) (req *request.Request, output *PutExternalModelOutput)
func (c *FraudDetector) PutExternalModelWithContext(ctx aws.Context, input *PutExternalModelInput, opts ...request.Option) (*PutExternalModelOutput, error)
func (c *FraudDetector) PutModel(input *PutModelInput) (*PutModelOutput, error)
func (c *FraudDetector) PutModelRequest(input *PutModelInput) (req *request.Request, output *PutModelOutput)
func (c *FraudDetector) PutModelWithContext(ctx aws.Context, input *PutModelInput, opts ...request.Option) (*PutModelOutput, error)
func (c *FraudDetector) PutOutcome(input *PutOutcomeInput) (*PutOutcomeOutput, error)
func (c *FraudDetector) PutOutcomeRequest(input *PutOutcomeInput) (req *request.Request, output *PutOutcomeOutput)
func (c *FraudDetector) PutOutcomeWithContext(ctx aws.Context, input *PutOutcomeInput, opts ...request.Option) (*PutOutcomeOutput, error)
func (c *FraudDetector) UpdateDetectorVersion(input *UpdateDetectorVersionInput) (*UpdateDetectorVersionOutput, error)
func (c *FraudDetector) UpdateDetectorVersionMetadata(input *UpdateDetectorVersionMetadataInput) (*UpdateDetectorVersionMetadataOutput, error)
func (c *FraudDetector) UpdateDetectorVersionMetadataRequest(input *UpdateDetectorVersionMetadataInput) (req *request.Request, output *UpdateDetectorVersionMetadataOutput)
func (c *FraudDetector) UpdateDetectorVersionMetadataWithContext(ctx aws.Context, input *UpdateDetectorVersionMetadataInput, opts ...request.Option) (*UpdateDetectorVersionMetadataOutput, error)
func (c *FraudDetector) UpdateDetectorVersionRequest(input *UpdateDetectorVersionInput) (req *request.Request, output *UpdateDetectorVersionOutput)
func (c *FraudDetector) UpdateDetectorVersionStatus(input *UpdateDetectorVersionStatusInput) (*UpdateDetectorVersionStatusOutput, error)
func (c *FraudDetector) UpdateDetectorVersionStatusRequest(input *UpdateDetectorVersionStatusInput) (req *request.Request, output *UpdateDetectorVersionStatusOutput)
func (c *FraudDetector) UpdateDetectorVersionStatusWithContext(ctx aws.Context, input *UpdateDetectorVersionStatusInput, opts ...request.Option) (*UpdateDetectorVersionStatusOutput, error)
func (c *FraudDetector) UpdateDetectorVersionWithContext(ctx aws.Context, input *UpdateDetectorVersionInput, opts ...request.Option) (*UpdateDetectorVersionOutput, error)
func (c *FraudDetector) UpdateModelVersion(input *UpdateModelVersionInput) (*UpdateModelVersionOutput, error)
func (c *FraudDetector) UpdateModelVersionRequest(input *UpdateModelVersionInput) (req *request.Request, output *UpdateModelVersionOutput)
func (c *FraudDetector) UpdateModelVersionWithContext(ctx aws.Context, input *UpdateModelVersionInput, opts ...request.Option) (*UpdateModelVersionOutput, error)
func (c *FraudDetector) UpdateRuleMetadata(input *UpdateRuleMetadataInput) (*UpdateRuleMetadataOutput, error)
func (c *FraudDetector) UpdateRuleMetadataRequest(input *UpdateRuleMetadataInput) (req *request.Request, output *UpdateRuleMetadataOutput)
func (c *FraudDetector) UpdateRuleMetadataWithContext(ctx aws.Context, input *UpdateRuleMetadataInput, opts ...request.Option) (*UpdateRuleMetadataOutput, error)
func (c *FraudDetector) UpdateRuleVersion(input *UpdateRuleVersionInput) (*UpdateRuleVersionOutput, error)
func (c *FraudDetector) UpdateRuleVersionRequest(input *UpdateRuleVersionInput) (req *request.Request, output *UpdateRuleVersionOutput)
func (c *FraudDetector) UpdateRuleVersionWithContext(ctx aws.Context, input *UpdateRuleVersionInput, opts ...request.Option) (*UpdateRuleVersionOutput, error)
func (c *FraudDetector) UpdateVariable(input *UpdateVariableInput) (*UpdateVariableOutput, error)
func (c *FraudDetector) UpdateVariableRequest(input *UpdateVariableInput) (req *request.Request, output *UpdateVariableOutput)
func (c *FraudDetector) UpdateVariableWithContext(ctx aws.Context, input *UpdateVariableInput, opts ...request.Option) (*UpdateVariableOutput, error)
type BatchCreateVariableError
type BatchCreateVariableInput
type BatchCreateVariableOutput
type BatchGetVariableError
type BatchGetVariableInput
type BatchGetVariableOutput
type ConflictException
type CreateDetectorVersionInput
type CreateDetectorVersionOutput
type CreateModelVersionInput
type CreateModelVersionOutput
type CreateRuleInput
type CreateRuleOutput
type CreateVariableInput
type CreateVariableOutput
type DeleteDetectorInput
type DeleteDetectorOutput
type DeleteDetectorVersionInput
type DeleteDetectorVersionOutput
type DeleteEventInput
type DeleteEventOutput
type DeleteRuleVersionInput
type DeleteRuleVersionOutput
type DescribeDetectorInput
type DescribeDetectorOutput
type DescribeModelVersionsInput
type DescribeModelVersionsOutput
type Detector
type DetectorVersionSummary
type ExternalModel
type GetDetectorVersionInput
type GetDetectorVersionOutput
type GetDetectorsInput
type GetDetectorsOutput
type GetExternalModelsInput
type GetExternalModelsOutput
type GetModelVersionInput
type GetModelVersionOutput
type GetModelsInput
type GetModelsOutput
type GetOutcomesInput
type GetOutcomesOutput
type GetPredictionInput
type GetPredictionOutput
type GetRulesInput
type GetRulesOutput
type GetVariablesInput
type GetVariablesOutput
type InternalServerException
type LabelSchema
type Model
type ModelEndpointDataBlob
type ModelInputConfiguration
type ModelOutputConfiguration
type ModelScores
type ModelVariable
type ModelVersion
type ModelVersionDetail
type Outcome
type PutDetectorInput
type PutDetectorOutput
type PutExternalModelInput
type PutExternalModelOutput
type PutModelInput
type PutModelOutput
type PutOutcomeInput
type PutOutcomeOutput
type ResourceNotFoundException
type Role
type Rule
type RuleDetail
type RuleResult
type ThrottlingException
type TrainingDataSource
type UpdateDetectorVersionInput
type UpdateDetectorVersionMetadataInput
type UpdateDetectorVersionMetadataOutput
type UpdateDetectorVersionOutput
type UpdateDetectorVersionStatusInput
type UpdateDetectorVersionStatusOutput
type UpdateModelVersionInput
type UpdateModelVersionOutput
type UpdateRuleMetadataInput
type UpdateRuleMetadataOutput
type UpdateRuleVersionInput
type UpdateRuleVersionOutput
type UpdateVariableInput
type UpdateVariableOutput
type ValidationException
type Variable
type VariableEntry

Constants ▾

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"
)
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"
)
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"
)
const (
    // ModelEndpointStatusAssociated is a ModelEndpointStatus enum value
    ModelEndpointStatusAssociated = "ASSOCIATED"

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

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

    // ModelOutputDataFormatApplicationJsonlines is a ModelOutputDataFormat enum value
    ModelOutputDataFormatApplicationJsonlines = "APPLICATION_JSONLINES"
)
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"

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

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

    // 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.
    //
    //    * DeleteRuleVersion: 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"
)
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

const (
    // LanguageDetectorpl is a Language enum value
    LanguageDetectorpl = "DETECTORPL"
)
const (
    // ModelSourceSagemaker is a ModelSource enum value
    ModelSourceSagemaker = "SAGEMAKER"
)
const (
    // ModelTypeEnumOnlineFraudInsights is a ModelTypeEnum enum value
    ModelTypeEnumOnlineFraudInsights = "ONLINE_FRAUD_INSIGHTS"
)

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

func (s *BatchCreateVariableError) SetCode(v int64) *BatchCreateVariableError

SetCode sets the Code field's value.

func (*BatchCreateVariableError) SetMessage

func (s *BatchCreateVariableError) SetMessage(v string) *BatchCreateVariableError

SetMessage sets the Message field's value.

func (*BatchCreateVariableError) SetName

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

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 {

    // 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) SetVariableEntries

func (s *BatchCreateVariableInput) SetVariableEntries(v []*VariableEntry) *BatchCreateVariableInput

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

func (s *BatchCreateVariableOutput) SetErrors(v []*BatchCreateVariableError) *BatchCreateVariableOutput

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

func (s *BatchGetVariableError) SetCode(v int64) *BatchGetVariableError

SetCode sets the Code field's value.

func (*BatchGetVariableError) SetMessage

func (s *BatchGetVariableError) SetMessage(v string) *BatchGetVariableError

SetMessage sets the Message field's value.

func (*BatchGetVariableError) SetName

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

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

func (s *BatchGetVariableInput) SetNames(v []*string) *BatchGetVariableInput

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

func (s *BatchGetVariableOutput) SetErrors(v []*BatchGetVariableError) *BatchGetVariableOutput

SetErrors sets the Errors field's value.

func (*BatchGetVariableOutput) SetVariables

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

SetVariables sets the Variables field's value.

func (BatchGetVariableOutput) String

func (s BatchGetVariableOutput) String() string

String returns the string representation

type ConflictException

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.

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

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

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

func (CreateDetectorVersionInput) GoString

func (s CreateDetectorVersionInput) GoString() string

GoString returns the string representation

func (*CreateDetectorVersionInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateDetectorVersionInput) SetDetectorId

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

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

func (s *CreateDetectorVersionInput) SetModelVersions(v []*ModelVersion) *CreateDetectorVersionInput

SetModelVersions sets the ModelVersions field's value.

func (*CreateDetectorVersionInput) SetRuleExecutionMode

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

SetRuleExecutionMode sets the RuleExecutionMode field's value.

func (*CreateDetectorVersionInput) SetRules

func (s *CreateDetectorVersionInput) SetRules(v []*Rule) *CreateDetectorVersionInput

SetRules sets the Rules field's value.

func (CreateDetectorVersionInput) String

func (s CreateDetectorVersionInput) String() 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

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

SetDetectorId sets the DetectorId field's value.

func (*CreateDetectorVersionOutput) SetDetectorVersionId

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*CreateDetectorVersionOutput) SetStatus

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

SetStatus sets the Status field's value.

func (CreateDetectorVersionOutput) String

func (s CreateDetectorVersionOutput) String() string

String returns the string representation

type CreateModelVersionInput

type CreateModelVersionInput struct {

    // The model version 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 (CreateModelVersionInput) GoString

func (s CreateModelVersionInput) GoString() string

GoString returns the string representation

func (*CreateModelVersionInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateModelVersionInput) SetModelId

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

SetModelId sets the ModelId field's value.

func (*CreateModelVersionInput) SetModelType

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

SetModelType sets the ModelType 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 version of the model.
    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

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

SetModelId sets the ModelId field's value.

func (*CreateModelVersionOutput) SetModelType

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

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

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

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

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

    // The variable type.
    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

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

SetName sets the Name 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 DeleteDetectorInput

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

func (s DeleteDetectorInput) GoString() string

GoString returns the string representation

func (*DeleteDetectorInput) SetDetectorId

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

SetDetectorId sets the DetectorId field's value.

func (DeleteDetectorInput) String

func (s DeleteDetectorInput) String() string

String returns the string representation

func (*DeleteDetectorInput) Validate

func (s *DeleteDetectorInput) Validate() error

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

type DeleteDetectorOutput

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

func (DeleteDetectorOutput) GoString

func (s DeleteDetectorOutput) GoString() string

GoString returns the string representation

func (DeleteDetectorOutput) String

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" min:"1" 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

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

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

func (s DeleteDetectorVersionInput) String() 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

func (s DeleteDetectorVersionOutput) String() 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"`
    // 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) 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 DeleteRuleVersionInput

type DeleteRuleVersionInput struct {

    // The ID of the detector that includes the rule version to delete.
    //
    // DetectorId is a required field
    DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

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

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

func (DeleteRuleVersionInput) GoString

func (s DeleteRuleVersionInput) GoString() string

GoString returns the string representation

func (*DeleteRuleVersionInput) SetDetectorId

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

SetDetectorId sets the DetectorId field's value.

func (*DeleteRuleVersionInput) SetRuleId

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

SetRuleId sets the RuleId field's value.

func (*DeleteRuleVersionInput) SetRuleVersion

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

SetRuleVersion sets the RuleVersion field's value.

func (DeleteRuleVersionInput) String

func (s DeleteRuleVersionInput) String() string

String returns the string representation

func (*DeleteRuleVersionInput) Validate

func (s *DeleteRuleVersionInput) Validate() error

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

type DeleteRuleVersionOutput

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

func (DeleteRuleVersionOutput) GoString

func (s DeleteRuleVersionOutput) GoString() string

GoString returns the string representation

func (DeleteRuleVersionOutput) String

func (s DeleteRuleVersionOutput) 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

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

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 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) SetDetectorId

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

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

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

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.
    ModelVersionNumber *string `locationName:"modelVersionNumber" min:"1" 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

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

SetMaxResults sets the MaxResults field's value.

func (*DescribeModelVersionsInput) SetModelId

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

SetModelId sets the ModelId field's value.

func (*DescribeModelVersionsInput) SetModelType

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

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

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

SetNextToken sets the NextToken field's value.

func (DescribeModelVersionsInput) String

func (s DescribeModelVersionsInput) String() 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

func (s *DescribeModelVersionsOutput) SetModelVersionDetails(v []*ModelVersionDetail) *DescribeModelVersionsOutput

SetModelVersionDetails sets the ModelVersionDetails field's value.

func (*DescribeModelVersionsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (DescribeModelVersionsOutput) String

func (s DescribeModelVersionsOutput) String() string

String returns the string representation

type Detector

type Detector struct {

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

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

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

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

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

SetStatus sets the Status field's value.

func (DetectorVersionSummary) String

func (s DetectorVersionSummary) String() string

String returns the string representation

type ExternalModel

type ExternalModel struct {

    // Timestamp of when the model was last created.
    CreatedTime *string `locationName:"createdTime" 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) SetCreatedTime

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

SetCreatedTime sets the CreatedTime 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 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.

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.

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.

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) 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.

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.

* InternalServerException
An exception indicating an internal server error.

* ThrottlingException
An exception indicating a throttling 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) 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.

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.

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

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.

   * DeleteRuleVersion: 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.

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

func (*FraudDetector) DeleteDetectorRequest

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.

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

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

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.

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) DeleteRuleVersion

func (c *FraudDetector) DeleteRuleVersion(input *DeleteRuleVersionInput) (*DeleteRuleVersionOutput, error)

DeleteRuleVersion API operation for Amazon Fraud Detector.

Deletes the rule version. You cannot delete a rule version 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 DeleteRuleVersion 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.

   * DeleteRuleVersion: 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.

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

func (*FraudDetector) DeleteRuleVersionRequest

func (c *FraudDetector) DeleteRuleVersionRequest(input *DeleteRuleVersionInput) (req *request.Request, output *DeleteRuleVersionOutput)

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

func (*FraudDetector) DeleteRuleVersionWithContext

func (c *FraudDetector) DeleteRuleVersionWithContext(ctx aws.Context, input *DeleteRuleVersionInput, opts ...request.Option) (*DeleteRuleVersionOutput, error)

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

See DeleteRuleVersion 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.

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.

* ThrottlingException
An exception indicating a throttling error.

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.

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 of detectors. This is a paginated API. If you provide a null maxSizePerPage, this actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage, 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 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.

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) 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 maxSizePerPage, this actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage, 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.

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) GetModelVersion

func (c *FraudDetector) GetModelVersion(input *GetModelVersionInput) (*GetModelVersionOutput, error)

GetModelVersion API operation for Amazon Fraud Detector.

Gets a model version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Fraud Detector's API operation GetModelVersion for usage and error information.

Returned Error Types:

* ValidationException
An exception indicating a specified value is not allowed.

* ResourceNotFoundException
An exception indicating the specified resource was not found.

* InternalServerException
An exception indicating an internal server error.

* ThrottlingException
An exception indicating a throttling error.

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 all of the models for the AWS account, or the specified model type, or gets a single model for the specified model type, model ID combination.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Fraud Detector's API operation GetModels for usage and error information.

Returned Error Types:

* ValidationException
An exception indicating a specified value is not allowed.

* ResourceNotFoundException
An exception indicating the specified resource was not found.

* InternalServerException
An exception indicating an internal server error.

* ThrottlingException
An exception indicating a throttling error.

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 maxSizePerPage, this actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage, 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.

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.

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.

Gets all rules available for 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 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.

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.

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) 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.

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) 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.

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) PutModel

func (c *FraudDetector) PutModel(input *PutModelInput) (*PutModelOutput, error)

PutModel API operation for Amazon Fraud Detector.

Creates or updates a model.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Fraud Detector's API operation PutModel 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.

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

func (*FraudDetector) PutModelRequest

func (c *FraudDetector) PutModelRequest(input *PutModelInput) (req *request.Request, output *PutModelOutput)

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

func (*FraudDetector) PutModelWithContext

func (c *FraudDetector) PutModelWithContext(ctx aws.Context, input *PutModelInput, opts ...request.Option) (*PutModelOutput, error)

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

See PutModel 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.

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) 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, 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.

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

func (*FraudDetector) UpdateDetectorVersionMetadata

func (c *FraudDetector) UpdateDetectorVersionMetadata(input *UpdateDetectorVersionMetadataInput) (*UpdateDetectorVersionMetadataOutput, error)

UpdateDetectorVersionMetadata API operation for Amazon Fraud Detector.

Updates the detector version's description. You can update the metadata for any detector version (DRAFT, ACTIVE, or INACTIVE).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateDetectorVersionMetadata for usage and error information.

Returned Error Types:

* ValidationException
An exception indicating a specified value is not allowed.

* InternalServerException
An exception indicating an internal server error.

* ThrottlingException
An exception indicating a throttling error.

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

func (c *FraudDetector) UpdateDetectorVersionStatus(input *UpdateDetectorVersionStatusInput) (*UpdateDetectorVersionStatusOutput, error)

UpdateDetectorVersionStatus API operation for Amazon Fraud Detector.

Updates the detector version’s status. You can perform the following promotions or demotions using UpdateDetectorVersionStatus: DRAFT to ACTIVE, ACTIVE to INACTIVE, and INACTIVE to ACTIVE.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Fraud Detector's API operation UpdateDetectorVersionStatus for usage and error information.

Returned Error Types:

* ValidationException
An exception indicating a specified value is not allowed.

* ResourceNotFoundException
An exception indicating the specified resource was not found.

* InternalServerException
An exception indicating an internal server error.

* ThrottlingException
An exception indicating a throttling error.

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) UpdateModelVersion

func (c *FraudDetector) UpdateModelVersion(input *UpdateModelVersionInput) (*UpdateModelVersionOutput, error)

UpdateModelVersion API operation for Amazon Fraud Detector.

Updates a model version. You can update the description and status attributes using this action. You can perform the following status updates:

Change the TRAINING_COMPLETE status to ACTIVE

Change ACTIVE back to TRAINING_COMPLETE

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.

* InternalServerException
An exception indicating an internal server error.

* ThrottlingException
An exception indicating a throttling 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) 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) UpdateRuleMetadata

func (c *FraudDetector) UpdateRuleMetadata(input *UpdateRuleMetadataInput) (*UpdateRuleMetadataOutput, error)

UpdateRuleMetadata API operation for Amazon Fraud Detector.

Updates a rule's metadata.

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.

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.

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.

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.

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" min:"1" 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

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

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

    // The Amazon SageMaker model endpoints included in the detector version.
    ExternalModelEndpoints []*string `locationName:"externalModelEndpoints" type:"list"`

    // The timestamp when the detector version was last updated.
    LastUpdatedTime *string `locationName:"lastUpdatedTime" 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) SetCreatedTime

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

SetCreatedTime sets the CreatedTime field's value.

func (*GetDetectorVersionOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*GetDetectorVersionOutput) SetDetectorId

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

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

func (s *GetDetectorVersionOutput) SetModelVersions(v []*ModelVersion) *GetDetectorVersionOutput

SetModelVersions sets the ModelVersions field's value.

func (*GetDetectorVersionOutput) SetRuleExecutionMode

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

SetRuleExecutionMode sets the RuleExecutionMode field's value.

func (*GetDetectorVersionOutput) SetRules

func (s *GetDetectorVersionOutput) SetRules(v []*Rule) *GetDetectorVersionOutput

SetRules sets the Rules field's value.

func (*GetDetectorVersionOutput) SetStatus

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

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

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

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

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

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

func (s *GetExternalModelsOutput) SetExternalModels(v []*ExternalModel) *GetExternalModelsOutput

SetExternalModels sets the ExternalModels field's value.

func (*GetExternalModelsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetExternalModelsOutput) String

func (s GetExternalModelsOutput) 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.
    //
    // ModelVersionNumber is a required field
    ModelVersionNumber *string `locationName:"modelVersionNumber" min:"1" 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

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

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 description.
    Description *string `locationName:"description" min:"1" 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.
    ModelVersionNumber *string `locationName:"modelVersionNumber" min:"1" type:"string"`

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

func (GetModelVersionOutput) GoString

func (s GetModelVersionOutput) GoString() string

GoString returns the string representation

func (*GetModelVersionOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*GetModelVersionOutput) SetModelId

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

SetModelId sets the ModelId field's value.

func (*GetModelVersionOutput) SetModelType

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

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

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

SetStatus sets the Status field's value.

func (GetModelVersionOutput) String

func (s GetModelVersionOutput) String() string

String returns the string representation

type GetModelsInput

type GetModelsInput struct {

    // The maximum results 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 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 returned models.
    Models []*Model `locationName:"models" type:"list"`

    // The next token for 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

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" min:"1" 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

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

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

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

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation

type LabelSchema

type LabelSchema struct {

    // The label key.
    //
    // LabelKey is a required field
    LabelKey *string `locationName:"labelKey" type:"string" required:"true"`

    // The label mapper maps the Amazon Fraud Detector supported label to the appropriate
    // source 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 variants 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) SetLabelKey

func (s *LabelSchema) SetLabelKey(v string) *LabelSchema

SetLabelKey sets the LabelKey field's value.

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 Model

type Model struct {

    // 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 model label schema.
    LabelSchema *LabelSchema `locationName:"labelSchema" type:"structure"`

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

    // The model input variables.
    ModelVariables []*ModelVariable `locationName:"modelVariables" type:"list"`

    // The model training data source in Amazon S3.
    TrainingDataSource *TrainingDataSource `locationName:"trainingDataSource" type:"structure"`
    // contains filtered or unexported fields
}

The model.

func (Model) GoString

func (s Model) GoString() string

GoString returns the string representation

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) SetLabelSchema

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

SetLabelSchema sets the LabelSchema 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) SetModelVariables

func (s *Model) SetModelVariables(v []*ModelVariable) *Model

SetModelVariables sets the ModelVariables field's value.

func (*Model) SetTrainingDataSource

func (s *Model) SetTrainingDataSource(v *TrainingDataSource) *Model

SetTrainingDataSource sets the TrainingDataSource 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"`

    // For an opaque-model, the input to the model will be a ByteBuffer blob provided
    // in the getPrediction request, and will be passed to SageMaker as-is. For
    // non-opaque models, the input will be constructed by Amazon Fraud Detector
    // based on the model-configuration.
    //
    // IsOpaque is a required field
    IsOpaque *bool `locationName:"isOpaque" type:"boolean" required:"true"`

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

The 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

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

SetFormat sets the Format field's value.

func (*ModelInputConfiguration) SetIsOpaque

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

SetIsOpaque sets the IsOpaque field's value.

func (*ModelInputConfiguration) SetJsonInputTemplate

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

SetJsonInputTemplate sets the JsonInputTemplate 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 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

func (s *ModelOutputConfiguration) SetFormat(v string) *ModelOutputConfiguration

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 ModelVariable

type ModelVariable struct {

    // The model variable's index.>
    Index *int64 `locationName:"index" type:"integer"`

    // The model variable's name.>
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The model variable.>

func (ModelVariable) GoString

func (s ModelVariable) GoString() string

GoString returns the string representation

func (*ModelVariable) SetIndex

func (s *ModelVariable) SetIndex(v int64) *ModelVariable

SetIndex sets the Index field's value.

func (*ModelVariable) SetName

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

SetName sets the Name field's value.

func (ModelVariable) String

func (s ModelVariable) String() string

String returns the string representation

func (*ModelVariable) Validate

func (s *ModelVariable) Validate() error

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

type ModelVersion

type ModelVersion struct {

    // The parent 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.
    //
    // 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) 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 timestamp when the model was created.
    CreatedTime *string `locationName:"createdTime" type:"string"`

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

    // The model label schema.
    LabelSchema *LabelSchema `locationName:"labelSchema" 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 variables.
    ModelVariables []*ModelVariable `locationName:"modelVariables" type:"list"`

    // The model version.
    ModelVersionNumber *string `locationName:"modelVersionNumber" min:"1" type:"string"`

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

    // The model training data source.
    TrainingDataSource *TrainingDataSource `locationName:"trainingDataSource" type:"structure"`

    // The model training metrics.
    TrainingMetrics map[string]*string `locationName:"trainingMetrics" type:"map"`

    // The model validation metrics.
    ValidationMetrics map[string]*string `locationName:"validationMetrics" type:"map"`
    // contains filtered or unexported fields
}

Provides the model version details.

func (ModelVersionDetail) GoString

func (s ModelVersionDetail) GoString() string

GoString returns the string representation

func (*ModelVersionDetail) SetCreatedTime

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

SetCreatedTime sets the CreatedTime field's value.

func (*ModelVersionDetail) SetDescription

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

SetDescription sets the Description field's value.

func (*ModelVersionDetail) SetLabelSchema

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

SetLabelSchema sets the LabelSchema 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) SetModelVariables

func (s *ModelVersionDetail) SetModelVariables(v []*ModelVariable) *ModelVersionDetail

SetModelVariables sets the ModelVariables 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) SetTrainingDataSource

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

SetTrainingDataSource sets the TrainingDataSource field's value.

func (*ModelVersionDetail) SetTrainingMetrics

func (s *ModelVersionDetail) SetTrainingMetrics(v map[string]*string) *ModelVersionDetail

SetTrainingMetrics sets the TrainingMetrics field's value.

func (*ModelVersionDetail) SetValidationMetrics

func (s *ModelVersionDetail) SetValidationMetrics(v map[string]*string) *ModelVersionDetail

SetValidationMetrics sets the ValidationMetrics field's value.

func (ModelVersionDetail) String

func (s ModelVersionDetail) String() string

String returns the string representation

type Outcome

type Outcome struct {

    // 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) 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"`
    // 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) 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 PutExternalModelInput

type PutExternalModelInput struct {

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

func (PutExternalModelInput) GoString

func (s PutExternalModelInput) GoString() string

GoString returns the string representation

func (*PutExternalModelInput) SetInputConfiguration

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

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

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

SetOutputConfiguration sets the OutputConfiguration field's value.

func (*PutExternalModelInput) SetRole

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

SetRole sets the Role 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 PutModelInput

type PutModelInput struct {

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

    // The label schema.
    //
    // LabelSchema is a required field
    LabelSchema *LabelSchema `locationName:"labelSchema" type:"structure" 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"`

    // The model input variables.
    //
    // ModelVariables is a required field
    ModelVariables []*ModelVariable `locationName:"modelVariables" type:"list" required:"true"`

    // The training data source location in Amazon S3.
    //
    // TrainingDataSource is a required field
    TrainingDataSource *TrainingDataSource `locationName:"trainingDataSource" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (PutModelInput) GoString

func (s PutModelInput) GoString() string

GoString returns the string representation

func (*PutModelInput) SetDescription

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

SetDescription sets the Description field's value.

func (*PutModelInput) SetLabelSchema

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

SetLabelSchema sets the LabelSchema field's value.

func (*PutModelInput) SetModelId

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

SetModelId sets the ModelId field's value.

func (*PutModelInput) SetModelType

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

SetModelType sets the ModelType field's value.

func (*PutModelInput) SetModelVariables

func (s *PutModelInput) SetModelVariables(v []*ModelVariable) *PutModelInput

SetModelVariables sets the ModelVariables field's value.

func (*PutModelInput) SetTrainingDataSource

func (s *PutModelInput) SetTrainingDataSource(v *TrainingDataSource) *PutModelInput

SetTrainingDataSource sets the TrainingDataSource field's value.

func (PutModelInput) String

func (s PutModelInput) String() string

String returns the string representation

func (*PutModelInput) Validate

func (s *PutModelInput) Validate() error

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

type PutModelOutput

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

func (PutModelOutput) GoString

func (s PutModelOutput) GoString() string

GoString returns the string representation

func (PutModelOutput) String

func (s PutModelOutput) 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"`
    // 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) 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

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

func (s *ResourceNotFoundException) Code() string

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

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

    // 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" min:"1" 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) 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

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

func (s RuleResult) GoString() string

GoString returns the string representation

func (*RuleResult) SetOutcomes

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

SetOutcomes sets the Outcomes field's value.

func (*RuleResult) SetRuleId

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

SetRuleId sets the RuleId field's value.

func (RuleResult) String

func (s RuleResult) String() string

String returns the string representation

type ThrottlingException

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

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation

type TrainingDataSource

type TrainingDataSource struct {

    // The data access role ARN for the training data source.
    //
    // DataAccessRoleArn is a required field
    DataAccessRoleArn *string `locationName:"dataAccessRoleArn" min:"1" type:"string" required:"true"`

    // The data location of the training data source.
    //
    // DataLocation is a required field
    DataLocation *string `locationName:"dataLocation" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The training data source.

func (TrainingDataSource) GoString

func (s TrainingDataSource) GoString() string

GoString returns the string representation

func (*TrainingDataSource) SetDataAccessRoleArn

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

SetDataAccessRoleArn sets the DataAccessRoleArn field's value.

func (*TrainingDataSource) SetDataLocation

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

SetDataLocation sets the DataLocation field's value.

func (TrainingDataSource) String

func (s TrainingDataSource) String() string

String returns the string representation

func (*TrainingDataSource) Validate

func (s *TrainingDataSource) Validate() error

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

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" min:"1" 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

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

SetDescription sets the Description field's value.

func (*UpdateDetectorVersionInput) SetDetectorId

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

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

func (s *UpdateDetectorVersionInput) SetModelVersions(v []*ModelVersion) *UpdateDetectorVersionInput

SetModelVersions sets the ModelVersions field's value.

func (*UpdateDetectorVersionInput) SetRuleExecutionMode

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

SetRuleExecutionMode sets the RuleExecutionMode field's value.

func (*UpdateDetectorVersionInput) SetRules

func (s *UpdateDetectorVersionInput) SetRules(v []*Rule) *UpdateDetectorVersionInput

SetRules sets the Rules field's value.

func (UpdateDetectorVersionInput) String

func (s UpdateDetectorVersionInput) String() 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" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateDetectorVersionMetadataInput) GoString

func (s UpdateDetectorVersionMetadataInput) GoString() string

GoString returns the string representation

func (*UpdateDetectorVersionMetadataInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateDetectorVersionMetadataInput) SetDetectorId

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

SetDetectorId sets the DetectorId field's value.

func (*UpdateDetectorVersionMetadataInput) SetDetectorVersionId

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (UpdateDetectorVersionMetadataInput) String

func (s UpdateDetectorVersionMetadataInput) String() string

String returns the string representation

func (*UpdateDetectorVersionMetadataInput) Validate

func (s *UpdateDetectorVersionMetadataInput) Validate() error

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

func (s UpdateDetectorVersionMetadataOutput) GoString() string

GoString returns the string representation

func (UpdateDetectorVersionMetadataOutput) String

func (s UpdateDetectorVersionMetadataOutput) String() 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

func (s UpdateDetectorVersionOutput) String() 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" min:"1" 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

func (s UpdateDetectorVersionStatusInput) GoString() string

GoString returns the string representation

func (*UpdateDetectorVersionStatusInput) SetDetectorId

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

SetDetectorId sets the DetectorId field's value.

func (*UpdateDetectorVersionStatusInput) SetDetectorVersionId

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*UpdateDetectorVersionStatusInput) SetStatus

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

SetStatus sets the Status field's value.

func (UpdateDetectorVersionStatusInput) String

func (s UpdateDetectorVersionStatusInput) String() string

String returns the string representation

func (*UpdateDetectorVersionStatusInput) Validate

func (s *UpdateDetectorVersionStatusInput) Validate() error

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

func (s UpdateDetectorVersionStatusOutput) GoString() string

GoString returns the string representation

func (UpdateDetectorVersionStatusOutput) String

func (s UpdateDetectorVersionStatusOutput) String() string

String returns the string representation

type UpdateModelVersionInput

type UpdateModelVersionInput struct {

    // The model description.
    //
    // Description is a required field
    Description *string `locationName:"description" min:"1" 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"`

    // The model version.
    //
    // ModelVersionNumber is a required field
    ModelVersionNumber *string `locationName:"modelVersionNumber" min:"1" type:"string" required:"true"`

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

func (UpdateModelVersionInput) GoString

func (s UpdateModelVersionInput) GoString() string

GoString returns the string representation

func (*UpdateModelVersionInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateModelVersionInput) SetModelId

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

SetModelId sets the ModelId field's value.

func (*UpdateModelVersionInput) SetModelType

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

SetModelType sets the ModelType field's value.

func (*UpdateModelVersionInput) SetModelVersionNumber

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

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*UpdateModelVersionInput) SetStatus

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

SetStatus sets the Status 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 {
    // contains filtered or unexported fields
}

func (UpdateModelVersionOutput) GoString

func (s UpdateModelVersionOutput) GoString() string

GoString returns the string representation

func (UpdateModelVersionOutput) String

func (s UpdateModelVersionOutput) String() string

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

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

SetDescription sets the Description field's value.

func (*UpdateRuleMetadataInput) SetRule

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

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

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

func (UpdateRuleVersionInput) GoString

func (s UpdateRuleVersionInput) GoString() string

GoString returns the string representation

func (*UpdateRuleVersionInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateRuleVersionInput) SetExpression

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

SetExpression sets the Expression field's value.

func (*UpdateRuleVersionInput) SetLanguage

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

SetLanguage sets the Language field's value.

func (*UpdateRuleVersionInput) SetOutcomes

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

SetOutcomes sets the Outcomes field's value.

func (*UpdateRuleVersionInput) SetRule

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

SetRule sets the Rule 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

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

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

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

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

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

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation

type Variable

type Variable struct {

    // 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.
    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) 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 entry.
    DataSource *string `locationName:"dataSource" type:"string"`

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

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

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

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

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

The variable entry in a list.

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