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

package personalize

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

Package personalize provides the client and types for making API requests to Amazon Personalize.

Amazon Personalize is a machine learning service that makes it easy to add individualized recommendations to customers.

See https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22 for more information on this service.

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

Using the Client

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

Index

Package Files

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

Constants

const (

    // ErrCodeInvalidInputException for service response error code
    // "InvalidInputException".
    //
    // Provide a valid value for the field or parameter.
    ErrCodeInvalidInputException = "InvalidInputException"

    // ErrCodeInvalidNextTokenException for service response error code
    // "InvalidNextTokenException".
    //
    // The token is not valid.
    ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

    // ErrCodeLimitExceededException for service response error code
    // "LimitExceededException".
    //
    // The limit on the number of requests per second has been exceeded.
    ErrCodeLimitExceededException = "LimitExceededException"

    // ErrCodeResourceAlreadyExistsException for service response error code
    // "ResourceAlreadyExistsException".
    //
    // The specified resource already exists.
    ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

    // ErrCodeResourceInUseException for service response error code
    // "ResourceInUseException".
    //
    // The specified resource is in use.
    ErrCodeResourceInUseException = "ResourceInUseException"

    // ErrCodeResourceNotFoundException for service response error code
    // "ResourceNotFoundException".
    //
    // Could not find the specified resource.
    ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)
const (
    ServiceName = "Personalize" // Name of service.
    EndpointsID = "personalize" // ID to lookup a service endpoint with.
    ServiceID   = "Personalize" // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // RecipeProviderService is a RecipeProvider enum value
    RecipeProviderService = "SERVICE"
)

type Algorithm Uses

type Algorithm struct {

    // The Amazon Resource Name (ARN) of the algorithm.
    AlgorithmArn *string `locationName:"algorithmArn" type:"string"`

    // The URI of the Docker container for the algorithm image.
    AlgorithmImage *AlgorithmImage `locationName:"algorithmImage" type:"structure"`

    // The date and time (in Unix time) that the algorithm was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // Specifies the default hyperparameters, their ranges, and whether they are
    // tunable. A tunable hyperparameter can have its value determined during hyperparameter
    // optimization (HPO).
    DefaultHyperParameterRanges *DefaultHyperParameterRanges `locationName:"defaultHyperParameterRanges" type:"structure"`

    // Specifies the default hyperparameters.
    DefaultHyperParameters map[string]*string `locationName:"defaultHyperParameters" type:"map"`

    // Specifies the default maximum number of training jobs and parallel training
    // jobs.
    DefaultResourceConfig map[string]*string `locationName:"defaultResourceConfig" type:"map"`

    // The date and time (in Unix time) that the algorithm was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The Amazon Resource Name (ARN) of the role.
    RoleArn *string `locationName:"roleArn" type:"string"`

    // The training input mode.
    TrainingInputMode *string `locationName:"trainingInputMode" type:"string"`
    // contains filtered or unexported fields
}

Describes a custom algorithm.

func (Algorithm) GoString Uses

func (s Algorithm) GoString() string

GoString returns the string representation

func (*Algorithm) SetAlgorithmArn Uses

func (s *Algorithm) SetAlgorithmArn(v string) *Algorithm

SetAlgorithmArn sets the AlgorithmArn field's value.

func (*Algorithm) SetAlgorithmImage Uses

func (s *Algorithm) SetAlgorithmImage(v *AlgorithmImage) *Algorithm

SetAlgorithmImage sets the AlgorithmImage field's value.

func (*Algorithm) SetCreationDateTime Uses

func (s *Algorithm) SetCreationDateTime(v time.Time) *Algorithm

SetCreationDateTime sets the CreationDateTime field's value.

func (*Algorithm) SetDefaultHyperParameterRanges Uses

func (s *Algorithm) SetDefaultHyperParameterRanges(v *DefaultHyperParameterRanges) *Algorithm

SetDefaultHyperParameterRanges sets the DefaultHyperParameterRanges field's value.

func (*Algorithm) SetDefaultHyperParameters Uses

func (s *Algorithm) SetDefaultHyperParameters(v map[string]*string) *Algorithm

SetDefaultHyperParameters sets the DefaultHyperParameters field's value.

func (*Algorithm) SetDefaultResourceConfig Uses

func (s *Algorithm) SetDefaultResourceConfig(v map[string]*string) *Algorithm

SetDefaultResourceConfig sets the DefaultResourceConfig field's value.

func (*Algorithm) SetLastUpdatedDateTime Uses

func (s *Algorithm) SetLastUpdatedDateTime(v time.Time) *Algorithm

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*Algorithm) SetName Uses

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

SetName sets the Name field's value.

func (*Algorithm) SetRoleArn Uses

func (s *Algorithm) SetRoleArn(v string) *Algorithm

SetRoleArn sets the RoleArn field's value.

func (*Algorithm) SetTrainingInputMode Uses

func (s *Algorithm) SetTrainingInputMode(v string) *Algorithm

SetTrainingInputMode sets the TrainingInputMode field's value.

func (Algorithm) String Uses

func (s Algorithm) String() string

String returns the string representation

type AlgorithmImage Uses

type AlgorithmImage struct {

    // The URI of the Docker container for the algorithm image.
    //
    // DockerURI is a required field
    DockerURI *string `locationName:"dockerURI" type:"string" required:"true"`

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

Describes an algorithm image.

func (AlgorithmImage) GoString Uses

func (s AlgorithmImage) GoString() string

GoString returns the string representation

func (*AlgorithmImage) SetDockerURI Uses

func (s *AlgorithmImage) SetDockerURI(v string) *AlgorithmImage

SetDockerURI sets the DockerURI field's value.

func (*AlgorithmImage) SetName Uses

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

SetName sets the Name field's value.

func (AlgorithmImage) String Uses

func (s AlgorithmImage) String() string

String returns the string representation

type AutoMLConfig Uses

type AutoMLConfig struct {

    // The metric to optimize.
    MetricName *string `locationName:"metricName" type:"string"`

    // The list of candidate recipes.
    RecipeList []*string `locationName:"recipeList" type:"list"`
    // contains filtered or unexported fields
}

When the solution performs AutoML (performAutoML is true in CreateSolution), Amazon Personalize determines which recipe, from the specified list, optimizes the given metric. Amazon Personalize then uses that recipe for the solution.

func (AutoMLConfig) GoString Uses

func (s AutoMLConfig) GoString() string

GoString returns the string representation

func (*AutoMLConfig) SetMetricName Uses

func (s *AutoMLConfig) SetMetricName(v string) *AutoMLConfig

SetMetricName sets the MetricName field's value.

func (*AutoMLConfig) SetRecipeList Uses

func (s *AutoMLConfig) SetRecipeList(v []*string) *AutoMLConfig

SetRecipeList sets the RecipeList field's value.

func (AutoMLConfig) String Uses

func (s AutoMLConfig) String() string

String returns the string representation

type AutoMLResult Uses

type AutoMLResult struct {

    // The Amazon Resource Name (ARN) of the best recipe.
    BestRecipeArn *string `locationName:"bestRecipeArn" type:"string"`
    // contains filtered or unexported fields
}

When the solution performs AutoML (performAutoML is true in CreateSolution), specifies the recipe that best optimized the specified metric.

func (AutoMLResult) GoString Uses

func (s AutoMLResult) GoString() string

GoString returns the string representation

func (*AutoMLResult) SetBestRecipeArn Uses

func (s *AutoMLResult) SetBestRecipeArn(v string) *AutoMLResult

SetBestRecipeArn sets the BestRecipeArn field's value.

func (AutoMLResult) String Uses

func (s AutoMLResult) String() string

String returns the string representation

type Campaign Uses

type Campaign struct {

    // The Amazon Resource Name (ARN) of the campaign.
    CampaignArn *string `locationName:"campaignArn" type:"string"`

    // The date and time (in Unix format) that the campaign was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // If a campaign fails, the reason behind the failure.
    FailureReason *string `locationName:"failureReason" type:"string"`

    // The date and time (in Unix format) that the campaign was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

    // Provides a summary of the properties of a campaign update. For a complete
    // listing, call the DescribeCampaign API.
    LatestCampaignUpdate *CampaignUpdateSummary `locationName:"latestCampaignUpdate" type:"structure"`

    // Specifies the requested minimum provisioned transactions (recommendations)
    // per second.
    MinProvisionedTPS *int64 `locationName:"minProvisionedTPS" min:"1" type:"integer"`

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

    // The Amazon Resource Name (ARN) of a specific version of the solution.
    SolutionVersionArn *string `locationName:"solutionVersionArn" type:"string"`

    // The status of the campaign.
    //
    // A campaign can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING > DELETE IN_PROGRESS
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Describes a deployed solution version, otherwise known as a campaign. For more information on campaigns, see CreateCampaign.

func (Campaign) GoString Uses

func (s Campaign) GoString() string

GoString returns the string representation

func (*Campaign) SetCampaignArn Uses

func (s *Campaign) SetCampaignArn(v string) *Campaign

SetCampaignArn sets the CampaignArn field's value.

func (*Campaign) SetCreationDateTime Uses

func (s *Campaign) SetCreationDateTime(v time.Time) *Campaign

SetCreationDateTime sets the CreationDateTime field's value.

func (*Campaign) SetFailureReason Uses

func (s *Campaign) SetFailureReason(v string) *Campaign

SetFailureReason sets the FailureReason field's value.

func (*Campaign) SetLastUpdatedDateTime Uses

func (s *Campaign) SetLastUpdatedDateTime(v time.Time) *Campaign

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*Campaign) SetLatestCampaignUpdate Uses

func (s *Campaign) SetLatestCampaignUpdate(v *CampaignUpdateSummary) *Campaign

SetLatestCampaignUpdate sets the LatestCampaignUpdate field's value.

func (*Campaign) SetMinProvisionedTPS Uses

func (s *Campaign) SetMinProvisionedTPS(v int64) *Campaign

SetMinProvisionedTPS sets the MinProvisionedTPS field's value.

func (*Campaign) SetName Uses

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

SetName sets the Name field's value.

func (*Campaign) SetSolutionVersionArn Uses

func (s *Campaign) SetSolutionVersionArn(v string) *Campaign

SetSolutionVersionArn sets the SolutionVersionArn field's value.

func (*Campaign) SetStatus Uses

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

SetStatus sets the Status field's value.

func (Campaign) String Uses

func (s Campaign) String() string

String returns the string representation

type CampaignSummary Uses

type CampaignSummary struct {

    // The Amazon Resource Name (ARN) of the campaign.
    CampaignArn *string `locationName:"campaignArn" type:"string"`

    // The date and time (in Unix time) that the campaign was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // If a campaign fails, the reason behind the failure.
    FailureReason *string `locationName:"failureReason" type:"string"`

    // The date and time (in Unix time) that the campaign was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The status of the campaign.
    //
    // A campaign can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING > DELETE IN_PROGRESS
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Provides a summary of the properties of a campaign. For a complete listing, call the DescribeCampaign API.

func (CampaignSummary) GoString Uses

func (s CampaignSummary) GoString() string

GoString returns the string representation

func (*CampaignSummary) SetCampaignArn Uses

func (s *CampaignSummary) SetCampaignArn(v string) *CampaignSummary

SetCampaignArn sets the CampaignArn field's value.

func (*CampaignSummary) SetCreationDateTime Uses

func (s *CampaignSummary) SetCreationDateTime(v time.Time) *CampaignSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*CampaignSummary) SetFailureReason Uses

func (s *CampaignSummary) SetFailureReason(v string) *CampaignSummary

SetFailureReason sets the FailureReason field's value.

func (*CampaignSummary) SetLastUpdatedDateTime Uses

func (s *CampaignSummary) SetLastUpdatedDateTime(v time.Time) *CampaignSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*CampaignSummary) SetName Uses

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

SetName sets the Name field's value.

func (*CampaignSummary) SetStatus Uses

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

SetStatus sets the Status field's value.

func (CampaignSummary) String Uses

func (s CampaignSummary) String() string

String returns the string representation

type CampaignUpdateSummary Uses

type CampaignUpdateSummary struct {

    // The date and time (in Unix time) that the campaign update was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // If a campaign update fails, the reason behind the failure.
    FailureReason *string `locationName:"failureReason" type:"string"`

    // The date and time (in Unix time) that the campaign update was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

    // Specifies the requested minimum provisioned transactions (recommendations)
    // per second that Amazon Personalize will support.
    MinProvisionedTPS *int64 `locationName:"minProvisionedTPS" min:"1" type:"integer"`

    // The Amazon Resource Name (ARN) of the deployed solution version.
    SolutionVersionArn *string `locationName:"solutionVersionArn" type:"string"`

    // The status of the campaign update.
    //
    // A campaign update can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING > DELETE IN_PROGRESS
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Provides a summary of the properties of a campaign update. For a complete listing, call the DescribeCampaign API.

func (CampaignUpdateSummary) GoString Uses

func (s CampaignUpdateSummary) GoString() string

GoString returns the string representation

func (*CampaignUpdateSummary) SetCreationDateTime Uses

func (s *CampaignUpdateSummary) SetCreationDateTime(v time.Time) *CampaignUpdateSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*CampaignUpdateSummary) SetFailureReason Uses

func (s *CampaignUpdateSummary) SetFailureReason(v string) *CampaignUpdateSummary

SetFailureReason sets the FailureReason field's value.

func (*CampaignUpdateSummary) SetLastUpdatedDateTime Uses

func (s *CampaignUpdateSummary) SetLastUpdatedDateTime(v time.Time) *CampaignUpdateSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*CampaignUpdateSummary) SetMinProvisionedTPS Uses

func (s *CampaignUpdateSummary) SetMinProvisionedTPS(v int64) *CampaignUpdateSummary

SetMinProvisionedTPS sets the MinProvisionedTPS field's value.

func (*CampaignUpdateSummary) SetSolutionVersionArn Uses

func (s *CampaignUpdateSummary) SetSolutionVersionArn(v string) *CampaignUpdateSummary

SetSolutionVersionArn sets the SolutionVersionArn field's value.

func (*CampaignUpdateSummary) SetStatus Uses

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

SetStatus sets the Status field's value.

func (CampaignUpdateSummary) String Uses

func (s CampaignUpdateSummary) String() string

String returns the string representation

type CategoricalHyperParameterRange Uses

type CategoricalHyperParameterRange struct {

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

    // A list of the categories for the hyperparameter.
    Values []*string `locationName:"values" type:"list"`
    // contains filtered or unexported fields
}

Provides the name and range of a categorical hyperparameter.

func (CategoricalHyperParameterRange) GoString Uses

func (s CategoricalHyperParameterRange) GoString() string

GoString returns the string representation

func (*CategoricalHyperParameterRange) SetName Uses

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

SetName sets the Name field's value.

func (*CategoricalHyperParameterRange) SetValues Uses

func (s *CategoricalHyperParameterRange) SetValues(v []*string) *CategoricalHyperParameterRange

SetValues sets the Values field's value.

func (CategoricalHyperParameterRange) String Uses

func (s CategoricalHyperParameterRange) String() string

String returns the string representation

type ContinuousHyperParameterRange Uses

type ContinuousHyperParameterRange struct {

    // The maximum allowable value for the hyperparameter.
    MaxValue *float64 `locationName:"maxValue" type:"double"`

    // The minimum allowable value for the hyperparameter.
    MinValue *float64 `locationName:"minValue" type:"double"`

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

Provides the name and range of a continuous hyperparameter.

func (ContinuousHyperParameterRange) GoString Uses

func (s ContinuousHyperParameterRange) GoString() string

GoString returns the string representation

func (*ContinuousHyperParameterRange) SetMaxValue Uses

func (s *ContinuousHyperParameterRange) SetMaxValue(v float64) *ContinuousHyperParameterRange

SetMaxValue sets the MaxValue field's value.

func (*ContinuousHyperParameterRange) SetMinValue Uses

func (s *ContinuousHyperParameterRange) SetMinValue(v float64) *ContinuousHyperParameterRange

SetMinValue sets the MinValue field's value.

func (*ContinuousHyperParameterRange) SetName Uses

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

SetName sets the Name field's value.

func (ContinuousHyperParameterRange) String Uses

func (s ContinuousHyperParameterRange) String() string

String returns the string representation

func (*ContinuousHyperParameterRange) Validate Uses

func (s *ContinuousHyperParameterRange) Validate() error

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

type CreateCampaignInput Uses

type CreateCampaignInput struct {

    // Specifies the requested minimum provisioned transactions (recommendations)
    // per second that Amazon Personalize will support.
    //
    // MinProvisionedTPS is a required field
    MinProvisionedTPS *int64 `locationName:"minProvisionedTPS" min:"1" type:"integer" required:"true"`

    // A name for the new campaign. The campaign name must be unique within your
    // account.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the solution version to deploy.
    //
    // SolutionVersionArn is a required field
    SolutionVersionArn *string `locationName:"solutionVersionArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateCampaignInput) GoString Uses

func (s CreateCampaignInput) GoString() string

GoString returns the string representation

func (*CreateCampaignInput) SetMinProvisionedTPS Uses

func (s *CreateCampaignInput) SetMinProvisionedTPS(v int64) *CreateCampaignInput

SetMinProvisionedTPS sets the MinProvisionedTPS field's value.

func (*CreateCampaignInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateCampaignInput) SetSolutionVersionArn Uses

func (s *CreateCampaignInput) SetSolutionVersionArn(v string) *CreateCampaignInput

SetSolutionVersionArn sets the SolutionVersionArn field's value.

func (CreateCampaignInput) String Uses

func (s CreateCampaignInput) String() string

String returns the string representation

func (*CreateCampaignInput) Validate Uses

func (s *CreateCampaignInput) Validate() error

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

type CreateCampaignOutput Uses

type CreateCampaignOutput struct {

    // The Amazon Resource Name (ARN) of the campaign.
    CampaignArn *string `locationName:"campaignArn" type:"string"`
    // contains filtered or unexported fields
}

func (CreateCampaignOutput) GoString Uses

func (s CreateCampaignOutput) GoString() string

GoString returns the string representation

func (*CreateCampaignOutput) SetCampaignArn Uses

func (s *CreateCampaignOutput) SetCampaignArn(v string) *CreateCampaignOutput

SetCampaignArn sets the CampaignArn field's value.

func (CreateCampaignOutput) String Uses

func (s CreateCampaignOutput) String() string

String returns the string representation

type CreateDatasetGroupInput Uses

type CreateDatasetGroupInput struct {

    // The Amazon Resource Name (ARN) of a KMS key used to encrypt the datasets.
    KmsKeyArn *string `locationName:"kmsKeyArn" type:"string"`

    // The name for the new dataset group.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The ARN of the IAM role that has permissions to access the KMS key. Supplying
    // an IAM role is only valid when also specifying a KMS key.
    RoleArn *string `locationName:"roleArn" type:"string"`
    // contains filtered or unexported fields
}

func (CreateDatasetGroupInput) GoString Uses

func (s CreateDatasetGroupInput) GoString() string

GoString returns the string representation

func (*CreateDatasetGroupInput) SetKmsKeyArn Uses

func (s *CreateDatasetGroupInput) SetKmsKeyArn(v string) *CreateDatasetGroupInput

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*CreateDatasetGroupInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateDatasetGroupInput) SetRoleArn Uses

func (s *CreateDatasetGroupInput) SetRoleArn(v string) *CreateDatasetGroupInput

SetRoleArn sets the RoleArn field's value.

func (CreateDatasetGroupInput) String Uses

func (s CreateDatasetGroupInput) String() string

String returns the string representation

func (*CreateDatasetGroupInput) Validate Uses

func (s *CreateDatasetGroupInput) Validate() error

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

type CreateDatasetGroupOutput Uses

type CreateDatasetGroupOutput struct {

    // The Amazon Resource Name (ARN) of the new dataset group.
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string"`
    // contains filtered or unexported fields
}

func (CreateDatasetGroupOutput) GoString Uses

func (s CreateDatasetGroupOutput) GoString() string

GoString returns the string representation

func (*CreateDatasetGroupOutput) SetDatasetGroupArn Uses

func (s *CreateDatasetGroupOutput) SetDatasetGroupArn(v string) *CreateDatasetGroupOutput

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (CreateDatasetGroupOutput) String Uses

func (s CreateDatasetGroupOutput) String() string

String returns the string representation

type CreateDatasetImportJobInput Uses

type CreateDatasetImportJobInput struct {

    // The Amazon S3 bucket that contains the training data to import.
    //
    // DataSource is a required field
    DataSource *DataSource `locationName:"dataSource" type:"structure" required:"true"`

    // The ARN of the dataset that receives the imported data.
    //
    // DatasetArn is a required field
    DatasetArn *string `locationName:"datasetArn" type:"string" required:"true"`

    // The name for the dataset import job.
    //
    // JobName is a required field
    JobName *string `locationName:"jobName" min:"1" type:"string" required:"true"`

    // The ARN of the IAM role that has permissions to read from the Amazon S3 data
    // source.
    //
    // RoleArn is a required field
    RoleArn *string `locationName:"roleArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateDatasetImportJobInput) GoString Uses

func (s CreateDatasetImportJobInput) GoString() string

GoString returns the string representation

func (*CreateDatasetImportJobInput) SetDataSource Uses

func (s *CreateDatasetImportJobInput) SetDataSource(v *DataSource) *CreateDatasetImportJobInput

SetDataSource sets the DataSource field's value.

func (*CreateDatasetImportJobInput) SetDatasetArn Uses

func (s *CreateDatasetImportJobInput) SetDatasetArn(v string) *CreateDatasetImportJobInput

SetDatasetArn sets the DatasetArn field's value.

func (*CreateDatasetImportJobInput) SetJobName Uses

func (s *CreateDatasetImportJobInput) SetJobName(v string) *CreateDatasetImportJobInput

SetJobName sets the JobName field's value.

func (*CreateDatasetImportJobInput) SetRoleArn Uses

func (s *CreateDatasetImportJobInput) SetRoleArn(v string) *CreateDatasetImportJobInput

SetRoleArn sets the RoleArn field's value.

func (CreateDatasetImportJobInput) String Uses

func (s CreateDatasetImportJobInput) String() string

String returns the string representation

func (*CreateDatasetImportJobInput) Validate Uses

func (s *CreateDatasetImportJobInput) Validate() error

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

type CreateDatasetImportJobOutput Uses

type CreateDatasetImportJobOutput struct {

    // The ARN of the dataset import job.
    DatasetImportJobArn *string `locationName:"datasetImportJobArn" type:"string"`
    // contains filtered or unexported fields
}

func (CreateDatasetImportJobOutput) GoString Uses

func (s CreateDatasetImportJobOutput) GoString() string

GoString returns the string representation

func (*CreateDatasetImportJobOutput) SetDatasetImportJobArn Uses

func (s *CreateDatasetImportJobOutput) SetDatasetImportJobArn(v string) *CreateDatasetImportJobOutput

SetDatasetImportJobArn sets the DatasetImportJobArn field's value.

func (CreateDatasetImportJobOutput) String Uses

func (s CreateDatasetImportJobOutput) String() string

String returns the string representation

type CreateDatasetInput Uses

type CreateDatasetInput struct {

    // The Amazon Resource Name (ARN) of the dataset group to add the dataset to.
    //
    // DatasetGroupArn is a required field
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string" required:"true"`

    // The type of dataset.
    //
    // One of the following (case insensitive) values:
    //
    //    * Interactions
    //
    //    * Items
    //
    //    * Users
    //
    // DatasetType is a required field
    DatasetType *string `locationName:"datasetType" type:"string" required:"true"`

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

    // The ARN of the schema to associate with the dataset. The schema defines the
    // dataset fields.
    //
    // SchemaArn is a required field
    SchemaArn *string `locationName:"schemaArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateDatasetInput) GoString Uses

func (s CreateDatasetInput) GoString() string

GoString returns the string representation

func (*CreateDatasetInput) SetDatasetGroupArn Uses

func (s *CreateDatasetInput) SetDatasetGroupArn(v string) *CreateDatasetInput

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*CreateDatasetInput) SetDatasetType Uses

func (s *CreateDatasetInput) SetDatasetType(v string) *CreateDatasetInput

SetDatasetType sets the DatasetType field's value.

func (*CreateDatasetInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateDatasetInput) SetSchemaArn Uses

func (s *CreateDatasetInput) SetSchemaArn(v string) *CreateDatasetInput

SetSchemaArn sets the SchemaArn field's value.

func (CreateDatasetInput) String Uses

func (s CreateDatasetInput) String() string

String returns the string representation

func (*CreateDatasetInput) Validate Uses

func (s *CreateDatasetInput) Validate() error

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

type CreateDatasetOutput Uses

type CreateDatasetOutput struct {

    // The ARN of the dataset.
    DatasetArn *string `locationName:"datasetArn" type:"string"`
    // contains filtered or unexported fields
}

func (CreateDatasetOutput) GoString Uses

func (s CreateDatasetOutput) GoString() string

GoString returns the string representation

func (*CreateDatasetOutput) SetDatasetArn Uses

func (s *CreateDatasetOutput) SetDatasetArn(v string) *CreateDatasetOutput

SetDatasetArn sets the DatasetArn field's value.

func (CreateDatasetOutput) String Uses

func (s CreateDatasetOutput) String() string

String returns the string representation

type CreateEventTrackerInput Uses

type CreateEventTrackerInput struct {

    // The Amazon Resource Name (ARN) of the dataset group that receives the event
    // data.
    //
    // DatasetGroupArn is a required field
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string" required:"true"`

    // The name for the event tracker.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateEventTrackerInput) GoString Uses

func (s CreateEventTrackerInput) GoString() string

GoString returns the string representation

func (*CreateEventTrackerInput) SetDatasetGroupArn Uses

func (s *CreateEventTrackerInput) SetDatasetGroupArn(v string) *CreateEventTrackerInput

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*CreateEventTrackerInput) SetName Uses

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

SetName sets the Name field's value.

func (CreateEventTrackerInput) String Uses

func (s CreateEventTrackerInput) String() string

String returns the string representation

func (*CreateEventTrackerInput) Validate Uses

func (s *CreateEventTrackerInput) Validate() error

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

type CreateEventTrackerOutput Uses

type CreateEventTrackerOutput struct {

    // The ARN of the event tracker.
    EventTrackerArn *string `locationName:"eventTrackerArn" type:"string"`

    // The ID of the event tracker. Include this ID in requests to the PutEvents
    // (https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html)
    // API.
    TrackingId *string `locationName:"trackingId" type:"string"`
    // contains filtered or unexported fields
}

func (CreateEventTrackerOutput) GoString Uses

func (s CreateEventTrackerOutput) GoString() string

GoString returns the string representation

func (*CreateEventTrackerOutput) SetEventTrackerArn Uses

func (s *CreateEventTrackerOutput) SetEventTrackerArn(v string) *CreateEventTrackerOutput

SetEventTrackerArn sets the EventTrackerArn field's value.

func (*CreateEventTrackerOutput) SetTrackingId Uses

func (s *CreateEventTrackerOutput) SetTrackingId(v string) *CreateEventTrackerOutput

SetTrackingId sets the TrackingId field's value.

func (CreateEventTrackerOutput) String Uses

func (s CreateEventTrackerOutput) String() string

String returns the string representation

type CreateSchemaInput Uses

type CreateSchemaInput struct {

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

    // A schema in Avro JSON format.
    //
    // Schema is a required field
    Schema *string `locationName:"schema" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateSchemaInput) GoString Uses

func (s CreateSchemaInput) GoString() string

GoString returns the string representation

func (*CreateSchemaInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateSchemaInput) SetSchema Uses

func (s *CreateSchemaInput) SetSchema(v string) *CreateSchemaInput

SetSchema sets the Schema field's value.

func (CreateSchemaInput) String Uses

func (s CreateSchemaInput) String() string

String returns the string representation

func (*CreateSchemaInput) Validate Uses

func (s *CreateSchemaInput) Validate() error

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

type CreateSchemaOutput Uses

type CreateSchemaOutput struct {

    // The Amazon Resource Name (ARN) of the created schema.
    SchemaArn *string `locationName:"schemaArn" type:"string"`
    // contains filtered or unexported fields
}

func (CreateSchemaOutput) GoString Uses

func (s CreateSchemaOutput) GoString() string

GoString returns the string representation

func (*CreateSchemaOutput) SetSchemaArn Uses

func (s *CreateSchemaOutput) SetSchemaArn(v string) *CreateSchemaOutput

SetSchemaArn sets the SchemaArn field's value.

func (CreateSchemaOutput) String Uses

func (s CreateSchemaOutput) String() string

String returns the string representation

type CreateSolutionInput Uses

type CreateSolutionInput struct {

    // The Amazon Resource Name (ARN) of the dataset group that provides the training
    // data.
    //
    // DatasetGroupArn is a required field
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string" required:"true"`

    // When your have multiple event types (using an EVENT_TYPE schema field), this
    // parameter specifies which event type (for example, 'click' or 'like') is
    // used for training the model.
    EventType *string `locationName:"eventType" type:"string"`

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

    // Whether to perform automated machine learning (AutoML). The default is false.
    // For this case, you must specify recipeArn.
    //
    // When set to true, Amazon Personalize analyzes your training data and selects
    // the optimal USER_PERSONALIZATION recipe and hyperparameters. In this case,
    // you must omit recipeArn. Amazon Personalize determines the optimal recipe
    // by running tests with different values for the hyperparameters. AutoML lengthens
    // the training process as compared to selecting a specific recipe.
    PerformAutoML *bool `locationName:"performAutoML" type:"boolean"`

    // Whether to perform hyperparameter optimization (HPO) on the specified or
    // selected recipe. The default is false.
    //
    // When performing AutoML, this parameter is always true and you should not
    // set it to false.
    PerformHPO *bool `locationName:"performHPO" type:"boolean"`

    // The ARN of the recipe to use for model training. Only specified when performAutoML
    // is false.
    RecipeArn *string `locationName:"recipeArn" type:"string"`

    // The configuration to use with the solution. When performAutoML is set to
    // true, Amazon Personalize only evaluates the autoMLConfig section of the solution
    // configuration.
    SolutionConfig *SolutionConfig `locationName:"solutionConfig" type:"structure"`
    // contains filtered or unexported fields
}

func (CreateSolutionInput) GoString Uses

func (s CreateSolutionInput) GoString() string

GoString returns the string representation

func (*CreateSolutionInput) SetDatasetGroupArn Uses

func (s *CreateSolutionInput) SetDatasetGroupArn(v string) *CreateSolutionInput

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*CreateSolutionInput) SetEventType Uses

func (s *CreateSolutionInput) SetEventType(v string) *CreateSolutionInput

SetEventType sets the EventType field's value.

func (*CreateSolutionInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateSolutionInput) SetPerformAutoML Uses

func (s *CreateSolutionInput) SetPerformAutoML(v bool) *CreateSolutionInput

SetPerformAutoML sets the PerformAutoML field's value.

func (*CreateSolutionInput) SetPerformHPO Uses

func (s *CreateSolutionInput) SetPerformHPO(v bool) *CreateSolutionInput

SetPerformHPO sets the PerformHPO field's value.

func (*CreateSolutionInput) SetRecipeArn Uses

func (s *CreateSolutionInput) SetRecipeArn(v string) *CreateSolutionInput

SetRecipeArn sets the RecipeArn field's value.

func (*CreateSolutionInput) SetSolutionConfig Uses

func (s *CreateSolutionInput) SetSolutionConfig(v *SolutionConfig) *CreateSolutionInput

SetSolutionConfig sets the SolutionConfig field's value.

func (CreateSolutionInput) String Uses

func (s CreateSolutionInput) String() string

String returns the string representation

func (*CreateSolutionInput) Validate Uses

func (s *CreateSolutionInput) Validate() error

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

type CreateSolutionOutput Uses

type CreateSolutionOutput struct {

    // The ARN of the solution.
    SolutionArn *string `locationName:"solutionArn" type:"string"`
    // contains filtered or unexported fields
}

func (CreateSolutionOutput) GoString Uses

func (s CreateSolutionOutput) GoString() string

GoString returns the string representation

func (*CreateSolutionOutput) SetSolutionArn Uses

func (s *CreateSolutionOutput) SetSolutionArn(v string) *CreateSolutionOutput

SetSolutionArn sets the SolutionArn field's value.

func (CreateSolutionOutput) String Uses

func (s CreateSolutionOutput) String() string

String returns the string representation

type CreateSolutionVersionInput Uses

type CreateSolutionVersionInput struct {

    // The Amazon Resource Name (ARN) of the solution containing the training configuration
    // information.
    //
    // SolutionArn is a required field
    SolutionArn *string `locationName:"solutionArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateSolutionVersionInput) GoString Uses

func (s CreateSolutionVersionInput) GoString() string

GoString returns the string representation

func (*CreateSolutionVersionInput) SetSolutionArn Uses

func (s *CreateSolutionVersionInput) SetSolutionArn(v string) *CreateSolutionVersionInput

SetSolutionArn sets the SolutionArn field's value.

func (CreateSolutionVersionInput) String Uses

func (s CreateSolutionVersionInput) String() string

String returns the string representation

func (*CreateSolutionVersionInput) Validate Uses

func (s *CreateSolutionVersionInput) Validate() error

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

type CreateSolutionVersionOutput Uses

type CreateSolutionVersionOutput struct {

    // The ARN of the new solution version.
    SolutionVersionArn *string `locationName:"solutionVersionArn" type:"string"`
    // contains filtered or unexported fields
}

func (CreateSolutionVersionOutput) GoString Uses

func (s CreateSolutionVersionOutput) GoString() string

GoString returns the string representation

func (*CreateSolutionVersionOutput) SetSolutionVersionArn Uses

func (s *CreateSolutionVersionOutput) SetSolutionVersionArn(v string) *CreateSolutionVersionOutput

SetSolutionVersionArn sets the SolutionVersionArn field's value.

func (CreateSolutionVersionOutput) String Uses

func (s CreateSolutionVersionOutput) String() string

String returns the string representation

type DataSource Uses

type DataSource struct {

    // The path to the Amazon S3 bucket where the data that you want to upload to
    // your dataset is stored. For example:
    //
    // s3://bucket-name/training-data.csv
    DataLocation *string `locationName:"dataLocation" type:"string"`
    // contains filtered or unexported fields
}

Describes the data source that contains the data to upload to a dataset.

func (DataSource) GoString Uses

func (s DataSource) GoString() string

GoString returns the string representation

func (*DataSource) SetDataLocation Uses

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

SetDataLocation sets the DataLocation field's value.

func (DataSource) String Uses

func (s DataSource) String() string

String returns the string representation

type Dataset Uses

type Dataset struct {

    // The creation date and time (in Unix time) of the dataset.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The Amazon Resource Name (ARN) of the dataset that you want metadata for.
    DatasetArn *string `locationName:"datasetArn" type:"string"`

    // The Amazon Resource Name (ARN) of the dataset group.
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string"`

    // One of the following values:
    //
    //    * Interactions
    //
    //    * Items
    //
    //    * Users
    DatasetType *string `locationName:"datasetType" type:"string"`

    // A time stamp that shows when the dataset was updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The ARN of the associated schema.
    SchemaArn *string `locationName:"schemaArn" type:"string"`

    // The status of the dataset.
    //
    // A dataset can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING > DELETE IN_PROGRESS
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Provides metadata for a dataset.

func (Dataset) GoString Uses

func (s Dataset) GoString() string

GoString returns the string representation

func (*Dataset) SetCreationDateTime Uses

func (s *Dataset) SetCreationDateTime(v time.Time) *Dataset

SetCreationDateTime sets the CreationDateTime field's value.

func (*Dataset) SetDatasetArn Uses

func (s *Dataset) SetDatasetArn(v string) *Dataset

SetDatasetArn sets the DatasetArn field's value.

func (*Dataset) SetDatasetGroupArn Uses

func (s *Dataset) SetDatasetGroupArn(v string) *Dataset

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*Dataset) SetDatasetType Uses

func (s *Dataset) SetDatasetType(v string) *Dataset

SetDatasetType sets the DatasetType field's value.

func (*Dataset) SetLastUpdatedDateTime Uses

func (s *Dataset) SetLastUpdatedDateTime(v time.Time) *Dataset

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*Dataset) SetName Uses

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

SetName sets the Name field's value.

func (*Dataset) SetSchemaArn Uses

func (s *Dataset) SetSchemaArn(v string) *Dataset

SetSchemaArn sets the SchemaArn field's value.

func (*Dataset) SetStatus Uses

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

SetStatus sets the Status field's value.

func (Dataset) String Uses

func (s Dataset) String() string

String returns the string representation

type DatasetGroup Uses

type DatasetGroup struct {

    // The creation date and time (in Unix time) of the dataset group.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The Amazon Resource Name (ARN) of the dataset group.
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string"`

    // If creating a dataset group fails, provides the reason why.
    FailureReason *string `locationName:"failureReason" type:"string"`

    // The Amazon Resource Name (ARN) of the KMS key used to encrypt the datasets.
    KmsKeyArn *string `locationName:"kmsKeyArn" type:"string"`

    // The last update date and time (in Unix time) of the dataset group.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

    // The name of the dataset group.
    Name *string `locationName:"name" min:"1" type:"string"`

    // The ARN of the IAM role that has permissions to create the dataset group.
    RoleArn *string `locationName:"roleArn" type:"string"`

    // The current status of the dataset group.
    //
    // A dataset group can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

A dataset group is a collection of related datasets (Interactions, User, and Item). You create a dataset group by calling CreateDatasetGroup. You then create a dataset and add it to a dataset group by calling CreateDataset. The dataset group is used to create and train a solution by calling CreateSolution. A dataset group can contain only one of each type of dataset.

You can specify an AWS Key Management Service (KMS) key to encrypt the datasets in the group.

func (DatasetGroup) GoString Uses

func (s DatasetGroup) GoString() string

GoString returns the string representation

func (*DatasetGroup) SetCreationDateTime Uses

func (s *DatasetGroup) SetCreationDateTime(v time.Time) *DatasetGroup

SetCreationDateTime sets the CreationDateTime field's value.

func (*DatasetGroup) SetDatasetGroupArn Uses

func (s *DatasetGroup) SetDatasetGroupArn(v string) *DatasetGroup

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*DatasetGroup) SetFailureReason Uses

func (s *DatasetGroup) SetFailureReason(v string) *DatasetGroup

SetFailureReason sets the FailureReason field's value.

func (*DatasetGroup) SetKmsKeyArn Uses

func (s *DatasetGroup) SetKmsKeyArn(v string) *DatasetGroup

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*DatasetGroup) SetLastUpdatedDateTime Uses

func (s *DatasetGroup) SetLastUpdatedDateTime(v time.Time) *DatasetGroup

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DatasetGroup) SetName Uses

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

SetName sets the Name field's value.

func (*DatasetGroup) SetRoleArn Uses

func (s *DatasetGroup) SetRoleArn(v string) *DatasetGroup

SetRoleArn sets the RoleArn field's value.

func (*DatasetGroup) SetStatus Uses

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

SetStatus sets the Status field's value.

func (DatasetGroup) String Uses

func (s DatasetGroup) String() string

String returns the string representation

type DatasetGroupSummary Uses

type DatasetGroupSummary struct {

    // The date and time (in Unix time) that the dataset group was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The Amazon Resource Name (ARN) of the dataset group.
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string"`

    // If creating a dataset group fails, the reason behind the failure.
    FailureReason *string `locationName:"failureReason" type:"string"`

    // The date and time (in Unix time) that the dataset group was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

    // The name of the dataset group.
    Name *string `locationName:"name" min:"1" type:"string"`

    // The status of the dataset group.
    //
    // A dataset group can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Provides a summary of the properties of a dataset group. For a complete listing, call the DescribeDatasetGroup API.

func (DatasetGroupSummary) GoString Uses

func (s DatasetGroupSummary) GoString() string

GoString returns the string representation

func (*DatasetGroupSummary) SetCreationDateTime Uses

func (s *DatasetGroupSummary) SetCreationDateTime(v time.Time) *DatasetGroupSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*DatasetGroupSummary) SetDatasetGroupArn Uses

func (s *DatasetGroupSummary) SetDatasetGroupArn(v string) *DatasetGroupSummary

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*DatasetGroupSummary) SetFailureReason Uses

func (s *DatasetGroupSummary) SetFailureReason(v string) *DatasetGroupSummary

SetFailureReason sets the FailureReason field's value.

func (*DatasetGroupSummary) SetLastUpdatedDateTime Uses

func (s *DatasetGroupSummary) SetLastUpdatedDateTime(v time.Time) *DatasetGroupSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DatasetGroupSummary) SetName Uses

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

SetName sets the Name field's value.

func (*DatasetGroupSummary) SetStatus Uses

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

SetStatus sets the Status field's value.

func (DatasetGroupSummary) String Uses

func (s DatasetGroupSummary) String() string

String returns the string representation

type DatasetImportJob Uses

type DatasetImportJob struct {

    // The creation date and time (in Unix time) of the dataset import job.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The Amazon S3 bucket that contains the training data to import.
    DataSource *DataSource `locationName:"dataSource" type:"structure"`

    // The Amazon Resource Name (ARN) of the dataset that receives the imported
    // data.
    DatasetArn *string `locationName:"datasetArn" type:"string"`

    // The ARN of the dataset import job.
    DatasetImportJobArn *string `locationName:"datasetImportJobArn" type:"string"`

    // If a dataset import job fails, provides the reason why.
    FailureReason *string `locationName:"failureReason" type:"string"`

    // The name of the import job.
    JobName *string `locationName:"jobName" min:"1" type:"string"`

    // The date and time (in Unix time) the dataset was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

    // The ARN of the AWS Identity and Access Management (IAM) role that has permissions
    // to read from the Amazon S3 data source.
    RoleArn *string `locationName:"roleArn" type:"string"`

    // The status of the dataset import job.
    //
    // A dataset import job can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. For more information, see CreateDatasetImportJob.

A dataset import job can be in one of the following states:

* CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

func (DatasetImportJob) GoString Uses

func (s DatasetImportJob) GoString() string

GoString returns the string representation

func (*DatasetImportJob) SetCreationDateTime Uses

func (s *DatasetImportJob) SetCreationDateTime(v time.Time) *DatasetImportJob

SetCreationDateTime sets the CreationDateTime field's value.

func (*DatasetImportJob) SetDataSource Uses

func (s *DatasetImportJob) SetDataSource(v *DataSource) *DatasetImportJob

SetDataSource sets the DataSource field's value.

func (*DatasetImportJob) SetDatasetArn Uses

func (s *DatasetImportJob) SetDatasetArn(v string) *DatasetImportJob

SetDatasetArn sets the DatasetArn field's value.

func (*DatasetImportJob) SetDatasetImportJobArn Uses

func (s *DatasetImportJob) SetDatasetImportJobArn(v string) *DatasetImportJob

SetDatasetImportJobArn sets the DatasetImportJobArn field's value.

func (*DatasetImportJob) SetFailureReason Uses

func (s *DatasetImportJob) SetFailureReason(v string) *DatasetImportJob

SetFailureReason sets the FailureReason field's value.

func (*DatasetImportJob) SetJobName Uses

func (s *DatasetImportJob) SetJobName(v string) *DatasetImportJob

SetJobName sets the JobName field's value.

func (*DatasetImportJob) SetLastUpdatedDateTime Uses

func (s *DatasetImportJob) SetLastUpdatedDateTime(v time.Time) *DatasetImportJob

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DatasetImportJob) SetRoleArn Uses

func (s *DatasetImportJob) SetRoleArn(v string) *DatasetImportJob

SetRoleArn sets the RoleArn field's value.

func (*DatasetImportJob) SetStatus Uses

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

SetStatus sets the Status field's value.

func (DatasetImportJob) String Uses

func (s DatasetImportJob) String() string

String returns the string representation

type DatasetImportJobSummary Uses

type DatasetImportJobSummary struct {

    // The date and time (in Unix time) that the dataset import job was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The Amazon Resource Name (ARN) of the dataset import job.
    DatasetImportJobArn *string `locationName:"datasetImportJobArn" type:"string"`

    // If a dataset import job fails, the reason behind the failure.
    FailureReason *string `locationName:"failureReason" type:"string"`

    // The name of the dataset import job.
    JobName *string `locationName:"jobName" min:"1" type:"string"`

    // The date and time (in Unix time) that the dataset was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

    // The status of the dataset import job.
    //
    // A dataset import job can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Provides a summary of the properties of a dataset import job. For a complete listing, call the DescribeDatasetImportJob API.

func (DatasetImportJobSummary) GoString Uses

func (s DatasetImportJobSummary) GoString() string

GoString returns the string representation

func (*DatasetImportJobSummary) SetCreationDateTime Uses

func (s *DatasetImportJobSummary) SetCreationDateTime(v time.Time) *DatasetImportJobSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*DatasetImportJobSummary) SetDatasetImportJobArn Uses

func (s *DatasetImportJobSummary) SetDatasetImportJobArn(v string) *DatasetImportJobSummary

SetDatasetImportJobArn sets the DatasetImportJobArn field's value.

func (*DatasetImportJobSummary) SetFailureReason Uses

func (s *DatasetImportJobSummary) SetFailureReason(v string) *DatasetImportJobSummary

SetFailureReason sets the FailureReason field's value.

func (*DatasetImportJobSummary) SetJobName Uses

func (s *DatasetImportJobSummary) SetJobName(v string) *DatasetImportJobSummary

SetJobName sets the JobName field's value.

func (*DatasetImportJobSummary) SetLastUpdatedDateTime Uses

func (s *DatasetImportJobSummary) SetLastUpdatedDateTime(v time.Time) *DatasetImportJobSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DatasetImportJobSummary) SetStatus Uses

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

SetStatus sets the Status field's value.

func (DatasetImportJobSummary) String Uses

func (s DatasetImportJobSummary) String() string

String returns the string representation

type DatasetSchema Uses

type DatasetSchema struct {

    // The date and time (in Unix time) that the schema was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The date and time (in Unix time) that the schema was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The schema.
    Schema *string `locationName:"schema" type:"string"`

    // The Amazon Resource Name (ARN) of the schema.
    SchemaArn *string `locationName:"schemaArn" type:"string"`
    // contains filtered or unexported fields
}

Describes the schema for a dataset. For more information on schemas, see CreateSchema.

func (DatasetSchema) GoString Uses

func (s DatasetSchema) GoString() string

GoString returns the string representation

func (*DatasetSchema) SetCreationDateTime Uses

func (s *DatasetSchema) SetCreationDateTime(v time.Time) *DatasetSchema

SetCreationDateTime sets the CreationDateTime field's value.

func (*DatasetSchema) SetLastUpdatedDateTime Uses

func (s *DatasetSchema) SetLastUpdatedDateTime(v time.Time) *DatasetSchema

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DatasetSchema) SetName Uses

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

SetName sets the Name field's value.

func (*DatasetSchema) SetSchema Uses

func (s *DatasetSchema) SetSchema(v string) *DatasetSchema

SetSchema sets the Schema field's value.

func (*DatasetSchema) SetSchemaArn Uses

func (s *DatasetSchema) SetSchemaArn(v string) *DatasetSchema

SetSchemaArn sets the SchemaArn field's value.

func (DatasetSchema) String Uses

func (s DatasetSchema) String() string

String returns the string representation

type DatasetSchemaSummary Uses

type DatasetSchemaSummary struct {

    // The date and time (in Unix time) that the schema was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The date and time (in Unix time) that the schema was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The Amazon Resource Name (ARN) of the schema.
    SchemaArn *string `locationName:"schemaArn" type:"string"`
    // contains filtered or unexported fields
}

Provides a summary of the properties of a dataset schema. For a complete listing, call the DescribeSchema API.

func (DatasetSchemaSummary) GoString Uses

func (s DatasetSchemaSummary) GoString() string

GoString returns the string representation

func (*DatasetSchemaSummary) SetCreationDateTime Uses

func (s *DatasetSchemaSummary) SetCreationDateTime(v time.Time) *DatasetSchemaSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*DatasetSchemaSummary) SetLastUpdatedDateTime Uses

func (s *DatasetSchemaSummary) SetLastUpdatedDateTime(v time.Time) *DatasetSchemaSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DatasetSchemaSummary) SetName Uses

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

SetName sets the Name field's value.

func (*DatasetSchemaSummary) SetSchemaArn Uses

func (s *DatasetSchemaSummary) SetSchemaArn(v string) *DatasetSchemaSummary

SetSchemaArn sets the SchemaArn field's value.

func (DatasetSchemaSummary) String Uses

func (s DatasetSchemaSummary) String() string

String returns the string representation

type DatasetSummary Uses

type DatasetSummary struct {

    // The date and time (in Unix time) that the dataset was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The Amazon Resource Name (ARN) of the dataset.
    DatasetArn *string `locationName:"datasetArn" type:"string"`

    // The dataset type. One of the following values:
    //
    //    * Interactions
    //
    //    * Items
    //
    //    * Users
    //
    //    * Event-Interactions
    DatasetType *string `locationName:"datasetType" type:"string"`

    // The date and time (in Unix time) that the dataset was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The status of the dataset.
    //
    // A dataset can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING > DELETE IN_PROGRESS
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Provides a summary of the properties of a dataset. For a complete listing, call the DescribeDataset API.

func (DatasetSummary) GoString Uses

func (s DatasetSummary) GoString() string

GoString returns the string representation

func (*DatasetSummary) SetCreationDateTime Uses

func (s *DatasetSummary) SetCreationDateTime(v time.Time) *DatasetSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*DatasetSummary) SetDatasetArn Uses

func (s *DatasetSummary) SetDatasetArn(v string) *DatasetSummary

SetDatasetArn sets the DatasetArn field's value.

func (*DatasetSummary) SetDatasetType Uses

func (s *DatasetSummary) SetDatasetType(v string) *DatasetSummary

SetDatasetType sets the DatasetType field's value.

func (*DatasetSummary) SetLastUpdatedDateTime Uses

func (s *DatasetSummary) SetLastUpdatedDateTime(v time.Time) *DatasetSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DatasetSummary) SetName Uses

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

SetName sets the Name field's value.

func (*DatasetSummary) SetStatus Uses

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

SetStatus sets the Status field's value.

func (DatasetSummary) String Uses

func (s DatasetSummary) String() string

String returns the string representation

type DefaultCategoricalHyperParameterRange Uses

type DefaultCategoricalHyperParameterRange struct {

    // Whether the hyperparameter is tunable.
    IsTunable *bool `locationName:"isTunable" type:"boolean"`

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

    // A list of the categories for the hyperparameter.
    Values []*string `locationName:"values" type:"list"`
    // contains filtered or unexported fields
}

Provides the name and default range of a categorical hyperparameter and whether the hyperparameter is tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).

func (DefaultCategoricalHyperParameterRange) GoString Uses

func (s DefaultCategoricalHyperParameterRange) GoString() string

GoString returns the string representation

func (*DefaultCategoricalHyperParameterRange) SetIsTunable Uses

func (s *DefaultCategoricalHyperParameterRange) SetIsTunable(v bool) *DefaultCategoricalHyperParameterRange

SetIsTunable sets the IsTunable field's value.

func (*DefaultCategoricalHyperParameterRange) SetName Uses

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

SetName sets the Name field's value.

func (*DefaultCategoricalHyperParameterRange) SetValues Uses

func (s *DefaultCategoricalHyperParameterRange) SetValues(v []*string) *DefaultCategoricalHyperParameterRange

SetValues sets the Values field's value.

func (DefaultCategoricalHyperParameterRange) String Uses

func (s DefaultCategoricalHyperParameterRange) String() string

String returns the string representation

type DefaultContinuousHyperParameterRange Uses

type DefaultContinuousHyperParameterRange struct {

    // Whether the hyperparameter is tunable.
    IsTunable *bool `locationName:"isTunable" type:"boolean"`

    // The maximum allowable value for the hyperparameter.
    MaxValue *float64 `locationName:"maxValue" type:"double"`

    // The minimum allowable value for the hyperparameter.
    MinValue *float64 `locationName:"minValue" type:"double"`

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

Provides the name and default range of a continuous hyperparameter and whether the hyperparameter is tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).

func (DefaultContinuousHyperParameterRange) GoString Uses

func (s DefaultContinuousHyperParameterRange) GoString() string

GoString returns the string representation

func (*DefaultContinuousHyperParameterRange) SetIsTunable Uses

func (s *DefaultContinuousHyperParameterRange) SetIsTunable(v bool) *DefaultContinuousHyperParameterRange

SetIsTunable sets the IsTunable field's value.

func (*DefaultContinuousHyperParameterRange) SetMaxValue Uses

func (s *DefaultContinuousHyperParameterRange) SetMaxValue(v float64) *DefaultContinuousHyperParameterRange

SetMaxValue sets the MaxValue field's value.

func (*DefaultContinuousHyperParameterRange) SetMinValue Uses

func (s *DefaultContinuousHyperParameterRange) SetMinValue(v float64) *DefaultContinuousHyperParameterRange

SetMinValue sets the MinValue field's value.

func (*DefaultContinuousHyperParameterRange) SetName Uses

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

SetName sets the Name field's value.

func (DefaultContinuousHyperParameterRange) String Uses

func (s DefaultContinuousHyperParameterRange) String() string

String returns the string representation

type DefaultHyperParameterRanges Uses

type DefaultHyperParameterRanges struct {

    // The categorical hyperparameters and their default ranges.
    CategoricalHyperParameterRanges []*DefaultCategoricalHyperParameterRange `locationName:"categoricalHyperParameterRanges" type:"list"`

    // The continuous hyperparameters and their default ranges.
    ContinuousHyperParameterRanges []*DefaultContinuousHyperParameterRange `locationName:"continuousHyperParameterRanges" type:"list"`

    // The integer-valued hyperparameters and their default ranges.
    IntegerHyperParameterRanges []*DefaultIntegerHyperParameterRange `locationName:"integerHyperParameterRanges" type:"list"`
    // contains filtered or unexported fields
}

Specifies the hyperparameters and their default ranges. Hyperparameters can be categorical, continuous, or integer-valued.

func (DefaultHyperParameterRanges) GoString Uses

func (s DefaultHyperParameterRanges) GoString() string

GoString returns the string representation

func (*DefaultHyperParameterRanges) SetCategoricalHyperParameterRanges Uses

func (s *DefaultHyperParameterRanges) SetCategoricalHyperParameterRanges(v []*DefaultCategoricalHyperParameterRange) *DefaultHyperParameterRanges

SetCategoricalHyperParameterRanges sets the CategoricalHyperParameterRanges field's value.

func (*DefaultHyperParameterRanges) SetContinuousHyperParameterRanges Uses

func (s *DefaultHyperParameterRanges) SetContinuousHyperParameterRanges(v []*DefaultContinuousHyperParameterRange) *DefaultHyperParameterRanges

SetContinuousHyperParameterRanges sets the ContinuousHyperParameterRanges field's value.

func (*DefaultHyperParameterRanges) SetIntegerHyperParameterRanges Uses

func (s *DefaultHyperParameterRanges) SetIntegerHyperParameterRanges(v []*DefaultIntegerHyperParameterRange) *DefaultHyperParameterRanges

SetIntegerHyperParameterRanges sets the IntegerHyperParameterRanges field's value.

func (DefaultHyperParameterRanges) String Uses

func (s DefaultHyperParameterRanges) String() string

String returns the string representation

type DefaultIntegerHyperParameterRange Uses

type DefaultIntegerHyperParameterRange struct {

    // Indicates whether the hyperparameter is tunable.
    IsTunable *bool `locationName:"isTunable" type:"boolean"`

    // The maximum allowable value for the hyperparameter.
    MaxValue *int64 `locationName:"maxValue" type:"integer"`

    // The minimum allowable value for the hyperparameter.
    MinValue *int64 `locationName:"minValue" type:"integer"`

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

Provides the name and default range of a integer-valued hyperparameter and whether the hyperparameter is tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).

func (DefaultIntegerHyperParameterRange) GoString Uses

func (s DefaultIntegerHyperParameterRange) GoString() string

GoString returns the string representation

func (*DefaultIntegerHyperParameterRange) SetIsTunable Uses

func (s *DefaultIntegerHyperParameterRange) SetIsTunable(v bool) *DefaultIntegerHyperParameterRange

SetIsTunable sets the IsTunable field's value.

func (*DefaultIntegerHyperParameterRange) SetMaxValue Uses

func (s *DefaultIntegerHyperParameterRange) SetMaxValue(v int64) *DefaultIntegerHyperParameterRange

SetMaxValue sets the MaxValue field's value.

func (*DefaultIntegerHyperParameterRange) SetMinValue Uses

func (s *DefaultIntegerHyperParameterRange) SetMinValue(v int64) *DefaultIntegerHyperParameterRange

SetMinValue sets the MinValue field's value.

func (*DefaultIntegerHyperParameterRange) SetName Uses

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

SetName sets the Name field's value.

func (DefaultIntegerHyperParameterRange) String Uses

func (s DefaultIntegerHyperParameterRange) String() string

String returns the string representation

type DeleteCampaignInput Uses

type DeleteCampaignInput struct {

    // The Amazon Resource Name (ARN) of the campaign to delete.
    //
    // CampaignArn is a required field
    CampaignArn *string `locationName:"campaignArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteCampaignInput) GoString Uses

func (s DeleteCampaignInput) GoString() string

GoString returns the string representation

func (*DeleteCampaignInput) SetCampaignArn Uses

func (s *DeleteCampaignInput) SetCampaignArn(v string) *DeleteCampaignInput

SetCampaignArn sets the CampaignArn field's value.

func (DeleteCampaignInput) String Uses

func (s DeleteCampaignInput) String() string

String returns the string representation

func (*DeleteCampaignInput) Validate Uses

func (s *DeleteCampaignInput) Validate() error

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

type DeleteCampaignOutput Uses

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

func (DeleteCampaignOutput) GoString Uses

func (s DeleteCampaignOutput) GoString() string

GoString returns the string representation

func (DeleteCampaignOutput) String Uses

func (s DeleteCampaignOutput) String() string

String returns the string representation

type DeleteDatasetGroupInput Uses

type DeleteDatasetGroupInput struct {

    // The ARN of the dataset group to delete.
    //
    // DatasetGroupArn is a required field
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteDatasetGroupInput) GoString Uses

func (s DeleteDatasetGroupInput) GoString() string

GoString returns the string representation

func (*DeleteDatasetGroupInput) SetDatasetGroupArn Uses

func (s *DeleteDatasetGroupInput) SetDatasetGroupArn(v string) *DeleteDatasetGroupInput

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (DeleteDatasetGroupInput) String Uses

func (s DeleteDatasetGroupInput) String() string

String returns the string representation

func (*DeleteDatasetGroupInput) Validate Uses

func (s *DeleteDatasetGroupInput) Validate() error

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

type DeleteDatasetGroupOutput Uses

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

func (DeleteDatasetGroupOutput) GoString Uses

func (s DeleteDatasetGroupOutput) GoString() string

GoString returns the string representation

func (DeleteDatasetGroupOutput) String Uses

func (s DeleteDatasetGroupOutput) String() string

String returns the string representation

type DeleteDatasetInput Uses

type DeleteDatasetInput struct {

    // The Amazon Resource Name (ARN) of the dataset to delete.
    //
    // DatasetArn is a required field
    DatasetArn *string `locationName:"datasetArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteDatasetInput) GoString Uses

func (s DeleteDatasetInput) GoString() string

GoString returns the string representation

func (*DeleteDatasetInput) SetDatasetArn Uses

func (s *DeleteDatasetInput) SetDatasetArn(v string) *DeleteDatasetInput

SetDatasetArn sets the DatasetArn field's value.

func (DeleteDatasetInput) String Uses

func (s DeleteDatasetInput) String() string

String returns the string representation

func (*DeleteDatasetInput) Validate Uses

func (s *DeleteDatasetInput) Validate() error

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

type DeleteDatasetOutput Uses

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

func (DeleteDatasetOutput) GoString Uses

func (s DeleteDatasetOutput) GoString() string

GoString returns the string representation

func (DeleteDatasetOutput) String Uses

func (s DeleteDatasetOutput) String() string

String returns the string representation

type DeleteEventTrackerInput Uses

type DeleteEventTrackerInput struct {

    // The Amazon Resource Name (ARN) of the event tracker to delete.
    //
    // EventTrackerArn is a required field
    EventTrackerArn *string `locationName:"eventTrackerArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteEventTrackerInput) GoString Uses

func (s DeleteEventTrackerInput) GoString() string

GoString returns the string representation

func (*DeleteEventTrackerInput) SetEventTrackerArn Uses

func (s *DeleteEventTrackerInput) SetEventTrackerArn(v string) *DeleteEventTrackerInput

SetEventTrackerArn sets the EventTrackerArn field's value.

func (DeleteEventTrackerInput) String Uses

func (s DeleteEventTrackerInput) String() string

String returns the string representation

func (*DeleteEventTrackerInput) Validate Uses

func (s *DeleteEventTrackerInput) Validate() error

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

type DeleteEventTrackerOutput Uses

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

func (DeleteEventTrackerOutput) GoString Uses

func (s DeleteEventTrackerOutput) GoString() string

GoString returns the string representation

func (DeleteEventTrackerOutput) String Uses

func (s DeleteEventTrackerOutput) String() string

String returns the string representation

type DeleteSchemaInput Uses

type DeleteSchemaInput struct {

    // The Amazon Resource Name (ARN) of the schema to delete.
    //
    // SchemaArn is a required field
    SchemaArn *string `locationName:"schemaArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteSchemaInput) GoString Uses

func (s DeleteSchemaInput) GoString() string

GoString returns the string representation

func (*DeleteSchemaInput) SetSchemaArn Uses

func (s *DeleteSchemaInput) SetSchemaArn(v string) *DeleteSchemaInput

SetSchemaArn sets the SchemaArn field's value.

func (DeleteSchemaInput) String Uses

func (s DeleteSchemaInput) String() string

String returns the string representation

func (*DeleteSchemaInput) Validate Uses

func (s *DeleteSchemaInput) Validate() error

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

type DeleteSchemaOutput Uses

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

func (DeleteSchemaOutput) GoString Uses

func (s DeleteSchemaOutput) GoString() string

GoString returns the string representation

func (DeleteSchemaOutput) String Uses

func (s DeleteSchemaOutput) String() string

String returns the string representation

type DeleteSolutionInput Uses

type DeleteSolutionInput struct {

    // The ARN of the solution to delete.
    //
    // SolutionArn is a required field
    SolutionArn *string `locationName:"solutionArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteSolutionInput) GoString Uses

func (s DeleteSolutionInput) GoString() string

GoString returns the string representation

func (*DeleteSolutionInput) SetSolutionArn Uses

func (s *DeleteSolutionInput) SetSolutionArn(v string) *DeleteSolutionInput

SetSolutionArn sets the SolutionArn field's value.

func (DeleteSolutionInput) String Uses

func (s DeleteSolutionInput) String() string

String returns the string representation

func (*DeleteSolutionInput) Validate Uses

func (s *DeleteSolutionInput) Validate() error

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

type DeleteSolutionOutput Uses

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

func (DeleteSolutionOutput) GoString Uses

func (s DeleteSolutionOutput) GoString() string

GoString returns the string representation

func (DeleteSolutionOutput) String Uses

func (s DeleteSolutionOutput) String() string

String returns the string representation

type DescribeAlgorithmInput Uses

type DescribeAlgorithmInput struct {

    // The Amazon Resource Name (ARN) of the algorithm to describe.
    //
    // AlgorithmArn is a required field
    AlgorithmArn *string `locationName:"algorithmArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeAlgorithmInput) GoString Uses

func (s DescribeAlgorithmInput) GoString() string

GoString returns the string representation

func (*DescribeAlgorithmInput) SetAlgorithmArn Uses

func (s *DescribeAlgorithmInput) SetAlgorithmArn(v string) *DescribeAlgorithmInput

SetAlgorithmArn sets the AlgorithmArn field's value.

func (DescribeAlgorithmInput) String Uses

func (s DescribeAlgorithmInput) String() string

String returns the string representation

func (*DescribeAlgorithmInput) Validate Uses

func (s *DescribeAlgorithmInput) Validate() error

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

type DescribeAlgorithmOutput Uses

type DescribeAlgorithmOutput struct {

    // A listing of the properties of the algorithm.
    Algorithm *Algorithm `locationName:"algorithm" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeAlgorithmOutput) GoString Uses

func (s DescribeAlgorithmOutput) GoString() string

GoString returns the string representation

func (*DescribeAlgorithmOutput) SetAlgorithm Uses

func (s *DescribeAlgorithmOutput) SetAlgorithm(v *Algorithm) *DescribeAlgorithmOutput

SetAlgorithm sets the Algorithm field's value.

func (DescribeAlgorithmOutput) String Uses

func (s DescribeAlgorithmOutput) String() string

String returns the string representation

type DescribeCampaignInput Uses

type DescribeCampaignInput struct {

    // The Amazon Resource Name (ARN) of the campaign.
    //
    // CampaignArn is a required field
    CampaignArn *string `locationName:"campaignArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeCampaignInput) GoString Uses

func (s DescribeCampaignInput) GoString() string

GoString returns the string representation

func (*DescribeCampaignInput) SetCampaignArn Uses

func (s *DescribeCampaignInput) SetCampaignArn(v string) *DescribeCampaignInput

SetCampaignArn sets the CampaignArn field's value.

func (DescribeCampaignInput) String Uses

func (s DescribeCampaignInput) String() string

String returns the string representation

func (*DescribeCampaignInput) Validate Uses

func (s *DescribeCampaignInput) Validate() error

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

type DescribeCampaignOutput Uses

type DescribeCampaignOutput struct {

    // The properties of the campaign.
    Campaign *Campaign `locationName:"campaign" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeCampaignOutput) GoString Uses

func (s DescribeCampaignOutput) GoString() string

GoString returns the string representation

func (*DescribeCampaignOutput) SetCampaign Uses

func (s *DescribeCampaignOutput) SetCampaign(v *Campaign) *DescribeCampaignOutput

SetCampaign sets the Campaign field's value.

func (DescribeCampaignOutput) String Uses

func (s DescribeCampaignOutput) String() string

String returns the string representation

type DescribeDatasetGroupInput Uses

type DescribeDatasetGroupInput struct {

    // The Amazon Resource Name (ARN) of the dataset group to describe.
    //
    // DatasetGroupArn is a required field
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeDatasetGroupInput) GoString Uses

func (s DescribeDatasetGroupInput) GoString() string

GoString returns the string representation

func (*DescribeDatasetGroupInput) SetDatasetGroupArn Uses

func (s *DescribeDatasetGroupInput) SetDatasetGroupArn(v string) *DescribeDatasetGroupInput

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (DescribeDatasetGroupInput) String Uses

func (s DescribeDatasetGroupInput) String() string

String returns the string representation

func (*DescribeDatasetGroupInput) Validate Uses

func (s *DescribeDatasetGroupInput) Validate() error

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

type DescribeDatasetGroupOutput Uses

type DescribeDatasetGroupOutput struct {

    // A listing of the dataset group's properties.
    DatasetGroup *DatasetGroup `locationName:"datasetGroup" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeDatasetGroupOutput) GoString Uses

func (s DescribeDatasetGroupOutput) GoString() string

GoString returns the string representation

func (*DescribeDatasetGroupOutput) SetDatasetGroup Uses

func (s *DescribeDatasetGroupOutput) SetDatasetGroup(v *DatasetGroup) *DescribeDatasetGroupOutput

SetDatasetGroup sets the DatasetGroup field's value.

func (DescribeDatasetGroupOutput) String Uses

func (s DescribeDatasetGroupOutput) String() string

String returns the string representation

type DescribeDatasetImportJobInput Uses

type DescribeDatasetImportJobInput struct {

    // The Amazon Resource Name (ARN) of the dataset import job to describe.
    //
    // DatasetImportJobArn is a required field
    DatasetImportJobArn *string `locationName:"datasetImportJobArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeDatasetImportJobInput) GoString Uses

func (s DescribeDatasetImportJobInput) GoString() string

GoString returns the string representation

func (*DescribeDatasetImportJobInput) SetDatasetImportJobArn Uses

func (s *DescribeDatasetImportJobInput) SetDatasetImportJobArn(v string) *DescribeDatasetImportJobInput

SetDatasetImportJobArn sets the DatasetImportJobArn field's value.

func (DescribeDatasetImportJobInput) String Uses

func (s DescribeDatasetImportJobInput) String() string

String returns the string representation

func (*DescribeDatasetImportJobInput) Validate Uses

func (s *DescribeDatasetImportJobInput) Validate() error

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

type DescribeDatasetImportJobOutput Uses

type DescribeDatasetImportJobOutput struct {

    // Information about the dataset import job, including the status.
    //
    // The status is one of the following values:
    //
    //    * CREATE PENDING
    //
    //    * CREATE IN_PROGRESS
    //
    //    * ACTIVE
    //
    //    * CREATE FAILED
    DatasetImportJob *DatasetImportJob `locationName:"datasetImportJob" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeDatasetImportJobOutput) GoString Uses

func (s DescribeDatasetImportJobOutput) GoString() string

GoString returns the string representation

func (*DescribeDatasetImportJobOutput) SetDatasetImportJob Uses

func (s *DescribeDatasetImportJobOutput) SetDatasetImportJob(v *DatasetImportJob) *DescribeDatasetImportJobOutput

SetDatasetImportJob sets the DatasetImportJob field's value.

func (DescribeDatasetImportJobOutput) String Uses

func (s DescribeDatasetImportJobOutput) String() string

String returns the string representation

type DescribeDatasetInput Uses

type DescribeDatasetInput struct {

    // The Amazon Resource Name (ARN) of the dataset to describe.
    //
    // DatasetArn is a required field
    DatasetArn *string `locationName:"datasetArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeDatasetInput) GoString Uses

func (s DescribeDatasetInput) GoString() string

GoString returns the string representation

func (*DescribeDatasetInput) SetDatasetArn Uses

func (s *DescribeDatasetInput) SetDatasetArn(v string) *DescribeDatasetInput

SetDatasetArn sets the DatasetArn field's value.

func (DescribeDatasetInput) String Uses

func (s DescribeDatasetInput) String() string

String returns the string representation

func (*DescribeDatasetInput) Validate Uses

func (s *DescribeDatasetInput) Validate() error

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

type DescribeDatasetOutput Uses

type DescribeDatasetOutput struct {

    // A listing of the dataset's properties.
    Dataset *Dataset `locationName:"dataset" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeDatasetOutput) GoString Uses

func (s DescribeDatasetOutput) GoString() string

GoString returns the string representation

func (*DescribeDatasetOutput) SetDataset Uses

func (s *DescribeDatasetOutput) SetDataset(v *Dataset) *DescribeDatasetOutput

SetDataset sets the Dataset field's value.

func (DescribeDatasetOutput) String Uses

func (s DescribeDatasetOutput) String() string

String returns the string representation

type DescribeEventTrackerInput Uses

type DescribeEventTrackerInput struct {

    // The Amazon Resource Name (ARN) of the event tracker to describe.
    //
    // EventTrackerArn is a required field
    EventTrackerArn *string `locationName:"eventTrackerArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeEventTrackerInput) GoString Uses

func (s DescribeEventTrackerInput) GoString() string

GoString returns the string representation

func (*DescribeEventTrackerInput) SetEventTrackerArn Uses

func (s *DescribeEventTrackerInput) SetEventTrackerArn(v string) *DescribeEventTrackerInput

SetEventTrackerArn sets the EventTrackerArn field's value.

func (DescribeEventTrackerInput) String Uses

func (s DescribeEventTrackerInput) String() string

String returns the string representation

func (*DescribeEventTrackerInput) Validate Uses

func (s *DescribeEventTrackerInput) Validate() error

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

type DescribeEventTrackerOutput Uses

type DescribeEventTrackerOutput struct {

    // An object that describes the event tracker.
    EventTracker *EventTracker `locationName:"eventTracker" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeEventTrackerOutput) GoString Uses

func (s DescribeEventTrackerOutput) GoString() string

GoString returns the string representation

func (*DescribeEventTrackerOutput) SetEventTracker Uses

func (s *DescribeEventTrackerOutput) SetEventTracker(v *EventTracker) *DescribeEventTrackerOutput

SetEventTracker sets the EventTracker field's value.

func (DescribeEventTrackerOutput) String Uses

func (s DescribeEventTrackerOutput) String() string

String returns the string representation

type DescribeFeatureTransformationInput Uses

type DescribeFeatureTransformationInput struct {

    // The Amazon Resource Name (ARN) of the feature transformation to describe.
    //
    // FeatureTransformationArn is a required field
    FeatureTransformationArn *string `locationName:"featureTransformationArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeFeatureTransformationInput) GoString Uses

func (s DescribeFeatureTransformationInput) GoString() string

GoString returns the string representation

func (*DescribeFeatureTransformationInput) SetFeatureTransformationArn Uses

func (s *DescribeFeatureTransformationInput) SetFeatureTransformationArn(v string) *DescribeFeatureTransformationInput

SetFeatureTransformationArn sets the FeatureTransformationArn field's value.

func (DescribeFeatureTransformationInput) String Uses

func (s DescribeFeatureTransformationInput) String() string

String returns the string representation

func (*DescribeFeatureTransformationInput) Validate Uses

func (s *DescribeFeatureTransformationInput) Validate() error

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

type DescribeFeatureTransformationOutput Uses

type DescribeFeatureTransformationOutput struct {

    // A listing of the FeatureTransformation properties.
    FeatureTransformation *FeatureTransformation `locationName:"featureTransformation" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeFeatureTransformationOutput) GoString Uses

func (s DescribeFeatureTransformationOutput) GoString() string

GoString returns the string representation

func (*DescribeFeatureTransformationOutput) SetFeatureTransformation Uses

func (s *DescribeFeatureTransformationOutput) SetFeatureTransformation(v *FeatureTransformation) *DescribeFeatureTransformationOutput

SetFeatureTransformation sets the FeatureTransformation field's value.

func (DescribeFeatureTransformationOutput) String Uses

func (s DescribeFeatureTransformationOutput) String() string

String returns the string representation

type DescribeRecipeInput Uses

type DescribeRecipeInput struct {

    // The Amazon Resource Name (ARN) of the recipe to describe.
    //
    // RecipeArn is a required field
    RecipeArn *string `locationName:"recipeArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeRecipeInput) GoString Uses

func (s DescribeRecipeInput) GoString() string

GoString returns the string representation

func (*DescribeRecipeInput) SetRecipeArn Uses

func (s *DescribeRecipeInput) SetRecipeArn(v string) *DescribeRecipeInput

SetRecipeArn sets the RecipeArn field's value.

func (DescribeRecipeInput) String Uses

func (s DescribeRecipeInput) String() string

String returns the string representation

func (*DescribeRecipeInput) Validate Uses

func (s *DescribeRecipeInput) Validate() error

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

type DescribeRecipeOutput Uses

type DescribeRecipeOutput struct {

    // An object that describes the recipe.
    Recipe *Recipe `locationName:"recipe" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeRecipeOutput) GoString Uses

func (s DescribeRecipeOutput) GoString() string

GoString returns the string representation

func (*DescribeRecipeOutput) SetRecipe Uses

func (s *DescribeRecipeOutput) SetRecipe(v *Recipe) *DescribeRecipeOutput

SetRecipe sets the Recipe field's value.

func (DescribeRecipeOutput) String Uses

func (s DescribeRecipeOutput) String() string

String returns the string representation

type DescribeSchemaInput Uses

type DescribeSchemaInput struct {

    // The Amazon Resource Name (ARN) of the schema to retrieve.
    //
    // SchemaArn is a required field
    SchemaArn *string `locationName:"schemaArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeSchemaInput) GoString Uses

func (s DescribeSchemaInput) GoString() string

GoString returns the string representation

func (*DescribeSchemaInput) SetSchemaArn Uses

func (s *DescribeSchemaInput) SetSchemaArn(v string) *DescribeSchemaInput

SetSchemaArn sets the SchemaArn field's value.

func (DescribeSchemaInput) String Uses

func (s DescribeSchemaInput) String() string

String returns the string representation

func (*DescribeSchemaInput) Validate Uses

func (s *DescribeSchemaInput) Validate() error

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

type DescribeSchemaOutput Uses

type DescribeSchemaOutput struct {

    // The requested schema.
    Schema *DatasetSchema `locationName:"schema" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeSchemaOutput) GoString Uses

func (s DescribeSchemaOutput) GoString() string

GoString returns the string representation

func (*DescribeSchemaOutput) SetSchema Uses

func (s *DescribeSchemaOutput) SetSchema(v *DatasetSchema) *DescribeSchemaOutput

SetSchema sets the Schema field's value.

func (DescribeSchemaOutput) String Uses

func (s DescribeSchemaOutput) String() string

String returns the string representation

type DescribeSolutionInput Uses

type DescribeSolutionInput struct {

    // The Amazon Resource Name (ARN) of the solution to describe.
    //
    // SolutionArn is a required field
    SolutionArn *string `locationName:"solutionArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeSolutionInput) GoString Uses

func (s DescribeSolutionInput) GoString() string

GoString returns the string representation

func (*DescribeSolutionInput) SetSolutionArn Uses

func (s *DescribeSolutionInput) SetSolutionArn(v string) *DescribeSolutionInput

SetSolutionArn sets the SolutionArn field's value.

func (DescribeSolutionInput) String Uses

func (s DescribeSolutionInput) String() string

String returns the string representation

func (*DescribeSolutionInput) Validate Uses

func (s *DescribeSolutionInput) Validate() error

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

type DescribeSolutionOutput Uses

type DescribeSolutionOutput struct {

    // An object that describes the solution.
    Solution *Solution `locationName:"solution" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeSolutionOutput) GoString Uses

func (s DescribeSolutionOutput) GoString() string

GoString returns the string representation

func (*DescribeSolutionOutput) SetSolution Uses

func (s *DescribeSolutionOutput) SetSolution(v *Solution) *DescribeSolutionOutput

SetSolution sets the Solution field's value.

func (DescribeSolutionOutput) String Uses

func (s DescribeSolutionOutput) String() string

String returns the string representation

type DescribeSolutionVersionInput Uses

type DescribeSolutionVersionInput struct {

    // The Amazon Resource Name (ARN) of the solution version.
    //
    // SolutionVersionArn is a required field
    SolutionVersionArn *string `locationName:"solutionVersionArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeSolutionVersionInput) GoString Uses

func (s DescribeSolutionVersionInput) GoString() string

GoString returns the string representation

func (*DescribeSolutionVersionInput) SetSolutionVersionArn Uses

func (s *DescribeSolutionVersionInput) SetSolutionVersionArn(v string) *DescribeSolutionVersionInput

SetSolutionVersionArn sets the SolutionVersionArn field's value.

func (DescribeSolutionVersionInput) String Uses

func (s DescribeSolutionVersionInput) String() string

String returns the string representation

func (*DescribeSolutionVersionInput) Validate Uses

func (s *DescribeSolutionVersionInput) Validate() error

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

type DescribeSolutionVersionOutput Uses

type DescribeSolutionVersionOutput struct {

    // The solution version.
    SolutionVersion *SolutionVersion `locationName:"solutionVersion" type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeSolutionVersionOutput) GoString Uses

func (s DescribeSolutionVersionOutput) GoString() string

GoString returns the string representation

func (*DescribeSolutionVersionOutput) SetSolutionVersion Uses

func (s *DescribeSolutionVersionOutput) SetSolutionVersion(v *SolutionVersion) *DescribeSolutionVersionOutput

SetSolutionVersion sets the SolutionVersion field's value.

func (DescribeSolutionVersionOutput) String Uses

func (s DescribeSolutionVersionOutput) String() string

String returns the string representation

type EventTracker Uses

type EventTracker struct {

    // The Amazon AWS account that owns the event tracker.
    AccountId *string `locationName:"accountId" type:"string"`

    // The date and time (in Unix format) that the event tracker was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The Amazon Resource Name (ARN) of the dataset group that receives the event
    // data.
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string"`

    // The ARN of the event tracker.
    EventTrackerArn *string `locationName:"eventTrackerArn" type:"string"`

    // The date and time (in Unix time) that the event tracker was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The status of the event tracker.
    //
    // An event tracker can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING > DELETE IN_PROGRESS
    Status *string `locationName:"status" type:"string"`

    // The ID of the event tracker. Include this ID in requests to the PutEvents
    // (https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html)
    // API.
    TrackingId *string `locationName:"trackingId" type:"string"`
    // contains filtered or unexported fields
}

Provides information about an event tracker.

func (EventTracker) GoString Uses

func (s EventTracker) GoString() string

GoString returns the string representation

func (*EventTracker) SetAccountId Uses

func (s *EventTracker) SetAccountId(v string) *EventTracker

SetAccountId sets the AccountId field's value.

func (*EventTracker) SetCreationDateTime Uses

func (s *EventTracker) SetCreationDateTime(v time.Time) *EventTracker

SetCreationDateTime sets the CreationDateTime field's value.

func (*EventTracker) SetDatasetGroupArn Uses

func (s *EventTracker) SetDatasetGroupArn(v string) *EventTracker

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*EventTracker) SetEventTrackerArn Uses

func (s *EventTracker) SetEventTrackerArn(v string) *EventTracker

SetEventTrackerArn sets the EventTrackerArn field's value.

func (*EventTracker) SetLastUpdatedDateTime Uses

func (s *EventTracker) SetLastUpdatedDateTime(v time.Time) *EventTracker

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*EventTracker) SetName Uses

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

SetName sets the Name field's value.

func (*EventTracker) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*EventTracker) SetTrackingId Uses

func (s *EventTracker) SetTrackingId(v string) *EventTracker

SetTrackingId sets the TrackingId field's value.

func (EventTracker) String Uses

func (s EventTracker) String() string

String returns the string representation

type EventTrackerSummary Uses

type EventTrackerSummary struct {

    // The date and time (in Unix time) that the event tracker was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The Amazon Resource Name (ARN) of the event tracker.
    EventTrackerArn *string `locationName:"eventTrackerArn" type:"string"`

    // The date and time (in Unix time) that the event tracker was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The status of the event tracker.
    //
    // An event tracker can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING > DELETE IN_PROGRESS
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Provides a summary of the properties of an event tracker. For a complete listing, call the DescribeEventTracker API.

func (EventTrackerSummary) GoString Uses

func (s EventTrackerSummary) GoString() string

GoString returns the string representation

func (*EventTrackerSummary) SetCreationDateTime Uses

func (s *EventTrackerSummary) SetCreationDateTime(v time.Time) *EventTrackerSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*EventTrackerSummary) SetEventTrackerArn Uses

func (s *EventTrackerSummary) SetEventTrackerArn(v string) *EventTrackerSummary

SetEventTrackerArn sets the EventTrackerArn field's value.

func (*EventTrackerSummary) SetLastUpdatedDateTime Uses

func (s *EventTrackerSummary) SetLastUpdatedDateTime(v time.Time) *EventTrackerSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*EventTrackerSummary) SetName Uses

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

SetName sets the Name field's value.

func (*EventTrackerSummary) SetStatus Uses

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

SetStatus sets the Status field's value.

func (EventTrackerSummary) String Uses

func (s EventTrackerSummary) String() string

String returns the string representation

type FeatureTransformation Uses

type FeatureTransformation struct {

    // The creation date and time (in Unix time) of the feature transformation.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // Provides the default parameters for feature transformation.
    DefaultParameters map[string]*string `locationName:"defaultParameters" type:"map"`

    // The Amazon Resource Name (ARN) of the FeatureTransformation object.
    FeatureTransformationArn *string `locationName:"featureTransformationArn" type:"string"`

    // The last update date and time (in Unix time) of the feature transformation.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

    // The name of the feature transformation.
    Name *string `locationName:"name" min:"1" type:"string"`

    // The status of the feature transformation.
    //
    // A feature transformation can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

Provides feature transformation information. Feature transformation is the process of modifying raw input data into a form more suitable for model training.

func (FeatureTransformation) GoString Uses

func (s FeatureTransformation) GoString() string

GoString returns the string representation

func (*FeatureTransformation) SetCreationDateTime Uses

func (s *FeatureTransformation) SetCreationDateTime(v time.Time) *FeatureTransformation

SetCreationDateTime sets the CreationDateTime field's value.

func (*FeatureTransformation) SetDefaultParameters Uses

func (s *FeatureTransformation) SetDefaultParameters(v map[string]*string) *FeatureTransformation

SetDefaultParameters sets the DefaultParameters field's value.

func (*FeatureTransformation) SetFeatureTransformationArn Uses

func (s *FeatureTransformation) SetFeatureTransformationArn(v string) *FeatureTransformation

SetFeatureTransformationArn sets the FeatureTransformationArn field's value.

func (*FeatureTransformation) SetLastUpdatedDateTime Uses

func (s *FeatureTransformation) SetLastUpdatedDateTime(v time.Time) *FeatureTransformation

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*FeatureTransformation) SetName Uses

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

SetName sets the Name field's value.

func (*FeatureTransformation) SetStatus Uses

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

SetStatus sets the Status field's value.

func (FeatureTransformation) String Uses

func (s FeatureTransformation) String() string

String returns the string representation

type GetSolutionMetricsInput Uses

type GetSolutionMetricsInput struct {

    // The Amazon Resource Name (ARN) of the solution version for which to get metrics.
    //
    // SolutionVersionArn is a required field
    SolutionVersionArn *string `locationName:"solutionVersionArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetSolutionMetricsInput) GoString Uses

func (s GetSolutionMetricsInput) GoString() string

GoString returns the string representation

func (*GetSolutionMetricsInput) SetSolutionVersionArn Uses

func (s *GetSolutionMetricsInput) SetSolutionVersionArn(v string) *GetSolutionMetricsInput

SetSolutionVersionArn sets the SolutionVersionArn field's value.

func (GetSolutionMetricsInput) String Uses

func (s GetSolutionMetricsInput) String() string

String returns the string representation

func (*GetSolutionMetricsInput) Validate Uses

func (s *GetSolutionMetricsInput) Validate() error

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

type GetSolutionMetricsOutput Uses

type GetSolutionMetricsOutput struct {

    // The metrics for the solution version.
    Metrics map[string]*float64 `locationName:"metrics" type:"map"`

    // The same solution version ARN as specified in the request.
    SolutionVersionArn *string `locationName:"solutionVersionArn" type:"string"`
    // contains filtered or unexported fields
}

func (GetSolutionMetricsOutput) GoString Uses

func (s GetSolutionMetricsOutput) GoString() string

GoString returns the string representation

func (*GetSolutionMetricsOutput) SetMetrics Uses

func (s *GetSolutionMetricsOutput) SetMetrics(v map[string]*float64) *GetSolutionMetricsOutput

SetMetrics sets the Metrics field's value.

func (*GetSolutionMetricsOutput) SetSolutionVersionArn Uses

func (s *GetSolutionMetricsOutput) SetSolutionVersionArn(v string) *GetSolutionMetricsOutput

SetSolutionVersionArn sets the SolutionVersionArn field's value.

func (GetSolutionMetricsOutput) String Uses

func (s GetSolutionMetricsOutput) String() string

String returns the string representation

type HPOConfig Uses

type HPOConfig struct {

    // The hyperparameters and their allowable ranges.
    AlgorithmHyperParameterRanges *HyperParameterRanges `locationName:"algorithmHyperParameterRanges" type:"structure"`

    // The metric to optimize during HPO.
    HpoObjective *HPOObjective `locationName:"hpoObjective" type:"structure"`

    // Describes the resource configuration for HPO.
    HpoResourceConfig *HPOResourceConfig `locationName:"hpoResourceConfig" type:"structure"`
    // contains filtered or unexported fields
}

Describes the properties for hyperparameter optimization (HPO). For use with the bring-your-own-recipe feature. Do not use for Amazon Personalize native recipes.

func (HPOConfig) GoString Uses

func (s HPOConfig) GoString() string

GoString returns the string representation

func (*HPOConfig) SetAlgorithmHyperParameterRanges Uses

func (s *HPOConfig) SetAlgorithmHyperParameterRanges(v *HyperParameterRanges) *HPOConfig

SetAlgorithmHyperParameterRanges sets the AlgorithmHyperParameterRanges field's value.

func (*HPOConfig) SetHpoObjective Uses

func (s *HPOConfig) SetHpoObjective(v *HPOObjective) *HPOConfig

SetHpoObjective sets the HpoObjective field's value.

func (*HPOConfig) SetHpoResourceConfig Uses

func (s *HPOConfig) SetHpoResourceConfig(v *HPOResourceConfig) *HPOConfig

SetHpoResourceConfig sets the HpoResourceConfig field's value.

func (HPOConfig) String Uses

func (s HPOConfig) String() string

String returns the string representation

func (*HPOConfig) Validate Uses

func (s *HPOConfig) Validate() error

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

type HPOObjective Uses

type HPOObjective struct {

    // The name of the metric.
    MetricName *string `locationName:"metricName" type:"string"`

    // A regular expression for finding the metric in the training job logs.
    MetricRegex *string `locationName:"metricRegex" type:"string"`

    // The data type of the metric.
    Type *string `locationName:"type" type:"string"`
    // contains filtered or unexported fields
}

The metric to optimize during hyperparameter optimization (HPO).

func (HPOObjective) GoString Uses

func (s HPOObjective) GoString() string

GoString returns the string representation

func (*HPOObjective) SetMetricName Uses

func (s *HPOObjective) SetMetricName(v string) *HPOObjective

SetMetricName sets the MetricName field's value.

func (*HPOObjective) SetMetricRegex Uses

func (s *HPOObjective) SetMetricRegex(v string) *HPOObjective

SetMetricRegex sets the MetricRegex field's value.

func (*HPOObjective) SetType Uses

func (s *HPOObjective) SetType(v string) *HPOObjective

SetType sets the Type field's value.

func (HPOObjective) String Uses

func (s HPOObjective) String() string

String returns the string representation

type HPOResourceConfig Uses

type HPOResourceConfig struct {

    // The maximum number of training jobs.
    MaxNumberOfTrainingJobs *string `locationName:"maxNumberOfTrainingJobs" type:"string"`

    // The maximum number of parallel training jobs.
    MaxParallelTrainingJobs *string `locationName:"maxParallelTrainingJobs" type:"string"`
    // contains filtered or unexported fields
}

Describes the resource configuration for hyperparameter optimization (HPO).

func (HPOResourceConfig) GoString Uses

func (s HPOResourceConfig) GoString() string

GoString returns the string representation

func (*HPOResourceConfig) SetMaxNumberOfTrainingJobs Uses

func (s *HPOResourceConfig) SetMaxNumberOfTrainingJobs(v string) *HPOResourceConfig

SetMaxNumberOfTrainingJobs sets the MaxNumberOfTrainingJobs field's value.

func (*HPOResourceConfig) SetMaxParallelTrainingJobs Uses

func (s *HPOResourceConfig) SetMaxParallelTrainingJobs(v string) *HPOResourceConfig

SetMaxParallelTrainingJobs sets the MaxParallelTrainingJobs field's value.

func (HPOResourceConfig) String Uses

func (s HPOResourceConfig) String() string

String returns the string representation

type HyperParameterRanges Uses

type HyperParameterRanges struct {

    // The categorical hyperparameters and their ranges.
    CategoricalHyperParameterRanges []*CategoricalHyperParameterRange `locationName:"categoricalHyperParameterRanges" type:"list"`

    // The continuous hyperparameters and their ranges.
    ContinuousHyperParameterRanges []*ContinuousHyperParameterRange `locationName:"continuousHyperParameterRanges" type:"list"`

    // The integer-valued hyperparameters and their ranges.
    IntegerHyperParameterRanges []*IntegerHyperParameterRange `locationName:"integerHyperParameterRanges" type:"list"`
    // contains filtered or unexported fields
}

Specifies the hyperparameters and their ranges. Hyperparameters can be categorical, continuous, or integer-valued.

func (HyperParameterRanges) GoString Uses

func (s HyperParameterRanges) GoString() string

GoString returns the string representation

func (*HyperParameterRanges) SetCategoricalHyperParameterRanges Uses

func (s *HyperParameterRanges) SetCategoricalHyperParameterRanges(v []*CategoricalHyperParameterRange) *HyperParameterRanges

SetCategoricalHyperParameterRanges sets the CategoricalHyperParameterRanges field's value.

func (*HyperParameterRanges) SetContinuousHyperParameterRanges Uses

func (s *HyperParameterRanges) SetContinuousHyperParameterRanges(v []*ContinuousHyperParameterRange) *HyperParameterRanges

SetContinuousHyperParameterRanges sets the ContinuousHyperParameterRanges field's value.

func (*HyperParameterRanges) SetIntegerHyperParameterRanges Uses

func (s *HyperParameterRanges) SetIntegerHyperParameterRanges(v []*IntegerHyperParameterRange) *HyperParameterRanges

SetIntegerHyperParameterRanges sets the IntegerHyperParameterRanges field's value.

func (HyperParameterRanges) String Uses

func (s HyperParameterRanges) String() string

String returns the string representation

func (*HyperParameterRanges) Validate Uses

func (s *HyperParameterRanges) Validate() error

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

type IntegerHyperParameterRange Uses

type IntegerHyperParameterRange struct {

    // The maximum allowable value for the hyperparameter.
    MaxValue *int64 `locationName:"maxValue" type:"integer"`

    // The minimum allowable value for the hyperparameter.
    MinValue *int64 `locationName:"minValue" type:"integer"`

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

Provides the name and range of an integer-valued hyperparameter.

func (IntegerHyperParameterRange) GoString Uses

func (s IntegerHyperParameterRange) GoString() string

GoString returns the string representation

func (*IntegerHyperParameterRange) SetMaxValue Uses

func (s *IntegerHyperParameterRange) SetMaxValue(v int64) *IntegerHyperParameterRange

SetMaxValue sets the MaxValue field's value.

func (*IntegerHyperParameterRange) SetMinValue Uses

func (s *IntegerHyperParameterRange) SetMinValue(v int64) *IntegerHyperParameterRange

SetMinValue sets the MinValue field's value.

func (*IntegerHyperParameterRange) SetName Uses

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

SetName sets the Name field's value.

func (IntegerHyperParameterRange) String Uses

func (s IntegerHyperParameterRange) String() string

String returns the string representation

func (*IntegerHyperParameterRange) Validate Uses

func (s *IntegerHyperParameterRange) Validate() error

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

type ListCampaignsInput Uses

type ListCampaignsInput struct {

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

    // A token returned from the previous call to ListCampaigns for getting the
    // next set of campaigns (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`

    // The Amazon Resource Name (ARN) of the solution to list the campaigns for.
    // When a solution is not specified, all the campaigns associated with the account
    // are listed.
    SolutionArn *string `locationName:"solutionArn" type:"string"`
    // contains filtered or unexported fields
}

func (ListCampaignsInput) GoString Uses

func (s ListCampaignsInput) GoString() string

GoString returns the string representation

func (*ListCampaignsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListCampaignsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListCampaignsInput) SetSolutionArn Uses

func (s *ListCampaignsInput) SetSolutionArn(v string) *ListCampaignsInput

SetSolutionArn sets the SolutionArn field's value.

func (ListCampaignsInput) String Uses

func (s ListCampaignsInput) String() string

String returns the string representation

func (*ListCampaignsInput) Validate Uses

func (s *ListCampaignsInput) Validate() error

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

type ListCampaignsOutput Uses

type ListCampaignsOutput struct {

    // A list of the campaigns.
    Campaigns []*CampaignSummary `locationName:"campaigns" type:"list"`

    // A token for getting the next set of campaigns (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListCampaignsOutput) GoString Uses

func (s ListCampaignsOutput) GoString() string

GoString returns the string representation

func (*ListCampaignsOutput) SetCampaigns Uses

func (s *ListCampaignsOutput) SetCampaigns(v []*CampaignSummary) *ListCampaignsOutput

SetCampaigns sets the Campaigns field's value.

func (*ListCampaignsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListCampaignsOutput) String Uses

func (s ListCampaignsOutput) String() string

String returns the string representation

type ListDatasetGroupsInput Uses

type ListDatasetGroupsInput struct {

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

    // A token returned from the previous call to ListDatasetGroups for getting
    // the next set of dataset groups (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListDatasetGroupsInput) GoString Uses

func (s ListDatasetGroupsInput) GoString() string

GoString returns the string representation

func (*ListDatasetGroupsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListDatasetGroupsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDatasetGroupsInput) String Uses

func (s ListDatasetGroupsInput) String() string

String returns the string representation

func (*ListDatasetGroupsInput) Validate Uses

func (s *ListDatasetGroupsInput) Validate() error

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

type ListDatasetGroupsOutput Uses

type ListDatasetGroupsOutput struct {

    // The list of your dataset groups.
    DatasetGroups []*DatasetGroupSummary `locationName:"datasetGroups" type:"list"`

    // A token for getting the next set of dataset groups (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListDatasetGroupsOutput) GoString Uses

func (s ListDatasetGroupsOutput) GoString() string

GoString returns the string representation

func (*ListDatasetGroupsOutput) SetDatasetGroups Uses

func (s *ListDatasetGroupsOutput) SetDatasetGroups(v []*DatasetGroupSummary) *ListDatasetGroupsOutput

SetDatasetGroups sets the DatasetGroups field's value.

func (*ListDatasetGroupsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDatasetGroupsOutput) String Uses

func (s ListDatasetGroupsOutput) String() string

String returns the string representation

type ListDatasetImportJobsInput Uses

type ListDatasetImportJobsInput struct {

    // The Amazon Resource Name (ARN) of the dataset to list the dataset import
    // jobs for.
    DatasetArn *string `locationName:"datasetArn" type:"string"`

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

    // A token returned from the previous call to ListDatasetImportJobs for getting
    // the next set of dataset import jobs (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListDatasetImportJobsInput) GoString Uses

func (s ListDatasetImportJobsInput) GoString() string

GoString returns the string representation

func (*ListDatasetImportJobsInput) SetDatasetArn Uses

func (s *ListDatasetImportJobsInput) SetDatasetArn(v string) *ListDatasetImportJobsInput

SetDatasetArn sets the DatasetArn field's value.

func (*ListDatasetImportJobsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListDatasetImportJobsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDatasetImportJobsInput) String Uses

func (s ListDatasetImportJobsInput) String() string

String returns the string representation

func (*ListDatasetImportJobsInput) Validate Uses

func (s *ListDatasetImportJobsInput) Validate() error

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

type ListDatasetImportJobsOutput Uses

type ListDatasetImportJobsOutput struct {

    // The list of dataset import jobs.
    DatasetImportJobs []*DatasetImportJobSummary `locationName:"datasetImportJobs" type:"list"`

    // A token for getting the next set of dataset import jobs (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListDatasetImportJobsOutput) GoString Uses

func (s ListDatasetImportJobsOutput) GoString() string

GoString returns the string representation

func (*ListDatasetImportJobsOutput) SetDatasetImportJobs Uses

func (s *ListDatasetImportJobsOutput) SetDatasetImportJobs(v []*DatasetImportJobSummary) *ListDatasetImportJobsOutput

SetDatasetImportJobs sets the DatasetImportJobs field's value.

func (*ListDatasetImportJobsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDatasetImportJobsOutput) String Uses

func (s ListDatasetImportJobsOutput) String() string

String returns the string representation

type ListDatasetsInput Uses

type ListDatasetsInput struct {

    // The Amazon Resource Name (ARN) of the dataset group that contains the datasets
    // to list.
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string"`

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

    // A token returned from the previous call to ListDatasetImportJobs for getting
    // the next set of dataset import jobs (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListDatasetsInput) GoString Uses

func (s ListDatasetsInput) GoString() string

GoString returns the string representation

func (*ListDatasetsInput) SetDatasetGroupArn Uses

func (s *ListDatasetsInput) SetDatasetGroupArn(v string) *ListDatasetsInput

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*ListDatasetsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListDatasetsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDatasetsInput) String Uses

func (s ListDatasetsInput) String() string

String returns the string representation

func (*ListDatasetsInput) Validate Uses

func (s *ListDatasetsInput) Validate() error

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

type ListDatasetsOutput Uses

type ListDatasetsOutput struct {

    // An array of Dataset objects. Each object provides metadata information.
    Datasets []*DatasetSummary `locationName:"datasets" type:"list"`

    // A token for getting the next set of datasets (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListDatasetsOutput) GoString Uses

func (s ListDatasetsOutput) GoString() string

GoString returns the string representation

func (*ListDatasetsOutput) SetDatasets Uses

func (s *ListDatasetsOutput) SetDatasets(v []*DatasetSummary) *ListDatasetsOutput

SetDatasets sets the Datasets field's value.

func (*ListDatasetsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDatasetsOutput) String Uses

func (s ListDatasetsOutput) String() string

String returns the string representation

type ListEventTrackersInput Uses

type ListEventTrackersInput struct {

    // The ARN of a dataset group used to filter the response.
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string"`

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

    // A token returned from the previous call to ListEventTrackers for getting
    // the next set of event trackers (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListEventTrackersInput) GoString Uses

func (s ListEventTrackersInput) GoString() string

GoString returns the string representation

func (*ListEventTrackersInput) SetDatasetGroupArn Uses

func (s *ListEventTrackersInput) SetDatasetGroupArn(v string) *ListEventTrackersInput

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*ListEventTrackersInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListEventTrackersInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListEventTrackersInput) String Uses

func (s ListEventTrackersInput) String() string

String returns the string representation

func (*ListEventTrackersInput) Validate Uses

func (s *ListEventTrackersInput) Validate() error

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

type ListEventTrackersOutput Uses

type ListEventTrackersOutput struct {

    // A list of event trackers.
    EventTrackers []*EventTrackerSummary `locationName:"eventTrackers" type:"list"`

    // A token for getting the next set of event trackers (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListEventTrackersOutput) GoString Uses

func (s ListEventTrackersOutput) GoString() string

GoString returns the string representation

func (*ListEventTrackersOutput) SetEventTrackers Uses

func (s *ListEventTrackersOutput) SetEventTrackers(v []*EventTrackerSummary) *ListEventTrackersOutput

SetEventTrackers sets the EventTrackers field's value.

func (*ListEventTrackersOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListEventTrackersOutput) String Uses

func (s ListEventTrackersOutput) String() string

String returns the string representation

type ListRecipesInput Uses

type ListRecipesInput struct {

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

    // A token returned from the previous call to ListRecipes for getting the next
    // set of recipes (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`

    // The default is SERVICE.
    RecipeProvider *string `locationName:"recipeProvider" type:"string" enum:"RecipeProvider"`
    // contains filtered or unexported fields
}

func (ListRecipesInput) GoString Uses

func (s ListRecipesInput) GoString() string

GoString returns the string representation

func (*ListRecipesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListRecipesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListRecipesInput) SetRecipeProvider Uses

func (s *ListRecipesInput) SetRecipeProvider(v string) *ListRecipesInput

SetRecipeProvider sets the RecipeProvider field's value.

func (ListRecipesInput) String Uses

func (s ListRecipesInput) String() string

String returns the string representation

func (*ListRecipesInput) Validate Uses

func (s *ListRecipesInput) Validate() error

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

type ListRecipesOutput Uses

type ListRecipesOutput struct {

    // A token for getting the next set of recipes.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The list of available recipes.
    Recipes []*RecipeSummary `locationName:"recipes" type:"list"`
    // contains filtered or unexported fields
}

func (ListRecipesOutput) GoString Uses

func (s ListRecipesOutput) GoString() string

GoString returns the string representation

func (*ListRecipesOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListRecipesOutput) SetRecipes Uses

func (s *ListRecipesOutput) SetRecipes(v []*RecipeSummary) *ListRecipesOutput

SetRecipes sets the Recipes field's value.

func (ListRecipesOutput) String Uses

func (s ListRecipesOutput) String() string

String returns the string representation

type ListSchemasInput Uses

type ListSchemasInput struct {

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

    // A token returned from the previous call to ListSchemas for getting the next
    // set of schemas (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListSchemasInput) GoString Uses

func (s ListSchemasInput) GoString() string

GoString returns the string representation

func (*ListSchemasInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListSchemasInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListSchemasInput) String Uses

func (s ListSchemasInput) String() string

String returns the string representation

func (*ListSchemasInput) Validate Uses

func (s *ListSchemasInput) Validate() error

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

type ListSchemasOutput Uses

type ListSchemasOutput struct {

    // A token used to get the next set of schemas (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`

    // A list of schemas.
    Schemas []*DatasetSchemaSummary `locationName:"schemas" type:"list"`
    // contains filtered or unexported fields
}

func (ListSchemasOutput) GoString Uses

func (s ListSchemasOutput) GoString() string

GoString returns the string representation

func (*ListSchemasOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListSchemasOutput) SetSchemas Uses

func (s *ListSchemasOutput) SetSchemas(v []*DatasetSchemaSummary) *ListSchemasOutput

SetSchemas sets the Schemas field's value.

func (ListSchemasOutput) String Uses

func (s ListSchemasOutput) String() string

String returns the string representation

type ListSolutionVersionsInput Uses

type ListSolutionVersionsInput struct {

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

    // A token returned from the previous call to ListSolutionVersions for getting
    // the next set of solution versions (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`

    // The Amazon Resource Name (ARN) of the solution.
    SolutionArn *string `locationName:"solutionArn" type:"string"`
    // contains filtered or unexported fields
}

func (ListSolutionVersionsInput) GoString Uses

func (s ListSolutionVersionsInput) GoString() string

GoString returns the string representation

func (*ListSolutionVersionsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListSolutionVersionsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListSolutionVersionsInput) SetSolutionArn Uses

func (s *ListSolutionVersionsInput) SetSolutionArn(v string) *ListSolutionVersionsInput

SetSolutionArn sets the SolutionArn field's value.

func (ListSolutionVersionsInput) String Uses

func (s ListSolutionVersionsInput) String() string

String returns the string representation

func (*ListSolutionVersionsInput) Validate Uses

func (s *ListSolutionVersionsInput) Validate() error

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

type ListSolutionVersionsOutput Uses

type ListSolutionVersionsOutput struct {

    // A token for getting the next set of solution versions (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`

    // A list of solution versions describing the version properties.
    SolutionVersions []*SolutionVersionSummary `locationName:"solutionVersions" type:"list"`
    // contains filtered or unexported fields
}

func (ListSolutionVersionsOutput) GoString Uses

func (s ListSolutionVersionsOutput) GoString() string

GoString returns the string representation

func (*ListSolutionVersionsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListSolutionVersionsOutput) SetSolutionVersions Uses

func (s *ListSolutionVersionsOutput) SetSolutionVersions(v []*SolutionVersionSummary) *ListSolutionVersionsOutput

SetSolutionVersions sets the SolutionVersions field's value.

func (ListSolutionVersionsOutput) String Uses

func (s ListSolutionVersionsOutput) String() string

String returns the string representation

type ListSolutionsInput Uses

type ListSolutionsInput struct {

    // The Amazon Resource Name (ARN) of the dataset group.
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string"`

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

    // A token returned from the previous call to ListSolutions for getting the
    // next set of solutions (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListSolutionsInput) GoString Uses

func (s ListSolutionsInput) GoString() string

GoString returns the string representation

func (*ListSolutionsInput) SetDatasetGroupArn Uses

func (s *ListSolutionsInput) SetDatasetGroupArn(v string) *ListSolutionsInput

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*ListSolutionsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListSolutionsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListSolutionsInput) String Uses

func (s ListSolutionsInput) String() string

String returns the string representation

func (*ListSolutionsInput) Validate Uses

func (s *ListSolutionsInput) Validate() error

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

type ListSolutionsOutput Uses

type ListSolutionsOutput struct {

    // A token for getting the next set of solutions (if they exist).
    NextToken *string `locationName:"nextToken" type:"string"`

    // A list of the current solutions.
    Solutions []*SolutionSummary `locationName:"solutions" type:"list"`
    // contains filtered or unexported fields
}

func (ListSolutionsOutput) GoString Uses

func (s ListSolutionsOutput) GoString() string

GoString returns the string representation

func (*ListSolutionsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListSolutionsOutput) SetSolutions Uses

func (s *ListSolutionsOutput) SetSolutions(v []*SolutionSummary) *ListSolutionsOutput

SetSolutions sets the Solutions field's value.

func (ListSolutionsOutput) String Uses

func (s ListSolutionsOutput) String() string

String returns the string representation

type Personalize Uses

type Personalize struct {
    *client.Client
}

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

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

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Personalize

New creates a new instance of the Personalize client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a Personalize client from just a session.
svc := personalize.New(mySession)

// Create a Personalize client with additional configuration
svc := personalize.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Personalize) CreateCampaign Uses

func (c *Personalize) CreateCampaign(input *CreateCampaignInput) (*CreateCampaignOutput, error)

CreateCampaign API operation for Amazon Personalize.

Creates a campaign by deploying a solution version. When a client calls the GetRecommendations (https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html) and GetPersonalizedRanking (https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetPersonalizedRanking.html) APIs, a campaign is specified in the request.

Minimum Provisioned TPS and Auto-Scaling

A transaction is a single GetRecommendations or GetPersonalizedRanking call. Transactions per second (TPS) is the throughput and unit of billing for Amazon Personalize. The minimum provisioned TPS (minProvisionedTPS) specifies the baseline throughput provisioned by Amazon Personalize, and thus, the minimum billing charge. If your TPS increases beyond minProvisionedTPS, Amazon Personalize auto-scales the provisioned capacity up and down, but never below minProvisionedTPS, to maintain a 70% utilization. There's a short time delay while the capacity is increased that might cause loss of transactions. It's recommended to start with a low minProvisionedTPS, track your usage using Amazon CloudWatch metrics, and then increase the minProvisionedTPS as necessary.

Status

A campaign can be in one of the following states:

* CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

* DELETE PENDING > DELETE IN_PROGRESS

To get the campaign status, call DescribeCampaign.

Wait until the status of the campaign is ACTIVE before asking the campaign for recommendations.

Related APIs

* ListCampaigns

* DescribeCampaign

* UpdateCampaign

* DeleteCampaign

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

See the AWS API reference guide for Amazon Personalize's API operation CreateCampaign for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The specified resource already exists.

* ErrCodeLimitExceededException "LimitExceededException"
The limit on the number of requests per second has been exceeded.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateCampaign

func (*Personalize) CreateCampaignRequest Uses

func (c *Personalize) CreateCampaignRequest(input *CreateCampaignInput) (req *request.Request, output *CreateCampaignOutput)

CreateCampaignRequest generates a "aws/request.Request" representing the client's request for the CreateCampaign operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateCampaign for more information on using the CreateCampaign API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateCampaignRequest method.
req, resp := client.CreateCampaignRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateCampaign

func (*Personalize) CreateCampaignWithContext Uses

func (c *Personalize) CreateCampaignWithContext(ctx aws.Context, input *CreateCampaignInput, opts ...request.Option) (*CreateCampaignOutput, error)

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

See CreateCampaign for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) CreateDataset Uses

func (c *Personalize) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error)

CreateDataset API operation for Amazon Personalize.

Creates an empty dataset and adds it to the specified dataset group. Use CreateDatasetImportJob to import your training data to a dataset.

There are three types of datasets:

* Interactions

* Items

* Users

Each dataset type has an associated schema with required field types. Only the Interactions dataset is required in order to train a model (also referred to as creating a solution).

A dataset can be in one of the following states:

* CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

* DELETE PENDING > DELETE IN_PROGRESS

To get the status of the dataset, call DescribeDataset.

Related APIs

* CreateDatasetGroup

* ListDatasets

* DescribeDataset

* DeleteDataset

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

See the AWS API reference guide for Amazon Personalize's API operation CreateDataset for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The specified resource already exists.

* ErrCodeLimitExceededException "LimitExceededException"
The limit on the number of requests per second has been exceeded.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDataset

func (*Personalize) CreateDatasetGroup Uses

func (c *Personalize) CreateDatasetGroup(input *CreateDatasetGroupInput) (*CreateDatasetGroupOutput, error)

CreateDatasetGroup API operation for Amazon Personalize.

Creates an empty dataset group. A dataset group contains related datasets that supply data for training a model. A dataset group can contain at most three datasets, one for each type of dataset:

* Interactions

* Items

* Users

To train a model (create a solution), a dataset group that contains an Interactions dataset is required. Call CreateDataset to add a dataset to the group.

A dataset group can be in one of the following states:

* CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

* DELETE PENDING

To get the status of the dataset group, call DescribeDatasetGroup. If the status shows as CREATE FAILED, the response includes a failureReason key, which describes why the creation failed.

You must wait until the status of the dataset group is ACTIVE before adding a dataset to the group.

You can specify an AWS Key Management Service (KMS) key to encrypt the datasets in the group. If you specify a KMS key, you must also include an AWS Identity and Access Management (IAM) role that has permission to access the key.

APIs that require a dataset group ARN in the request

* CreateDataset

* CreateEventTracker

* CreateSolution

Related APIs

* ListDatasetGroups

* DescribeDatasetGroup

* DeleteDatasetGroup

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

See the AWS API reference guide for Amazon Personalize's API operation CreateDatasetGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The specified resource already exists.

* ErrCodeLimitExceededException "LimitExceededException"
The limit on the number of requests per second has been exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetGroup

func (*Personalize) CreateDatasetGroupRequest Uses

func (c *Personalize) CreateDatasetGroupRequest(input *CreateDatasetGroupInput) (req *request.Request, output *CreateDatasetGroupOutput)

CreateDatasetGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDatasetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDatasetGroup for more information on using the CreateDatasetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDatasetGroupRequest method.
req, resp := client.CreateDatasetGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetGroup

func (*Personalize) CreateDatasetGroupWithContext Uses

func (c *Personalize) CreateDatasetGroupWithContext(ctx aws.Context, input *CreateDatasetGroupInput, opts ...request.Option) (*CreateDatasetGroupOutput, error)

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

See CreateDatasetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) CreateDatasetImportJob Uses

func (c *Personalize) CreateDatasetImportJob(input *CreateDatasetImportJobInput) (*CreateDatasetImportJobOutput, error)

CreateDatasetImportJob API operation for Amazon Personalize.

Creates a job that imports training data from your data source (an Amazon S3 bucket) to an Amazon Personalize dataset. To allow Amazon Personalize to import the training data, you must specify an AWS Identity and Access Management (IAM) role that has permission to read from the data source.

The dataset import job replaces any previous data in the dataset.

Status

A dataset import job can be in one of the following states:

* CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

To get the status of the import job, call DescribeDatasetImportJob, providing the Amazon Resource Name (ARN) of the dataset import job. The dataset import is complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, the response includes a failureReason key, which describes why the job failed.

Importing takes time. You must wait until the status shows as ACTIVE before training a model using the dataset.

Related APIs

* ListDatasetImportJobs

* DescribeDatasetImportJob

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

See the AWS API reference guide for Amazon Personalize's API operation CreateDatasetImportJob for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The specified resource already exists.

* ErrCodeLimitExceededException "LimitExceededException"
The limit on the number of requests per second has been exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetImportJob

func (*Personalize) CreateDatasetImportJobRequest Uses

func (c *Personalize) CreateDatasetImportJobRequest(input *CreateDatasetImportJobInput) (req *request.Request, output *CreateDatasetImportJobOutput)

CreateDatasetImportJobRequest generates a "aws/request.Request" representing the client's request for the CreateDatasetImportJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDatasetImportJob for more information on using the CreateDatasetImportJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDatasetImportJobRequest method.
req, resp := client.CreateDatasetImportJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetImportJob

func (*Personalize) CreateDatasetImportJobWithContext Uses

func (c *Personalize) CreateDatasetImportJobWithContext(ctx aws.Context, input *CreateDatasetImportJobInput, opts ...request.Option) (*CreateDatasetImportJobOutput, error)

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

See CreateDatasetImportJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) CreateDatasetRequest Uses

func (c *Personalize) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput)

CreateDatasetRequest generates a "aws/request.Request" representing the client's request for the CreateDataset operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDataset for more information on using the CreateDataset API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDatasetRequest method.
req, resp := client.CreateDatasetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDataset

func (*Personalize) CreateDatasetWithContext Uses

func (c *Personalize) CreateDatasetWithContext(ctx aws.Context, input *CreateDatasetInput, opts ...request.Option) (*CreateDatasetOutput, error)

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

See CreateDataset for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) CreateEventTracker Uses

func (c *Personalize) CreateEventTracker(input *CreateEventTrackerInput) (*CreateEventTrackerOutput, error)

CreateEventTracker API operation for Amazon Personalize.

Creates an event tracker that you use when sending event data to the specified dataset group using the PutEvents (https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html) API.

When Amazon Personalize creates an event tracker, it also creates an event-interactions dataset in the dataset group associated with the event tracker. The event-interactions dataset stores the event data from the PutEvents call. The contents of this dataset are not available to the user.

Only one event tracker can be associated with a dataset group. You will get an error if you call CreateEventTracker using the same dataset group as an existing event tracker.

When you send event data you include your tracking ID. The tracking ID identifies the customer and authorizes the customer to send the data.

The event tracker can be in one of the following states:

* CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

* DELETE PENDING > DELETE IN_PROGRESS

To get the status of the event tracker, call DescribeEventTracker.

The event tracker must be in the ACTIVE state before using the tracking ID.

Related APIs

* ListEventTrackers

* DescribeEventTracker

* DeleteEventTracker

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

See the AWS API reference guide for Amazon Personalize's API operation CreateEventTracker for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The specified resource already exists.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeLimitExceededException "LimitExceededException"
The limit on the number of requests per second has been exceeded.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateEventTracker

func (*Personalize) CreateEventTrackerRequest Uses

func (c *Personalize) CreateEventTrackerRequest(input *CreateEventTrackerInput) (req *request.Request, output *CreateEventTrackerOutput)

CreateEventTrackerRequest generates a "aws/request.Request" representing the client's request for the CreateEventTracker operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateEventTracker for more information on using the CreateEventTracker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateEventTrackerRequest method.
req, resp := client.CreateEventTrackerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateEventTracker

func (*Personalize) CreateEventTrackerWithContext Uses

func (c *Personalize) CreateEventTrackerWithContext(ctx aws.Context, input *CreateEventTrackerInput, opts ...request.Option) (*CreateEventTrackerOutput, error)

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

See CreateEventTracker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) CreateSchema Uses

func (c *Personalize) CreateSchema(input *CreateSchemaInput) (*CreateSchemaOutput, error)

CreateSchema API operation for Amazon Personalize.

Creates an Amazon Personalize schema from the specified schema string. The schema you create must be in Avro JSON format.

Amazon Personalize recognizes three schema variants. Each schema is associated with a dataset type and has a set of required field and keywords. You specify a schema when you call CreateDataset.

Related APIs

* ListSchemas

* DescribeSchema

* DeleteSchema

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

See the AWS API reference guide for Amazon Personalize's API operation CreateSchema for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The specified resource already exists.

* ErrCodeLimitExceededException "LimitExceededException"
The limit on the number of requests per second has been exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSchema

func (*Personalize) CreateSchemaRequest Uses

func (c *Personalize) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Request, output *CreateSchemaOutput)

CreateSchemaRequest generates a "aws/request.Request" representing the client's request for the CreateSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSchema for more information on using the CreateSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSchemaRequest method.
req, resp := client.CreateSchemaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSchema

func (*Personalize) CreateSchemaWithContext Uses

func (c *Personalize) CreateSchemaWithContext(ctx aws.Context, input *CreateSchemaInput, opts ...request.Option) (*CreateSchemaOutput, error)

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

See CreateSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) CreateSolution Uses

func (c *Personalize) CreateSolution(input *CreateSolutionInput) (*CreateSolutionOutput, error)

CreateSolution API operation for Amazon Personalize.

Creates the configuration for training a model. A trained model is known as a solution. After the configuration is created, you train the model (create a solution) by calling the CreateSolutionVersion operation. Every time you call CreateSolutionVersion, a new version of the solution is created.

After creating a solution version, you check its accuracy by calling GetSolutionMetrics. When you are satisfied with the version, you deploy it using CreateCampaign. The campaign provides recommendations to a client through the GetRecommendations (https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html) API.

To train a model, Amazon Personalize requires training data and a recipe. The training data comes from the dataset group that you provide in the request. A recipe specifies the training algorithm and a feature transformation. You can specify one of the predefined recipes provided by Amazon Personalize. Alternatively, you can specify performAutoML and Amazon Personalize will analyze your data and select the optimum USER_PERSONALIZATION recipe for you.

Status

A solution can be in one of the following states:

* CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

* DELETE PENDING > DELETE IN_PROGRESS

To get the status of the solution, call DescribeSolution. Wait until the status shows as ACTIVE before calling CreateSolutionVersion.

Related APIs

* ListSolutions

* CreateSolutionVersion

* DescribeSolution

* DeleteSolution

* ListSolutionVersions

* DescribeSolutionVersion

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

See the AWS API reference guide for Amazon Personalize's API operation CreateSolution for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The specified resource already exists.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeLimitExceededException "LimitExceededException"
The limit on the number of requests per second has been exceeded.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolution

func (*Personalize) CreateSolutionRequest Uses

func (c *Personalize) CreateSolutionRequest(input *CreateSolutionInput) (req *request.Request, output *CreateSolutionOutput)

CreateSolutionRequest generates a "aws/request.Request" representing the client's request for the CreateSolution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSolution for more information on using the CreateSolution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSolutionRequest method.
req, resp := client.CreateSolutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolution

func (*Personalize) CreateSolutionVersion Uses

func (c *Personalize) CreateSolutionVersion(input *CreateSolutionVersionInput) (*CreateSolutionVersionOutput, error)

CreateSolutionVersion API operation for Amazon Personalize.

Trains or retrains an active solution. A solution is created using the CreateSolution operation and must be in the ACTIVE state before calling CreateSolutionVersion. A new version of the solution is created every time you call this operation.

Status

A solution version can be in one of the following states:

* CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

To get the status of the version, call DescribeSolutionVersion. Wait until the status shows as ACTIVE before calling CreateCampaign.

If the status shows as CREATE FAILED, the response includes a failureReason key, which describes why the job failed.

Related APIs

* ListSolutionVersions

* DescribeSolutionVersion

* ListSolutions

* CreateSolution

* DescribeSolution

* DeleteSolution

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

See the AWS API reference guide for Amazon Personalize's API operation CreateSolutionVersion for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionVersion

func (*Personalize) CreateSolutionVersionRequest Uses

func (c *Personalize) CreateSolutionVersionRequest(input *CreateSolutionVersionInput) (req *request.Request, output *CreateSolutionVersionOutput)

CreateSolutionVersionRequest generates a "aws/request.Request" representing the client's request for the CreateSolutionVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSolutionVersion for more information on using the CreateSolutionVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSolutionVersionRequest method.
req, resp := client.CreateSolutionVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionVersion

func (*Personalize) CreateSolutionVersionWithContext Uses

func (c *Personalize) CreateSolutionVersionWithContext(ctx aws.Context, input *CreateSolutionVersionInput, opts ...request.Option) (*CreateSolutionVersionOutput, error)

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

See CreateSolutionVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) CreateSolutionWithContext Uses

func (c *Personalize) CreateSolutionWithContext(ctx aws.Context, input *CreateSolutionInput, opts ...request.Option) (*CreateSolutionOutput, error)

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

See CreateSolution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DeleteCampaign Uses

func (c *Personalize) DeleteCampaign(input *DeleteCampaignInput) (*DeleteCampaignOutput, error)

DeleteCampaign API operation for Amazon Personalize.

Removes a campaign by deleting the solution deployment. The solution that the campaign is based on is not deleted and can be redeployed when needed. A deleted campaign can no longer be specified in a GetRecommendations (https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html) request. For more information on campaigns, see CreateCampaign.

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

See the AWS API reference guide for Amazon Personalize's API operation DeleteCampaign for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteCampaign

func (*Personalize) DeleteCampaignRequest Uses

func (c *Personalize) DeleteCampaignRequest(input *DeleteCampaignInput) (req *request.Request, output *DeleteCampaignOutput)

DeleteCampaignRequest generates a "aws/request.Request" representing the client's request for the DeleteCampaign operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteCampaign for more information on using the DeleteCampaign API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteCampaignRequest method.
req, resp := client.DeleteCampaignRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteCampaign

func (*Personalize) DeleteCampaignWithContext Uses

func (c *Personalize) DeleteCampaignWithContext(ctx aws.Context, input *DeleteCampaignInput, opts ...request.Option) (*DeleteCampaignOutput, error)

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

See DeleteCampaign for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DeleteDataset Uses

func (c *Personalize) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error)

DeleteDataset API operation for Amazon Personalize.

Deletes a dataset. You can't delete a dataset if an associated DatasetImportJob or SolutionVersion is in the CREATE PENDING or IN PROGRESS state. For more information on datasets, see CreateDataset.

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

See the AWS API reference guide for Amazon Personalize's API operation DeleteDataset for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteDataset

func (*Personalize) DeleteDatasetGroup Uses

func (c *Personalize) DeleteDatasetGroup(input *DeleteDatasetGroupInput) (*DeleteDatasetGroupOutput, error)

DeleteDatasetGroup API operation for Amazon Personalize.

Deletes a dataset group. Before you delete a dataset group, you must delete the following:

* All associated event trackers.

* All associated solutions.

* All datasets in the dataset group.

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

See the AWS API reference guide for Amazon Personalize's API operation DeleteDatasetGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteDatasetGroup

func (*Personalize) DeleteDatasetGroupRequest Uses

func (c *Personalize) DeleteDatasetGroupRequest(input *DeleteDatasetGroupInput) (req *request.Request, output *DeleteDatasetGroupOutput)

DeleteDatasetGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDatasetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDatasetGroup for more information on using the DeleteDatasetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDatasetGroupRequest method.
req, resp := client.DeleteDatasetGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteDatasetGroup

func (*Personalize) DeleteDatasetGroupWithContext Uses

func (c *Personalize) DeleteDatasetGroupWithContext(ctx aws.Context, input *DeleteDatasetGroupInput, opts ...request.Option) (*DeleteDatasetGroupOutput, error)

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

See DeleteDatasetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DeleteDatasetRequest Uses

func (c *Personalize) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput)

DeleteDatasetRequest generates a "aws/request.Request" representing the client's request for the DeleteDataset operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDataset for more information on using the DeleteDataset API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDatasetRequest method.
req, resp := client.DeleteDatasetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteDataset

func (*Personalize) DeleteDatasetWithContext Uses

func (c *Personalize) DeleteDatasetWithContext(ctx aws.Context, input *DeleteDatasetInput, opts ...request.Option) (*DeleteDatasetOutput, error)

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

See DeleteDataset for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DeleteEventTracker Uses

func (c *Personalize) DeleteEventTracker(input *DeleteEventTrackerInput) (*DeleteEventTrackerOutput, error)

DeleteEventTracker API operation for Amazon Personalize.

Deletes the event tracker. Does not delete the event-interactions dataset from the associated dataset group. For more information on event trackers, see CreateEventTracker.

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

See the AWS API reference guide for Amazon Personalize's API operation DeleteEventTracker for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteEventTracker

func (*Personalize) DeleteEventTrackerRequest Uses

func (c *Personalize) DeleteEventTrackerRequest(input *DeleteEventTrackerInput) (req *request.Request, output *DeleteEventTrackerOutput)

DeleteEventTrackerRequest generates a "aws/request.Request" representing the client's request for the DeleteEventTracker operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteEventTracker for more information on using the DeleteEventTracker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteEventTrackerRequest method.
req, resp := client.DeleteEventTrackerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteEventTracker

func (*Personalize) DeleteEventTrackerWithContext Uses

func (c *Personalize) DeleteEventTrackerWithContext(ctx aws.Context, input *DeleteEventTrackerInput, opts ...request.Option) (*DeleteEventTrackerOutput, error)

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

See DeleteEventTracker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DeleteSchema Uses

func (c *Personalize) DeleteSchema(input *DeleteSchemaInput) (*DeleteSchemaOutput, error)

DeleteSchema API operation for Amazon Personalize.

Deletes a schema. Before deleting a schema, you must delete all datasets referencing the schema. For more information on schemas, see CreateSchema.

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

See the AWS API reference guide for Amazon Personalize's API operation DeleteSchema for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteSchema

func (*Personalize) DeleteSchemaRequest Uses

func (c *Personalize) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Request, output *DeleteSchemaOutput)

DeleteSchemaRequest generates a "aws/request.Request" representing the client's request for the DeleteSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSchema for more information on using the DeleteSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSchemaRequest method.
req, resp := client.DeleteSchemaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteSchema

func (*Personalize) DeleteSchemaWithContext Uses

func (c *Personalize) DeleteSchemaWithContext(ctx aws.Context, input *DeleteSchemaInput, opts ...request.Option) (*DeleteSchemaOutput, error)

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

See DeleteSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DeleteSolution Uses

func (c *Personalize) DeleteSolution(input *DeleteSolutionInput) (*DeleteSolutionOutput, error)

DeleteSolution API operation for Amazon Personalize.

Deletes all versions of a solution and the Solution object itself. Before deleting a solution, you must delete all campaigns based on the solution. To determine what campaigns are using the solution, call ListCampaigns and supply the Amazon Resource Name (ARN) of the solution. You can't delete a solution if an associated SolutionVersion is in the CREATE PENDING or IN PROGRESS state. For more information on solutions, see CreateSolution.

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

See the AWS API reference guide for Amazon Personalize's API operation DeleteSolution for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteSolution

func (*Personalize) DeleteSolutionRequest Uses

func (c *Personalize) DeleteSolutionRequest(input *DeleteSolutionInput) (req *request.Request, output *DeleteSolutionOutput)

DeleteSolutionRequest generates a "aws/request.Request" representing the client's request for the DeleteSolution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSolution for more information on using the DeleteSolution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSolutionRequest method.
req, resp := client.DeleteSolutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteSolution

func (*Personalize) DeleteSolutionWithContext Uses

func (c *Personalize) DeleteSolutionWithContext(ctx aws.Context, input *DeleteSolutionInput, opts ...request.Option) (*DeleteSolutionOutput, error)

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

See DeleteSolution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeAlgorithm Uses

func (c *Personalize) DescribeAlgorithm(input *DescribeAlgorithmInput) (*DescribeAlgorithmOutput, error)

DescribeAlgorithm API operation for Amazon Personalize.

Describes the given algorithm.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeAlgorithm for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeAlgorithm

func (*Personalize) DescribeAlgorithmRequest Uses

func (c *Personalize) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (req *request.Request, output *DescribeAlgorithmOutput)

DescribeAlgorithmRequest generates a "aws/request.Request" representing the client's request for the DescribeAlgorithm operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAlgorithm for more information on using the DescribeAlgorithm API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAlgorithmRequest method.
req, resp := client.DescribeAlgorithmRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeAlgorithm

func (*Personalize) DescribeAlgorithmWithContext Uses

func (c *Personalize) DescribeAlgorithmWithContext(ctx aws.Context, input *DescribeAlgorithmInput, opts ...request.Option) (*DescribeAlgorithmOutput, error)

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

See DescribeAlgorithm for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeCampaign Uses

func (c *Personalize) DescribeCampaign(input *DescribeCampaignInput) (*DescribeCampaignOutput, error)

DescribeCampaign API operation for Amazon Personalize.

Describes the given campaign, including its status.

A campaign can be in one of the following states:

* CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

* DELETE PENDING > DELETE IN_PROGRESS

When the status is CREATE FAILED, the response includes the failureReason key, which describes why.

For more information on campaigns, see CreateCampaign.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeCampaign for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeCampaign

func (*Personalize) DescribeCampaignRequest Uses

func (c *Personalize) DescribeCampaignRequest(input *DescribeCampaignInput) (req *request.Request, output *DescribeCampaignOutput)

DescribeCampaignRequest generates a "aws/request.Request" representing the client's request for the DescribeCampaign operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeCampaign for more information on using the DescribeCampaign API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeCampaignRequest method.
req, resp := client.DescribeCampaignRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeCampaign

func (*Personalize) DescribeCampaignWithContext Uses

func (c *Personalize) DescribeCampaignWithContext(ctx aws.Context, input *DescribeCampaignInput, opts ...request.Option) (*DescribeCampaignOutput, error)

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

See DescribeCampaign for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeDataset Uses

func (c *Personalize) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error)

DescribeDataset API operation for Amazon Personalize.

Describes the given dataset. For more information on datasets, see CreateDataset.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeDataset for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDataset

func (*Personalize) DescribeDatasetGroup Uses

func (c *Personalize) DescribeDatasetGroup(input *DescribeDatasetGroupInput) (*DescribeDatasetGroupOutput, error)

DescribeDatasetGroup API operation for Amazon Personalize.

Describes the given dataset group. For more information on dataset groups, see CreateDatasetGroup.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeDatasetGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetGroup

func (*Personalize) DescribeDatasetGroupRequest Uses

func (c *Personalize) DescribeDatasetGroupRequest(input *DescribeDatasetGroupInput) (req *request.Request, output *DescribeDatasetGroupOutput)

DescribeDatasetGroupRequest generates a "aws/request.Request" representing the client's request for the DescribeDatasetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDatasetGroup for more information on using the DescribeDatasetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDatasetGroupRequest method.
req, resp := client.DescribeDatasetGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetGroup

func (*Personalize) DescribeDatasetGroupWithContext Uses

func (c *Personalize) DescribeDatasetGroupWithContext(ctx aws.Context, input *DescribeDatasetGroupInput, opts ...request.Option) (*DescribeDatasetGroupOutput, error)

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

See DescribeDatasetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeDatasetImportJob Uses

func (c *Personalize) DescribeDatasetImportJob(input *DescribeDatasetImportJobInput) (*DescribeDatasetImportJobOutput, error)

DescribeDatasetImportJob API operation for Amazon Personalize.

Describes the dataset import job created by CreateDatasetImportJob, including the import job status.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeDatasetImportJob for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetImportJob

func (*Personalize) DescribeDatasetImportJobRequest Uses

func (c *Personalize) DescribeDatasetImportJobRequest(input *DescribeDatasetImportJobInput) (req *request.Request, output *DescribeDatasetImportJobOutput)

DescribeDatasetImportJobRequest generates a "aws/request.Request" representing the client's request for the DescribeDatasetImportJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDatasetImportJob for more information on using the DescribeDatasetImportJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDatasetImportJobRequest method.
req, resp := client.DescribeDatasetImportJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetImportJob

func (*Personalize) DescribeDatasetImportJobWithContext Uses

func (c *Personalize) DescribeDatasetImportJobWithContext(ctx aws.Context, input *DescribeDatasetImportJobInput, opts ...request.Option) (*DescribeDatasetImportJobOutput, error)

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

See DescribeDatasetImportJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeDatasetRequest Uses

func (c *Personalize) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput)

DescribeDatasetRequest generates a "aws/request.Request" representing the client's request for the DescribeDataset operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDataset for more information on using the DescribeDataset API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDatasetRequest method.
req, resp := client.DescribeDatasetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDataset

func (*Personalize) DescribeDatasetWithContext Uses

func (c *Personalize) DescribeDatasetWithContext(ctx aws.Context, input *DescribeDatasetInput, opts ...request.Option) (*DescribeDatasetOutput, error)

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

See DescribeDataset for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeEventTracker Uses

func (c *Personalize) DescribeEventTracker(input *DescribeEventTrackerInput) (*DescribeEventTrackerOutput, error)

DescribeEventTracker API operation for Amazon Personalize.

Describes an event tracker. The response includes the trackingId and status of the event tracker. For more information on event trackers, see CreateEventTracker.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeEventTracker for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeEventTracker

func (*Personalize) DescribeEventTrackerRequest Uses

func (c *Personalize) DescribeEventTrackerRequest(input *DescribeEventTrackerInput) (req *request.Request, output *DescribeEventTrackerOutput)

DescribeEventTrackerRequest generates a "aws/request.Request" representing the client's request for the DescribeEventTracker operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEventTracker for more information on using the DescribeEventTracker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEventTrackerRequest method.
req, resp := client.DescribeEventTrackerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeEventTracker

func (*Personalize) DescribeEventTrackerWithContext Uses

func (c *Personalize) DescribeEventTrackerWithContext(ctx aws.Context, input *DescribeEventTrackerInput, opts ...request.Option) (*DescribeEventTrackerOutput, error)

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

See DescribeEventTracker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeFeatureTransformation Uses

func (c *Personalize) DescribeFeatureTransformation(input *DescribeFeatureTransformationInput) (*DescribeFeatureTransformationOutput, error)

DescribeFeatureTransformation API operation for Amazon Personalize.

Describes the given feature transformation.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeFeatureTransformation for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFeatureTransformation

func (*Personalize) DescribeFeatureTransformationRequest Uses

func (c *Personalize) DescribeFeatureTransformationRequest(input *DescribeFeatureTransformationInput) (req *request.Request, output *DescribeFeatureTransformationOutput)

DescribeFeatureTransformationRequest generates a "aws/request.Request" representing the client's request for the DescribeFeatureTransformation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeFeatureTransformation for more information on using the DescribeFeatureTransformation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeFeatureTransformationRequest method.
req, resp := client.DescribeFeatureTransformationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFeatureTransformation

func (*Personalize) DescribeFeatureTransformationWithContext Uses

func (c *Personalize) DescribeFeatureTransformationWithContext(ctx aws.Context, input *DescribeFeatureTransformationInput, opts ...request.Option) (*DescribeFeatureTransformationOutput, error)

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

See DescribeFeatureTransformation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeRecipe Uses

func (c *Personalize) DescribeRecipe(input *DescribeRecipeInput) (*DescribeRecipeOutput, error)

DescribeRecipe API operation for Amazon Personalize.

Describes a recipe.

A recipe contains three items:

* An algorithm that trains a model.

* Hyperparameters that govern the training.

* Feature transformation information for modifying the input data before
training.

Amazon Personalize provides a set of predefined recipes. You specify a recipe when you create a solution with the CreateSolution API. CreateSolution trains a model by using the algorithm in the specified recipe and a training dataset. The solution, when deployed as a campaign, can provide recommendations using the GetRecommendations (https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html) API.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeRecipe for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeRecipe

func (*Personalize) DescribeRecipeRequest Uses

func (c *Personalize) DescribeRecipeRequest(input *DescribeRecipeInput) (req *request.Request, output *DescribeRecipeOutput)

DescribeRecipeRequest generates a "aws/request.Request" representing the client's request for the DescribeRecipe operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRecipe for more information on using the DescribeRecipe API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRecipeRequest method.
req, resp := client.DescribeRecipeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeRecipe

func (*Personalize) DescribeRecipeWithContext Uses

func (c *Personalize) DescribeRecipeWithContext(ctx aws.Context, input *DescribeRecipeInput, opts ...request.Option) (*DescribeRecipeOutput, error)

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

See DescribeRecipe for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeSchema Uses

func (c *Personalize) DescribeSchema(input *DescribeSchemaInput) (*DescribeSchemaOutput, error)

DescribeSchema API operation for Amazon Personalize.

Describes a schema. For more information on schemas, see CreateSchema.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeSchema for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSchema

func (*Personalize) DescribeSchemaRequest Uses

func (c *Personalize) DescribeSchemaRequest(input *DescribeSchemaInput) (req *request.Request, output *DescribeSchemaOutput)

DescribeSchemaRequest generates a "aws/request.Request" representing the client's request for the DescribeSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSchema for more information on using the DescribeSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSchemaRequest method.
req, resp := client.DescribeSchemaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSchema

func (*Personalize) DescribeSchemaWithContext Uses

func (c *Personalize) DescribeSchemaWithContext(ctx aws.Context, input *DescribeSchemaInput, opts ...request.Option) (*DescribeSchemaOutput, error)

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

See DescribeSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeSolution Uses

func (c *Personalize) DescribeSolution(input *DescribeSolutionInput) (*DescribeSolutionOutput, error)

DescribeSolution API operation for Amazon Personalize.

Describes a solution. For more information on solutions, see CreateSolution.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeSolution for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSolution

func (*Personalize) DescribeSolutionRequest Uses

func (c *Personalize) DescribeSolutionRequest(input *DescribeSolutionInput) (req *request.Request, output *DescribeSolutionOutput)

DescribeSolutionRequest generates a "aws/request.Request" representing the client's request for the DescribeSolution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSolution for more information on using the DescribeSolution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSolutionRequest method.
req, resp := client.DescribeSolutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSolution

func (*Personalize) DescribeSolutionVersion Uses

func (c *Personalize) DescribeSolutionVersion(input *DescribeSolutionVersionInput) (*DescribeSolutionVersionOutput, error)

DescribeSolutionVersion API operation for Amazon Personalize.

Describes a specific version of a solution. For more information on solutions, see CreateSolution.

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

See the AWS API reference guide for Amazon Personalize's API operation DescribeSolutionVersion for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSolutionVersion

func (*Personalize) DescribeSolutionVersionRequest Uses

func (c *Personalize) DescribeSolutionVersionRequest(input *DescribeSolutionVersionInput) (req *request.Request, output *DescribeSolutionVersionOutput)

DescribeSolutionVersionRequest generates a "aws/request.Request" representing the client's request for the DescribeSolutionVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSolutionVersion for more information on using the DescribeSolutionVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSolutionVersionRequest method.
req, resp := client.DescribeSolutionVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSolutionVersion

func (*Personalize) DescribeSolutionVersionWithContext Uses

func (c *Personalize) DescribeSolutionVersionWithContext(ctx aws.Context, input *DescribeSolutionVersionInput, opts ...request.Option) (*DescribeSolutionVersionOutput, error)

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

See DescribeSolutionVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) DescribeSolutionWithContext Uses

func (c *Personalize) DescribeSolutionWithContext(ctx aws.Context, input *DescribeSolutionInput, opts ...request.Option) (*DescribeSolutionOutput, error)

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

See DescribeSolution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) GetSolutionMetrics Uses

func (c *Personalize) GetSolutionMetrics(input *GetSolutionMetricsInput) (*GetSolutionMetricsOutput, error)

GetSolutionMetrics API operation for Amazon Personalize.

Gets the metrics for the specified solution version.

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

See the AWS API reference guide for Amazon Personalize's API operation GetSolutionMetrics for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/GetSolutionMetrics

func (*Personalize) GetSolutionMetricsRequest Uses

func (c *Personalize) GetSolutionMetricsRequest(input *GetSolutionMetricsInput) (req *request.Request, output *GetSolutionMetricsOutput)

GetSolutionMetricsRequest generates a "aws/request.Request" representing the client's request for the GetSolutionMetrics operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSolutionMetrics for more information on using the GetSolutionMetrics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSolutionMetricsRequest method.
req, resp := client.GetSolutionMetricsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/GetSolutionMetrics

func (*Personalize) GetSolutionMetricsWithContext Uses

func (c *Personalize) GetSolutionMetricsWithContext(ctx aws.Context, input *GetSolutionMetricsInput, opts ...request.Option) (*GetSolutionMetricsOutput, error)

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

See GetSolutionMetrics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListCampaigns Uses

func (c *Personalize) ListCampaigns(input *ListCampaignsInput) (*ListCampaignsOutput, error)

ListCampaigns API operation for Amazon Personalize.

Returns a list of campaigns that use the given solution. When a solution is not specified, all the campaigns associated with the account are listed. The response provides the properties for each campaign, including the Amazon Resource Name (ARN). For more information on campaigns, see CreateCampaign.

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

See the AWS API reference guide for Amazon Personalize's API operation ListCampaigns for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListCampaigns

func (*Personalize) ListCampaignsPages Uses

func (c *Personalize) ListCampaignsPages(input *ListCampaignsInput, fn func(*ListCampaignsOutput, bool) bool) error

ListCampaignsPages iterates over the pages of a ListCampaigns operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCampaigns method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListCampaigns operation.
pageNum := 0
err := client.ListCampaignsPages(params,
    func(page *personalize.ListCampaignsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Personalize) ListCampaignsPagesWithContext Uses

func (c *Personalize) ListCampaignsPagesWithContext(ctx aws.Context, input *ListCampaignsInput, fn func(*ListCampaignsOutput, bool) bool, opts ...request.Option) error

ListCampaignsPagesWithContext same as ListCampaignsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListCampaignsRequest Uses

func (c *Personalize) ListCampaignsRequest(input *ListCampaignsInput) (req *request.Request, output *ListCampaignsOutput)

ListCampaignsRequest generates a "aws/request.Request" representing the client's request for the ListCampaigns operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCampaigns for more information on using the ListCampaigns API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCampaignsRequest method.
req, resp := client.ListCampaignsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListCampaigns

func (*Personalize) ListCampaignsWithContext Uses

func (c *Personalize) ListCampaignsWithContext(ctx aws.Context, input *ListCampaignsInput, opts ...request.Option) (*ListCampaignsOutput, error)

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

See ListCampaigns for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListDatasetGroups Uses

func (c *Personalize) ListDatasetGroups(input *ListDatasetGroupsInput) (*ListDatasetGroupsOutput, error)

ListDatasetGroups API operation for Amazon Personalize.

Returns a list of dataset groups. The response provides the properties for each dataset group, including the Amazon Resource Name (ARN). For more information on dataset groups, see CreateDatasetGroup.

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

See the AWS API reference guide for Amazon Personalize's API operation ListDatasetGroups for usage and error information.

Returned Error Codes:

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetGroups

func (*Personalize) ListDatasetGroupsPages Uses

func (c *Personalize) ListDatasetGroupsPages(input *ListDatasetGroupsInput, fn func(*ListDatasetGroupsOutput, bool) bool) error

ListDatasetGroupsPages iterates over the pages of a ListDatasetGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDatasetGroups method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListDatasetGroups operation.
pageNum := 0
err := client.ListDatasetGroupsPages(params,
    func(page *personalize.ListDatasetGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Personalize) ListDatasetGroupsPagesWithContext Uses

func (c *Personalize) ListDatasetGroupsPagesWithContext(ctx aws.Context, input *ListDatasetGroupsInput, fn func(*ListDatasetGroupsOutput, bool) bool, opts ...request.Option) error

ListDatasetGroupsPagesWithContext same as ListDatasetGroupsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListDatasetGroupsRequest Uses

func (c *Personalize) ListDatasetGroupsRequest(input *ListDatasetGroupsInput) (req *request.Request, output *ListDatasetGroupsOutput)

ListDatasetGroupsRequest generates a "aws/request.Request" representing the client's request for the ListDatasetGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDatasetGroups for more information on using the ListDatasetGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDatasetGroupsRequest method.
req, resp := client.ListDatasetGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetGroups

func (*Personalize) ListDatasetGroupsWithContext Uses

func (c *Personalize) ListDatasetGroupsWithContext(ctx aws.Context, input *ListDatasetGroupsInput, opts ...request.Option) (*ListDatasetGroupsOutput, error)

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

See ListDatasetGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListDatasetImportJobs Uses

func (c *Personalize) ListDatasetImportJobs(input *ListDatasetImportJobsInput) (*ListDatasetImportJobsOutput, error)

ListDatasetImportJobs API operation for Amazon Personalize.

Returns a list of dataset import jobs that use the given dataset. When a dataset is not specified, all the dataset import jobs associated with the account are listed. The response provides the properties for each dataset import job, including the Amazon Resource Name (ARN). For more information on dataset import jobs, see CreateDatasetImportJob. For more information on datasets, see CreateDataset.

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

See the AWS API reference guide for Amazon Personalize's API operation ListDatasetImportJobs for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetImportJobs

func (*Personalize) ListDatasetImportJobsPages Uses

func (c *Personalize) ListDatasetImportJobsPages(input *ListDatasetImportJobsInput, fn func(*ListDatasetImportJobsOutput, bool) bool) error

ListDatasetImportJobsPages iterates over the pages of a ListDatasetImportJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDatasetImportJobs method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListDatasetImportJobs operation.
pageNum := 0
err := client.ListDatasetImportJobsPages(params,
    func(page *personalize.ListDatasetImportJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Personalize) ListDatasetImportJobsPagesWithContext Uses

func (c *Personalize) ListDatasetImportJobsPagesWithContext(ctx aws.Context, input *ListDatasetImportJobsInput, fn func(*ListDatasetImportJobsOutput, bool) bool, opts ...request.Option) error

ListDatasetImportJobsPagesWithContext same as ListDatasetImportJobsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListDatasetImportJobsRequest Uses

func (c *Personalize) ListDatasetImportJobsRequest(input *ListDatasetImportJobsInput) (req *request.Request, output *ListDatasetImportJobsOutput)

ListDatasetImportJobsRequest generates a "aws/request.Request" representing the client's request for the ListDatasetImportJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDatasetImportJobs for more information on using the ListDatasetImportJobs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDatasetImportJobsRequest method.
req, resp := client.ListDatasetImportJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetImportJobs

func (*Personalize) ListDatasetImportJobsWithContext Uses

func (c *Personalize) ListDatasetImportJobsWithContext(ctx aws.Context, input *ListDatasetImportJobsInput, opts ...request.Option) (*ListDatasetImportJobsOutput, error)

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

See ListDatasetImportJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListDatasets Uses

func (c *Personalize) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error)

ListDatasets API operation for Amazon Personalize.

Returns the list of datasets contained in the given dataset group. The response provides the properties for each dataset, including the Amazon Resource Name (ARN). For more information on datasets, see CreateDataset.

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

See the AWS API reference guide for Amazon Personalize's API operation ListDatasets for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasets

func (*Personalize) ListDatasetsPages Uses

func (c *Personalize) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error

ListDatasetsPages iterates over the pages of a ListDatasets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDatasets method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListDatasets operation.
pageNum := 0
err := client.ListDatasetsPages(params,
    func(page *personalize.ListDatasetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Personalize) ListDatasetsPagesWithContext Uses

func (c *Personalize) ListDatasetsPagesWithContext(ctx aws.Context, input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool, opts ...request.Option) error

ListDatasetsPagesWithContext same as ListDatasetsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListDatasetsRequest Uses

func (c *Personalize) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput)

ListDatasetsRequest generates a "aws/request.Request" representing the client's request for the ListDatasets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDatasets for more information on using the ListDatasets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDatasetsRequest method.
req, resp := client.ListDatasetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasets

func (*Personalize) ListDatasetsWithContext Uses

func (c *Personalize) ListDatasetsWithContext(ctx aws.Context, input *ListDatasetsInput, opts ...request.Option) (*ListDatasetsOutput, error)

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

See ListDatasets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListEventTrackers Uses

func (c *Personalize) ListEventTrackers(input *ListEventTrackersInput) (*ListEventTrackersOutput, error)

ListEventTrackers API operation for Amazon Personalize.

Returns the list of event trackers associated with the account. The response provides the properties for each event tracker, including the Amazon Resource Name (ARN) and tracking ID. For more information on event trackers, see CreateEventTracker.

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

See the AWS API reference guide for Amazon Personalize's API operation ListEventTrackers for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListEventTrackers

func (*Personalize) ListEventTrackersPages Uses

func (c *Personalize) ListEventTrackersPages(input *ListEventTrackersInput, fn func(*ListEventTrackersOutput, bool) bool) error

ListEventTrackersPages iterates over the pages of a ListEventTrackers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListEventTrackers method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListEventTrackers operation.
pageNum := 0
err := client.ListEventTrackersPages(params,
    func(page *personalize.ListEventTrackersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Personalize) ListEventTrackersPagesWithContext Uses

func (c *Personalize) ListEventTrackersPagesWithContext(ctx aws.Context, input *ListEventTrackersInput, fn func(*ListEventTrackersOutput, bool) bool, opts ...request.Option) error

ListEventTrackersPagesWithContext same as ListEventTrackersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListEventTrackersRequest Uses

func (c *Personalize) ListEventTrackersRequest(input *ListEventTrackersInput) (req *request.Request, output *ListEventTrackersOutput)

ListEventTrackersRequest generates a "aws/request.Request" representing the client's request for the ListEventTrackers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListEventTrackers for more information on using the ListEventTrackers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListEventTrackersRequest method.
req, resp := client.ListEventTrackersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListEventTrackers

func (*Personalize) ListEventTrackersWithContext Uses

func (c *Personalize) ListEventTrackersWithContext(ctx aws.Context, input *ListEventTrackersInput, opts ...request.Option) (*ListEventTrackersOutput, error)

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

See ListEventTrackers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListRecipes Uses

func (c *Personalize) ListRecipes(input *ListRecipesInput) (*ListRecipesOutput, error)

ListRecipes API operation for Amazon Personalize.

Returns a list of available recipes. The response provides the properties for each recipe, including the recipe's Amazon Resource Name (ARN).

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

See the AWS API reference guide for Amazon Personalize's API operation ListRecipes for usage and error information.

Returned Error Codes:

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListRecipes

func (*Personalize) ListRecipesPages Uses

func (c *Personalize) ListRecipesPages(input *ListRecipesInput, fn func(*ListRecipesOutput, bool) bool) error

ListRecipesPages iterates over the pages of a ListRecipes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRecipes method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListRecipes operation.
pageNum := 0
err := client.ListRecipesPages(params,
    func(page *personalize.ListRecipesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Personalize) ListRecipesPagesWithContext Uses

func (c *Personalize) ListRecipesPagesWithContext(ctx aws.Context, input *ListRecipesInput, fn func(*ListRecipesOutput, bool) bool, opts ...request.Option) error

ListRecipesPagesWithContext same as ListRecipesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListRecipesRequest Uses

func (c *Personalize) ListRecipesRequest(input *ListRecipesInput) (req *request.Request, output *ListRecipesOutput)

ListRecipesRequest generates a "aws/request.Request" representing the client's request for the ListRecipes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRecipes for more information on using the ListRecipes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRecipesRequest method.
req, resp := client.ListRecipesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListRecipes

func (*Personalize) ListRecipesWithContext Uses

func (c *Personalize) ListRecipesWithContext(ctx aws.Context, input *ListRecipesInput, opts ...request.Option) (*ListRecipesOutput, error)

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

See ListRecipes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListSchemas Uses

func (c *Personalize) ListSchemas(input *ListSchemasInput) (*ListSchemasOutput, error)

ListSchemas API operation for Amazon Personalize.

Returns the list of schemas associated with the account. The response provides the properties for each schema, including the Amazon Resource Name (ARN). For more information on schemas, see CreateSchema.

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

See the AWS API reference guide for Amazon Personalize's API operation ListSchemas for usage and error information.

Returned Error Codes:

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSchemas

func (*Personalize) ListSchemasPages Uses

func (c *Personalize) ListSchemasPages(input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool) error

ListSchemasPages iterates over the pages of a ListSchemas operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSchemas method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListSchemas operation.
pageNum := 0
err := client.ListSchemasPages(params,
    func(page *personalize.ListSchemasOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Personalize) ListSchemasPagesWithContext Uses

func (c *Personalize) ListSchemasPagesWithContext(ctx aws.Context, input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool, opts ...request.Option) error

ListSchemasPagesWithContext same as ListSchemasPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListSchemasRequest Uses

func (c *Personalize) ListSchemasRequest(input *ListSchemasInput) (req *request.Request, output *ListSchemasOutput)

ListSchemasRequest generates a "aws/request.Request" representing the client's request for the ListSchemas operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSchemas for more information on using the ListSchemas API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSchemasRequest method.
req, resp := client.ListSchemasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSchemas

func (*Personalize) ListSchemasWithContext Uses

func (c *Personalize) ListSchemasWithContext(ctx aws.Context, input *ListSchemasInput, opts ...request.Option) (*ListSchemasOutput, error)

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

See ListSchemas for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListSolutionVersions Uses

func (c *Personalize) ListSolutionVersions(input *ListSolutionVersionsInput) (*ListSolutionVersionsOutput, error)

ListSolutionVersions API operation for Amazon Personalize.

Returns a list of solution versions for the given solution. When a solution is not specified, all the solution versions associated with the account are listed. The response provides the properties for each solution version, including the Amazon Resource Name (ARN). For more information on solutions, see CreateSolution.

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

See the AWS API reference guide for Amazon Personalize's API operation ListSolutionVersions for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSolutionVersions

func (*Personalize) ListSolutionVersionsPages Uses

func (c *Personalize) ListSolutionVersionsPages(input *ListSolutionVersionsInput, fn func(*ListSolutionVersionsOutput, bool) bool) error

ListSolutionVersionsPages iterates over the pages of a ListSolutionVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSolutionVersions method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListSolutionVersions operation.
pageNum := 0
err := client.ListSolutionVersionsPages(params,
    func(page *personalize.ListSolutionVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Personalize) ListSolutionVersionsPagesWithContext Uses

func (c *Personalize) ListSolutionVersionsPagesWithContext(ctx aws.Context, input *ListSolutionVersionsInput, fn func(*ListSolutionVersionsOutput, bool) bool, opts ...request.Option) error

ListSolutionVersionsPagesWithContext same as ListSolutionVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListSolutionVersionsRequest Uses

func (c *Personalize) ListSolutionVersionsRequest(input *ListSolutionVersionsInput) (req *request.Request, output *ListSolutionVersionsOutput)

ListSolutionVersionsRequest generates a "aws/request.Request" representing the client's request for the ListSolutionVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSolutionVersions for more information on using the ListSolutionVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSolutionVersionsRequest method.
req, resp := client.ListSolutionVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSolutionVersions

func (*Personalize) ListSolutionVersionsWithContext Uses

func (c *Personalize) ListSolutionVersionsWithContext(ctx aws.Context, input *ListSolutionVersionsInput, opts ...request.Option) (*ListSolutionVersionsOutput, error)

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

See ListSolutionVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListSolutions Uses

func (c *Personalize) ListSolutions(input *ListSolutionsInput) (*ListSolutionsOutput, error)

ListSolutions API operation for Amazon Personalize.

Returns a list of solutions that use the given dataset group. When a dataset group is not specified, all the solutions associated with the account are listed. The response provides the properties for each solution, including the Amazon Resource Name (ARN). For more information on solutions, see CreateSolution.

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

See the AWS API reference guide for Amazon Personalize's API operation ListSolutions for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSolutions

func (*Personalize) ListSolutionsPages Uses

func (c *Personalize) ListSolutionsPages(input *ListSolutionsInput, fn func(*ListSolutionsOutput, bool) bool) error

ListSolutionsPages iterates over the pages of a ListSolutions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSolutions method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListSolutions operation.
pageNum := 0
err := client.ListSolutionsPages(params,
    func(page *personalize.ListSolutionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Personalize) ListSolutionsPagesWithContext Uses

func (c *Personalize) ListSolutionsPagesWithContext(ctx aws.Context, input *ListSolutionsInput, fn func(*ListSolutionsOutput, bool) bool, opts ...request.Option) error

ListSolutionsPagesWithContext same as ListSolutionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) ListSolutionsRequest Uses

func (c *Personalize) ListSolutionsRequest(input *ListSolutionsInput) (req *request.Request, output *ListSolutionsOutput)

ListSolutionsRequest generates a "aws/request.Request" representing the client's request for the ListSolutions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSolutions for more information on using the ListSolutions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSolutionsRequest method.
req, resp := client.ListSolutionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSolutions

func (*Personalize) ListSolutionsWithContext Uses

func (c *Personalize) ListSolutionsWithContext(ctx aws.Context, input *ListSolutionsInput, opts ...request.Option) (*ListSolutionsOutput, error)

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

See ListSolutions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Personalize) UpdateCampaign Uses

func (c *Personalize) UpdateCampaign(input *UpdateCampaignInput) (*UpdateCampaignOutput, error)

UpdateCampaign API operation for Amazon Personalize.

Updates a campaign by either deploying a new solution or changing the value of the campaign's minProvisionedTPS parameter.

To update a campaign, the campaign status must be ACTIVE or CREATE FAILED. Check the campaign status using the DescribeCampaign API.

You must wait until the status of the updated campaign is ACTIVE before asking the campaign for recommendations.

For more information on campaigns, see CreateCampaign.

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

See the AWS API reference guide for Amazon Personalize's API operation UpdateCampaign for usage and error information.

Returned Error Codes:

* ErrCodeInvalidInputException "InvalidInputException"
Provide a valid value for the field or parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Could not find the specified resource.

* ErrCodeResourceInUseException "ResourceInUseException"
The specified resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UpdateCampaign

func (*Personalize) UpdateCampaignRequest Uses

func (c *Personalize) UpdateCampaignRequest(input *UpdateCampaignInput) (req *request.Request, output *UpdateCampaignOutput)

UpdateCampaignRequest generates a "aws/request.Request" representing the client's request for the UpdateCampaign operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateCampaign for more information on using the UpdateCampaign API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateCampaignRequest method.
req, resp := client.UpdateCampaignRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UpdateCampaign

func (*Personalize) UpdateCampaignWithContext Uses

func (c *Personalize) UpdateCampaignWithContext(ctx aws.Context, input *UpdateCampaignInput, opts ...request.Option) (*UpdateCampaignOutput, error)

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

See UpdateCampaign for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Recipe Uses

type Recipe struct {

    // The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses
    // to train the model.
    AlgorithmArn *string `locationName:"algorithmArn" type:"string"`

    // The date and time (in Unix format) that the recipe was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

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

    // The ARN of the FeatureTransformation object.
    FeatureTransformationArn *string `locationName:"featureTransformationArn" type:"string"`

    // The date and time (in Unix format) that the recipe was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The Amazon Resource Name (ARN) of the recipe.
    RecipeArn *string `locationName:"recipeArn" type:"string"`

    // One of the following values:
    //
    //    * PERSONALIZED_RANKING
    //
    //    * RELATED_ITEMS
    //
    //    * USER_PERSONALIZATION
    RecipeType *string `locationName:"recipeType" type:"string"`

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

Provides information about a recipe. Each recipe provides an algorithm that Amazon Personalize uses in model training when you use the CreateSolution operation.

func (Recipe) GoString Uses

func (s Recipe) GoString() string

GoString returns the string representation

func (*Recipe) SetAlgorithmArn Uses

func (s *Recipe) SetAlgorithmArn(v string) *Recipe

SetAlgorithmArn sets the AlgorithmArn field's value.

func (*Recipe) SetCreationDateTime Uses

func (s *Recipe) SetCreationDateTime(v time.Time) *Recipe

SetCreationDateTime sets the CreationDateTime field's value.

func (*Recipe) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Recipe) SetFeatureTransformationArn Uses

func (s *Recipe) SetFeatureTransformationArn(v string) *Recipe

SetFeatureTransformationArn sets the FeatureTransformationArn field's value.

func (*Recipe) SetLastUpdatedDateTime Uses

func (s *Recipe) SetLastUpdatedDateTime(v time.Time) *Recipe

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*Recipe) SetName Uses

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

SetName sets the Name field's value.

func (*Recipe) SetRecipeArn Uses

func (s *Recipe) SetRecipeArn(v string) *Recipe

SetRecipeArn sets the RecipeArn field's value.

func (*Recipe) SetRecipeType Uses

func (s *Recipe) SetRecipeType(v string) *Recipe

SetRecipeType sets the RecipeType field's value.

func (*Recipe) SetStatus Uses

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

SetStatus sets the Status field's value.

func (Recipe) String Uses

func (s Recipe) String() string

String returns the string representation

type RecipeSummary Uses

type RecipeSummary struct {

    // The date and time (in Unix time) that the recipe was created.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The date and time (in Unix time) that the recipe was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

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

    // The Amazon Resource Name (ARN) of the recipe.
    RecipeArn *string `locationName:"recipeArn" type:"string"`

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

Provides a summary of the properties of a recipe. For a complete listing, call the DescribeRecipe API.

func (RecipeSummary) GoString Uses

func (s RecipeSummary) GoString() string

GoString returns the string representation

func (*RecipeSummary) SetCreationDateTime Uses

func (s *RecipeSummary) SetCreationDateTime(v time.Time) *RecipeSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*RecipeSummary) SetLastUpdatedDateTime Uses

func (s *RecipeSummary) SetLastUpdatedDateTime(v time.Time) *RecipeSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*RecipeSummary) SetName Uses

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

SetName sets the Name field's value.

func (*RecipeSummary) SetRecipeArn Uses

func (s *RecipeSummary) SetRecipeArn(v string) *RecipeSummary

SetRecipeArn sets the RecipeArn field's value.

func (*RecipeSummary) SetStatus Uses

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

SetStatus sets the Status field's value.

func (RecipeSummary) String Uses

func (s RecipeSummary) String() string

String returns the string representation

type Solution Uses

type Solution struct {

    // When performAutoML is true, specifies the best recipe found.
    AutoMLResult *AutoMLResult `locationName:"autoMLResult" type:"structure"`

    // The creation date and time (in Unix time) of the solution.
    CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

    // The Amazon Resource Name (ARN) of the dataset group that provides the training
    // data.
    DatasetGroupArn *string `locationName:"datasetGroupArn" type:"string"`

    // The event type (for example, 'click' or 'like') that is used for training
    // the model.
    EventType *string `locationName:"eventType" type:"string"`

    // The date and time (in Unix time) that the solution was last updated.
    LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

    // Describes the latest version of the solution, including the status and the
    // ARN.
    LatestSolutionVersion *SolutionVersionSummary `locationName:"latestSolutionVersion" type:"structure"`

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

    // When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION
    // recipe from the list specified in the solution configuration (recipeArn must
    // not be specified). When false (the default), Amazon Personalize uses recipeArn
    // for training.
    PerformAutoML *bool `locationName:"performAutoML" type:"boolean"`

    // Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
    // The default is false.
    PerformHPO *bool `locationName:"performHPO" type:"boolean"`

    // The ARN of the recipe used to create the solution.
    RecipeArn *string `locationName:"recipeArn" type:"string"`

    // The ARN of the solution.
    SolutionArn *string `locationName:"solutionArn" type:"string"`

    // Describes the configuration properties for the solution.
    SolutionConfig *SolutionConfig `locationName:"solutionConfig" type:"structure"`

    // The status of the solution.
    //
    // A solution can be in one of the following states:
    //
    //    * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
    //
    //    * DELETE PENDING > DELETE IN_PROGRESS
    Status *string `locationName:"status" type:"string"`
    // contains filtered or unexported fields
}

An object that provides information about a solution. A solution is a trained model that can be deployed as a campaign.

func (Solution) GoString Uses

func (s Solution) GoString() string

GoString returns the string representation

func (*Solution) SetAutoMLResult Uses

func (s *Solution) SetAutoMLResult(v *AutoMLResult) *Solution

SetAutoMLResult sets the AutoMLResult field's value.

func (*Solution) SetCreationDateTime Uses

func (s *Solution) SetCreationDateTime(v time.Time) *Solution

SetCreationDateTime sets the CreationDateTime field's value.

func (*Solution) SetDatasetGroupArn Uses

func (s *Solution) SetDatasetGroupArn(v string) *Solution

SetDatasetGroupArn sets the DatasetGroupArn field's value.

func (*Solution) SetEventType Uses

func (s *Solution) SetEventType(v string) *Solution

SetEventType sets the EventType field's value.

func (*Solution) SetLastUpdatedDateTime Uses

func (s *Solution) SetLastUpdatedDateTime(v time.Time) *Solution

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*Solution) SetLatestSolutionVersion Uses

func (s *Solution) SetLatestSolutionVersion(v *SolutionVersionSummary) *Solution

SetLatestSolutionVersion sets the LatestSolutionVersion field's value.

func (*Solution) SetName Uses

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

SetName sets the Name field's value.

func (*Solution) SetPerformAutoML Uses

func (s *Solution) SetPerformAutoML(v bool) *Solution

SetPerformAutoML sets the PerformAutoML field's value.

func (*Solution) SetPerformHPO Uses

func (s *Solution) SetPerformHPO(v bool) *Solution

SetPerformHPO sets the PerformHPO field's value.

func (*Solution) SetRecipeArn Uses

func (s *Solution) SetRecipeArn(v string) *Solution

SetRecipeArn sets the RecipeArn field's value.

func (*Solution) SetSolutionArn Uses

func (s *Solution) SetSolutionArn(v string) *Solution

SetSolutionArn sets the SolutionArn field's value.

func (*Solution) SetSolutionConfig Uses

func (s *Solution) SetSolutionConfig(v *SolutionConfig) *Solution

SetSolutionConfig sets the SolutionConfig field's value.

func (*Solution) SetStatus Uses

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

SetStatus sets the Status field's value.

func (Solution) String Uses

func (s Solution) String() string

String returns the string representation

type SolutionConfig Uses

type SolutionConfig struct {

    // Lists the hyperparameter names and ranges.
    AlgorithmHyperParameters map[string]*string `locationName:"algorithmHyperParameters" type:"map"`

    // The AutoMLConfig object containing a list of recipes to search when AutoML
    // is performed.
    AutoMLConfig *AutoMLConfig `locationName:"autoMLConfig" type:"structure"`

    // Only events with a value greater than or equal to this threshold are used
    // for training a model.
    EventValueThreshold *string `locationName:"eventValueThreshold" type:"string"`

    // Lists the feature transformation parameters.
    FeatureTransformationParameters map[string]*string `locationName:"featureTransformationParameters" type:"map"`

    // Describes the properties for hyperparameter optimization (HPO). For use with
    // the bring-your-own-recipe feature. Not used with Amazon Personalize predefined
    // recipes.
    HpoConfig *HPOConfig `locationName:"hpoConfig" type:"structure"`
    // contains filtered or unexported fields
}

Describes the configuration properties for the solution.

func (SolutionConfig) GoString Uses