frauddetector

package
v0.24.0 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

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

Using the Client

To use 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 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/frauddetector/#New

Index

Constants

View Source
const (
	ServiceName = "Amazon Fraud Detector" // Service's name
	ServiceID   = "FraudDetector"         // Service's identifier
	EndpointsID = "frauddetector"         // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// An exception indicating Amazon Fraud Detector does not have the needed permissions.
	// This can occur if you submit a request, such as PutExternalModel, that specifies
	// a role that is not in your account.
	ErrCodeAccessDeniedException = "AccessDeniedException"

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

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

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

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

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// An exception indicating a specified value is not allowed.
	ErrCodeValidationException = "ValidationException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchCreateVariableError

type BatchCreateVariableError struct {

	// The error code.
	Code *int64 `locationName:"code" type:"integer"`

	// The error message.
	Message *string `locationName:"message" type:"string"`

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

Provides the error of the batch create variable API.

func (BatchCreateVariableError) String

func (s BatchCreateVariableError) String() string

String returns the string representation

type BatchCreateVariableInput

type BatchCreateVariableInput struct {

	// A collection of key and value pairs.
	Tags []Tag `locationName:"tags" type:"list"`

	// The list of variables for the batch create variable request.
	//
	// VariableEntries is a required field
	VariableEntries []VariableEntry `locationName:"variableEntries" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchCreateVariableInput) String

func (s BatchCreateVariableInput) String() string

String returns the string representation

func (*BatchCreateVariableInput) Validate

func (s *BatchCreateVariableInput) Validate() error

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

type BatchCreateVariableOutput

type BatchCreateVariableOutput struct {

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

func (BatchCreateVariableOutput) String

func (s BatchCreateVariableOutput) String() string

String returns the string representation

type BatchCreateVariableRequest

type BatchCreateVariableRequest struct {
	*aws.Request
	Input *BatchCreateVariableInput
	Copy  func(*BatchCreateVariableInput) BatchCreateVariableRequest
}

BatchCreateVariableRequest is the request type for the BatchCreateVariable API operation.

func (BatchCreateVariableRequest) Send

Send marshals and sends the BatchCreateVariable API request.

type BatchCreateVariableResponse

type BatchCreateVariableResponse struct {
	*BatchCreateVariableOutput
	// contains filtered or unexported fields
}

BatchCreateVariableResponse is the response type for the BatchCreateVariable API operation.

func (*BatchCreateVariableResponse) SDKResponseMetdata

func (r *BatchCreateVariableResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchCreateVariable request.

type BatchGetVariableError

type BatchGetVariableError struct {

	// The error code.
	Code *int64 `locationName:"code" type:"integer"`

	// The error message.
	Message *string `locationName:"message" type:"string"`

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

Provides the error of the batch get variable API.

func (BatchGetVariableError) String

func (s BatchGetVariableError) String() string

String returns the string representation

type BatchGetVariableInput

type BatchGetVariableInput struct {

	// The list of variable names to get.
	//
	// Names is a required field
	Names []string `locationName:"names" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetVariableInput) String

func (s BatchGetVariableInput) String() string

String returns the string representation

func (*BatchGetVariableInput) Validate

func (s *BatchGetVariableInput) Validate() error

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

type BatchGetVariableOutput

type BatchGetVariableOutput struct {

	// The errors from the request.
	Errors []BatchGetVariableError `locationName:"errors" type:"list"`

	// The returned variables.
	Variables []Variable `locationName:"variables" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetVariableOutput) String

func (s BatchGetVariableOutput) String() string

String returns the string representation

type BatchGetVariableRequest

type BatchGetVariableRequest struct {
	*aws.Request
	Input *BatchGetVariableInput
	Copy  func(*BatchGetVariableInput) BatchGetVariableRequest
}

BatchGetVariableRequest is the request type for the BatchGetVariable API operation.

func (BatchGetVariableRequest) Send

Send marshals and sends the BatchGetVariable API request.

type BatchGetVariableResponse

type BatchGetVariableResponse struct {
	*BatchGetVariableOutput
	// contains filtered or unexported fields
}

BatchGetVariableResponse is the response type for the BatchGetVariable API operation.

func (*BatchGetVariableResponse) SDKResponseMetdata

func (r *BatchGetVariableResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchGetVariable request.

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to Amazon Fraud Detector. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := frauddetector.New(myConfig)

func (*Client) BatchCreateVariableRequest

func (c *Client) BatchCreateVariableRequest(input *BatchCreateVariableInput) BatchCreateVariableRequest

BatchCreateVariableRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates a batch of variables.

// Example sending a request using BatchCreateVariableRequest.
req := client.BatchCreateVariableRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchCreateVariable

func (*Client) BatchGetVariableRequest

func (c *Client) BatchGetVariableRequest(input *BatchGetVariableInput) BatchGetVariableRequest

BatchGetVariableRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets a batch of variables.

// Example sending a request using BatchGetVariableRequest.
req := client.BatchGetVariableRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchGetVariable

func (*Client) CreateDetectorVersionRequest

func (c *Client) CreateDetectorVersionRequest(input *CreateDetectorVersionInput) CreateDetectorVersionRequest

CreateDetectorVersionRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates a detector version. The detector version starts in a DRAFT status.

// Example sending a request using CreateDetectorVersionRequest.
req := client.CreateDetectorVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateDetectorVersion

func (*Client) CreateModelRequest added in v0.24.0

func (c *Client) CreateModelRequest(input *CreateModelInput) CreateModelRequest

CreateModelRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates a model using the specified model type.

// Example sending a request using CreateModelRequest.
req := client.CreateModelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModel

func (*Client) CreateModelVersionRequest

func (c *Client) CreateModelVersionRequest(input *CreateModelVersionInput) CreateModelVersionRequest

CreateModelVersionRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates a version of the model using the specified model type and model id.

// Example sending a request using CreateModelVersionRequest.
req := client.CreateModelVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateRuleRequest

func (c *Client) CreateRuleRequest(input *CreateRuleInput) CreateRuleRequest

CreateRuleRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates a rule for use with the specified detector.

// Example sending a request using CreateRuleRequest.
req := client.CreateRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateRule

func (*Client) CreateVariableRequest

func (c *Client) CreateVariableRequest(input *CreateVariableInput) CreateVariableRequest

CreateVariableRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates a variable.

// Example sending a request using CreateVariableRequest.
req := client.CreateVariableRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateVariable

func (*Client) DeleteDetectorRequest added in v0.21.0

func (c *Client) DeleteDetectorRequest(input *DeleteDetectorInput) DeleteDetectorRequest

DeleteDetectorRequest returns a request value for making API operation for Amazon Fraud Detector.

Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.

// Example sending a request using DeleteDetectorRequest.
req := client.DeleteDetectorRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteDetectorVersionRequest

func (c *Client) DeleteDetectorVersionRequest(input *DeleteDetectorVersionInput) DeleteDetectorVersionRequest

DeleteDetectorVersionRequest returns a request value for making API operation for Amazon Fraud Detector.

Deletes the detector version. You cannot delete detector versions that are in ACTIVE status.

// Example sending a request using DeleteDetectorVersionRequest.
req := client.DeleteDetectorVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteEventRequest

func (c *Client) DeleteEventRequest(input *DeleteEventInput) DeleteEventRequest

DeleteEventRequest returns a request value for making API operation for Amazon Fraud Detector.

Deletes the specified event.

// Example sending a request using DeleteEventRequest.
req := client.DeleteEventRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteRuleRequest added in v0.24.0

func (c *Client) DeleteRuleRequest(input *DeleteRuleInput) DeleteRuleRequest

DeleteRuleRequest returns a request value for making API operation for Amazon Fraud Detector.

Deletes the rule. You cannot delete a rule if it is used by an ACTIVE or INACTIVE detector version.

// Example sending a request using DeleteRuleRequest.
req := client.DeleteRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteRule

func (*Client) DescribeDetectorRequest

func (c *Client) DescribeDetectorRequest(input *DescribeDetectorInput) DescribeDetectorRequest

DescribeDetectorRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets all versions for a specified detector.

// Example sending a request using DescribeDetectorRequest.
req := client.DescribeDetectorRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeDetector

func (*Client) DescribeModelVersionsRequest

func (c *Client) DescribeModelVersionsRequest(input *DescribeModelVersionsInput) DescribeModelVersionsRequest

DescribeModelVersionsRequest returns a request value for making 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.

// Example sending a request using DescribeModelVersionsRequest.
req := client.DescribeModelVersionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeModelVersions

func (*Client) GetDetectorVersionRequest

func (c *Client) GetDetectorVersionRequest(input *GetDetectorVersionInput) GetDetectorVersionRequest

GetDetectorVersionRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets a particular detector version.

// Example sending a request using GetDetectorVersionRequest.
req := client.GetDetectorVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectorVersion

func (*Client) GetDetectorsRequest

func (c *Client) GetDetectorsRequest(input *GetDetectorsInput) GetDetectorsRequest

GetDetectorsRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets all detectors or a single detector if a detectorId is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetDetectorsResponse as part of your request. A null pagination token fetches the records from the beginning.

// Example sending a request using GetDetectorsRequest.
req := client.GetDetectorsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectors

func (*Client) GetEntityTypesRequest added in v0.24.0

func (c *Client) GetEntityTypesRequest(input *GetEntityTypesInput) GetEntityTypesRequest

GetEntityTypesRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets all entity types or a specific entity type if a name is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEntityTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

// Example sending a request using GetEntityTypesRequest.
req := client.GetEntityTypesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEntityTypes

func (*Client) GetEventPredictionRequest added in v0.24.0

func (c *Client) GetEventPredictionRequest(input *GetEventPredictionInput) GetEventPredictionRequest

GetEventPredictionRequest returns a request value for making 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.

// Example sending a request using GetEventPredictionRequest.
req := client.GetEventPredictionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetEventTypesRequest added in v0.24.0

func (c *Client) GetEventTypesRequest(input *GetEventTypesInput) GetEventTypesRequest

GetEventTypesRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

// Example sending a request using GetEventTypesRequest.
req := client.GetEventTypesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventTypes

func (*Client) GetExternalModelsRequest

func (c *Client) GetExternalModelsRequest(input *GetExternalModelsInput) GetExternalModelsRequest

GetExternalModelsRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets the details for one or more Amazon SageMaker models that have been imported into the service. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetExternalModelsResult as part of your request. A null pagination token fetches the records from the beginning.

// Example sending a request using GetExternalModelsRequest.
req := client.GetExternalModelsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetExternalModels

func (*Client) GetKMSEncryptionKeyRequest added in v0.24.0

func (c *Client) GetKMSEncryptionKeyRequest(input *GetKMSEncryptionKeyInput) GetKMSEncryptionKeyRequest

GetKMSEncryptionKeyRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets the encryption key if a Key Management Service (KMS) customer master key (CMK) has been specified to be used to encrypt content in Amazon Fraud Detector.

// Example sending a request using GetKMSEncryptionKeyRequest.
req := client.GetKMSEncryptionKeyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetKMSEncryptionKey

func (*Client) GetLabelsRequest added in v0.24.0

func (c *Client) GetLabelsRequest(input *GetLabelsInput) GetLabelsRequest

GetLabelsRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets all labels or a specific label if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 10 and 50. To get the next page results, provide the pagination token from the GetGetLabelsResponse as part of your request. A null pagination token fetches the records from the beginning.

// Example sending a request using GetLabelsRequest.
req := client.GetLabelsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetLabels

func (*Client) GetModelVersionRequest

func (c *Client) GetModelVersionRequest(input *GetModelVersionInput) GetModelVersionRequest

GetModelVersionRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets the details of the specified model version.

// Example sending a request using GetModelVersionRequest.
req := client.GetModelVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModelVersion

func (*Client) GetModelsRequest

func (c *Client) GetModelsRequest(input *GetModelsInput) GetModelsRequest

GetModelsRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets one or more models. Gets all models for the AWS account if no model type and no model id provided. Gets all models for the AWS account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified.

This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 1 and 10. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.

// Example sending a request using GetModelsRequest.
req := client.GetModelsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModels

func (*Client) GetOutcomesRequest

func (c *Client) GetOutcomesRequest(input *GetOutcomesInput) GetOutcomesRequest

GetOutcomesRequest returns a request value for making API operation for Amazon Fraud Detector.

Gets one or more outcomes. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 100 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the pagination token from the GetOutcomesResult as part of your request. A null pagination token fetches the records from the beginning.

// Example sending a request using GetOutcomesRequest.
req := client.GetOutcomesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetOutcomes

func (*Client) GetPredictionRequest

func (c *Client) GetPredictionRequest(input *GetPredictionInput) GetPredictionRequest

GetPredictionRequest returns a request value for making 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.

// Example sending a request using GetPredictionRequest.
req := client.GetPredictionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetPrediction

func (*Client) GetRulesRequest

func (c *Client) GetRulesRequest(input *GetRulesInput) GetRulesRequest

GetRulesRequest returns a request value for making API operation for Amazon Fraud Detector.

Get all rules for a detector (paginated) if ruleId and ruleVersion are not specified. Gets all rules for the detector and the ruleId if present (paginated). Gets a specific rule if both the ruleId and the ruleVersion are specified.

This is a paginated API. Providing null maxResults results in retrieving maximum of 100 records per page. If you provide maxResults the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetRulesResult as part of your request. Null pagination token fetches the records from the beginning.

// Example sending a request using GetRulesRequest.
req := client.GetRulesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetRules

func (*Client) GetVariablesRequest

func (c *Client) GetVariablesRequest(input *GetVariablesInput) GetVariablesRequest

GetVariablesRequest returns a request value for making 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.

// Example sending a request using GetVariablesRequest.
req := client.GetVariablesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetVariables

func (*Client) ListTagsForResourceRequest added in v0.24.0

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for Amazon Fraud Detector.

Lists all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListTagsForResource

func (*Client) PutDetectorRequest

func (c *Client) PutDetectorRequest(input *PutDetectorInput) PutDetectorRequest

PutDetectorRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates or updates a detector.

// Example sending a request using PutDetectorRequest.
req := client.PutDetectorRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) PutEntityTypeRequest added in v0.24.0

func (c *Client) PutEntityTypeRequest(input *PutEntityTypeInput) PutEntityTypeRequest

PutEntityTypeRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates or updates an entity type. An entity represents who is performing the event. As part of a fraud prediction, you pass the entity ID to indicate the specific entity who performed the event. An entity type classifies the entity. Example classifications include customer, merchant, or account.

// Example sending a request using PutEntityTypeRequest.
req := client.PutEntityTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEntityType

func (*Client) PutEventTypeRequest added in v0.24.0

func (c *Client) PutEventTypeRequest(input *PutEventTypeInput) PutEventTypeRequest

PutEventTypeRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates or updates an event type. An event is a business activity that is evaluated for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event (such as a customer), and the labels that classify the event. Example event types include online payment transactions, account registrations, and authentications.

// Example sending a request using PutEventTypeRequest.
req := client.PutEventTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventType

func (*Client) PutExternalModelRequest

func (c *Client) PutExternalModelRequest(input *PutExternalModelInput) PutExternalModelRequest

PutExternalModelRequest returns a request value for making 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.

// Example sending a request using PutExternalModelRequest.
req := client.PutExternalModelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) PutKMSEncryptionKeyRequest added in v0.24.0

func (c *Client) PutKMSEncryptionKeyRequest(input *PutKMSEncryptionKeyInput) PutKMSEncryptionKeyRequest

PutKMSEncryptionKeyRequest returns a request value for making API operation for Amazon Fraud Detector.

Specifies the Key Management Service (KMS) customer master key (CMK) to be used to encrypt content in Amazon Fraud Detector.

// Example sending a request using PutKMSEncryptionKeyRequest.
req := client.PutKMSEncryptionKeyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutKMSEncryptionKey

func (*Client) PutLabelRequest added in v0.24.0

func (c *Client) PutLabelRequest(input *PutLabelInput) PutLabelRequest

PutLabelRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates or updates label. A label classifies an event as fraudulent or legitimate. Labels are associated with event types and used to train supervised machine learning models in Amazon Fraud Detector.

// Example sending a request using PutLabelRequest.
req := client.PutLabelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutLabel

func (*Client) PutOutcomeRequest

func (c *Client) PutOutcomeRequest(input *PutOutcomeInput) PutOutcomeRequest

PutOutcomeRequest returns a request value for making API operation for Amazon Fraud Detector.

Creates or updates an outcome.

// Example sending a request using PutOutcomeRequest.
req := client.PutOutcomeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) TagResourceRequest added in v0.24.0

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for Amazon Fraud Detector.

Assigns tags to a resource.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TagResource

func (*Client) UntagResourceRequest added in v0.24.0

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for Amazon Fraud Detector.

Removes tags from a resource.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UntagResource

func (*Client) UpdateDetectorVersionMetadataRequest

func (c *Client) UpdateDetectorVersionMetadataRequest(input *UpdateDetectorVersionMetadataInput) UpdateDetectorVersionMetadataRequest

UpdateDetectorVersionMetadataRequest returns a request value for making 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).

// Example sending a request using UpdateDetectorVersionMetadataRequest.
req := client.UpdateDetectorVersionMetadataRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateDetectorVersionRequest

func (c *Client) UpdateDetectorVersionRequest(input *UpdateDetectorVersionInput) UpdateDetectorVersionRequest

UpdateDetectorVersionRequest returns a request value for making API operation for Amazon Fraud Detector.

Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, rule execution mode, and description. You can only update a DRAFT detector version.

// Example sending a request using UpdateDetectorVersionRequest.
req := client.UpdateDetectorVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateDetectorVersionStatusRequest

func (c *Client) UpdateDetectorVersionStatusRequest(input *UpdateDetectorVersionStatusInput) UpdateDetectorVersionStatusRequest

UpdateDetectorVersionStatusRequest returns a request value for making 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.

// Example sending a request using UpdateDetectorVersionStatusRequest.
req := client.UpdateDetectorVersionStatusRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateModelRequest added in v0.24.0

func (c *Client) UpdateModelRequest(input *UpdateModelInput) UpdateModelRequest

UpdateModelRequest returns a request value for making API operation for Amazon Fraud Detector.

Updates a model. You can update the description attribute using this action.

// Example sending a request using UpdateModelRequest.
req := client.UpdateModelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModel

func (*Client) UpdateModelVersionRequest

func (c *Client) UpdateModelVersionRequest(input *UpdateModelVersionInput) UpdateModelVersionRequest

UpdateModelVersionRequest returns a request value for making API operation for Amazon Fraud Detector.

Updates a model version. Updating a model version retrains an existing model version using updated training data and produces a new minor version of the model. You can update the training data set location and data access role attributes using this action. This action creates and trains a new minor version of the model, for example version 1.01, 1.02, 1.03.

// Example sending a request using UpdateModelVersionRequest.
req := client.UpdateModelVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateModelVersionStatusRequest added in v0.24.0

func (c *Client) UpdateModelVersionStatusRequest(input *UpdateModelVersionStatusInput) UpdateModelVersionStatusRequest

UpdateModelVersionStatusRequest returns a request value for making API operation for Amazon Fraud Detector.

Updates the status of a model version.

You can perform the following status updates:

Change the TRAINING_COMPLETE status to ACTIVE.

Change ACTIVEto INACTIVE.

// Example sending a request using UpdateModelVersionStatusRequest.
req := client.UpdateModelVersionStatusRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersionStatus

func (*Client) UpdateRuleMetadataRequest

func (c *Client) UpdateRuleMetadataRequest(input *UpdateRuleMetadataInput) UpdateRuleMetadataRequest

UpdateRuleMetadataRequest returns a request value for making API operation for Amazon Fraud Detector.

Updates a rule's metadata. The description attribute can be updated.

// Example sending a request using UpdateRuleMetadataRequest.
req := client.UpdateRuleMetadataRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateRuleVersionRequest

func (c *Client) UpdateRuleVersionRequest(input *UpdateRuleVersionInput) UpdateRuleVersionRequest

UpdateRuleVersionRequest returns a request value for making API operation for Amazon Fraud Detector.

Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).

// Example sending a request using UpdateRuleVersionRequest.
req := client.UpdateRuleVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateVariableRequest

func (c *Client) UpdateVariableRequest(input *UpdateVariableInput) UpdateVariableRequest

UpdateVariableRequest returns a request value for making API operation for Amazon Fraud Detector.

Updates a variable.

// Example sending a request using UpdateVariableRequest.
req := client.UpdateVariableRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

type CreateDetectorVersionInput

type CreateDetectorVersionInput struct {

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

	// The ID of the detector under which you want to create a new version.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

	// The Amazon Sagemaker model endpoints to include in the detector version.
	ExternalModelEndpoints []string `locationName:"externalModelEndpoints" type:"list"`

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

	// The rule execution mode for the rules included in the detector version.
	//
	// You can define and edit the rule mode at the detector version level, when
	// it is in draft status.
	//
	// If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially,
	// first to last, stopping at the first matched rule. Amazon Fraud dectector
	// then provides the outcomes for that single rule.
	//
	// If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and
	// returns the outcomes for all matched rules.
	//
	// The default behavior is FIRST_MATCHED.
	RuleExecutionMode RuleExecutionMode `locationName:"ruleExecutionMode" type:"string" enum:"true"`

	// The rules to include in the detector version.
	//
	// Rules is a required field
	Rules []Rule `locationName:"rules" type:"list" required:"true"`

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

func (CreateDetectorVersionInput) String

String returns the string representation

func (*CreateDetectorVersionInput) Validate

func (s *CreateDetectorVersionInput) Validate() error

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

type CreateDetectorVersionOutput

type CreateDetectorVersionOutput struct {

	// The ID for the created version's parent detector.
	DetectorId *string `locationName:"detectorId" min:"1" type:"string"`

	// The ID for the created detector.
	DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string"`

	// The status of the detector version.
	Status DetectorVersionStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateDetectorVersionOutput) String

String returns the string representation

type CreateDetectorVersionRequest

type CreateDetectorVersionRequest struct {
	*aws.Request
	Input *CreateDetectorVersionInput
	Copy  func(*CreateDetectorVersionInput) CreateDetectorVersionRequest
}

CreateDetectorVersionRequest is the request type for the CreateDetectorVersion API operation.

func (CreateDetectorVersionRequest) Send

Send marshals and sends the CreateDetectorVersion API request.

type CreateDetectorVersionResponse

type CreateDetectorVersionResponse struct {
	*CreateDetectorVersionOutput
	// contains filtered or unexported fields
}

CreateDetectorVersionResponse is the response type for the CreateDetectorVersion API operation.

func (*CreateDetectorVersionResponse) SDKResponseMetdata

func (r *CreateDetectorVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDetectorVersion request.

type CreateModelInput added in v0.24.0

type CreateModelInput struct {

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

	// The name of the event type.
	//
	// EventTypeName is a required field
	EventTypeName *string `locationName:"eventTypeName" type:"string" required:"true"`

	// The model ID.
	//
	// ModelId is a required field
	ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"`

	// The model type.
	//
	// ModelType is a required field
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" required:"true" enum:"true"`

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

func (CreateModelInput) String added in v0.24.0

func (s CreateModelInput) String() string

String returns the string representation

func (*CreateModelInput) Validate added in v0.24.0

func (s *CreateModelInput) Validate() error

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

type CreateModelOutput added in v0.24.0

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

func (CreateModelOutput) String added in v0.24.0

func (s CreateModelOutput) String() string

String returns the string representation

type CreateModelRequest added in v0.24.0

type CreateModelRequest struct {
	*aws.Request
	Input *CreateModelInput
	Copy  func(*CreateModelInput) CreateModelRequest
}

CreateModelRequest is the request type for the CreateModel API operation.

func (CreateModelRequest) Send added in v0.24.0

Send marshals and sends the CreateModel API request.

type CreateModelResponse added in v0.24.0

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

CreateModelResponse is the response type for the CreateModel API operation.

func (*CreateModelResponse) SDKResponseMetdata added in v0.24.0

func (r *CreateModelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateModel request.

type CreateModelVersionInput

type CreateModelVersionInput struct {

	// Details for the external events data used for model version training. Required
	// if trainingDataSource is EXTERNAL_EVENTS.
	ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" type:"structure"`

	// The model ID.
	//
	// ModelId is a required field
	ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"`

	// The model type.
	//
	// ModelType is a required field
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" required:"true" enum:"true"`

	// A collection of key and value pairs.
	Tags []Tag `locationName:"tags" type:"list"`

	// The training data schema.
	//
	// TrainingDataSchema is a required field
	TrainingDataSchema *TrainingDataSchema `locationName:"trainingDataSchema" type:"structure" required:"true"`

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

func (CreateModelVersionInput) String

func (s CreateModelVersionInput) String() string

String returns the string representation

func (*CreateModelVersionInput) Validate

func (s *CreateModelVersionInput) Validate() error

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

type CreateModelVersionOutput

type CreateModelVersionOutput struct {

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

	// The model type.
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" enum:"true"`

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

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

func (CreateModelVersionOutput) String

func (s CreateModelVersionOutput) String() string

String returns the string representation

type CreateModelVersionRequest

type CreateModelVersionRequest struct {
	*aws.Request
	Input *CreateModelVersionInput
	Copy  func(*CreateModelVersionInput) CreateModelVersionRequest
}

CreateModelVersionRequest is the request type for the CreateModelVersion API operation.

func (CreateModelVersionRequest) Send

Send marshals and sends the CreateModelVersion API request.

type CreateModelVersionResponse

type CreateModelVersionResponse struct {
	*CreateModelVersionOutput
	// contains filtered or unexported fields
}

CreateModelVersionResponse is the response type for the CreateModelVersion API operation.

func (*CreateModelVersionResponse) SDKResponseMetdata

func (r *CreateModelVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateModelVersion request.

type CreateRuleInput

type CreateRuleInput struct {

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

	// The detector ID for the rule's parent detector.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

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

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

	// The outcome or outcomes returned when the rule expression matches.
	//
	// Outcomes is a required field
	Outcomes []string `locationName:"outcomes" min:"1" type:"list" required:"true"`

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

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

func (CreateRuleInput) String

func (s CreateRuleInput) String() string

String returns the string representation

func (*CreateRuleInput) Validate

func (s *CreateRuleInput) Validate() error

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

type CreateRuleOutput

type CreateRuleOutput struct {

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

func (CreateRuleOutput) String

func (s CreateRuleOutput) String() string

String returns the string representation

type CreateRuleRequest

type CreateRuleRequest struct {
	*aws.Request
	Input *CreateRuleInput
	Copy  func(*CreateRuleInput) CreateRuleRequest
}

CreateRuleRequest is the request type for the CreateRule API operation.

func (CreateRuleRequest) Send

Send marshals and sends the CreateRule API request.

type CreateRuleResponse

type CreateRuleResponse struct {
	*CreateRuleOutput
	// contains filtered or unexported fields
}

CreateRuleResponse is the response type for the CreateRule API operation.

func (*CreateRuleResponse) SDKResponseMetdata

func (r *CreateRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateRule request.

type CreateVariableInput

type CreateVariableInput struct {

	// The source of the data.
	//
	// DataSource is a required field
	DataSource DataSource `locationName:"dataSource" type:"string" required:"true" enum:"true"`

	// The data type.
	//
	// DataType is a required field
	DataType DataType `locationName:"dataType" type:"string" required:"true" enum:"true"`

	// The default value for the variable when no value is received.
	//
	// DefaultValue is a required field
	DefaultValue *string `locationName:"defaultValue" type:"string" required:"true"`

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

	// The name of the variable.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// A collection of key and value pairs.
	Tags []Tag `locationName:"tags" type:"list"`

	// The variable type.
	//
	// Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 |
	// BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE
	// | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS |
	// FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID
	// | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1
	// | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME
	// | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT | SHIPPING_ZIP
	// | USERAGENT
	VariableType *string `locationName:"variableType" type:"string"`
	// contains filtered or unexported fields
}

func (CreateVariableInput) String

func (s CreateVariableInput) String() string

String returns the string representation

func (*CreateVariableInput) Validate

func (s *CreateVariableInput) Validate() error

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

type CreateVariableOutput

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

func (CreateVariableOutput) String

func (s CreateVariableOutput) String() string

String returns the string representation

type CreateVariableRequest

type CreateVariableRequest struct {
	*aws.Request
	Input *CreateVariableInput
	Copy  func(*CreateVariableInput) CreateVariableRequest
}

CreateVariableRequest is the request type for the CreateVariable API operation.

func (CreateVariableRequest) Send

Send marshals and sends the CreateVariable API request.

type CreateVariableResponse

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

CreateVariableResponse is the response type for the CreateVariable API operation.

func (*CreateVariableResponse) SDKResponseMetdata

func (r *CreateVariableResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateVariable request.

type DataSource

type DataSource string
const (
	DataSourceEvent              DataSource = "EVENT"
	DataSourceModelScore         DataSource = "MODEL_SCORE"
	DataSourceExternalModelScore DataSource = "EXTERNAL_MODEL_SCORE"
)

Enum values for DataSource

func (DataSource) MarshalValue

func (enum DataSource) MarshalValue() (string, error)

func (DataSource) MarshalValueBuf

func (enum DataSource) MarshalValueBuf(b []byte) ([]byte, error)

type DataType

type DataType string
const (
	DataTypeString  DataType = "STRING"
	DataTypeInteger DataType = "INTEGER"
	DataTypeFloat   DataType = "FLOAT"
	DataTypeBoolean DataType = "BOOLEAN"
)

Enum values for DataType

func (DataType) MarshalValue

func (enum DataType) MarshalValue() (string, error)

func (DataType) MarshalValueBuf

func (enum DataType) MarshalValueBuf(b []byte) ([]byte, error)

type DataValidationMetrics added in v0.24.0

type DataValidationMetrics struct {

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

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

The model training validation messages.

func (DataValidationMetrics) String added in v0.24.0

func (s DataValidationMetrics) String() string

String returns the string representation

type DeleteDetectorInput added in v0.21.0

type DeleteDetectorInput struct {

	// The ID of the detector to delete.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDetectorInput) String added in v0.21.0

func (s DeleteDetectorInput) String() string

String returns the string representation

func (*DeleteDetectorInput) Validate added in v0.21.0

func (s *DeleteDetectorInput) Validate() error

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

type DeleteDetectorOutput added in v0.21.0

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

func (DeleteDetectorOutput) String added in v0.21.0

func (s DeleteDetectorOutput) String() string

String returns the string representation

type DeleteDetectorRequest added in v0.21.0

type DeleteDetectorRequest struct {
	*aws.Request
	Input *DeleteDetectorInput
	Copy  func(*DeleteDetectorInput) DeleteDetectorRequest
}

DeleteDetectorRequest is the request type for the DeleteDetector API operation.

func (DeleteDetectorRequest) Send added in v0.21.0

Send marshals and sends the DeleteDetector API request.

type DeleteDetectorResponse added in v0.21.0

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

DeleteDetectorResponse is the response type for the DeleteDetector API operation.

func (*DeleteDetectorResponse) SDKResponseMetdata added in v0.21.0

func (r *DeleteDetectorResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDetector request.

type DeleteDetectorVersionInput

type DeleteDetectorVersionInput struct {

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

	// The ID of the detector version to delete.
	//
	// DetectorVersionId is a required field
	DetectorVersionId *string `locationName:"detectorVersionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDetectorVersionInput) String

String returns the string representation

func (*DeleteDetectorVersionInput) Validate

func (s *DeleteDetectorVersionInput) Validate() error

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

type DeleteDetectorVersionOutput

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

func (DeleteDetectorVersionOutput) String

String returns the string representation

type DeleteDetectorVersionRequest

type DeleteDetectorVersionRequest struct {
	*aws.Request
	Input *DeleteDetectorVersionInput
	Copy  func(*DeleteDetectorVersionInput) DeleteDetectorVersionRequest
}

DeleteDetectorVersionRequest is the request type for the DeleteDetectorVersion API operation.

func (DeleteDetectorVersionRequest) Send

Send marshals and sends the DeleteDetectorVersion API request.

type DeleteDetectorVersionResponse

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

DeleteDetectorVersionResponse is the response type for the DeleteDetectorVersion API operation.

func (*DeleteDetectorVersionResponse) SDKResponseMetdata

func (r *DeleteDetectorVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDetectorVersion request.

type DeleteEventInput

type DeleteEventInput struct {

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

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

func (DeleteEventInput) String

func (s DeleteEventInput) String() string

String returns the string representation

func (*DeleteEventInput) Validate

func (s *DeleteEventInput) Validate() error

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

type DeleteEventOutput

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

func (DeleteEventOutput) String

func (s DeleteEventOutput) String() string

String returns the string representation

type DeleteEventRequest

type DeleteEventRequest struct {
	*aws.Request
	Input *DeleteEventInput
	Copy  func(*DeleteEventInput) DeleteEventRequest
}

DeleteEventRequest is the request type for the DeleteEvent API operation.

func (DeleteEventRequest) Send

Send marshals and sends the DeleteEvent API request.

type DeleteEventResponse

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

DeleteEventResponse is the response type for the DeleteEvent API operation.

func (*DeleteEventResponse) SDKResponseMetdata

func (r *DeleteEventResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteEvent request.

type DeleteRuleInput added in v0.24.0

type DeleteRuleInput struct {

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

func (DeleteRuleInput) String added in v0.24.0

func (s DeleteRuleInput) String() string

String returns the string representation

func (*DeleteRuleInput) Validate added in v0.24.0

func (s *DeleteRuleInput) Validate() error

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

type DeleteRuleOutput added in v0.24.0

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

func (DeleteRuleOutput) String added in v0.24.0

func (s DeleteRuleOutput) String() string

String returns the string representation

type DeleteRuleRequest added in v0.24.0

type DeleteRuleRequest struct {
	*aws.Request
	Input *DeleteRuleInput
	Copy  func(*DeleteRuleInput) DeleteRuleRequest
}

DeleteRuleRequest is the request type for the DeleteRule API operation.

func (DeleteRuleRequest) Send added in v0.24.0

Send marshals and sends the DeleteRule API request.

type DeleteRuleResponse added in v0.24.0

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

DeleteRuleResponse is the response type for the DeleteRule API operation.

func (*DeleteRuleResponse) SDKResponseMetdata added in v0.24.0

func (r *DeleteRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteRule request.

type DescribeDetectorInput

type DescribeDetectorInput struct {

	// The detector ID.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

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

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

func (DescribeDetectorInput) String

func (s DescribeDetectorInput) String() string

String returns the string representation

func (*DescribeDetectorInput) Validate

func (s *DescribeDetectorInput) Validate() error

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

type DescribeDetectorOutput

type DescribeDetectorOutput struct {

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

	// The detector ID.
	DetectorId *string `locationName:"detectorId" min:"1" type:"string"`

	// The status and description for each detector version.
	DetectorVersionSummaries []DetectorVersionSummary `locationName:"detectorVersionSummaries" type:"list"`

	// The next token to be used for subsequent requests.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeDetectorOutput) String

func (s DescribeDetectorOutput) String() string

String returns the string representation

type DescribeDetectorRequest

type DescribeDetectorRequest struct {
	*aws.Request
	Input *DescribeDetectorInput
	Copy  func(*DescribeDetectorInput) DescribeDetectorRequest
}

DescribeDetectorRequest is the request type for the DescribeDetector API operation.

func (DescribeDetectorRequest) Send

Send marshals and sends the DescribeDetector API request.

type DescribeDetectorResponse

type DescribeDetectorResponse struct {
	*DescribeDetectorOutput
	// contains filtered or unexported fields
}

DescribeDetectorResponse is the response type for the DescribeDetector API operation.

func (*DescribeDetectorResponse) SDKResponseMetdata

func (r *DescribeDetectorResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeDetector request.

type DescribeModelVersionsInput

type DescribeModelVersionsInput struct {

	// The maximum number of results to return.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

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

	// The model type.
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" enum:"true"`

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

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

func (DescribeModelVersionsInput) String

String returns the string representation

func (*DescribeModelVersionsInput) Validate

func (s *DescribeModelVersionsInput) Validate() error

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

type DescribeModelVersionsOutput

type DescribeModelVersionsOutput struct {

	// The model version details.
	ModelVersionDetails []ModelVersionDetail `locationName:"modelVersionDetails" type:"list"`

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

func (DescribeModelVersionsOutput) String

String returns the string representation

type DescribeModelVersionsPaginator

type DescribeModelVersionsPaginator struct {
	aws.Pager
}

DescribeModelVersionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeModelVersionsPaginator

func NewDescribeModelVersionsPaginator(req DescribeModelVersionsRequest) DescribeModelVersionsPaginator

NewDescribeModelVersionsRequestPaginator returns a paginator for DescribeModelVersions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.DescribeModelVersionsRequest(input)
p := frauddetector.NewDescribeModelVersionsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeModelVersionsPaginator) CurrentPage

type DescribeModelVersionsRequest

type DescribeModelVersionsRequest struct {
	*aws.Request
	Input *DescribeModelVersionsInput
	Copy  func(*DescribeModelVersionsInput) DescribeModelVersionsRequest
}

DescribeModelVersionsRequest is the request type for the DescribeModelVersions API operation.

func (DescribeModelVersionsRequest) Send

Send marshals and sends the DescribeModelVersions API request.

type DescribeModelVersionsResponse

type DescribeModelVersionsResponse struct {
	*DescribeModelVersionsOutput
	// contains filtered or unexported fields
}

DescribeModelVersionsResponse is the response type for the DescribeModelVersions API operation.

func (*DescribeModelVersionsResponse) SDKResponseMetdata

func (r *DescribeModelVersionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeModelVersions request.

type Detector

type Detector struct {

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

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

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

	// The detector ID.
	DetectorId *string `locationName:"detectorId" min:"1" type:"string"`

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

	// Timestamp of when the detector was last updated.
	LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"`
	// contains filtered or unexported fields
}

The detector.

func (Detector) String

func (s Detector) String() string

String returns the string representation

type DetectorVersionStatus

type DetectorVersionStatus string
const (
	DetectorVersionStatusDraft    DetectorVersionStatus = "DRAFT"
	DetectorVersionStatusActive   DetectorVersionStatus = "ACTIVE"
	DetectorVersionStatusInactive DetectorVersionStatus = "INACTIVE"
)

Enum values for DetectorVersionStatus

func (DetectorVersionStatus) MarshalValue

func (enum DetectorVersionStatus) MarshalValue() (string, error)

func (DetectorVersionStatus) MarshalValueBuf

func (enum DetectorVersionStatus) MarshalValueBuf(b []byte) ([]byte, error)

type DetectorVersionSummary

type DetectorVersionSummary struct {

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

	// The detector version ID.
	DetectorVersionId *string `locationName:"detectorVersionId" min:"1" type:"string"`

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

	// The detector version status.
	Status DetectorVersionStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The summary of the detector version.

func (DetectorVersionSummary) String

func (s DetectorVersionSummary) String() string

String returns the string representation

type Entity added in v0.24.0

type Entity struct {

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

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

The entity details.

func (Entity) String added in v0.24.0

func (s Entity) String() string

String returns the string representation

func (*Entity) Validate added in v0.24.0

func (s *Entity) Validate() error

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

type EntityType added in v0.24.0

type EntityType struct {

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

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

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

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

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

The entity type details.

func (EntityType) String added in v0.24.0

func (s EntityType) String() string

String returns the string representation

type EventType added in v0.24.0

type EventType struct {

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

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

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

	// The event type entity types.
	EntityTypes []string `locationName:"entityTypes" min:"1" type:"list"`

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

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

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

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

The event type details.

func (EventType) String added in v0.24.0

func (s EventType) String() string

String returns the string representation

type ExternalEventsDetail added in v0.24.0

type ExternalEventsDetail struct {

	// The ARN of the role that provides Amazon Fraud Detector access to the data
	// location.
	//
	// DataAccessRoleArn is a required field
	DataAccessRoleArn *string `locationName:"dataAccessRoleArn" min:"1" type:"string" required:"true"`

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

Details for the external events data used for model version training.

func (ExternalEventsDetail) String added in v0.24.0

func (s ExternalEventsDetail) String() string

String returns the string representation

func (*ExternalEventsDetail) Validate added in v0.24.0

func (s *ExternalEventsDetail) Validate() error

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

type ExternalModel

type ExternalModel struct {

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

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

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

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

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

	// The Amazon SageMaker model endpoints.
	ModelEndpoint *string `locationName:"modelEndpoint" type:"string"`

	// The Amazon Fraud Detector status for the external model endpoint
	ModelEndpointStatus ModelEndpointStatus `locationName:"modelEndpointStatus" type:"string" enum:"true"`

	// The source of the model.
	ModelSource ModelSource `locationName:"modelSource" type:"string" enum:"true"`

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

func (s ExternalModel) String() string

String returns the string representation

type FieldValidationMessage added in v0.24.0

type FieldValidationMessage struct {

	// The message content.
	Content *string `locationName:"content" type:"string"`

	// The field name.
	FieldName *string `locationName:"fieldName" type:"string"`

	// The message ID.
	Identifier *string `locationName:"identifier" type:"string"`

	// The message title.
	Title *string `locationName:"title" type:"string"`

	// The message type.
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

The message details.

func (FieldValidationMessage) String added in v0.24.0

func (s FieldValidationMessage) String() string

String returns the string representation

type FileValidationMessage added in v0.24.0

type FileValidationMessage struct {

	// The message content.
	Content *string `locationName:"content" type:"string"`

	// The message title.
	Title *string `locationName:"title" type:"string"`

	// The message type.
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

The message details.

func (FileValidationMessage) String added in v0.24.0

func (s FileValidationMessage) String() string

String returns the string representation

type GetDetectorVersionInput

type GetDetectorVersionInput struct {

	// The detector ID.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

	// The detector version ID.
	//
	// DetectorVersionId is a required field
	DetectorVersionId *string `locationName:"detectorVersionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDetectorVersionInput) String

func (s GetDetectorVersionInput) String() string

String returns the string representation

func (*GetDetectorVersionInput) Validate

func (s *GetDetectorVersionInput) Validate() error

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

type GetDetectorVersionOutput

type GetDetectorVersionOutput struct {

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

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

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

	// The detector ID.
	DetectorId *string `locationName:"detectorId" min:"1" type:"string"`

	// The detector version ID.
	DetectorVersionId *string `locationName:"detectorVersionId" type:"string"`

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

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

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

	// The execution mode of the rule in the dectector
	//
	// FIRST_MATCHED indicates that Amazon Fraud Detector evaluates rules sequentially,
	// first to last, stopping at the first matched rule. Amazon Fraud dectector
	// then provides the outcomes for that single rule.
	//
	// ALL_MATCHED indicates that Amazon Fraud Detector evaluates all rules and
	// returns the outcomes for all matched rules. You can define and edit the rule
	// mode at the detector version level, when it is in draft status.
	RuleExecutionMode RuleExecutionMode `locationName:"ruleExecutionMode" type:"string" enum:"true"`

	// The rules included in the detector version.
	Rules []Rule `locationName:"rules" type:"list"`

	// The status of the detector version.
	Status DetectorVersionStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetDetectorVersionOutput) String

func (s GetDetectorVersionOutput) String() string

String returns the string representation

type GetDetectorVersionRequest

type GetDetectorVersionRequest struct {
	*aws.Request
	Input *GetDetectorVersionInput
	Copy  func(*GetDetectorVersionInput) GetDetectorVersionRequest
}

GetDetectorVersionRequest is the request type for the GetDetectorVersion API operation.

func (GetDetectorVersionRequest) Send

Send marshals and sends the GetDetectorVersion API request.

type GetDetectorVersionResponse

type GetDetectorVersionResponse struct {
	*GetDetectorVersionOutput
	// contains filtered or unexported fields
}

GetDetectorVersionResponse is the response type for the GetDetectorVersion API operation.

func (*GetDetectorVersionResponse) SDKResponseMetdata

func (r *GetDetectorVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDetectorVersion request.

type GetDetectorsInput

type GetDetectorsInput struct {

	// The detector ID.
	DetectorId *string `locationName:"detectorId" min:"1" type:"string"`

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

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

func (GetDetectorsInput) String

func (s GetDetectorsInput) String() string

String returns the string representation

func (*GetDetectorsInput) Validate

func (s *GetDetectorsInput) Validate() error

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

type GetDetectorsOutput

type GetDetectorsOutput struct {

	// The detectors.
	Detectors []Detector `locationName:"detectors" type:"list"`

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

func (GetDetectorsOutput) String

func (s GetDetectorsOutput) String() string

String returns the string representation

type GetDetectorsPaginator

type GetDetectorsPaginator struct {
	aws.Pager
}

GetDetectorsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetDetectorsPaginator

func NewGetDetectorsPaginator(req GetDetectorsRequest) GetDetectorsPaginator

NewGetDetectorsRequestPaginator returns a paginator for GetDetectors. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetDetectorsRequest(input)
p := frauddetector.NewGetDetectorsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetDetectorsPaginator) CurrentPage

func (p *GetDetectorsPaginator) CurrentPage() *GetDetectorsOutput

type GetDetectorsRequest

type GetDetectorsRequest struct {
	*aws.Request
	Input *GetDetectorsInput
	Copy  func(*GetDetectorsInput) GetDetectorsRequest
}

GetDetectorsRequest is the request type for the GetDetectors API operation.

func (GetDetectorsRequest) Send

Send marshals and sends the GetDetectors API request.

type GetDetectorsResponse

type GetDetectorsResponse struct {
	*GetDetectorsOutput
	// contains filtered or unexported fields
}

GetDetectorsResponse is the response type for the GetDetectors API operation.

func (*GetDetectorsResponse) SDKResponseMetdata

func (r *GetDetectorsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDetectors request.

type GetEntityTypesInput added in v0.24.0

type GetEntityTypesInput struct {

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

	// The name.
	Name *string `locationName:"name" min:"1" type:"string"`

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

func (GetEntityTypesInput) String added in v0.24.0

func (s GetEntityTypesInput) String() string

String returns the string representation

func (*GetEntityTypesInput) Validate added in v0.24.0

func (s *GetEntityTypesInput) Validate() error

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

type GetEntityTypesOutput added in v0.24.0

type GetEntityTypesOutput struct {

	// An array of entity types.
	EntityTypes []EntityType `locationName:"entityTypes" type:"list"`

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

func (GetEntityTypesOutput) String added in v0.24.0

func (s GetEntityTypesOutput) String() string

String returns the string representation

type GetEntityTypesPaginator added in v0.24.0

type GetEntityTypesPaginator struct {
	aws.Pager
}

GetEntityTypesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetEntityTypesPaginator added in v0.24.0

func NewGetEntityTypesPaginator(req GetEntityTypesRequest) GetEntityTypesPaginator

NewGetEntityTypesRequestPaginator returns a paginator for GetEntityTypes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetEntityTypesRequest(input)
p := frauddetector.NewGetEntityTypesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetEntityTypesPaginator) CurrentPage added in v0.24.0

type GetEntityTypesRequest added in v0.24.0

type GetEntityTypesRequest struct {
	*aws.Request
	Input *GetEntityTypesInput
	Copy  func(*GetEntityTypesInput) GetEntityTypesRequest
}

GetEntityTypesRequest is the request type for the GetEntityTypes API operation.

func (GetEntityTypesRequest) Send added in v0.24.0

Send marshals and sends the GetEntityTypes API request.

type GetEntityTypesResponse added in v0.24.0

type GetEntityTypesResponse struct {
	*GetEntityTypesOutput
	// contains filtered or unexported fields
}

GetEntityTypesResponse is the response type for the GetEntityTypes API operation.

func (*GetEntityTypesResponse) SDKResponseMetdata added in v0.24.0

func (r *GetEntityTypesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetEntityTypes request.

type GetEventPredictionInput added in v0.24.0

type GetEventPredictionInput struct {

	// The detector ID.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" type:"string" required:"true"`

	// The detector version ID.
	DetectorVersionId *string `locationName:"detectorVersionId" type:"string"`

	// The entity type (associated with the detector's event type) and specific
	// entity ID representing who performed the event. If an entity id is not available,
	// use "UNKNOWN."
	//
	// Entities is a required field
	Entities []Entity `locationName:"entities" type:"list" required:"true"`

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

	// Timestamp that defines when the event under evaluation occurred.
	//
	// EventTimestamp is a required field
	EventTimestamp *string `locationName:"eventTimestamp" type:"string" required:"true"`

	// The event type associated with the detector specified for the prediction.
	//
	// EventTypeName is a required field
	EventTypeName *string `locationName:"eventTypeName" type:"string" required:"true"`

	// Names of the event type's variables you defined in Amazon Fraud Detector
	// to represent data elements and their corresponding values for the event you
	// are sending for evaluation.
	//
	// EventVariables is a required field
	EventVariables map[string]string `locationName:"eventVariables" min:"1" type:"map" required:"true"`

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

func (GetEventPredictionInput) String added in v0.24.0

func (s GetEventPredictionInput) String() string

String returns the string representation

func (*GetEventPredictionInput) Validate added in v0.24.0

func (s *GetEventPredictionInput) Validate() error

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

type GetEventPredictionOutput added in v0.24.0

type GetEventPredictionOutput struct {

	// The model scores. Amazon Fraud Detector generates model scores between 0
	// and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores
	// are directly related to the false positive rate (FPR). For example, a score
	// of 600 corresponds to an estimated 10% false positive rate whereas a score
	// of 900 corresponds to an estimated 2% false positive rate.
	ModelScores []ModelScores `locationName:"modelScores" type:"list"`

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

func (GetEventPredictionOutput) String added in v0.24.0

func (s GetEventPredictionOutput) String() string

String returns the string representation

type GetEventPredictionRequest added in v0.24.0

type GetEventPredictionRequest struct {
	*aws.Request
	Input *GetEventPredictionInput
	Copy  func(*GetEventPredictionInput) GetEventPredictionRequest
}

GetEventPredictionRequest is the request type for the GetEventPrediction API operation.

func (GetEventPredictionRequest) Send added in v0.24.0

Send marshals and sends the GetEventPrediction API request.

type GetEventPredictionResponse added in v0.24.0

type GetEventPredictionResponse struct {
	*GetEventPredictionOutput
	// contains filtered or unexported fields
}

GetEventPredictionResponse is the response type for the GetEventPrediction API operation.

func (*GetEventPredictionResponse) SDKResponseMetdata added in v0.24.0

func (r *GetEventPredictionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetEventPrediction request.

type GetEventTypesInput added in v0.24.0

type GetEventTypesInput struct {

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

	// The name.
	Name *string `locationName:"name" min:"1" type:"string"`

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

func (GetEventTypesInput) String added in v0.24.0

func (s GetEventTypesInput) String() string

String returns the string representation

func (*GetEventTypesInput) Validate added in v0.24.0

func (s *GetEventTypesInput) Validate() error

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

type GetEventTypesOutput added in v0.24.0

type GetEventTypesOutput struct {

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

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

func (GetEventTypesOutput) String added in v0.24.0

func (s GetEventTypesOutput) String() string

String returns the string representation

type GetEventTypesPaginator added in v0.24.0

type GetEventTypesPaginator struct {
	aws.Pager
}

GetEventTypesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetEventTypesPaginator added in v0.24.0

func NewGetEventTypesPaginator(req GetEventTypesRequest) GetEventTypesPaginator

NewGetEventTypesRequestPaginator returns a paginator for GetEventTypes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetEventTypesRequest(input)
p := frauddetector.NewGetEventTypesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetEventTypesPaginator) CurrentPage added in v0.24.0

func (p *GetEventTypesPaginator) CurrentPage() *GetEventTypesOutput

type GetEventTypesRequest added in v0.24.0

type GetEventTypesRequest struct {
	*aws.Request
	Input *GetEventTypesInput
	Copy  func(*GetEventTypesInput) GetEventTypesRequest
}

GetEventTypesRequest is the request type for the GetEventTypes API operation.

func (GetEventTypesRequest) Send added in v0.24.0

Send marshals and sends the GetEventTypes API request.

type GetEventTypesResponse added in v0.24.0

type GetEventTypesResponse struct {
	*GetEventTypesOutput
	// contains filtered or unexported fields
}

GetEventTypesResponse is the response type for the GetEventTypes API operation.

func (*GetEventTypesResponse) SDKResponseMetdata added in v0.24.0

func (r *GetEventTypesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetEventTypes request.

type GetExternalModelsInput

type GetExternalModelsInput struct {

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

	// The Amazon SageMaker model endpoint.
	ModelEndpoint *string `locationName:"modelEndpoint" type:"string"`

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

func (GetExternalModelsInput) String

func (s GetExternalModelsInput) String() string

String returns the string representation

func (*GetExternalModelsInput) Validate

func (s *GetExternalModelsInput) Validate() error

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

type GetExternalModelsOutput

type GetExternalModelsOutput struct {

	// Gets the Amazon SageMaker models.
	ExternalModels []ExternalModel `locationName:"externalModels" type:"list"`

	// The next page token to be used in subsequent requests.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetExternalModelsOutput) String

func (s GetExternalModelsOutput) String() string

String returns the string representation

type GetExternalModelsPaginator

type GetExternalModelsPaginator struct {
	aws.Pager
}

GetExternalModelsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetExternalModelsPaginator

func NewGetExternalModelsPaginator(req GetExternalModelsRequest) GetExternalModelsPaginator

NewGetExternalModelsRequestPaginator returns a paginator for GetExternalModels. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetExternalModelsRequest(input)
p := frauddetector.NewGetExternalModelsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetExternalModelsPaginator) CurrentPage

type GetExternalModelsRequest

type GetExternalModelsRequest struct {
	*aws.Request
	Input *GetExternalModelsInput
	Copy  func(*GetExternalModelsInput) GetExternalModelsRequest
}

GetExternalModelsRequest is the request type for the GetExternalModels API operation.

func (GetExternalModelsRequest) Send

Send marshals and sends the GetExternalModels API request.

type GetExternalModelsResponse

type GetExternalModelsResponse struct {
	*GetExternalModelsOutput
	// contains filtered or unexported fields
}

GetExternalModelsResponse is the response type for the GetExternalModels API operation.

func (*GetExternalModelsResponse) SDKResponseMetdata

func (r *GetExternalModelsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetExternalModels request.

type GetKMSEncryptionKeyInput added in v0.24.0

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

func (GetKMSEncryptionKeyInput) String added in v0.24.0

func (s GetKMSEncryptionKeyInput) String() string

String returns the string representation

type GetKMSEncryptionKeyOutput added in v0.24.0

type GetKMSEncryptionKeyOutput struct {

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

func (GetKMSEncryptionKeyOutput) String added in v0.24.0

func (s GetKMSEncryptionKeyOutput) String() string

String returns the string representation

type GetKMSEncryptionKeyRequest added in v0.24.0

type GetKMSEncryptionKeyRequest struct {
	*aws.Request
	Input *GetKMSEncryptionKeyInput
	Copy  func(*GetKMSEncryptionKeyInput) GetKMSEncryptionKeyRequest
}

GetKMSEncryptionKeyRequest is the request type for the GetKMSEncryptionKey API operation.

func (GetKMSEncryptionKeyRequest) Send added in v0.24.0

Send marshals and sends the GetKMSEncryptionKey API request.

type GetKMSEncryptionKeyResponse added in v0.24.0

type GetKMSEncryptionKeyResponse struct {
	*GetKMSEncryptionKeyOutput
	// contains filtered or unexported fields
}

GetKMSEncryptionKeyResponse is the response type for the GetKMSEncryptionKey API operation.

func (*GetKMSEncryptionKeyResponse) SDKResponseMetdata added in v0.24.0

func (r *GetKMSEncryptionKeyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetKMSEncryptionKey request.

type GetLabelsInput added in v0.24.0

type GetLabelsInput struct {

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

	// The name of the label or labels to get.
	Name *string `locationName:"name" min:"1" type:"string"`

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

func (GetLabelsInput) String added in v0.24.0

func (s GetLabelsInput) String() string

String returns the string representation

func (*GetLabelsInput) Validate added in v0.24.0

func (s *GetLabelsInput) Validate() error

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

type GetLabelsOutput added in v0.24.0

type GetLabelsOutput struct {

	// An array of labels.
	Labels []Label `locationName:"labels" type:"list"`

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

func (GetLabelsOutput) String added in v0.24.0

func (s GetLabelsOutput) String() string

String returns the string representation

type GetLabelsPaginator added in v0.24.0

type GetLabelsPaginator struct {
	aws.Pager
}

GetLabelsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetLabelsPaginator added in v0.24.0

func NewGetLabelsPaginator(req GetLabelsRequest) GetLabelsPaginator

NewGetLabelsRequestPaginator returns a paginator for GetLabels. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetLabelsRequest(input)
p := frauddetector.NewGetLabelsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetLabelsPaginator) CurrentPage added in v0.24.0

func (p *GetLabelsPaginator) CurrentPage() *GetLabelsOutput

type GetLabelsRequest added in v0.24.0

type GetLabelsRequest struct {
	*aws.Request
	Input *GetLabelsInput
	Copy  func(*GetLabelsInput) GetLabelsRequest
}

GetLabelsRequest is the request type for the GetLabels API operation.

func (GetLabelsRequest) Send added in v0.24.0

Send marshals and sends the GetLabels API request.

type GetLabelsResponse added in v0.24.0

type GetLabelsResponse struct {
	*GetLabelsOutput
	// contains filtered or unexported fields
}

GetLabelsResponse is the response type for the GetLabels API operation.

func (*GetLabelsResponse) SDKResponseMetdata added in v0.24.0

func (r *GetLabelsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetLabels request.

type GetModelVersionInput

type GetModelVersionInput struct {

	// The model ID.
	//
	// ModelId is a required field
	ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"`

	// The model type.
	//
	// ModelType is a required field
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" required:"true" enum:"true"`

	// The model version number.
	//
	// ModelVersionNumber is a required field
	ModelVersionNumber *string `locationName:"modelVersionNumber" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetModelVersionInput) String

func (s GetModelVersionInput) String() string

String returns the string representation

func (*GetModelVersionInput) Validate

func (s *GetModelVersionInput) Validate() error

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

type GetModelVersionOutput

type GetModelVersionOutput struct {

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

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

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

	// The model type.
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" enum:"true"`

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

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

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

	// The training data source.
	TrainingDataSource TrainingDataSourceEnum `locationName:"trainingDataSource" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetModelVersionOutput) String

func (s GetModelVersionOutput) String() string

String returns the string representation

type GetModelVersionRequest

type GetModelVersionRequest struct {
	*aws.Request
	Input *GetModelVersionInput
	Copy  func(*GetModelVersionInput) GetModelVersionRequest
}

GetModelVersionRequest is the request type for the GetModelVersion API operation.

func (GetModelVersionRequest) Send

Send marshals and sends the GetModelVersion API request.

type GetModelVersionResponse

type GetModelVersionResponse struct {
	*GetModelVersionOutput
	// contains filtered or unexported fields
}

GetModelVersionResponse is the response type for the GetModelVersion API operation.

func (*GetModelVersionResponse) SDKResponseMetdata

func (r *GetModelVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetModelVersion request.

type GetModelsInput

type GetModelsInput struct {

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

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

	// The model type.
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" enum:"true"`

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

func (GetModelsInput) String

func (s GetModelsInput) String() string

String returns the string representation

func (*GetModelsInput) Validate

func (s *GetModelsInput) Validate() error

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

type GetModelsOutput

type GetModelsOutput struct {

	// The array of models.
	Models []Model `locationName:"models" type:"list"`

	// The next page token to be used in subsequent requests.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetModelsOutput) String

func (s GetModelsOutput) String() string

String returns the string representation

type GetModelsPaginator

type GetModelsPaginator struct {
	aws.Pager
}

GetModelsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetModelsPaginator

func NewGetModelsPaginator(req GetModelsRequest) GetModelsPaginator

NewGetModelsRequestPaginator returns a paginator for GetModels. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetModelsRequest(input)
p := frauddetector.NewGetModelsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetModelsPaginator) CurrentPage

func (p *GetModelsPaginator) CurrentPage() *GetModelsOutput

type GetModelsRequest

type GetModelsRequest struct {
	*aws.Request
	Input *GetModelsInput
	Copy  func(*GetModelsInput) GetModelsRequest
}

GetModelsRequest is the request type for the GetModels API operation.

func (GetModelsRequest) Send

Send marshals and sends the GetModels API request.

type GetModelsResponse

type GetModelsResponse struct {
	*GetModelsOutput
	// contains filtered or unexported fields
}

GetModelsResponse is the response type for the GetModels API operation.

func (*GetModelsResponse) SDKResponseMetdata

func (r *GetModelsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetModels request.

type GetOutcomesInput

type GetOutcomesInput struct {

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

	// The name of the outcome or outcomes to get.
	Name *string `locationName:"name" min:"1" type:"string"`

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

func (GetOutcomesInput) String

func (s GetOutcomesInput) String() string

String returns the string representation

func (*GetOutcomesInput) Validate

func (s *GetOutcomesInput) Validate() error

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

type GetOutcomesOutput

type GetOutcomesOutput struct {

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

	// The outcomes.
	Outcomes []Outcome `locationName:"outcomes" type:"list"`
	// contains filtered or unexported fields
}

func (GetOutcomesOutput) String

func (s GetOutcomesOutput) String() string

String returns the string representation

type GetOutcomesPaginator

type GetOutcomesPaginator struct {
	aws.Pager
}

GetOutcomesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetOutcomesPaginator

func NewGetOutcomesPaginator(req GetOutcomesRequest) GetOutcomesPaginator

NewGetOutcomesRequestPaginator returns a paginator for GetOutcomes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetOutcomesRequest(input)
p := frauddetector.NewGetOutcomesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetOutcomesPaginator) CurrentPage

func (p *GetOutcomesPaginator) CurrentPage() *GetOutcomesOutput

type GetOutcomesRequest

type GetOutcomesRequest struct {
	*aws.Request
	Input *GetOutcomesInput
	Copy  func(*GetOutcomesInput) GetOutcomesRequest
}

GetOutcomesRequest is the request type for the GetOutcomes API operation.

func (GetOutcomesRequest) Send

Send marshals and sends the GetOutcomes API request.

type GetOutcomesResponse

type GetOutcomesResponse struct {
	*GetOutcomesOutput
	// contains filtered or unexported fields
}

GetOutcomesResponse is the response type for the GetOutcomes API operation.

func (*GetOutcomesResponse) SDKResponseMetdata

func (r *GetOutcomesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetOutcomes request.

type GetPredictionInput

type GetPredictionInput struct {

	// The detector ID.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" type:"string" required:"true"`

	// The detector version ID.
	DetectorVersionId *string `locationName:"detectorVersionId" type:"string"`

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

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

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

func (GetPredictionInput) String

func (s GetPredictionInput) String() string

String returns the string representation

func (*GetPredictionInput) Validate

func (s *GetPredictionInput) Validate() error

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

type GetPredictionOutput

type GetPredictionOutput struct {

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

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

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

func (GetPredictionOutput) String

func (s GetPredictionOutput) String() string

String returns the string representation

type GetPredictionRequest

type GetPredictionRequest struct {
	*aws.Request
	Input *GetPredictionInput
	Copy  func(*GetPredictionInput) GetPredictionRequest
}

GetPredictionRequest is the request type for the GetPrediction API operation.

func (GetPredictionRequest) Send

Send marshals and sends the GetPrediction API request.

type GetPredictionResponse

type GetPredictionResponse struct {
	*GetPredictionOutput
	// contains filtered or unexported fields
}

GetPredictionResponse is the response type for the GetPrediction API operation.

func (*GetPredictionResponse) SDKResponseMetdata

func (r *GetPredictionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetPrediction request.

type GetRulesInput

type GetRulesInput struct {

	// The detector ID.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

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

	// The next page token.
	NextToken *string `locationName:"nextToken" type:"string"`

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

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

func (GetRulesInput) String

func (s GetRulesInput) String() string

String returns the string representation

func (*GetRulesInput) Validate

func (s *GetRulesInput) Validate() error

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

type GetRulesOutput

type GetRulesOutput struct {

	// The next page token to be used in subsequent requests.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The details of the requested rule.
	RuleDetails []RuleDetail `locationName:"ruleDetails" type:"list"`
	// contains filtered or unexported fields
}

func (GetRulesOutput) String

func (s GetRulesOutput) String() string

String returns the string representation

type GetRulesPaginator

type GetRulesPaginator struct {
	aws.Pager
}

GetRulesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetRulesPaginator

func NewGetRulesPaginator(req GetRulesRequest) GetRulesPaginator

NewGetRulesRequestPaginator returns a paginator for GetRules. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetRulesRequest(input)
p := frauddetector.NewGetRulesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetRulesPaginator) CurrentPage

func (p *GetRulesPaginator) CurrentPage() *GetRulesOutput

type GetRulesRequest

type GetRulesRequest struct {
	*aws.Request
	Input *GetRulesInput
	Copy  func(*GetRulesInput) GetRulesRequest
}

GetRulesRequest is the request type for the GetRules API operation.

func (GetRulesRequest) Send

Send marshals and sends the GetRules API request.

type GetRulesResponse

type GetRulesResponse struct {
	*GetRulesOutput
	// contains filtered or unexported fields
}

GetRulesResponse is the response type for the GetRules API operation.

func (*GetRulesResponse) SDKResponseMetdata

func (r *GetRulesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRules request.

type GetVariablesInput

type GetVariablesInput struct {

	// The max size per page determined for the get variable request.
	MaxResults *int64 `locationName:"maxResults" min:"50" type:"integer"`

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

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

func (GetVariablesInput) String

func (s GetVariablesInput) String() string

String returns the string representation

func (*GetVariablesInput) Validate

func (s *GetVariablesInput) Validate() error

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

type GetVariablesOutput

type GetVariablesOutput struct {

	// The next page token to be used in subsequent requests.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The names of the variables returned.
	Variables []Variable `locationName:"variables" type:"list"`
	// contains filtered or unexported fields
}

func (GetVariablesOutput) String

func (s GetVariablesOutput) String() string

String returns the string representation

type GetVariablesPaginator

type GetVariablesPaginator struct {
	aws.Pager
}

GetVariablesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetVariablesPaginator

func NewGetVariablesPaginator(req GetVariablesRequest) GetVariablesPaginator

NewGetVariablesRequestPaginator returns a paginator for GetVariables. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetVariablesRequest(input)
p := frauddetector.NewGetVariablesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetVariablesPaginator) CurrentPage

func (p *GetVariablesPaginator) CurrentPage() *GetVariablesOutput

type GetVariablesRequest

type GetVariablesRequest struct {
	*aws.Request
	Input *GetVariablesInput
	Copy  func(*GetVariablesInput) GetVariablesRequest
}

GetVariablesRequest is the request type for the GetVariables API operation.

func (GetVariablesRequest) Send

Send marshals and sends the GetVariables API request.

type GetVariablesResponse

type GetVariablesResponse struct {
	*GetVariablesOutput
	// contains filtered or unexported fields
}

GetVariablesResponse is the response type for the GetVariables API operation.

func (*GetVariablesResponse) SDKResponseMetdata

func (r *GetVariablesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetVariables request.

type KMSKey added in v0.24.0

type KMSKey struct {

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

The KMS key details.

func (KMSKey) String added in v0.24.0

func (s KMSKey) String() string

String returns the string representation

type Label added in v0.24.0

type Label struct {

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

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

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

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

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

The label details.

func (Label) String added in v0.24.0

func (s Label) String() string

String returns the string representation

type LabelSchema

type LabelSchema struct {

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

The label schema.

func (LabelSchema) String

func (s LabelSchema) String() string

String returns the string representation

func (*LabelSchema) Validate

func (s *LabelSchema) Validate() error

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

type Language

type Language string
const (
	LanguageDetectorpl Language = "DETECTORPL"
)

Enum values for Language

func (Language) MarshalValue

func (enum Language) MarshalValue() (string, error)

func (Language) MarshalValueBuf

func (enum Language) MarshalValueBuf(b []byte) ([]byte, error)

type ListTagsForResourceInput added in v0.24.0

type ListTagsForResourceInput struct {

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

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

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

func (ListTagsForResourceInput) String added in v0.24.0

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v0.24.0

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v0.24.0

type ListTagsForResourceOutput struct {

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

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

func (ListTagsForResourceOutput) String added in v0.24.0

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourcePaginator added in v0.24.0

type ListTagsForResourcePaginator struct {
	aws.Pager
}

ListTagsForResourcePaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListTagsForResourcePaginator added in v0.24.0

func NewListTagsForResourcePaginator(req ListTagsForResourceRequest) ListTagsForResourcePaginator

NewListTagsForResourceRequestPaginator returns a paginator for ListTagsForResource. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListTagsForResourceRequest(input)
p := frauddetector.NewListTagsForResourceRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListTagsForResourcePaginator) CurrentPage added in v0.24.0

type ListTagsForResourceRequest added in v0.24.0

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send added in v0.24.0

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.24.0

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.24.0

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type MetricDataPoint added in v0.24.0

type MetricDataPoint struct {

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

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

	// The model threshold that specifies an acceptable fraud capture rate. For
	// example, a threshold of 500 means any model score 500 or above is labeled
	// as fraud.
	Threshold *float64 `locationName:"threshold" type:"float"`

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

Model performance metrics data points.

func (MetricDataPoint) String added in v0.24.0

func (s MetricDataPoint) String() string

String returns the string representation

type Model

type Model struct {

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

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

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

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

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

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

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

The model.

func (Model) String

func (s Model) String() string

String returns the string representation

type ModelEndpointDataBlob

type ModelEndpointDataBlob struct {

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

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

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

func (ModelEndpointDataBlob) String

func (s ModelEndpointDataBlob) String() string

String returns the string representation

func (*ModelEndpointDataBlob) Validate

func (s *ModelEndpointDataBlob) Validate() error

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

type ModelEndpointStatus

type ModelEndpointStatus string
const (
	ModelEndpointStatusAssociated  ModelEndpointStatus = "ASSOCIATED"
	ModelEndpointStatusDissociated ModelEndpointStatus = "DISSOCIATED"
)

Enum values for ModelEndpointStatus

func (ModelEndpointStatus) MarshalValue

func (enum ModelEndpointStatus) MarshalValue() (string, error)

func (ModelEndpointStatus) MarshalValueBuf

func (enum ModelEndpointStatus) MarshalValueBuf(b []byte) ([]byte, error)

type ModelInputConfiguration

type ModelInputConfiguration struct {

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

	// The format of the model input configuration. The format differs depending
	// on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.
	Format ModelInputDataFormat `locationName:"format" type:"string" enum:"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"`

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

The Amazon SageMaker model input configuration.

func (ModelInputConfiguration) String

func (s ModelInputConfiguration) String() string

String returns the string representation

func (*ModelInputConfiguration) Validate

func (s *ModelInputConfiguration) Validate() error

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

type ModelInputDataFormat

type ModelInputDataFormat string
const (
	ModelInputDataFormatTextCsv         ModelInputDataFormat = "TEXT_CSV"
	ModelInputDataFormatApplicationJson ModelInputDataFormat = "APPLICATION_JSON"
)

Enum values for ModelInputDataFormat

func (ModelInputDataFormat) MarshalValue

func (enum ModelInputDataFormat) MarshalValue() (string, error)

func (ModelInputDataFormat) MarshalValueBuf

func (enum ModelInputDataFormat) MarshalValueBuf(b []byte) ([]byte, error)

type ModelOutputConfiguration

type ModelOutputConfiguration struct {

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

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

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

Provides the Amazon Sagemaker model output configuration.

func (ModelOutputConfiguration) String

func (s ModelOutputConfiguration) String() string

String returns the string representation

func (*ModelOutputConfiguration) Validate

func (s *ModelOutputConfiguration) Validate() error

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

type ModelOutputDataFormat

type ModelOutputDataFormat string
const (
	ModelOutputDataFormatTextCsv              ModelOutputDataFormat = "TEXT_CSV"
	ModelOutputDataFormatApplicationJsonlines ModelOutputDataFormat = "APPLICATION_JSONLINES"
)

Enum values for ModelOutputDataFormat

func (ModelOutputDataFormat) MarshalValue

func (enum ModelOutputDataFormat) MarshalValue() (string, error)

func (ModelOutputDataFormat) MarshalValueBuf

func (enum ModelOutputDataFormat) MarshalValueBuf(b []byte) ([]byte, error)

type ModelScores

type ModelScores struct {

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

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

The fraud prediction scores.

func (ModelScores) String

func (s ModelScores) String() string

String returns the string representation

type ModelSource

type ModelSource string
const (
	ModelSourceSagemaker ModelSource = "SAGEMAKER"
)

Enum values for ModelSource

func (ModelSource) MarshalValue

func (enum ModelSource) MarshalValue() (string, error)

func (ModelSource) MarshalValueBuf

func (enum ModelSource) MarshalValueBuf(b []byte) ([]byte, error)

type ModelTypeEnum

type ModelTypeEnum string
const (
	ModelTypeEnumOnlineFraudInsights ModelTypeEnum = "ONLINE_FRAUD_INSIGHTS"
)

Enum values for ModelTypeEnum

func (ModelTypeEnum) MarshalValue

func (enum ModelTypeEnum) MarshalValue() (string, error)

func (ModelTypeEnum) MarshalValueBuf

func (enum ModelTypeEnum) MarshalValueBuf(b []byte) ([]byte, error)

type ModelVersion

type ModelVersion struct {

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

	// The model ID.
	//
	// ModelId is a required field
	ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"`

	// The model type.
	//
	// ModelType is a required field
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" required:"true" enum:"true"`

	// The model version number.
	//
	// ModelVersionNumber is a required field
	ModelVersionNumber *string `locationName:"modelVersionNumber" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The model version.

func (ModelVersion) String

func (s ModelVersion) String() string

String returns the string representation

func (*ModelVersion) Validate

func (s *ModelVersion) Validate() error

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

type ModelVersionDetail

type ModelVersionDetail struct {

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

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

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

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

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

	// The model type.
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" enum:"true"`

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

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

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

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

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

The details of the model version.

func (ModelVersionDetail) String

func (s ModelVersionDetail) String() string

String returns the string representation

type ModelVersionStatus

type ModelVersionStatus string
const (
	ModelVersionStatusTrainingInProgress   ModelVersionStatus = "TRAINING_IN_PROGRESS"
	ModelVersionStatusTrainingComplete     ModelVersionStatus = "TRAINING_COMPLETE"
	ModelVersionStatusActivateRequested    ModelVersionStatus = "ACTIVATE_REQUESTED"
	ModelVersionStatusActivateInProgress   ModelVersionStatus = "ACTIVATE_IN_PROGRESS"
	ModelVersionStatusActive               ModelVersionStatus = "ACTIVE"
	ModelVersionStatusInactivateInProgress ModelVersionStatus = "INACTIVATE_IN_PROGRESS"
	ModelVersionStatusInactive             ModelVersionStatus = "INACTIVE"
	ModelVersionStatusDeleteRequested      ModelVersionStatus = "DELETE_REQUESTED"
	ModelVersionStatusDeleteInProgress     ModelVersionStatus = "DELETE_IN_PROGRESS"
	ModelVersionStatusError                ModelVersionStatus = "ERROR"
)

Enum values for ModelVersionStatus

func (ModelVersionStatus) MarshalValue

func (enum ModelVersionStatus) MarshalValue() (string, error)

func (ModelVersionStatus) MarshalValueBuf

func (enum ModelVersionStatus) MarshalValueBuf(b []byte) ([]byte, error)

type Outcome

type Outcome struct {

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

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

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

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

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

The outcome.

func (Outcome) String

func (s Outcome) String() string

String returns the string representation

type PutDetectorInput

type PutDetectorInput struct {

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

	// The detector ID.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

	// The name of the event type.
	//
	// EventTypeName is a required field
	EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"`

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

func (PutDetectorInput) String

func (s PutDetectorInput) String() string

String returns the string representation

func (*PutDetectorInput) Validate

func (s *PutDetectorInput) Validate() error

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

type PutDetectorOutput

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

func (PutDetectorOutput) String

func (s PutDetectorOutput) String() string

String returns the string representation

type PutDetectorRequest

type PutDetectorRequest struct {
	*aws.Request
	Input *PutDetectorInput
	Copy  func(*PutDetectorInput) PutDetectorRequest
}

PutDetectorRequest is the request type for the PutDetector API operation.

func (PutDetectorRequest) Send

Send marshals and sends the PutDetector API request.

type PutDetectorResponse

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

PutDetectorResponse is the response type for the PutDetector API operation.

func (*PutDetectorResponse) SDKResponseMetdata

func (r *PutDetectorResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutDetector request.

type PutEntityTypeInput added in v0.24.0

type PutEntityTypeInput struct {

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

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

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

func (PutEntityTypeInput) String added in v0.24.0

func (s PutEntityTypeInput) String() string

String returns the string representation

func (*PutEntityTypeInput) Validate added in v0.24.0

func (s *PutEntityTypeInput) Validate() error

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

type PutEntityTypeOutput added in v0.24.0

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

func (PutEntityTypeOutput) String added in v0.24.0

func (s PutEntityTypeOutput) String() string

String returns the string representation

type PutEntityTypeRequest added in v0.24.0

type PutEntityTypeRequest struct {
	*aws.Request
	Input *PutEntityTypeInput
	Copy  func(*PutEntityTypeInput) PutEntityTypeRequest
}

PutEntityTypeRequest is the request type for the PutEntityType API operation.

func (PutEntityTypeRequest) Send added in v0.24.0

Send marshals and sends the PutEntityType API request.

type PutEntityTypeResponse added in v0.24.0

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

PutEntityTypeResponse is the response type for the PutEntityType API operation.

func (*PutEntityTypeResponse) SDKResponseMetdata added in v0.24.0

func (r *PutEntityTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutEntityType request.

type PutEventTypeInput added in v0.24.0

type PutEventTypeInput struct {

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

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

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

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

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

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

func (PutEventTypeInput) String added in v0.24.0

func (s PutEventTypeInput) String() string

String returns the string representation

func (*PutEventTypeInput) Validate added in v0.24.0

func (s *PutEventTypeInput) Validate() error

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

type PutEventTypeOutput added in v0.24.0

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

func (PutEventTypeOutput) String added in v0.24.0

func (s PutEventTypeOutput) String() string

String returns the string representation

type PutEventTypeRequest added in v0.24.0

type PutEventTypeRequest struct {
	*aws.Request
	Input *PutEventTypeInput
	Copy  func(*PutEventTypeInput) PutEventTypeRequest
}

PutEventTypeRequest is the request type for the PutEventType API operation.

func (PutEventTypeRequest) Send added in v0.24.0

Send marshals and sends the PutEventType API request.

type PutEventTypeResponse added in v0.24.0

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

PutEventTypeResponse is the response type for the PutEventType API operation.

func (*PutEventTypeResponse) SDKResponseMetdata added in v0.24.0

func (r *PutEventTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutEventType request.

type PutExternalModelInput

type PutExternalModelInput struct {

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

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

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

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

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

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

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

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

func (PutExternalModelInput) String

func (s PutExternalModelInput) String() string

String returns the string representation

func (*PutExternalModelInput) Validate

func (s *PutExternalModelInput) Validate() error

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

type PutExternalModelOutput

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

func (PutExternalModelOutput) String

func (s PutExternalModelOutput) String() string

String returns the string representation

type PutExternalModelRequest

type PutExternalModelRequest struct {
	*aws.Request
	Input *PutExternalModelInput
	Copy  func(*PutExternalModelInput) PutExternalModelRequest
}

PutExternalModelRequest is the request type for the PutExternalModel API operation.

func (PutExternalModelRequest) Send

Send marshals and sends the PutExternalModel API request.

type PutExternalModelResponse

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

PutExternalModelResponse is the response type for the PutExternalModel API operation.

func (*PutExternalModelResponse) SDKResponseMetdata

func (r *PutExternalModelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutExternalModel request.

type PutKMSEncryptionKeyInput added in v0.24.0

type PutKMSEncryptionKeyInput struct {

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

func (PutKMSEncryptionKeyInput) String added in v0.24.0

func (s PutKMSEncryptionKeyInput) String() string

String returns the string representation

func (*PutKMSEncryptionKeyInput) Validate added in v0.24.0

func (s *PutKMSEncryptionKeyInput) Validate() error

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

type PutKMSEncryptionKeyOutput added in v0.24.0

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

func (PutKMSEncryptionKeyOutput) String added in v0.24.0

func (s PutKMSEncryptionKeyOutput) String() string

String returns the string representation

type PutKMSEncryptionKeyRequest added in v0.24.0

type PutKMSEncryptionKeyRequest struct {
	*aws.Request
	Input *PutKMSEncryptionKeyInput
	Copy  func(*PutKMSEncryptionKeyInput) PutKMSEncryptionKeyRequest
}

PutKMSEncryptionKeyRequest is the request type for the PutKMSEncryptionKey API operation.

func (PutKMSEncryptionKeyRequest) Send added in v0.24.0

Send marshals and sends the PutKMSEncryptionKey API request.

type PutKMSEncryptionKeyResponse added in v0.24.0

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

PutKMSEncryptionKeyResponse is the response type for the PutKMSEncryptionKey API operation.

func (*PutKMSEncryptionKeyResponse) SDKResponseMetdata added in v0.24.0

func (r *PutKMSEncryptionKeyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutKMSEncryptionKey request.

type PutLabelInput added in v0.24.0

type PutLabelInput struct {

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

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

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

func (PutLabelInput) String added in v0.24.0

func (s PutLabelInput) String() string

String returns the string representation

func (*PutLabelInput) Validate added in v0.24.0

func (s *PutLabelInput) Validate() error

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

type PutLabelOutput added in v0.24.0

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

func (PutLabelOutput) String added in v0.24.0

func (s PutLabelOutput) String() string

String returns the string representation

type PutLabelRequest added in v0.24.0

type PutLabelRequest struct {
	*aws.Request
	Input *PutLabelInput
	Copy  func(*PutLabelInput) PutLabelRequest
}

PutLabelRequest is the request type for the PutLabel API operation.

func (PutLabelRequest) Send added in v0.24.0

Send marshals and sends the PutLabel API request.

type PutLabelResponse added in v0.24.0

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

PutLabelResponse is the response type for the PutLabel API operation.

func (*PutLabelResponse) SDKResponseMetdata added in v0.24.0

func (r *PutLabelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutLabel request.

type PutOutcomeInput

type PutOutcomeInput struct {

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

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

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

func (PutOutcomeInput) String

func (s PutOutcomeInput) String() string

String returns the string representation

func (*PutOutcomeInput) Validate

func (s *PutOutcomeInput) Validate() error

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

type PutOutcomeOutput

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

func (PutOutcomeOutput) String

func (s PutOutcomeOutput) String() string

String returns the string representation

type PutOutcomeRequest

type PutOutcomeRequest struct {
	*aws.Request
	Input *PutOutcomeInput
	Copy  func(*PutOutcomeInput) PutOutcomeRequest
}

PutOutcomeRequest is the request type for the PutOutcome API operation.

func (PutOutcomeRequest) Send

Send marshals and sends the PutOutcome API request.

type PutOutcomeResponse

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

PutOutcomeResponse is the response type for the PutOutcome API operation.

func (*PutOutcomeResponse) SDKResponseMetdata

func (r *PutOutcomeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutOutcome request.

type Role

type Role struct {

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

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

The role used to invoke external model endpoints.

func (Role) String

func (s Role) String() string

String returns the string representation

func (*Role) Validate

func (s *Role) Validate() error

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

type Rule

type Rule struct {

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

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

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

A rule.

func (Rule) String

func (s Rule) String() string

String returns the string representation

func (*Rule) Validate

func (s *Rule) Validate() error

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

type RuleDetail

type RuleDetail struct {

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

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

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

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

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

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

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

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

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

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

The details of the rule.

func (RuleDetail) String

func (s RuleDetail) String() string

String returns the string representation

type RuleExecutionMode added in v0.21.0

type RuleExecutionMode string
const (
	RuleExecutionModeAllMatched   RuleExecutionMode = "ALL_MATCHED"
	RuleExecutionModeFirstMatched RuleExecutionMode = "FIRST_MATCHED"
)

Enum values for RuleExecutionMode

func (RuleExecutionMode) MarshalValue added in v0.21.0

func (enum RuleExecutionMode) MarshalValue() (string, error)

func (RuleExecutionMode) MarshalValueBuf added in v0.21.0

func (enum RuleExecutionMode) MarshalValueBuf(b []byte) ([]byte, error)

type RuleResult added in v0.21.0

type RuleResult struct {

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

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

The rule results.

func (RuleResult) String added in v0.21.0

func (s RuleResult) String() string

String returns the string representation

type Tag added in v0.24.0

type Tag struct {

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

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

A key and value pair.

func (Tag) String added in v0.24.0

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate added in v0.24.0

func (s *Tag) Validate() error

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

type TagResourceInput added in v0.24.0

type TagResourceInput struct {

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

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

func (TagResourceInput) String added in v0.24.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.24.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.24.0

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

func (TagResourceOutput) String added in v0.24.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.24.0

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.24.0

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.24.0

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

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.24.0

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type TrainingDataSchema added in v0.24.0

type TrainingDataSchema struct {

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

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

The training data schema.

func (TrainingDataSchema) String added in v0.24.0

func (s TrainingDataSchema) String() string

String returns the string representation

func (*TrainingDataSchema) Validate added in v0.24.0

func (s *TrainingDataSchema) Validate() error

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

type TrainingDataSourceEnum added in v0.24.0

type TrainingDataSourceEnum string
const (
	TrainingDataSourceEnumExternalEvents TrainingDataSourceEnum = "EXTERNAL_EVENTS"
)

Enum values for TrainingDataSourceEnum

func (TrainingDataSourceEnum) MarshalValue added in v0.24.0

func (enum TrainingDataSourceEnum) MarshalValue() (string, error)

func (TrainingDataSourceEnum) MarshalValueBuf added in v0.24.0

func (enum TrainingDataSourceEnum) MarshalValueBuf(b []byte) ([]byte, error)

type TrainingMetrics added in v0.24.0

type TrainingMetrics struct {

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

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

The training metric details.

func (TrainingMetrics) String added in v0.24.0

func (s TrainingMetrics) String() string

String returns the string representation

type TrainingResult added in v0.24.0

type TrainingResult struct {

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

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

The training result details.

func (TrainingResult) String added in v0.24.0

func (s TrainingResult) String() string

String returns the string representation

type UntagResourceInput added in v0.24.0

type UntagResourceInput struct {

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

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

func (UntagResourceInput) String added in v0.24.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.24.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.24.0

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

func (UntagResourceOutput) String added in v0.24.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.24.0

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.24.0

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.24.0

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

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.24.0

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateDetectorVersionInput

type UpdateDetectorVersionInput struct {

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

	// The parent detector ID for the detector version you want to update.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

	// The detector version ID.
	//
	// DetectorVersionId is a required field
	DetectorVersionId *string `locationName:"detectorVersionId" type:"string" required:"true"`

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

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

	// The rule execution mode to add to the detector.
	//
	// If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially,
	// first to last, stopping at the first matched rule. Amazon Fraud dectector
	// then provides the outcomes for that single rule.
	//
	// If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and
	// returns the outcomes for all matched rules. You can define and edit the rule
	// mode at the detector version level, when it is in draft status.
	//
	// The default behavior is FIRST_MATCHED.
	RuleExecutionMode RuleExecutionMode `locationName:"ruleExecutionMode" type:"string" enum:"true"`

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

String returns the string representation

func (*UpdateDetectorVersionInput) Validate

func (s *UpdateDetectorVersionInput) Validate() error

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

type UpdateDetectorVersionMetadataInput

type UpdateDetectorVersionMetadataInput struct {

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

	// The detector ID.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

	// The detector version ID.
	//
	// DetectorVersionId is a required field
	DetectorVersionId *string `locationName:"detectorVersionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateDetectorVersionMetadataInput) String

String returns the string representation

func (*UpdateDetectorVersionMetadataInput) Validate

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

type UpdateDetectorVersionMetadataOutput

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

func (UpdateDetectorVersionMetadataOutput) String

String returns the string representation

type UpdateDetectorVersionMetadataRequest

type UpdateDetectorVersionMetadataRequest struct {
	*aws.Request
	Input *UpdateDetectorVersionMetadataInput
	Copy  func(*UpdateDetectorVersionMetadataInput) UpdateDetectorVersionMetadataRequest
}

UpdateDetectorVersionMetadataRequest is the request type for the UpdateDetectorVersionMetadata API operation.

func (UpdateDetectorVersionMetadataRequest) Send

Send marshals and sends the UpdateDetectorVersionMetadata API request.

type UpdateDetectorVersionMetadataResponse

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

UpdateDetectorVersionMetadataResponse is the response type for the UpdateDetectorVersionMetadata API operation.

func (*UpdateDetectorVersionMetadataResponse) SDKResponseMetdata

func (r *UpdateDetectorVersionMetadataResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDetectorVersionMetadata request.

type UpdateDetectorVersionOutput

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

func (UpdateDetectorVersionOutput) String

String returns the string representation

type UpdateDetectorVersionRequest

type UpdateDetectorVersionRequest struct {
	*aws.Request
	Input *UpdateDetectorVersionInput
	Copy  func(*UpdateDetectorVersionInput) UpdateDetectorVersionRequest
}

UpdateDetectorVersionRequest is the request type for the UpdateDetectorVersion API operation.

func (UpdateDetectorVersionRequest) Send

Send marshals and sends the UpdateDetectorVersion API request.

type UpdateDetectorVersionResponse

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

UpdateDetectorVersionResponse is the response type for the UpdateDetectorVersion API operation.

func (*UpdateDetectorVersionResponse) SDKResponseMetdata

func (r *UpdateDetectorVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDetectorVersion request.

type UpdateDetectorVersionStatusInput

type UpdateDetectorVersionStatusInput struct {

	// The detector ID.
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

	// The detector version ID.
	//
	// DetectorVersionId is a required field
	DetectorVersionId *string `locationName:"detectorVersionId" type:"string" required:"true"`

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

func (UpdateDetectorVersionStatusInput) String

String returns the string representation

func (*UpdateDetectorVersionStatusInput) Validate

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

type UpdateDetectorVersionStatusOutput

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

func (UpdateDetectorVersionStatusOutput) String

String returns the string representation

type UpdateDetectorVersionStatusRequest

type UpdateDetectorVersionStatusRequest struct {
	*aws.Request
	Input *UpdateDetectorVersionStatusInput
	Copy  func(*UpdateDetectorVersionStatusInput) UpdateDetectorVersionStatusRequest
}

UpdateDetectorVersionStatusRequest is the request type for the UpdateDetectorVersionStatus API operation.

func (UpdateDetectorVersionStatusRequest) Send

Send marshals and sends the UpdateDetectorVersionStatus API request.

type UpdateDetectorVersionStatusResponse

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

UpdateDetectorVersionStatusResponse is the response type for the UpdateDetectorVersionStatus API operation.

func (*UpdateDetectorVersionStatusResponse) SDKResponseMetdata

func (r *UpdateDetectorVersionStatusResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDetectorVersionStatus request.

type UpdateModelInput added in v0.24.0

type UpdateModelInput struct {

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

	// The model ID.
	//
	// ModelId is a required field
	ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"`

	// The model type.
	//
	// ModelType is a required field
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (UpdateModelInput) String added in v0.24.0

func (s UpdateModelInput) String() string

String returns the string representation

func (*UpdateModelInput) Validate added in v0.24.0

func (s *UpdateModelInput) Validate() error

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

type UpdateModelOutput added in v0.24.0

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

func (UpdateModelOutput) String added in v0.24.0

func (s UpdateModelOutput) String() string

String returns the string representation

type UpdateModelRequest added in v0.24.0

type UpdateModelRequest struct {
	*aws.Request
	Input *UpdateModelInput
	Copy  func(*UpdateModelInput) UpdateModelRequest
}

UpdateModelRequest is the request type for the UpdateModel API operation.

func (UpdateModelRequest) Send added in v0.24.0

Send marshals and sends the UpdateModel API request.

type UpdateModelResponse added in v0.24.0

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

UpdateModelResponse is the response type for the UpdateModel API operation.

func (*UpdateModelResponse) SDKResponseMetdata added in v0.24.0

func (r *UpdateModelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateModel request.

type UpdateModelVersionInput

type UpdateModelVersionInput struct {

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

	// The major version number.
	//
	// MajorVersionNumber is a required field
	MajorVersionNumber *string `locationName:"majorVersionNumber" type:"string" required:"true"`

	// The model ID.
	//
	// ModelId is a required field
	ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"`

	// The model type.
	//
	// ModelType is a required field
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" required:"true" enum:"true"`

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

func (UpdateModelVersionInput) String

func (s UpdateModelVersionInput) String() string

String returns the string representation

func (*UpdateModelVersionInput) Validate

func (s *UpdateModelVersionInput) Validate() error

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

type UpdateModelVersionOutput

type UpdateModelVersionOutput struct {

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

	// The model type.
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" enum:"true"`

	// The model version number of the model version updated.
	ModelVersionNumber *string `locationName:"modelVersionNumber" type:"string"`

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

func (UpdateModelVersionOutput) String

func (s UpdateModelVersionOutput) String() string

String returns the string representation

type UpdateModelVersionRequest

type UpdateModelVersionRequest struct {
	*aws.Request
	Input *UpdateModelVersionInput
	Copy  func(*UpdateModelVersionInput) UpdateModelVersionRequest
}

UpdateModelVersionRequest is the request type for the UpdateModelVersion API operation.

func (UpdateModelVersionRequest) Send

Send marshals and sends the UpdateModelVersion API request.

type UpdateModelVersionResponse

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

UpdateModelVersionResponse is the response type for the UpdateModelVersion API operation.

func (*UpdateModelVersionResponse) SDKResponseMetdata

func (r *UpdateModelVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateModelVersion request.

type UpdateModelVersionStatusInput added in v0.24.0

type UpdateModelVersionStatusInput struct {

	// The model ID of the model version to update.
	//
	// ModelId is a required field
	ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"`

	// The model type.
	//
	// ModelType is a required field
	ModelType ModelTypeEnum `locationName:"modelType" type:"string" required:"true" enum:"true"`

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

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

func (UpdateModelVersionStatusInput) String added in v0.24.0

String returns the string representation

func (*UpdateModelVersionStatusInput) Validate added in v0.24.0

func (s *UpdateModelVersionStatusInput) Validate() error

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

type UpdateModelVersionStatusOutput added in v0.24.0

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

func (UpdateModelVersionStatusOutput) String added in v0.24.0

String returns the string representation

type UpdateModelVersionStatusRequest added in v0.24.0

type UpdateModelVersionStatusRequest struct {
	*aws.Request
	Input *UpdateModelVersionStatusInput
	Copy  func(*UpdateModelVersionStatusInput) UpdateModelVersionStatusRequest
}

UpdateModelVersionStatusRequest is the request type for the UpdateModelVersionStatus API operation.

func (UpdateModelVersionStatusRequest) Send added in v0.24.0

Send marshals and sends the UpdateModelVersionStatus API request.

type UpdateModelVersionStatusResponse added in v0.24.0

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

UpdateModelVersionStatusResponse is the response type for the UpdateModelVersionStatus API operation.

func (*UpdateModelVersionStatusResponse) SDKResponseMetdata added in v0.24.0

func (r *UpdateModelVersionStatusResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateModelVersionStatus request.

type UpdateRuleMetadataInput

type UpdateRuleMetadataInput struct {

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

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

func (UpdateRuleMetadataInput) String

func (s UpdateRuleMetadataInput) String() string

String returns the string representation

func (*UpdateRuleMetadataInput) Validate

func (s *UpdateRuleMetadataInput) Validate() error

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

type UpdateRuleMetadataOutput

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

func (UpdateRuleMetadataOutput) String

func (s UpdateRuleMetadataOutput) String() string

String returns the string representation

type UpdateRuleMetadataRequest

type UpdateRuleMetadataRequest struct {
	*aws.Request
	Input *UpdateRuleMetadataInput
	Copy  func(*UpdateRuleMetadataInput) UpdateRuleMetadataRequest
}

UpdateRuleMetadataRequest is the request type for the UpdateRuleMetadata API operation.

func (UpdateRuleMetadataRequest) Send

Send marshals and sends the UpdateRuleMetadata API request.

type UpdateRuleMetadataResponse

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

UpdateRuleMetadataResponse is the response type for the UpdateRuleMetadata API operation.

func (*UpdateRuleMetadataResponse) SDKResponseMetdata

func (r *UpdateRuleMetadataResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRuleMetadata request.

type UpdateRuleVersionInput

type UpdateRuleVersionInput struct {

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

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

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

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

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

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

func (UpdateRuleVersionInput) String

func (s UpdateRuleVersionInput) String() string

String returns the string representation

func (*UpdateRuleVersionInput) Validate

func (s *UpdateRuleVersionInput) Validate() error

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

type UpdateRuleVersionOutput

type UpdateRuleVersionOutput struct {

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

func (UpdateRuleVersionOutput) String

func (s UpdateRuleVersionOutput) String() string

String returns the string representation

type UpdateRuleVersionRequest

type UpdateRuleVersionRequest struct {
	*aws.Request
	Input *UpdateRuleVersionInput
	Copy  func(*UpdateRuleVersionInput) UpdateRuleVersionRequest
}

UpdateRuleVersionRequest is the request type for the UpdateRuleVersion API operation.

func (UpdateRuleVersionRequest) Send

Send marshals and sends the UpdateRuleVersion API request.

type UpdateRuleVersionResponse

type UpdateRuleVersionResponse struct {
	*UpdateRuleVersionOutput
	// contains filtered or unexported fields
}

UpdateRuleVersionResponse is the response type for the UpdateRuleVersion API operation.

func (*UpdateRuleVersionResponse) SDKResponseMetdata

func (r *UpdateRuleVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRuleVersion request.

type UpdateVariableInput

type UpdateVariableInput struct {

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

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

	// The name of the variable.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

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

func (UpdateVariableInput) String

func (s UpdateVariableInput) String() string

String returns the string representation

func (*UpdateVariableInput) Validate

func (s *UpdateVariableInput) Validate() error

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

type UpdateVariableOutput

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

func (UpdateVariableOutput) String

func (s UpdateVariableOutput) String() string

String returns the string representation

type UpdateVariableRequest

type UpdateVariableRequest struct {
	*aws.Request
	Input *UpdateVariableInput
	Copy  func(*UpdateVariableInput) UpdateVariableRequest
}

UpdateVariableRequest is the request type for the UpdateVariable API operation.

func (UpdateVariableRequest) Send

Send marshals and sends the UpdateVariable API request.

type UpdateVariableResponse

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

UpdateVariableResponse is the response type for the UpdateVariable API operation.

func (*UpdateVariableResponse) SDKResponseMetdata

func (r *UpdateVariableResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateVariable request.

type Variable

type Variable struct {

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

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

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

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

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

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

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

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

	// The variable type of the variable.
	//
	// Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 |
	// BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE
	// | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS |
	// FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID
	// | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1
	// | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME
	// | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT | SHIPPING_ZIP
	// | USERAGENT
	VariableType *string `locationName:"variableType" type:"string"`
	// contains filtered or unexported fields
}

The variable.

func (Variable) String

func (s Variable) String() string

String returns the string representation

type VariableEntry

type VariableEntry struct {

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

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

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

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

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

	// The type of the variable.
	//
	// Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 |
	// BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE
	// | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS |
	// FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID
	// | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1
	// | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME
	// | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT | SHIPPING_ZIP
	// | USERAGENT
	VariableType *string `locationName:"variableType" type:"string"`
	// contains filtered or unexported fields
}

A variable in the list of variables for the batch create variable request.

func (VariableEntry) String

func (s VariableEntry) String() string

String returns the string representation

Directories

Path Synopsis
Package frauddetectoriface provides an interface to enable mocking the Amazon Fraud Detector service client for testing your code.
Package frauddetectoriface provides an interface to enable mocking the Amazon Fraud Detector service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL