aws-sdk-go: github.com/aws/aws-sdk-go/service/frauddetector Index | Files | Directories

package frauddetector

import "github.com/aws/aws-sdk-go/service/frauddetector"

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

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

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

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

Using the Client

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

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

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

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

Index

Package Files

api.go doc.go errors.go service.go

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 (

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

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 Uses

func (s BatchCreateVariableError) GoString() string

GoString returns the string representation

func (*BatchCreateVariableError) SetCode Uses

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

SetCode sets the Code field's value.

func (*BatchCreateVariableError) SetMessage Uses

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

SetMessage sets the Message field's value.

func (*BatchCreateVariableError) SetName Uses

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

SetName sets the Name field's value.

func (BatchCreateVariableError) String Uses

func (s BatchCreateVariableError) String() string

String returns the string representation

type BatchCreateVariableInput Uses

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 Uses

func (s BatchCreateVariableInput) GoString() string

GoString returns the string representation

func (*BatchCreateVariableInput) SetVariableEntries Uses

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

SetVariableEntries sets the VariableEntries field's value.

func (BatchCreateVariableInput) String Uses

func (s BatchCreateVariableInput) String() string

String returns the string representation

func (*BatchCreateVariableInput) Validate Uses

func (s *BatchCreateVariableInput) Validate() error

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

type BatchCreateVariableOutput Uses

type BatchCreateVariableOutput struct {

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

func (BatchCreateVariableOutput) GoString Uses

func (s BatchCreateVariableOutput) GoString() string

GoString returns the string representation

func (*BatchCreateVariableOutput) SetErrors Uses

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

SetErrors sets the Errors field's value.

func (BatchCreateVariableOutput) String Uses

func (s BatchCreateVariableOutput) String() string

String returns the string representation

type BatchGetVariableError Uses

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 Uses

func (s BatchGetVariableError) GoString() string

GoString returns the string representation

func (*BatchGetVariableError) SetCode Uses

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

SetCode sets the Code field's value.

func (*BatchGetVariableError) SetMessage Uses

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

SetMessage sets the Message field's value.

func (*BatchGetVariableError) SetName Uses

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

SetName sets the Name field's value.

func (BatchGetVariableError) String Uses

func (s BatchGetVariableError) String() string

String returns the string representation

type BatchGetVariableInput Uses

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 Uses

func (s BatchGetVariableInput) GoString() string

GoString returns the string representation

func (*BatchGetVariableInput) SetNames Uses

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

SetNames sets the Names field's value.

func (BatchGetVariableInput) String Uses

func (s BatchGetVariableInput) String() string

String returns the string representation

func (*BatchGetVariableInput) Validate Uses

func (s *BatchGetVariableInput) Validate() error

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

type BatchGetVariableOutput Uses

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 Uses

func (s BatchGetVariableOutput) GoString() string

GoString returns the string representation

func (*BatchGetVariableOutput) SetErrors Uses

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

SetErrors sets the Errors field's value.

func (*BatchGetVariableOutput) SetVariables Uses

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

SetVariables sets the Variables field's value.

func (BatchGetVariableOutput) String Uses

func (s BatchGetVariableOutput) String() string

String returns the string representation

type CreateDetectorVersionInput Uses

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

func (s CreateDetectorVersionInput) GoString() string

GoString returns the string representation

func (*CreateDetectorVersionInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateDetectorVersionInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*CreateDetectorVersionInput) SetExternalModelEndpoints Uses

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

SetExternalModelEndpoints sets the ExternalModelEndpoints field's value.

func (*CreateDetectorVersionInput) SetModelVersions Uses

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

SetModelVersions sets the ModelVersions field's value.

func (*CreateDetectorVersionInput) SetRules Uses

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

SetRules sets the Rules field's value.

func (CreateDetectorVersionInput) String Uses

func (s CreateDetectorVersionInput) String() string

String returns the string representation

func (*CreateDetectorVersionInput) Validate Uses

func (s *CreateDetectorVersionInput) Validate() error

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

type CreateDetectorVersionOutput Uses

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 Uses

func (s CreateDetectorVersionOutput) GoString() string

GoString returns the string representation

func (*CreateDetectorVersionOutput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*CreateDetectorVersionOutput) SetDetectorVersionId Uses

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*CreateDetectorVersionOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (CreateDetectorVersionOutput) String Uses

func (s CreateDetectorVersionOutput) String() string

String returns the string representation

type CreateModelVersionInput Uses

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 Uses

func (s CreateModelVersionInput) GoString() string

GoString returns the string representation

func (*CreateModelVersionInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateModelVersionInput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*CreateModelVersionInput) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (CreateModelVersionInput) String Uses

func (s CreateModelVersionInput) String() string

String returns the string representation

func (*CreateModelVersionInput) Validate Uses

func (s *CreateModelVersionInput) Validate() error

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

type CreateModelVersionOutput Uses

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 Uses

func (s CreateModelVersionOutput) GoString() string

GoString returns the string representation

func (*CreateModelVersionOutput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*CreateModelVersionOutput) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*CreateModelVersionOutput) SetModelVersionNumber Uses

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

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*CreateModelVersionOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (CreateModelVersionOutput) String Uses

func (s CreateModelVersionOutput) String() string

String returns the string representation

type CreateRuleInput Uses

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 Uses

func (s CreateRuleInput) GoString() string

GoString returns the string representation

func (*CreateRuleInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateRuleInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*CreateRuleInput) SetExpression Uses

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

SetExpression sets the Expression field's value.

func (*CreateRuleInput) SetLanguage Uses

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

SetLanguage sets the Language field's value.

func (*CreateRuleInput) SetOutcomes Uses

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

SetOutcomes sets the Outcomes field's value.

func (*CreateRuleInput) SetRuleId Uses

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

SetRuleId sets the RuleId field's value.

func (CreateRuleInput) String Uses

func (s CreateRuleInput) String() string

String returns the string representation

func (*CreateRuleInput) Validate Uses

func (s *CreateRuleInput) Validate() error

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

type CreateRuleOutput Uses

type CreateRuleOutput struct {

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

func (CreateRuleOutput) GoString Uses

func (s CreateRuleOutput) GoString() string

GoString returns the string representation

func (*CreateRuleOutput) SetRule Uses

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

SetRule sets the Rule field's value.

func (CreateRuleOutput) String Uses

func (s CreateRuleOutput) String() string

String returns the string representation

type CreateVariableInput Uses

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 Uses

func (s CreateVariableInput) GoString() string

GoString returns the string representation

func (*CreateVariableInput) SetDataSource Uses

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

SetDataSource sets the DataSource field's value.

func (*CreateVariableInput) SetDataType Uses

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

SetDataType sets the DataType field's value.

func (*CreateVariableInput) SetDefaultValue Uses

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

SetDefaultValue sets the DefaultValue field's value.

func (*CreateVariableInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateVariableInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateVariableInput) SetVariableType Uses

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

SetVariableType sets the VariableType field's value.

func (CreateVariableInput) String Uses

func (s CreateVariableInput) String() string

String returns the string representation

func (*CreateVariableInput) Validate Uses

func (s *CreateVariableInput) Validate() error

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

type CreateVariableOutput Uses

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

func (CreateVariableOutput) GoString Uses

func (s CreateVariableOutput) GoString() string

GoString returns the string representation

func (CreateVariableOutput) String Uses

func (s CreateVariableOutput) String() string

String returns the string representation

type DeleteDetectorVersionInput Uses

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 Uses

func (s DeleteDetectorVersionInput) GoString() string

GoString returns the string representation

func (*DeleteDetectorVersionInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*DeleteDetectorVersionInput) SetDetectorVersionId Uses

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (DeleteDetectorVersionInput) String Uses

func (s DeleteDetectorVersionInput) String() string

String returns the string representation

func (*DeleteDetectorVersionInput) Validate Uses

func (s *DeleteDetectorVersionInput) Validate() error

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

type DeleteDetectorVersionOutput Uses

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

func (DeleteDetectorVersionOutput) GoString Uses

func (s DeleteDetectorVersionOutput) GoString() string

GoString returns the string representation

func (DeleteDetectorVersionOutput) String Uses

func (s DeleteDetectorVersionOutput) String() string

String returns the string representation

type DeleteEventInput Uses

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 Uses

func (s DeleteEventInput) GoString() string

GoString returns the string representation

func (*DeleteEventInput) SetEventId Uses

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

SetEventId sets the EventId field's value.

func (DeleteEventInput) String Uses

func (s DeleteEventInput) String() string

String returns the string representation

func (*DeleteEventInput) Validate Uses

func (s *DeleteEventInput) Validate() error

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

type DeleteEventOutput Uses

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

func (DeleteEventOutput) GoString Uses

func (s DeleteEventOutput) GoString() string

GoString returns the string representation

func (DeleteEventOutput) String Uses

func (s DeleteEventOutput) String() string

String returns the string representation

type DescribeDetectorInput Uses

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 Uses

func (s DescribeDetectorInput) GoString() string

GoString returns the string representation

func (*DescribeDetectorInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*DescribeDetectorInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*DescribeDetectorInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (DescribeDetectorInput) String Uses

func (s DescribeDetectorInput) String() string

String returns the string representation

func (*DescribeDetectorInput) Validate Uses

func (s *DescribeDetectorInput) Validate() error

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

type DescribeDetectorOutput Uses

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 Uses

func (s DescribeDetectorOutput) GoString() string

GoString returns the string representation

func (*DescribeDetectorOutput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*DescribeDetectorOutput) SetDetectorVersionSummaries Uses

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

SetDetectorVersionSummaries sets the DetectorVersionSummaries field's value.

func (*DescribeDetectorOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (DescribeDetectorOutput) String Uses

func (s DescribeDetectorOutput) String() string

String returns the string representation

type DescribeModelVersionsInput Uses

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 Uses

func (s DescribeModelVersionsInput) GoString() string

GoString returns the string representation

func (*DescribeModelVersionsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*DescribeModelVersionsInput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*DescribeModelVersionsInput) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*DescribeModelVersionsInput) SetModelVersionNumber Uses

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

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*DescribeModelVersionsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (DescribeModelVersionsInput) String Uses

func (s DescribeModelVersionsInput) String() string

String returns the string representation

func (*DescribeModelVersionsInput) Validate Uses

func (s *DescribeModelVersionsInput) Validate() error

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

type DescribeModelVersionsOutput Uses

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 Uses

func (s DescribeModelVersionsOutput) GoString() string

GoString returns the string representation

func (*DescribeModelVersionsOutput) SetModelVersionDetails Uses

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

SetModelVersionDetails sets the ModelVersionDetails field's value.

func (*DescribeModelVersionsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (DescribeModelVersionsOutput) String Uses

func (s DescribeModelVersionsOutput) String() string

String returns the string representation

type Detector Uses

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 Uses

func (s Detector) GoString() string

GoString returns the string representation

func (*Detector) SetCreatedTime Uses

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

SetCreatedTime sets the CreatedTime field's value.

func (*Detector) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Detector) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*Detector) SetLastUpdatedTime Uses

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (Detector) String Uses

func (s Detector) String() string

String returns the string representation

type DetectorVersionSummary Uses

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 Uses

func (s DetectorVersionSummary) GoString() string

GoString returns the string representation

func (*DetectorVersionSummary) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*DetectorVersionSummary) SetDetectorVersionId Uses

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*DetectorVersionSummary) SetLastUpdatedTime Uses

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*DetectorVersionSummary) SetStatus Uses

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

SetStatus sets the Status field's value.

func (DetectorVersionSummary) String Uses

func (s DetectorVersionSummary) String() string

String returns the string representation

type ExternalModel Uses

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 Uses

func (s ExternalModel) GoString() string

GoString returns the string representation

func (*ExternalModel) SetCreatedTime Uses

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

SetCreatedTime sets the CreatedTime field's value.

func (*ExternalModel) SetInputConfiguration Uses

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

SetInputConfiguration sets the InputConfiguration field's value.

func (*ExternalModel) SetLastUpdatedTime Uses

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ExternalModel) SetModelEndpoint Uses

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

SetModelEndpoint sets the ModelEndpoint field's value.

func (*ExternalModel) SetModelEndpointStatus Uses

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

SetModelEndpointStatus sets the ModelEndpointStatus field's value.

func (*ExternalModel) SetModelSource Uses

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

SetModelSource sets the ModelSource field's value.

func (*ExternalModel) SetOutputConfiguration Uses

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

SetOutputConfiguration sets the OutputConfiguration field's value.

func (*ExternalModel) SetRole Uses

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

SetRole sets the Role field's value.

func (ExternalModel) String Uses

func (s ExternalModel) String() string

String returns the string representation

type FraudDetector Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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.

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

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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) DeleteDetectorVersion Uses

func (c *FraudDetector) DeleteDetectorVersion(input *DeleteDetectorVersionInput) (*DeleteDetectorVersionOutput, error)

DeleteDetectorVersion API operation for Amazon Fraud Detector.

Deletes the 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 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.

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

func (*FraudDetector) DeleteDetectorVersionRequest Uses

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 Uses

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) DeleteEvent Uses

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 Uses

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 Uses

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) DescribeDetector Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (s GetDetectorVersionInput) GoString() string

GoString returns the string representation

func (*GetDetectorVersionInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*GetDetectorVersionInput) SetDetectorVersionId Uses

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (GetDetectorVersionInput) String Uses

func (s GetDetectorVersionInput) String() string

String returns the string representation

func (*GetDetectorVersionInput) Validate Uses

func (s *GetDetectorVersionInput) Validate() error

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

type GetDetectorVersionOutput Uses

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

func (s GetDetectorVersionOutput) GoString() string

GoString returns the string representation

func (*GetDetectorVersionOutput) SetCreatedTime Uses

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

SetCreatedTime sets the CreatedTime field's value.

func (*GetDetectorVersionOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*GetDetectorVersionOutput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*GetDetectorVersionOutput) SetDetectorVersionId Uses

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*GetDetectorVersionOutput) SetExternalModelEndpoints Uses

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

SetExternalModelEndpoints sets the ExternalModelEndpoints field's value.

func (*GetDetectorVersionOutput) SetLastUpdatedTime Uses

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*GetDetectorVersionOutput) SetModelVersions Uses

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

SetModelVersions sets the ModelVersions field's value.

func (*GetDetectorVersionOutput) SetRules Uses

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

SetRules sets the Rules field's value.

func (*GetDetectorVersionOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (GetDetectorVersionOutput) String Uses

func (s GetDetectorVersionOutput) String() string

String returns the string representation

type GetDetectorsInput Uses

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 Uses

func (s GetDetectorsInput) GoString() string

GoString returns the string representation

func (*GetDetectorsInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*GetDetectorsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*GetDetectorsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (GetDetectorsInput) String Uses

func (s GetDetectorsInput) String() string

String returns the string representation

func (*GetDetectorsInput) Validate Uses

func (s *GetDetectorsInput) Validate() error

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

type GetDetectorsOutput Uses

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 Uses

func (s GetDetectorsOutput) GoString() string

GoString returns the string representation

func (*GetDetectorsOutput) SetDetectors Uses

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

SetDetectors sets the Detectors field's value.

func (*GetDetectorsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (GetDetectorsOutput) String Uses

func (s GetDetectorsOutput) String() string

String returns the string representation

type GetExternalModelsInput Uses

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 Uses

func (s GetExternalModelsInput) GoString() string

GoString returns the string representation

func (*GetExternalModelsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*GetExternalModelsInput) SetModelEndpoint Uses

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

SetModelEndpoint sets the ModelEndpoint field's value.

func (*GetExternalModelsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (GetExternalModelsInput) String Uses

func (s GetExternalModelsInput) String() string

String returns the string representation

func (*GetExternalModelsInput) Validate Uses

func (s *GetExternalModelsInput) Validate() error

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

type GetExternalModelsOutput Uses

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 Uses

func (s GetExternalModelsOutput) GoString() string

GoString returns the string representation

func (*GetExternalModelsOutput) SetExternalModels Uses

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

SetExternalModels sets the ExternalModels field's value.

func (*GetExternalModelsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (GetExternalModelsOutput) String Uses

func (s GetExternalModelsOutput) String() string

String returns the string representation

type GetModelVersionInput Uses

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 Uses

func (s GetModelVersionInput) GoString() string

GoString returns the string representation

func (*GetModelVersionInput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*GetModelVersionInput) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*GetModelVersionInput) SetModelVersionNumber Uses

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

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (GetModelVersionInput) String Uses

func (s GetModelVersionInput) String() string

String returns the string representation

func (*GetModelVersionInput) Validate Uses

func (s *GetModelVersionInput) Validate() error

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

type GetModelVersionOutput Uses

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 Uses

func (s GetModelVersionOutput) GoString() string

GoString returns the string representation

func (*GetModelVersionOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*GetModelVersionOutput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*GetModelVersionOutput) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*GetModelVersionOutput) SetModelVersionNumber Uses

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

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*GetModelVersionOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (GetModelVersionOutput) String Uses

func (s GetModelVersionOutput) String() string

String returns the string representation

type GetModelsInput Uses

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 Uses

func (s GetModelsInput) GoString() string

GoString returns the string representation

func (*GetModelsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*GetModelsInput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*GetModelsInput) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*GetModelsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (GetModelsInput) String Uses

func (s GetModelsInput) String() string

String returns the string representation

func (*GetModelsInput) Validate Uses

func (s *GetModelsInput) Validate() error

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

type GetModelsOutput Uses

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 Uses

func (s GetModelsOutput) GoString() string

GoString returns the string representation

func (*GetModelsOutput) SetModels Uses

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

SetModels sets the Models field's value.

func (*GetModelsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (GetModelsOutput) String Uses

func (s GetModelsOutput) String() string

String returns the string representation

type GetOutcomesInput Uses

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 Uses

func (s GetOutcomesInput) GoString() string

GoString returns the string representation

func (*GetOutcomesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*GetOutcomesInput) SetName Uses

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

SetName sets the Name field's value.

func (*GetOutcomesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (GetOutcomesInput) String Uses

func (s GetOutcomesInput) String() string

String returns the string representation

func (*GetOutcomesInput) Validate Uses

func (s *GetOutcomesInput) Validate() error

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

type GetOutcomesOutput Uses

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 Uses

func (s GetOutcomesOutput) GoString() string

GoString returns the string representation

func (*GetOutcomesOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*GetOutcomesOutput) SetOutcomes Uses

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

SetOutcomes sets the Outcomes field's value.

func (GetOutcomesOutput) String Uses

func (s GetOutcomesOutput) String() string

String returns the string representation

type GetPredictionInput Uses

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 Uses

func (s GetPredictionInput) GoString() string

GoString returns the string representation

func (*GetPredictionInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*GetPredictionInput) SetDetectorVersionId Uses

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*GetPredictionInput) SetEventAttributes Uses

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

SetEventAttributes sets the EventAttributes field's value.

func (*GetPredictionInput) SetEventId Uses

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

SetEventId sets the EventId field's value.

func (*GetPredictionInput) SetExternalModelEndpointDataBlobs Uses

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

SetExternalModelEndpointDataBlobs sets the ExternalModelEndpointDataBlobs field's value.

func (GetPredictionInput) String Uses

func (s GetPredictionInput) String() string

String returns the string representation

func (*GetPredictionInput) Validate Uses

func (s *GetPredictionInput) Validate() error

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

type GetPredictionOutput Uses

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

func (GetPredictionOutput) GoString Uses

func (s GetPredictionOutput) GoString() string

GoString returns the string representation

func (*GetPredictionOutput) SetModelScores Uses

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

SetModelScores sets the ModelScores field's value.

func (*GetPredictionOutput) SetOutcomes Uses

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

SetOutcomes sets the Outcomes field's value.

func (GetPredictionOutput) String Uses

func (s GetPredictionOutput) String() string

String returns the string representation

type GetRulesInput Uses

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 Uses

func (s GetRulesInput) GoString() string

GoString returns the string representation

func (*GetRulesInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*GetRulesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*GetRulesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*GetRulesInput) SetRuleId Uses

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

SetRuleId sets the RuleId field's value.

func (*GetRulesInput) SetRuleVersion Uses

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

SetRuleVersion sets the RuleVersion field's value.

func (GetRulesInput) String Uses

func (s GetRulesInput) String() string

String returns the string representation

func (*GetRulesInput) Validate Uses

func (s *GetRulesInput) Validate() error

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

type GetRulesOutput Uses

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 Uses

func (s GetRulesOutput) GoString() string

GoString returns the string representation

func (*GetRulesOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*GetRulesOutput) SetRuleDetails Uses

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

SetRuleDetails sets the RuleDetails field's value.

func (GetRulesOutput) String Uses

func (s GetRulesOutput) String() string

String returns the string representation

type GetVariablesInput Uses

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 Uses

func (s GetVariablesInput) GoString() string

GoString returns the string representation

func (*GetVariablesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*GetVariablesInput) SetName Uses

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

SetName sets the Name field's value.

func (*GetVariablesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (GetVariablesInput) String Uses

func (s GetVariablesInput) String() string

String returns the string representation

func (*GetVariablesInput) Validate Uses

func (s *GetVariablesInput) Validate() error

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

type GetVariablesOutput Uses

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 Uses

func (s GetVariablesOutput) GoString() string

GoString returns the string representation

func (*GetVariablesOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*GetVariablesOutput) SetVariables Uses

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

SetVariables sets the Variables field's value.

func (GetVariablesOutput) String Uses

func (s GetVariablesOutput) String() string

String returns the string representation

type InternalServerException Uses

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 Uses

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error Uses

func (s *InternalServerException) Error() string

func (InternalServerException) GoString Uses

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message Uses

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr Uses

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID Uses

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode Uses

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String Uses

func (s InternalServerException) String() string

String returns the string representation

type LabelSchema Uses

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 Uses

func (s LabelSchema) GoString() string

GoString returns the string representation

func (*LabelSchema) SetLabelKey Uses

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

SetLabelKey sets the LabelKey field's value.

func (*LabelSchema) SetLabelMapper Uses

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

SetLabelMapper sets the LabelMapper field's value.

func (LabelSchema) String Uses

func (s LabelSchema) String() string

String returns the string representation

func (*LabelSchema) Validate Uses

func (s *LabelSchema) Validate() error

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

type Model Uses

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 Uses

func (s Model) GoString() string

GoString returns the string representation

func (*Model) SetCreatedTime Uses

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

SetCreatedTime sets the CreatedTime field's value.

func (*Model) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Model) SetLabelSchema Uses

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

SetLabelSchema sets the LabelSchema field's value.

func (*Model) SetLastUpdatedTime Uses

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Model) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*Model) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*Model) SetModelVariables Uses

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

SetModelVariables sets the ModelVariables field's value.

func (*Model) SetTrainingDataSource Uses

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

SetTrainingDataSource sets the TrainingDataSource field's value.

func (Model) String Uses

func (s Model) String() string

String returns the string representation

type ModelEndpointDataBlob Uses

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 Uses

func (s ModelEndpointDataBlob) GoString() string

GoString returns the string representation

func (*ModelEndpointDataBlob) SetByteBuffer Uses

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

SetByteBuffer sets the ByteBuffer field's value.

func (*ModelEndpointDataBlob) SetContentType Uses

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

SetContentType sets the ContentType field's value.

func (ModelEndpointDataBlob) String Uses

func (s ModelEndpointDataBlob) String() string

String returns the string representation

func (*ModelEndpointDataBlob) Validate Uses

func (s *ModelEndpointDataBlob) Validate() error

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

type ModelInputConfiguration Uses

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 Uses

func (s ModelInputConfiguration) GoString() string

GoString returns the string representation

func (*ModelInputConfiguration) SetCsvInputTemplate Uses

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

SetCsvInputTemplate sets the CsvInputTemplate field's value.

func (*ModelInputConfiguration) SetFormat Uses

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

SetFormat sets the Format field's value.

func (*ModelInputConfiguration) SetIsOpaque Uses

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

SetIsOpaque sets the IsOpaque field's value.

func (*ModelInputConfiguration) SetJsonInputTemplate Uses

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

SetJsonInputTemplate sets the JsonInputTemplate field's value.

func (ModelInputConfiguration) String Uses

func (s ModelInputConfiguration) String() string

String returns the string representation

func (*ModelInputConfiguration) Validate Uses

func (s *ModelInputConfiguration) Validate() error

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

type ModelOutputConfiguration Uses

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 Uses

func (s ModelOutputConfiguration) GoString() string

GoString returns the string representation

func (*ModelOutputConfiguration) SetCsvIndexToVariableMap Uses

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

SetCsvIndexToVariableMap sets the CsvIndexToVariableMap field's value.

func (*ModelOutputConfiguration) SetFormat Uses

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

SetFormat sets the Format field's value.

func (*ModelOutputConfiguration) SetJsonKeyToVariableMap Uses

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

SetJsonKeyToVariableMap sets the JsonKeyToVariableMap field's value.

func (ModelOutputConfiguration) String Uses

func (s ModelOutputConfiguration) String() string

String returns the string representation

func (*ModelOutputConfiguration) Validate Uses

func (s *ModelOutputConfiguration) Validate() error

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

type ModelScores Uses

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 Uses

func (s ModelScores) GoString() string

GoString returns the string representation

func (*ModelScores) SetModelVersion Uses

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

SetModelVersion sets the ModelVersion field's value.

func (*ModelScores) SetScores Uses

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

SetScores sets the Scores field's value.

func (ModelScores) String Uses

func (s ModelScores) String() string

String returns the string representation

type ModelVariable Uses

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 Uses

func (s ModelVariable) GoString() string

GoString returns the string representation

func (*ModelVariable) SetIndex Uses

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

SetIndex sets the Index field's value.

func (*ModelVariable) SetName Uses

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

SetName sets the Name field's value.

func (ModelVariable) String Uses

func (s ModelVariable) String() string

String returns the string representation

func (*ModelVariable) Validate Uses

func (s *ModelVariable) Validate() error

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

type ModelVersion Uses

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 Uses

func (s ModelVersion) GoString() string

GoString returns the string representation

func (*ModelVersion) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*ModelVersion) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*ModelVersion) SetModelVersionNumber Uses

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

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (ModelVersion) String Uses

func (s ModelVersion) String() string

String returns the string representation

func (*ModelVersion) Validate Uses

func (s *ModelVersion) Validate() error

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

type ModelVersionDetail Uses

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 Uses

func (s ModelVersionDetail) GoString() string

GoString returns the string representation

func (*ModelVersionDetail) SetCreatedTime Uses

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

SetCreatedTime sets the CreatedTime field's value.

func (*ModelVersionDetail) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*ModelVersionDetail) SetLabelSchema Uses

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

SetLabelSchema sets the LabelSchema field's value.

func (*ModelVersionDetail) SetLastUpdatedTime Uses

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ModelVersionDetail) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*ModelVersionDetail) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*ModelVersionDetail) SetModelVariables Uses

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

SetModelVariables sets the ModelVariables field's value.

func (*ModelVersionDetail) SetModelVersionNumber Uses

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

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*ModelVersionDetail) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*ModelVersionDetail) SetTrainingDataSource Uses

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

SetTrainingDataSource sets the TrainingDataSource field's value.

func (*ModelVersionDetail) SetTrainingMetrics Uses

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

SetTrainingMetrics sets the TrainingMetrics field's value.

func (*ModelVersionDetail) SetValidationMetrics Uses

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

SetValidationMetrics sets the ValidationMetrics field's value.

func (ModelVersionDetail) String Uses

func (s ModelVersionDetail) String() string

String returns the string representation

type Outcome Uses

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 Uses

func (s Outcome) GoString() string

GoString returns the string representation

func (*Outcome) SetCreatedTime Uses

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

SetCreatedTime sets the CreatedTime field's value.

func (*Outcome) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Outcome) SetLastUpdatedTime Uses

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Outcome) SetName Uses

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

SetName sets the Name field's value.

func (Outcome) String Uses

func (s Outcome) String() string

String returns the string representation

type PutDetectorInput Uses

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 Uses

func (s PutDetectorInput) GoString() string

GoString returns the string representation

func (*PutDetectorInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*PutDetectorInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (PutDetectorInput) String Uses

func (s PutDetectorInput) String() string

String returns the string representation

func (*PutDetectorInput) Validate Uses

func (s *PutDetectorInput) Validate() error

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

type PutDetectorOutput Uses

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

func (PutDetectorOutput) GoString Uses

func (s PutDetectorOutput) GoString() string

GoString returns the string representation

func (PutDetectorOutput) String Uses

func (s PutDetectorOutput) String() string

String returns the string representation

type PutExternalModelInput Uses

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 Uses

func (s PutExternalModelInput) GoString() string

GoString returns the string representation

func (*PutExternalModelInput) SetInputConfiguration Uses

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

SetInputConfiguration sets the InputConfiguration field's value.

func (*PutExternalModelInput) SetModelEndpoint Uses

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

SetModelEndpoint sets the ModelEndpoint field's value.

func (*PutExternalModelInput) SetModelEndpointStatus Uses

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

SetModelEndpointStatus sets the ModelEndpointStatus field's value.

func (*PutExternalModelInput) SetModelSource Uses

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

SetModelSource sets the ModelSource field's value.

func (*PutExternalModelInput) SetOutputConfiguration Uses

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

SetOutputConfiguration sets the OutputConfiguration field's value.

func (*PutExternalModelInput) SetRole Uses

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

SetRole sets the Role field's value.

func (PutExternalModelInput) String Uses

func (s PutExternalModelInput) String() string

String returns the string representation

func (*PutExternalModelInput) Validate Uses

func (s *PutExternalModelInput) Validate() error

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

type PutExternalModelOutput Uses

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

func (PutExternalModelOutput) GoString Uses

func (s PutExternalModelOutput) GoString() string

GoString returns the string representation

func (PutExternalModelOutput) String Uses

func (s PutExternalModelOutput) String() string

String returns the string representation

type PutModelInput Uses

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 Uses

func (s PutModelInput) GoString() string

GoString returns the string representation

func (*PutModelInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*PutModelInput) SetLabelSchema Uses

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

SetLabelSchema sets the LabelSchema field's value.

func (*PutModelInput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*PutModelInput) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*PutModelInput) SetModelVariables Uses

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

SetModelVariables sets the ModelVariables field's value.

func (*PutModelInput) SetTrainingDataSource Uses

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

SetTrainingDataSource sets the TrainingDataSource field's value.

func (PutModelInput) String Uses

func (s PutModelInput) String() string

String returns the string representation

func (*PutModelInput) Validate Uses

func (s *PutModelInput) Validate() error

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

type PutModelOutput Uses

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

func (PutModelOutput) GoString Uses

func (s PutModelOutput) GoString() string

GoString returns the string representation

func (PutModelOutput) String Uses

func (s PutModelOutput) String() string

String returns the string representation

type PutOutcomeInput Uses

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 Uses

func (s PutOutcomeInput) GoString() string

GoString returns the string representation

func (*PutOutcomeInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*PutOutcomeInput) SetName Uses

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

SetName sets the Name field's value.

func (PutOutcomeInput) String Uses

func (s PutOutcomeInput) String() string

String returns the string representation

func (*PutOutcomeInput) Validate Uses

func (s *PutOutcomeInput) Validate() error

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

type PutOutcomeOutput Uses

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

func (PutOutcomeOutput) GoString Uses

func (s PutOutcomeOutput) GoString() string

GoString returns the string representation

func (PutOutcomeOutput) String Uses

func (s PutOutcomeOutput) String() string

String returns the string representation

type ResourceNotFoundException Uses

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 Uses

func (s *ResourceNotFoundException) Code() string

Code returns the exception type name.

func (*ResourceNotFoundException) Error Uses

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString Uses

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message Uses

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr Uses

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID Uses

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode Uses

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String Uses

func (s ResourceNotFoundException) String() string

String returns the string representation

type Role Uses

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 Uses

func (s Role) GoString() string

GoString returns the string representation

func (*Role) SetArn Uses

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

SetArn sets the Arn field's value.

func (*Role) SetName Uses

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

SetName sets the Name field's value.

func (Role) String Uses

func (s Role) String() string

String returns the string representation

func (*Role) Validate Uses

func (s *Role) Validate() error

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

type Rule Uses

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 Uses

func (s Rule) GoString() string

GoString returns the string representation

func (*Rule) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*Rule) SetRuleId Uses

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

SetRuleId sets the RuleId field's value.

func (*Rule) SetRuleVersion Uses

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

SetRuleVersion sets the RuleVersion field's value.

func (Rule) String Uses

func (s Rule) String() string

String returns the string representation

func (*Rule) Validate Uses

func (s *Rule) Validate() error

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

type RuleDetail Uses

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 Uses

func (s RuleDetail) GoString() string

GoString returns the string representation

func (*RuleDetail) SetCreatedTime Uses

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

SetCreatedTime sets the CreatedTime field's value.

func (*RuleDetail) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*RuleDetail) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*RuleDetail) SetExpression Uses

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

SetExpression sets the Expression field's value.

func (*RuleDetail) SetLanguage Uses

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

SetLanguage sets the Language field's value.

func (*RuleDetail) SetLastUpdatedTime Uses

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*RuleDetail) SetOutcomes Uses

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

SetOutcomes sets the Outcomes field's value.

func (*RuleDetail) SetRuleId Uses

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

SetRuleId sets the RuleId field's value.

func (*RuleDetail) SetRuleVersion Uses

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

SetRuleVersion sets the RuleVersion field's value.

func (RuleDetail) String Uses

func (s RuleDetail) String() string

String returns the string representation

type ThrottlingException Uses

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 Uses

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error Uses

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString Uses

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message Uses

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr Uses

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID Uses

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode Uses

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String Uses

func (s ThrottlingException) String() string

String returns the string representation

type TrainingDataSource Uses

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 Uses

func (s TrainingDataSource) GoString() string

GoString returns the string representation

func (*TrainingDataSource) SetDataAccessRoleArn Uses

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

SetDataAccessRoleArn sets the DataAccessRoleArn field's value.

func (*TrainingDataSource) SetDataLocation Uses

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

SetDataLocation sets the DataLocation field's value.

func (TrainingDataSource) String Uses

func (s TrainingDataSource) String() string

String returns the string representation

func (*TrainingDataSource) Validate Uses

func (s *TrainingDataSource) Validate() error

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

type UpdateDetectorVersionInput Uses

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

func (s UpdateDetectorVersionInput) GoString() string

GoString returns the string representation

func (*UpdateDetectorVersionInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*UpdateDetectorVersionInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*UpdateDetectorVersionInput) SetDetectorVersionId Uses

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*UpdateDetectorVersionInput) SetExternalModelEndpoints Uses

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

SetExternalModelEndpoints sets the ExternalModelEndpoints field's value.

func (*UpdateDetectorVersionInput) SetModelVersions Uses

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

SetModelVersions sets the ModelVersions field's value.

func (*UpdateDetectorVersionInput) SetRules Uses

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

SetRules sets the Rules field's value.

func (UpdateDetectorVersionInput) String Uses

func (s UpdateDetectorVersionInput) String() string

String returns the string representation

func (*UpdateDetectorVersionInput) Validate Uses

func (s *UpdateDetectorVersionInput) Validate() error

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

type UpdateDetectorVersionMetadataInput Uses

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 Uses

func (s UpdateDetectorVersionMetadataInput) GoString() string

GoString returns the string representation

func (*UpdateDetectorVersionMetadataInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*UpdateDetectorVersionMetadataInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*UpdateDetectorVersionMetadataInput) SetDetectorVersionId Uses

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (UpdateDetectorVersionMetadataInput) String Uses

func (s UpdateDetectorVersionMetadataInput) String() string

String returns the string representation

func (*UpdateDetectorVersionMetadataInput) Validate Uses

func (s *UpdateDetectorVersionMetadataInput) Validate() error

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

type UpdateDetectorVersionMetadataOutput Uses

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

func (UpdateDetectorVersionMetadataOutput) GoString Uses

func (s UpdateDetectorVersionMetadataOutput) GoString() string

GoString returns the string representation

func (UpdateDetectorVersionMetadataOutput) String Uses

func (s UpdateDetectorVersionMetadataOutput) String() string

String returns the string representation

type UpdateDetectorVersionOutput Uses

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

func (UpdateDetectorVersionOutput) GoString Uses

func (s UpdateDetectorVersionOutput) GoString() string

GoString returns the string representation

func (UpdateDetectorVersionOutput) String Uses

func (s UpdateDetectorVersionOutput) String() string

String returns the string representation

type UpdateDetectorVersionStatusInput Uses

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 Uses

func (s UpdateDetectorVersionStatusInput) GoString() string

GoString returns the string representation

func (*UpdateDetectorVersionStatusInput) SetDetectorId Uses

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

SetDetectorId sets the DetectorId field's value.

func (*UpdateDetectorVersionStatusInput) SetDetectorVersionId Uses

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

SetDetectorVersionId sets the DetectorVersionId field's value.

func (*UpdateDetectorVersionStatusInput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (UpdateDetectorVersionStatusInput) String Uses

func (s UpdateDetectorVersionStatusInput) String() string

String returns the string representation

func (*UpdateDetectorVersionStatusInput) Validate Uses

func (s *UpdateDetectorVersionStatusInput) Validate() error

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

type UpdateDetectorVersionStatusOutput Uses

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

func (UpdateDetectorVersionStatusOutput) GoString Uses

func (s UpdateDetectorVersionStatusOutput) GoString() string

GoString returns the string representation

func (UpdateDetectorVersionStatusOutput) String Uses

func (s UpdateDetectorVersionStatusOutput) String() string

String returns the string representation

type UpdateModelVersionInput Uses

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 Uses

func (s UpdateModelVersionInput) GoString() string

GoString returns the string representation

func (*UpdateModelVersionInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*UpdateModelVersionInput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*UpdateModelVersionInput) SetModelType Uses

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

SetModelType sets the ModelType field's value.

func (*UpdateModelVersionInput) SetModelVersionNumber Uses

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

SetModelVersionNumber sets the ModelVersionNumber field's value.

func (*UpdateModelVersionInput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (UpdateModelVersionInput) String Uses

func (s UpdateModelVersionInput) String() string

String returns the string representation

func (*UpdateModelVersionInput) Validate Uses

func (s *UpdateModelVersionInput) Validate() error

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

type UpdateModelVersionOutput Uses

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

func (UpdateModelVersionOutput) GoString Uses

func (s UpdateModelVersionOutput) GoString() string

GoString returns the string representation

func (UpdateModelVersionOutput) String Uses

func (s UpdateModelVersionOutput) String() string

String returns the string representation

type UpdateRuleMetadataInput Uses

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 Uses

func (s UpdateRuleMetadataInput) GoString() string

GoString returns the string representation

func (*UpdateRuleMetadataInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*UpdateRuleMetadataInput) SetRule Uses

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

SetRule sets the Rule field's value.

func (UpdateRuleMetadataInput) String Uses

func (s UpdateRuleMetadataInput) String() string

String returns the string representation

func (*UpdateRuleMetadataInput) Validate Uses

func (s *UpdateRuleMetadataInput) Validate() error

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

type UpdateRuleMetadataOutput Uses

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

func (UpdateRuleMetadataOutput) GoString Uses

func (s UpdateRuleMetadataOutput) GoString() string

GoString returns the string representation

func (UpdateRuleMetadataOutput) String Uses

func (s UpdateRuleMetadataOutput) String() string

String returns the string representation

type UpdateRuleVersionInput Uses

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 Uses

func (s UpdateRuleVersionInput) GoString() string

GoString returns the string representation

func (*UpdateRuleVersionInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*UpdateRuleVersionInput) SetExpression Uses

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

SetExpression sets the Expression field's value.

func (*UpdateRuleVersionInput) SetLanguage Uses

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

SetLanguage sets the Language field's value.

func (*UpdateRuleVersionInput) SetOutcomes Uses

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

SetOutcomes sets the Outcomes field's value.

func (*UpdateRuleVersionInput) SetRule Uses

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

SetRule sets the Rule field's value.

func (UpdateRuleVersionInput) String Uses

func (s UpdateRuleVersionInput) String() string

String returns the string representation

func (*UpdateRuleVersionInput) Validate Uses

func (s *UpdateRuleVersionInput) Validate() error

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

type UpdateRuleVersionOutput Uses

type UpdateRuleVersionOutput struct {

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

func (UpdateRuleVersionOutput) GoString Uses

func (s UpdateRuleVersionOutput) GoString() string

GoString returns the string representation

func (*UpdateRuleVersionOutput) SetRule Uses

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

SetRule sets the Rule field's value.

func (UpdateRuleVersionOutput) String Uses

func (s UpdateRuleVersionOutput) String() string

String returns the string representation

type UpdateVariableInput Uses

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 Uses

func (s UpdateVariableInput) GoString() string

GoString returns the string representation

func (*UpdateVariableInput) SetDefaultValue Uses

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

SetDefaultValue sets the DefaultValue field's value.

func (*UpdateVariableInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*UpdateVariableInput) SetName Uses

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

SetName sets the Name field's value.

func (*UpdateVariableInput) SetVariableType Uses

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

SetVariableType sets the VariableType field's value.

func (UpdateVariableInput) String Uses

func (s UpdateVariableInput) String() string

String returns the string representation

func (*UpdateVariableInput) Validate Uses

func (s *UpdateVariableInput) Validate() error

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

type UpdateVariableOutput Uses

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

func (UpdateVariableOutput) GoString Uses

func (s UpdateVariableOutput) GoString() string

GoString returns the string representation

func (UpdateVariableOutput) String Uses

func (s UpdateVariableOutput) String() string

String returns the string representation

type ValidationException Uses

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 Uses

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error Uses

func (s *ValidationException) Error() string

func (ValidationException) GoString Uses

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message Uses

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr Uses

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID Uses

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode Uses

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String Uses

func (s ValidationException) String() string

String returns the string representation

type Variable Uses

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 Uses

func (s Variable) GoString() string

GoString returns the string representation

func (*Variable) SetCreatedTime Uses

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

SetCreatedTime sets the CreatedTime field's value.

func (*Variable) SetDataSource Uses

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

SetDataSource sets the DataSource field's value.

func (*Variable) SetDataType Uses

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

SetDataType sets the DataType field's value.

func (*Variable) SetDefaultValue Uses

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

SetDefaultValue sets the DefaultValue field's value.

func (*Variable) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Variable) SetLastUpdatedTime Uses

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Variable) SetName Uses

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

SetName sets the Name field's value.

func (*Variable) SetVariableType Uses

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

SetVariableType sets the VariableType field's value.

func (Variable) String Uses

func (s Variable) String() string

String returns the string representation

type VariableEntry Uses

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 Uses

func (s VariableEntry) GoString() string

GoString returns the string representation

func (*VariableEntry) SetDataSource Uses

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

SetDataSource sets the DataSource field's value.

func (*VariableEntry) SetDataType Uses

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

SetDataType sets the DataType field's value.

func (*VariableEntry) SetDefaultValue Uses

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

SetDefaultValue sets the DefaultValue field's value.

func (*VariableEntry) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*VariableEntry) SetName Uses

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

SetName sets the Name field's value.

func (*VariableEntry) SetVariableType Uses

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

SetVariableType sets the VariableType field's value.

func (VariableEntry) String Uses

func (s VariableEntry) String() string

String returns the string representation

Directories

PathSynopsis
frauddetectorifacePackage frauddetectoriface provides an interface to enable mocking the Amazon Fraud Detector service client for testing your code.

Package frauddetector imports 9 packages (graph) and is imported by 6 packages. Updated 2020-04-06. Refresh now. Tools for package owners.