cloudwatchevidently

package
v0.0.0-...-c570f4e Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cloudwatchevidently provides the client and types for making API requests to Amazon CloudWatch Evidently.

You can use Amazon CloudWatch Evidently to safely validate new features by serving them to a specified percentage of your users while you roll out the feature. You can monitor the performance of the new feature to help you decide when to ramp up traffic to your users. This helps you reduce risk and identify unintended consequences before you fully launch the feature.

You can also conduct A/B experiments to make feature design decisions based on evidence and data. An experiment can test as many as five variations at once. Evidently collects experiment data and analyzes it using statistical methods. It also provides clear recommendations about which variations perform better. You can test both user-facing features and backend features.

See https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01 for more information on this service.

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

Using the Client

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

Index

Constants

View Source
const (
	// ChangeDirectionEnumIncrease is a ChangeDirectionEnum enum value
	ChangeDirectionEnumIncrease = "INCREASE"

	// ChangeDirectionEnumDecrease is a ChangeDirectionEnum enum value
	ChangeDirectionEnumDecrease = "DECREASE"
)
View Source
const (
	// EventTypeAwsEvidentlyEvaluation is a EventType enum value
	EventTypeAwsEvidentlyEvaluation = "aws.evidently.evaluation"

	// EventTypeAwsEvidentlyCustom is a EventType enum value
	EventTypeAwsEvidentlyCustom = "aws.evidently.custom"
)
View Source
const (
	// ExperimentResultRequestTypeBaseStat is a ExperimentResultRequestType enum value
	ExperimentResultRequestTypeBaseStat = "BaseStat"

	// ExperimentResultRequestTypeTreatmentEffect is a ExperimentResultRequestType enum value
	ExperimentResultRequestTypeTreatmentEffect = "TreatmentEffect"

	// ExperimentResultRequestTypeConfidenceInterval is a ExperimentResultRequestType enum value
	ExperimentResultRequestTypeConfidenceInterval = "ConfidenceInterval"

	// ExperimentResultRequestTypePvalue is a ExperimentResultRequestType enum value
	ExperimentResultRequestTypePvalue = "PValue"
)
View Source
const (
	// ExperimentResultResponseTypeMean is a ExperimentResultResponseType enum value
	ExperimentResultResponseTypeMean = "Mean"

	// ExperimentResultResponseTypeTreatmentEffect is a ExperimentResultResponseType enum value
	ExperimentResultResponseTypeTreatmentEffect = "TreatmentEffect"

	// ExperimentResultResponseTypeConfidenceIntervalUpperBound is a ExperimentResultResponseType enum value
	ExperimentResultResponseTypeConfidenceIntervalUpperBound = "ConfidenceIntervalUpperBound"

	// ExperimentResultResponseTypeConfidenceIntervalLowerBound is a ExperimentResultResponseType enum value
	ExperimentResultResponseTypeConfidenceIntervalLowerBound = "ConfidenceIntervalLowerBound"

	// ExperimentResultResponseTypePvalue is a ExperimentResultResponseType enum value
	ExperimentResultResponseTypePvalue = "PValue"
)
View Source
const (
	// ExperimentStatusCreated is a ExperimentStatus enum value
	ExperimentStatusCreated = "CREATED"

	// ExperimentStatusUpdating is a ExperimentStatus enum value
	ExperimentStatusUpdating = "UPDATING"

	// ExperimentStatusRunning is a ExperimentStatus enum value
	ExperimentStatusRunning = "RUNNING"

	// ExperimentStatusCompleted is a ExperimentStatus enum value
	ExperimentStatusCompleted = "COMPLETED"

	// ExperimentStatusCancelled is a ExperimentStatus enum value
	ExperimentStatusCancelled = "CANCELLED"
)
View Source
const (
	// ExperimentStopDesiredStateCompleted is a ExperimentStopDesiredState enum value
	ExperimentStopDesiredStateCompleted = "COMPLETED"

	// ExperimentStopDesiredStateCancelled is a ExperimentStopDesiredState enum value
	ExperimentStopDesiredStateCancelled = "CANCELLED"
)
View Source
const (
	// FeatureEvaluationStrategyAllRules is a FeatureEvaluationStrategy enum value
	FeatureEvaluationStrategyAllRules = "ALL_RULES"

	// FeatureEvaluationStrategyDefaultVariation is a FeatureEvaluationStrategy enum value
	FeatureEvaluationStrategyDefaultVariation = "DEFAULT_VARIATION"
)
View Source
const (
	// FeatureStatusAvailable is a FeatureStatus enum value
	FeatureStatusAvailable = "AVAILABLE"

	// FeatureStatusUpdating is a FeatureStatus enum value
	FeatureStatusUpdating = "UPDATING"
)
View Source
const (
	// LaunchStatusCreated is a LaunchStatus enum value
	LaunchStatusCreated = "CREATED"

	// LaunchStatusUpdating is a LaunchStatus enum value
	LaunchStatusUpdating = "UPDATING"

	// LaunchStatusRunning is a LaunchStatus enum value
	LaunchStatusRunning = "RUNNING"

	// LaunchStatusCompleted is a LaunchStatus enum value
	LaunchStatusCompleted = "COMPLETED"

	// LaunchStatusCancelled is a LaunchStatus enum value
	LaunchStatusCancelled = "CANCELLED"
)
View Source
const (
	// LaunchStopDesiredStateCompleted is a LaunchStopDesiredState enum value
	LaunchStopDesiredStateCompleted = "COMPLETED"

	// LaunchStopDesiredStateCancelled is a LaunchStopDesiredState enum value
	LaunchStopDesiredStateCancelled = "CANCELLED"
)
View Source
const (
	// ProjectStatusAvailable is a ProjectStatus enum value
	ProjectStatusAvailable = "AVAILABLE"

	// ProjectStatusUpdating is a ProjectStatus enum value
	ProjectStatusUpdating = "UPDATING"
)
View Source
const (
	// SegmentReferenceResourceTypeExperiment is a SegmentReferenceResourceType enum value
	SegmentReferenceResourceTypeExperiment = "EXPERIMENT"

	// SegmentReferenceResourceTypeLaunch is a SegmentReferenceResourceType enum value
	SegmentReferenceResourceTypeLaunch = "LAUNCH"
)
View Source
const (
	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "unknownOperation"

	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "cannotParse"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "fieldValidationFailed"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "other"
)
View Source
const (
	// VariationValueTypeString is a VariationValueType enum value
	VariationValueTypeString = "STRING"

	// VariationValueTypeLong is a VariationValueType enum value
	VariationValueTypeLong = "LONG"

	// VariationValueTypeDouble is a VariationValueType enum value
	VariationValueTypeDouble = "DOUBLE"

	// VariationValueTypeBoolean is a VariationValueType enum value
	VariationValueTypeBoolean = "BOOLEAN"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient permissions to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// A resource was in an inconsistent state during an update or a deletion.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// Unexpected error while processing the request. Retry the request.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The request references a resource that does not exist.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// The request would cause a service quota to be exceeded.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// The service was unavailable. Retry the request.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied because of request throttling. Retry the request.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The value of a parameter in the request caused an error.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Evidently" // Name of service.
	EndpointsID = "evidently" // ID to lookup a service endpoint with.
	ServiceID   = "Evidently" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// ExperimentBaseStatMean is a ExperimentBaseStat enum value
	ExperimentBaseStatMean = "Mean"
)
View Source
const (
	// ExperimentReportNameBayesianInference is a ExperimentReportName enum value
	ExperimentReportNameBayesianInference = "BayesianInference"
)
View Source
const (
	// ExperimentTypeAwsEvidentlyOnlineab is a ExperimentType enum value
	ExperimentTypeAwsEvidentlyOnlineab = "aws.evidently.onlineab"
)
View Source
const (
	// LaunchTypeAwsEvidentlySplits is a LaunchType enum value
	LaunchTypeAwsEvidentlySplits = "aws.evidently.splits"
)

Variables

This section is empty.

Functions

func ChangeDirectionEnum_Values

func ChangeDirectionEnum_Values() []string

ChangeDirectionEnum_Values returns all elements of the ChangeDirectionEnum enum

func EventType_Values

func EventType_Values() []string

EventType_Values returns all elements of the EventType enum

func ExperimentBaseStat_Values

func ExperimentBaseStat_Values() []string

ExperimentBaseStat_Values returns all elements of the ExperimentBaseStat enum

func ExperimentReportName_Values

func ExperimentReportName_Values() []string

ExperimentReportName_Values returns all elements of the ExperimentReportName enum

func ExperimentResultRequestType_Values

func ExperimentResultRequestType_Values() []string

ExperimentResultRequestType_Values returns all elements of the ExperimentResultRequestType enum

func ExperimentResultResponseType_Values

func ExperimentResultResponseType_Values() []string

ExperimentResultResponseType_Values returns all elements of the ExperimentResultResponseType enum

func ExperimentStatus_Values

func ExperimentStatus_Values() []string

ExperimentStatus_Values returns all elements of the ExperimentStatus enum

func ExperimentStopDesiredState_Values

func ExperimentStopDesiredState_Values() []string

ExperimentStopDesiredState_Values returns all elements of the ExperimentStopDesiredState enum

func ExperimentType_Values

func ExperimentType_Values() []string

ExperimentType_Values returns all elements of the ExperimentType enum

func FeatureEvaluationStrategy_Values

func FeatureEvaluationStrategy_Values() []string

FeatureEvaluationStrategy_Values returns all elements of the FeatureEvaluationStrategy enum

func FeatureStatus_Values

func FeatureStatus_Values() []string

FeatureStatus_Values returns all elements of the FeatureStatus enum

func LaunchStatus_Values

func LaunchStatus_Values() []string

LaunchStatus_Values returns all elements of the LaunchStatus enum

func LaunchStopDesiredState_Values

func LaunchStopDesiredState_Values() []string

LaunchStopDesiredState_Values returns all elements of the LaunchStopDesiredState enum

func LaunchType_Values

func LaunchType_Values() []string

LaunchType_Values returns all elements of the LaunchType enum

func ProjectStatus_Values

func ProjectStatus_Values() []string

ProjectStatus_Values returns all elements of the ProjectStatus enum

func SegmentReferenceResourceType_Values

func SegmentReferenceResourceType_Values() []string

SegmentReferenceResourceType_Values returns all elements of the SegmentReferenceResourceType enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

func VariationValueType_Values

func VariationValueType_Values() []string

VariationValueType_Values returns all elements of the VariationValueType enum

Types

type AccessDeniedException

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

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

You do not have sufficient permissions to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchEvaluateFeatureInput

type BatchEvaluateFeatureInput struct {

	// The name or ARN of the project that contains the feature being evaluated.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// An array of structures, where each structure assigns a feature variation
	// to one user session.
	//
	// Requests is a required field
	Requests []*EvaluationRequest `locationName:"requests" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchEvaluateFeatureInput) GoString

func (s BatchEvaluateFeatureInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchEvaluateFeatureInput) SetProject

SetProject sets the Project field's value.

func (*BatchEvaluateFeatureInput) SetRequests

SetRequests sets the Requests field's value.

func (BatchEvaluateFeatureInput) String

func (s BatchEvaluateFeatureInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchEvaluateFeatureInput) Validate

func (s *BatchEvaluateFeatureInput) Validate() error

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

type BatchEvaluateFeatureOutput

type BatchEvaluateFeatureOutput struct {

	// An array of structures, where each structure displays the results of one
	// feature evaluation assignment to one user session.
	Results []*EvaluationResult `locationName:"results" type:"list"`
	// contains filtered or unexported fields
}

func (BatchEvaluateFeatureOutput) GoString

func (s BatchEvaluateFeatureOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchEvaluateFeatureOutput) SetResults

SetResults sets the Results field's value.

func (BatchEvaluateFeatureOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CloudWatchEvidently

type CloudWatchEvidently struct {
	*client.Client
}

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

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

func New

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

Example:

mySession := session.Must(session.NewSession())

// Create a CloudWatchEvidently client from just a session.
svc := cloudwatchevidently.New(mySession)

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

func (*CloudWatchEvidently) BatchEvaluateFeature

BatchEvaluateFeature API operation for Amazon CloudWatch Evidently.

This operation assigns feature variation to user sessions. For each user session, you pass in an entityID that represents the user. Evidently then checks the evaluation rules and assigns the variation.

The first rules that are evaluated are the override rules. If the user's entityID matches an override rule, the user is served the variation specified by that rule.

Next, if there is a launch of the feature, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.

If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment. If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment.

If the user is not assigned to a launch or experiment, they are served the default variation.

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 CloudWatch Evidently's API operation BatchEvaluateFeature for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature

func (*CloudWatchEvidently) BatchEvaluateFeatureRequest

func (c *CloudWatchEvidently) BatchEvaluateFeatureRequest(input *BatchEvaluateFeatureInput) (req *request.Request, output *BatchEvaluateFeatureOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature

func (*CloudWatchEvidently) BatchEvaluateFeatureWithContext

func (c *CloudWatchEvidently) BatchEvaluateFeatureWithContext(ctx aws.Context, input *BatchEvaluateFeatureInput, opts ...request.Option) (*BatchEvaluateFeatureOutput, error)

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

See BatchEvaluateFeature 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 (*CloudWatchEvidently) CreateExperiment

CreateExperiment API operation for Amazon CloudWatch Evidently.

Creates an Evidently experiment. Before you create an experiment, you must create the feature to use for the experiment.

An experiment helps you make feature design decisions based on evidence and data. An experiment can test as many as five variations at once. Evidently collects experiment data and analyzes it by statistical methods, and provides clear recommendations about which variations perform better.

You can optionally specify a segment to have the experiment consider only certain audience types in the experiment, such as using only user sessions from a certain location or who use a certain internet browser.

Don't use this operation to update an existing experiment. Instead, use UpdateExperiment (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html).

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 CloudWatch Evidently's API operation CreateExperiment for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment

func (*CloudWatchEvidently) CreateExperimentRequest

func (c *CloudWatchEvidently) CreateExperimentRequest(input *CreateExperimentInput) (req *request.Request, output *CreateExperimentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment

func (*CloudWatchEvidently) CreateExperimentWithContext

func (c *CloudWatchEvidently) CreateExperimentWithContext(ctx aws.Context, input *CreateExperimentInput, opts ...request.Option) (*CreateExperimentOutput, error)

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

See CreateExperiment 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 (*CloudWatchEvidently) CreateFeature

func (c *CloudWatchEvidently) CreateFeature(input *CreateFeatureInput) (*CreateFeatureOutput, error)

CreateFeature API operation for Amazon CloudWatch Evidently.

Creates an Evidently feature that you want to launch or test. You can define up to five variations of a feature, and use these variations in your launches and experiments. A feature must be created in a project. For information about creating a project, see CreateProject (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html).

Don't use this operation to update an existing feature. Instead, use UpdateFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateFeature.html).

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 CloudWatch Evidently's API operation CreateFeature for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature

func (*CloudWatchEvidently) CreateFeatureRequest

func (c *CloudWatchEvidently) CreateFeatureRequest(input *CreateFeatureInput) (req *request.Request, output *CreateFeatureOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature

func (*CloudWatchEvidently) CreateFeatureWithContext

func (c *CloudWatchEvidently) CreateFeatureWithContext(ctx aws.Context, input *CreateFeatureInput, opts ...request.Option) (*CreateFeatureOutput, error)

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

See CreateFeature 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 (*CloudWatchEvidently) CreateLaunch

func (c *CloudWatchEvidently) CreateLaunch(input *CreateLaunchInput) (*CreateLaunchOutput, error)

CreateLaunch API operation for Amazon CloudWatch Evidently.

Creates a launch of a given feature. Before you create a launch, you must create the feature to use for the launch.

You can use a launch to safely validate new features by serving them to a specified percentage of your users while you roll out the feature. You can monitor the performance of the new feature to help you decide when to ramp up traffic to more users. This helps you reduce risk and identify unintended consequences before you fully launch the feature.

Don't use this operation to update an existing launch. Instead, use UpdateLaunch (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateLaunch.html).

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 CloudWatch Evidently's API operation CreateLaunch for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch

func (*CloudWatchEvidently) CreateLaunchRequest

func (c *CloudWatchEvidently) CreateLaunchRequest(input *CreateLaunchInput) (req *request.Request, output *CreateLaunchOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch

func (*CloudWatchEvidently) CreateLaunchWithContext

func (c *CloudWatchEvidently) CreateLaunchWithContext(ctx aws.Context, input *CreateLaunchInput, opts ...request.Option) (*CreateLaunchOutput, error)

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

See CreateLaunch 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 (*CloudWatchEvidently) CreateProject

func (c *CloudWatchEvidently) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)

CreateProject API operation for Amazon CloudWatch Evidently.

Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments. Use projects to group similar features together.

To update an existing project, use UpdateProject (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html).

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 CloudWatch Evidently's API operation CreateProject for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject

func (*CloudWatchEvidently) CreateProjectRequest

func (c *CloudWatchEvidently) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject

func (*CloudWatchEvidently) CreateProjectWithContext

func (c *CloudWatchEvidently) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)

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

See CreateProject 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 (*CloudWatchEvidently) CreateSegment

func (c *CloudWatchEvidently) CreateSegment(input *CreateSegmentInput) (*CreateSegmentOutput, error)

CreateSegment API operation for Amazon CloudWatch Evidently.

Use this operation to define a segment of your audience. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.

Using a segment in an experiment limits that experiment to evaluate only the users who match the segment criteria. Using one or more segments in a launch allows you to define different traffic splits for the different audience segments.

For more information about segment pattern syntax, see Segment rule pattern syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html).

The pattern that you define for a segment is matched against the value of evaluationContext, which is passed into Evidently in the EvaluateFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html) operation, when Evidently assigns a feature variation to a user.

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 CloudWatch Evidently's API operation CreateSegment for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment

func (*CloudWatchEvidently) CreateSegmentRequest

func (c *CloudWatchEvidently) CreateSegmentRequest(input *CreateSegmentInput) (req *request.Request, output *CreateSegmentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment

func (*CloudWatchEvidently) CreateSegmentWithContext

func (c *CloudWatchEvidently) CreateSegmentWithContext(ctx aws.Context, input *CreateSegmentInput, opts ...request.Option) (*CreateSegmentOutput, error)

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

See CreateSegment 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 (*CloudWatchEvidently) DeleteExperiment

DeleteExperiment API operation for Amazon CloudWatch Evidently.

Deletes an Evidently experiment. The feature used for the experiment is not deleted.

To stop an experiment without deleting it, use StopExperiment (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopExperiment.html).

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 CloudWatch Evidently's API operation DeleteExperiment for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • InternalServerException Unexpected error while processing the request. Retry the request.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceUnavailableException The service was unavailable. Retry the request.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment

func (*CloudWatchEvidently) DeleteExperimentRequest

func (c *CloudWatchEvidently) DeleteExperimentRequest(input *DeleteExperimentInput) (req *request.Request, output *DeleteExperimentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment

func (*CloudWatchEvidently) DeleteExperimentWithContext

func (c *CloudWatchEvidently) DeleteExperimentWithContext(ctx aws.Context, input *DeleteExperimentInput, opts ...request.Option) (*DeleteExperimentOutput, error)

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

See DeleteExperiment 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 (*CloudWatchEvidently) DeleteFeature

func (c *CloudWatchEvidently) DeleteFeature(input *DeleteFeatureInput) (*DeleteFeatureOutput, error)

DeleteFeature API operation for Amazon CloudWatch Evidently.

Deletes an Evidently feature.

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 CloudWatch Evidently's API operation DeleteFeature for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature

func (*CloudWatchEvidently) DeleteFeatureRequest

func (c *CloudWatchEvidently) DeleteFeatureRequest(input *DeleteFeatureInput) (req *request.Request, output *DeleteFeatureOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature

func (*CloudWatchEvidently) DeleteFeatureWithContext

func (c *CloudWatchEvidently) DeleteFeatureWithContext(ctx aws.Context, input *DeleteFeatureInput, opts ...request.Option) (*DeleteFeatureOutput, error)

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

See DeleteFeature 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 (*CloudWatchEvidently) DeleteLaunch

func (c *CloudWatchEvidently) DeleteLaunch(input *DeleteLaunchInput) (*DeleteLaunchOutput, error)

DeleteLaunch API operation for Amazon CloudWatch Evidently.

Deletes an Evidently launch. The feature used for the launch is not deleted.

To stop a launch without deleting it, use StopLaunch (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopLaunch.html).

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 CloudWatch Evidently's API operation DeleteLaunch for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch

func (*CloudWatchEvidently) DeleteLaunchRequest

func (c *CloudWatchEvidently) DeleteLaunchRequest(input *DeleteLaunchInput) (req *request.Request, output *DeleteLaunchOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch

func (*CloudWatchEvidently) DeleteLaunchWithContext

func (c *CloudWatchEvidently) DeleteLaunchWithContext(ctx aws.Context, input *DeleteLaunchInput, opts ...request.Option) (*DeleteLaunchOutput, error)

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

See DeleteLaunch 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 (*CloudWatchEvidently) DeleteProject

func (c *CloudWatchEvidently) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)

DeleteProject API operation for Amazon CloudWatch Evidently.

Deletes an Evidently project. Before you can delete a project, you must delete all the features that the project contains. To delete a feature, use DeleteFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_DeleteFeature.html).

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 CloudWatch Evidently's API operation DeleteProject for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject

func (*CloudWatchEvidently) DeleteProjectRequest

func (c *CloudWatchEvidently) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject

func (*CloudWatchEvidently) DeleteProjectWithContext

func (c *CloudWatchEvidently) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)

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

See DeleteProject 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 (*CloudWatchEvidently) DeleteSegment

func (c *CloudWatchEvidently) DeleteSegment(input *DeleteSegmentInput) (*DeleteSegmentOutput, error)

DeleteSegment API operation for Amazon CloudWatch Evidently.

Deletes a segment. You can't delete a segment that is being used in a launch or experiment, even if that launch or experiment is not currently running.

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 CloudWatch Evidently's API operation DeleteSegment for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment

func (*CloudWatchEvidently) DeleteSegmentRequest

func (c *CloudWatchEvidently) DeleteSegmentRequest(input *DeleteSegmentInput) (req *request.Request, output *DeleteSegmentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment

func (*CloudWatchEvidently) DeleteSegmentWithContext

func (c *CloudWatchEvidently) DeleteSegmentWithContext(ctx aws.Context, input *DeleteSegmentInput, opts ...request.Option) (*DeleteSegmentOutput, error)

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

See DeleteSegment 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 (*CloudWatchEvidently) EvaluateFeature

EvaluateFeature API operation for Amazon CloudWatch Evidently.

This operation assigns a feature variation to one given user session. You pass in an entityID that represents the user. Evidently then checks the evaluation rules and assigns the variation.

The first rules that are evaluated are the override rules. If the user's entityID matches an override rule, the user is served the variation specified by that rule.

If there is a current launch with this feature that uses segment overrides, and if the user session's evaluationContext matches a segment rule defined in a segment override, the configuration in the segment overrides is used. For more information about segments, see CreateSegment (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html) and Use segments to focus your audience (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html).

If there is a launch with no segment overrides, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.

If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment.

If the experiment uses a segment, then only user sessions with evaluationContext values that match the segment rule are used in the experiment.

If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment.

If the user is not assigned to a launch or experiment, they are served the default variation.

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 CloudWatch Evidently's API operation EvaluateFeature for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature

func (*CloudWatchEvidently) EvaluateFeatureRequest

func (c *CloudWatchEvidently) EvaluateFeatureRequest(input *EvaluateFeatureInput) (req *request.Request, output *EvaluateFeatureOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature

func (*CloudWatchEvidently) EvaluateFeatureWithContext

func (c *CloudWatchEvidently) EvaluateFeatureWithContext(ctx aws.Context, input *EvaluateFeatureInput, opts ...request.Option) (*EvaluateFeatureOutput, error)

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

See EvaluateFeature 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 (*CloudWatchEvidently) GetExperiment

func (c *CloudWatchEvidently) GetExperiment(input *GetExperimentInput) (*GetExperimentOutput, error)

GetExperiment API operation for Amazon CloudWatch Evidently.

Returns the details about one experiment. You must already know the experiment name. To retrieve a list of experiments in your account, use ListExperiments (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListExperiments.html).

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 CloudWatch Evidently's API operation GetExperiment for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment

func (*CloudWatchEvidently) GetExperimentRequest

func (c *CloudWatchEvidently) GetExperimentRequest(input *GetExperimentInput) (req *request.Request, output *GetExperimentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment

func (*CloudWatchEvidently) GetExperimentResults

GetExperimentResults API operation for Amazon CloudWatch Evidently.

Retrieves the results of a running or completed experiment. No results are available until there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment. To increase the statistical power, Evidently performs an additional offline p-value analysis at the end of the experiment. Offline p-value analysis can detect statistical significance in some cases where the anytime p-values used during the experiment do not find statistical significance.

Experiment results are available up to 63 days after the start of the experiment. They are not available after that because of CloudWatch data retention policies.

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 CloudWatch Evidently's API operation GetExperimentResults for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults

func (*CloudWatchEvidently) GetExperimentResultsRequest

func (c *CloudWatchEvidently) GetExperimentResultsRequest(input *GetExperimentResultsInput) (req *request.Request, output *GetExperimentResultsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults

func (*CloudWatchEvidently) GetExperimentResultsWithContext

func (c *CloudWatchEvidently) GetExperimentResultsWithContext(ctx aws.Context, input *GetExperimentResultsInput, opts ...request.Option) (*GetExperimentResultsOutput, error)

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

See GetExperimentResults 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 (*CloudWatchEvidently) GetExperimentWithContext

func (c *CloudWatchEvidently) GetExperimentWithContext(ctx aws.Context, input *GetExperimentInput, opts ...request.Option) (*GetExperimentOutput, error)

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

See GetExperiment 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 (*CloudWatchEvidently) GetFeature

func (c *CloudWatchEvidently) GetFeature(input *GetFeatureInput) (*GetFeatureOutput, error)

GetFeature API operation for Amazon CloudWatch Evidently.

Returns the details about one feature. You must already know the feature name. To retrieve a list of features in your account, use ListFeatures (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListFeatures.html).

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 CloudWatch Evidently's API operation GetFeature for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature

func (*CloudWatchEvidently) GetFeatureRequest

func (c *CloudWatchEvidently) GetFeatureRequest(input *GetFeatureInput) (req *request.Request, output *GetFeatureOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature

func (*CloudWatchEvidently) GetFeatureWithContext

func (c *CloudWatchEvidently) GetFeatureWithContext(ctx aws.Context, input *GetFeatureInput, opts ...request.Option) (*GetFeatureOutput, error)

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

See GetFeature 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 (*CloudWatchEvidently) GetLaunch

func (c *CloudWatchEvidently) GetLaunch(input *GetLaunchInput) (*GetLaunchOutput, error)

GetLaunch API operation for Amazon CloudWatch Evidently.

Returns the details about one launch. You must already know the launch name. To retrieve a list of launches in your account, use ListLaunches (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListLaunches.html).

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 CloudWatch Evidently's API operation GetLaunch for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch

func (*CloudWatchEvidently) GetLaunchRequest

func (c *CloudWatchEvidently) GetLaunchRequest(input *GetLaunchInput) (req *request.Request, output *GetLaunchOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch

func (*CloudWatchEvidently) GetLaunchWithContext

func (c *CloudWatchEvidently) GetLaunchWithContext(ctx aws.Context, input *GetLaunchInput, opts ...request.Option) (*GetLaunchOutput, error)

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

See GetLaunch 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 (*CloudWatchEvidently) GetProject

func (c *CloudWatchEvidently) GetProject(input *GetProjectInput) (*GetProjectOutput, error)

GetProject API operation for Amazon CloudWatch Evidently.

Returns the details about one launch. You must already know the project name. To retrieve a list of projects in your account, use ListProjects (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListProjects.html).

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 CloudWatch Evidently's API operation GetProject for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject

func (*CloudWatchEvidently) GetProjectRequest

func (c *CloudWatchEvidently) GetProjectRequest(input *GetProjectInput) (req *request.Request, output *GetProjectOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject

func (*CloudWatchEvidently) GetProjectWithContext

func (c *CloudWatchEvidently) GetProjectWithContext(ctx aws.Context, input *GetProjectInput, opts ...request.Option) (*GetProjectOutput, error)

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

See GetProject 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 (*CloudWatchEvidently) GetSegment

func (c *CloudWatchEvidently) GetSegment(input *GetSegmentInput) (*GetSegmentOutput, error)

GetSegment API operation for Amazon CloudWatch Evidently.

Returns information about the specified segment. Specify the segment you want to view by specifying its 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 CloudWatch Evidently's API operation GetSegment for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment

func (*CloudWatchEvidently) GetSegmentRequest

func (c *CloudWatchEvidently) GetSegmentRequest(input *GetSegmentInput) (req *request.Request, output *GetSegmentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment

func (*CloudWatchEvidently) GetSegmentWithContext

func (c *CloudWatchEvidently) GetSegmentWithContext(ctx aws.Context, input *GetSegmentInput, opts ...request.Option) (*GetSegmentOutput, error)

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

See GetSegment 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 (*CloudWatchEvidently) ListExperiments

ListExperiments API operation for Amazon CloudWatch Evidently.

Returns configuration details about all the experiments in the specified project.

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 CloudWatch Evidently's API operation ListExperiments for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments

func (*CloudWatchEvidently) ListExperimentsPages

func (c *CloudWatchEvidently) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error

ListExperimentsPages iterates over the pages of a ListExperiments operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListExperiments 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 ListExperiments operation.
pageNum := 0
err := client.ListExperimentsPages(params,
    func(page *cloudwatchevidently.ListExperimentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudWatchEvidently) ListExperimentsPagesWithContext

func (c *CloudWatchEvidently) ListExperimentsPagesWithContext(ctx aws.Context, input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool, opts ...request.Option) error

ListExperimentsPagesWithContext same as ListExperimentsPages 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 (*CloudWatchEvidently) ListExperimentsRequest

func (c *CloudWatchEvidently) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments

func (*CloudWatchEvidently) ListExperimentsWithContext

func (c *CloudWatchEvidently) ListExperimentsWithContext(ctx aws.Context, input *ListExperimentsInput, opts ...request.Option) (*ListExperimentsOutput, error)

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

See ListExperiments 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 (*CloudWatchEvidently) ListFeatures

func (c *CloudWatchEvidently) ListFeatures(input *ListFeaturesInput) (*ListFeaturesOutput, error)

ListFeatures API operation for Amazon CloudWatch Evidently.

Returns configuration details about all the features in the specified project.

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 CloudWatch Evidently's API operation ListFeatures for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures

func (*CloudWatchEvidently) ListFeaturesPages

func (c *CloudWatchEvidently) ListFeaturesPages(input *ListFeaturesInput, fn func(*ListFeaturesOutput, bool) bool) error

ListFeaturesPages iterates over the pages of a ListFeatures operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFeatures 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 ListFeatures operation.
pageNum := 0
err := client.ListFeaturesPages(params,
    func(page *cloudwatchevidently.ListFeaturesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudWatchEvidently) ListFeaturesPagesWithContext

func (c *CloudWatchEvidently) ListFeaturesPagesWithContext(ctx aws.Context, input *ListFeaturesInput, fn func(*ListFeaturesOutput, bool) bool, opts ...request.Option) error

ListFeaturesPagesWithContext same as ListFeaturesPages 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 (*CloudWatchEvidently) ListFeaturesRequest

func (c *CloudWatchEvidently) ListFeaturesRequest(input *ListFeaturesInput) (req *request.Request, output *ListFeaturesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures

func (*CloudWatchEvidently) ListFeaturesWithContext

func (c *CloudWatchEvidently) ListFeaturesWithContext(ctx aws.Context, input *ListFeaturesInput, opts ...request.Option) (*ListFeaturesOutput, error)

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

See ListFeatures 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 (*CloudWatchEvidently) ListLaunches

func (c *CloudWatchEvidently) ListLaunches(input *ListLaunchesInput) (*ListLaunchesOutput, error)

ListLaunches API operation for Amazon CloudWatch Evidently.

Returns configuration details about all the launches in the specified project.

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 CloudWatch Evidently's API operation ListLaunches for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches

func (*CloudWatchEvidently) ListLaunchesPages

func (c *CloudWatchEvidently) ListLaunchesPages(input *ListLaunchesInput, fn func(*ListLaunchesOutput, bool) bool) error

ListLaunchesPages iterates over the pages of a ListLaunches operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListLaunches 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 ListLaunches operation.
pageNum := 0
err := client.ListLaunchesPages(params,
    func(page *cloudwatchevidently.ListLaunchesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudWatchEvidently) ListLaunchesPagesWithContext

func (c *CloudWatchEvidently) ListLaunchesPagesWithContext(ctx aws.Context, input *ListLaunchesInput, fn func(*ListLaunchesOutput, bool) bool, opts ...request.Option) error

ListLaunchesPagesWithContext same as ListLaunchesPages 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 (*CloudWatchEvidently) ListLaunchesRequest

func (c *CloudWatchEvidently) ListLaunchesRequest(input *ListLaunchesInput) (req *request.Request, output *ListLaunchesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches

func (*CloudWatchEvidently) ListLaunchesWithContext

func (c *CloudWatchEvidently) ListLaunchesWithContext(ctx aws.Context, input *ListLaunchesInput, opts ...request.Option) (*ListLaunchesOutput, error)

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

See ListLaunches 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 (*CloudWatchEvidently) ListProjects

func (c *CloudWatchEvidently) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)

ListProjects API operation for Amazon CloudWatch Evidently.

Returns configuration details about all the projects in the current Region in your account.

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

See the AWS API reference guide for Amazon CloudWatch Evidently's API operation ListProjects for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects

func (*CloudWatchEvidently) ListProjectsPages

func (c *CloudWatchEvidently) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error

ListProjectsPages iterates over the pages of a ListProjects operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProjects 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 ListProjects operation.
pageNum := 0
err := client.ListProjectsPages(params,
    func(page *cloudwatchevidently.ListProjectsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudWatchEvidently) ListProjectsPagesWithContext

func (c *CloudWatchEvidently) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool, opts ...request.Option) error

ListProjectsPagesWithContext same as ListProjectsPages 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 (*CloudWatchEvidently) ListProjectsRequest

func (c *CloudWatchEvidently) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects

func (*CloudWatchEvidently) ListProjectsWithContext

func (c *CloudWatchEvidently) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)

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

See ListProjects 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 (*CloudWatchEvidently) ListSegmentReferences

ListSegmentReferences API operation for Amazon CloudWatch Evidently.

Use this operation to find which experiments or launches are using a specified segment.

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 CloudWatch Evidently's API operation ListSegmentReferences for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences

func (*CloudWatchEvidently) ListSegmentReferencesPages

func (c *CloudWatchEvidently) ListSegmentReferencesPages(input *ListSegmentReferencesInput, fn func(*ListSegmentReferencesOutput, bool) bool) error

ListSegmentReferencesPages iterates over the pages of a ListSegmentReferences operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSegmentReferences 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 ListSegmentReferences operation.
pageNum := 0
err := client.ListSegmentReferencesPages(params,
    func(page *cloudwatchevidently.ListSegmentReferencesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudWatchEvidently) ListSegmentReferencesPagesWithContext

func (c *CloudWatchEvidently) ListSegmentReferencesPagesWithContext(ctx aws.Context, input *ListSegmentReferencesInput, fn func(*ListSegmentReferencesOutput, bool) bool, opts ...request.Option) error

ListSegmentReferencesPagesWithContext same as ListSegmentReferencesPages 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 (*CloudWatchEvidently) ListSegmentReferencesRequest

func (c *CloudWatchEvidently) ListSegmentReferencesRequest(input *ListSegmentReferencesInput) (req *request.Request, output *ListSegmentReferencesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences

func (*CloudWatchEvidently) ListSegmentReferencesWithContext

func (c *CloudWatchEvidently) ListSegmentReferencesWithContext(ctx aws.Context, input *ListSegmentReferencesInput, opts ...request.Option) (*ListSegmentReferencesOutput, error)

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

See ListSegmentReferences 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 (*CloudWatchEvidently) ListSegments

func (c *CloudWatchEvidently) ListSegments(input *ListSegmentsInput) (*ListSegmentsOutput, error)

ListSegments API operation for Amazon CloudWatch Evidently.

Returns a list of audience segments that you have created in your account in this Region.

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 CloudWatch Evidently's API operation ListSegments for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments

func (*CloudWatchEvidently) ListSegmentsPages

func (c *CloudWatchEvidently) ListSegmentsPages(input *ListSegmentsInput, fn func(*ListSegmentsOutput, bool) bool) error

ListSegmentsPages iterates over the pages of a ListSegments operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSegments 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 ListSegments operation.
pageNum := 0
err := client.ListSegmentsPages(params,
    func(page *cloudwatchevidently.ListSegmentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudWatchEvidently) ListSegmentsPagesWithContext

func (c *CloudWatchEvidently) ListSegmentsPagesWithContext(ctx aws.Context, input *ListSegmentsInput, fn func(*ListSegmentsOutput, bool) bool, opts ...request.Option) error

ListSegmentsPagesWithContext same as ListSegmentsPages 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 (*CloudWatchEvidently) ListSegmentsRequest

func (c *CloudWatchEvidently) ListSegmentsRequest(input *ListSegmentsInput) (req *request.Request, output *ListSegmentsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments

func (*CloudWatchEvidently) ListSegmentsWithContext

func (c *CloudWatchEvidently) ListSegmentsWithContext(ctx aws.Context, input *ListSegmentsInput, opts ...request.Option) (*ListSegmentsOutput, error)

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

See ListSegments 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 (*CloudWatchEvidently) ListTagsForResource

ListTagsForResource API operation for Amazon CloudWatch Evidently.

Displays the tags associated with an Evidently resource.

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

See the AWS API reference guide for Amazon CloudWatch Evidently's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource

func (*CloudWatchEvidently) ListTagsForResourceRequest

func (c *CloudWatchEvidently) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource

func (*CloudWatchEvidently) ListTagsForResourceWithContext

func (c *CloudWatchEvidently) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

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

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

func (*CloudWatchEvidently) PutProjectEvents

PutProjectEvents API operation for Amazon CloudWatch Evidently.

Sends performance events to Evidently. These events can be used to evaluate a launch or an experiment.

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 CloudWatch Evidently's API operation PutProjectEvents for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents

func (*CloudWatchEvidently) PutProjectEventsRequest

func (c *CloudWatchEvidently) PutProjectEventsRequest(input *PutProjectEventsInput) (req *request.Request, output *PutProjectEventsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents

func (*CloudWatchEvidently) PutProjectEventsWithContext

func (c *CloudWatchEvidently) PutProjectEventsWithContext(ctx aws.Context, input *PutProjectEventsInput, opts ...request.Option) (*PutProjectEventsOutput, error)

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

See PutProjectEvents 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 (*CloudWatchEvidently) StartExperiment

StartExperiment API operation for Amazon CloudWatch Evidently.

Starts an existing experiment. To create an experiment, use CreateExperiment (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html).

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 CloudWatch Evidently's API operation StartExperiment for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment

func (*CloudWatchEvidently) StartExperimentRequest

func (c *CloudWatchEvidently) StartExperimentRequest(input *StartExperimentInput) (req *request.Request, output *StartExperimentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment

func (*CloudWatchEvidently) StartExperimentWithContext

func (c *CloudWatchEvidently) StartExperimentWithContext(ctx aws.Context, input *StartExperimentInput, opts ...request.Option) (*StartExperimentOutput, error)

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

See StartExperiment 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 (*CloudWatchEvidently) StartLaunch

func (c *CloudWatchEvidently) StartLaunch(input *StartLaunchInput) (*StartLaunchOutput, error)

StartLaunch API operation for Amazon CloudWatch Evidently.

Starts an existing launch. To create a launch, use CreateLaunch (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateLaunch.html).

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 CloudWatch Evidently's API operation StartLaunch for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch

func (*CloudWatchEvidently) StartLaunchRequest

func (c *CloudWatchEvidently) StartLaunchRequest(input *StartLaunchInput) (req *request.Request, output *StartLaunchOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch

func (*CloudWatchEvidently) StartLaunchWithContext

func (c *CloudWatchEvidently) StartLaunchWithContext(ctx aws.Context, input *StartLaunchInput, opts ...request.Option) (*StartLaunchOutput, error)

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

See StartLaunch 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 (*CloudWatchEvidently) StopExperiment

func (c *CloudWatchEvidently) StopExperiment(input *StopExperimentInput) (*StopExperimentOutput, error)

StopExperiment API operation for Amazon CloudWatch Evidently.

Stops an experiment that is currently running. If you stop an experiment, you can't resume it or restart it.

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 CloudWatch Evidently's API operation StopExperiment for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment

func (*CloudWatchEvidently) StopExperimentRequest

func (c *CloudWatchEvidently) StopExperimentRequest(input *StopExperimentInput) (req *request.Request, output *StopExperimentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment

func (*CloudWatchEvidently) StopExperimentWithContext

func (c *CloudWatchEvidently) StopExperimentWithContext(ctx aws.Context, input *StopExperimentInput, opts ...request.Option) (*StopExperimentOutput, error)

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

See StopExperiment 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 (*CloudWatchEvidently) StopLaunch

func (c *CloudWatchEvidently) StopLaunch(input *StopLaunchInput) (*StopLaunchOutput, error)

StopLaunch API operation for Amazon CloudWatch Evidently.

Stops a launch that is currently running. After you stop a launch, you will not be able to resume it or restart it. Also, it will not be evaluated as a rule for traffic allocation, and the traffic that was allocated to the launch will instead be available to the feature's experiment, if there is one. Otherwise, all traffic will be served the default variation after the launch is stopped.

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 CloudWatch Evidently's API operation StopLaunch for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch

func (*CloudWatchEvidently) StopLaunchRequest

func (c *CloudWatchEvidently) StopLaunchRequest(input *StopLaunchInput) (req *request.Request, output *StopLaunchOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch

func (*CloudWatchEvidently) StopLaunchWithContext

func (c *CloudWatchEvidently) StopLaunchWithContext(ctx aws.Context, input *StopLaunchInput, opts ...request.Option) (*StopLaunchOutput, error)

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

See StopLaunch 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 (*CloudWatchEvidently) TagResource

func (c *CloudWatchEvidently) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon CloudWatch Evidently.

Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource. Projects, features, launches, and experiments can be tagged.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

You can use the TagResource action with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

You can associate as many as 50 tags with a resource.

For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).

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 CloudWatch Evidently's API operation TagResource for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource

func (*CloudWatchEvidently) TagResourceRequest

func (c *CloudWatchEvidently) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource

func (*CloudWatchEvidently) TagResourceWithContext

func (c *CloudWatchEvidently) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

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

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

func (*CloudWatchEvidently) TestSegmentPattern

TestSegmentPattern API operation for Amazon CloudWatch Evidently.

Use this operation to test a rules pattern that you plan to use to create an audience segment. For more information about segments, see CreateSegment (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html).

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 CloudWatch Evidently's API operation TestSegmentPattern for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • ValidationException The value of a parameter in the request caused an error.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern

func (*CloudWatchEvidently) TestSegmentPatternRequest

func (c *CloudWatchEvidently) TestSegmentPatternRequest(input *TestSegmentPatternInput) (req *request.Request, output *TestSegmentPatternOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern

func (*CloudWatchEvidently) TestSegmentPatternWithContext

func (c *CloudWatchEvidently) TestSegmentPatternWithContext(ctx aws.Context, input *TestSegmentPatternInput, opts ...request.Option) (*TestSegmentPatternOutput, error)

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

See TestSegmentPattern 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 (*CloudWatchEvidently) UntagResource

func (c *CloudWatchEvidently) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon CloudWatch Evidently.

Removes one or more tags from the specified resource.

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

See the AWS API reference guide for Amazon CloudWatch Evidently's API operation UntagResource for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource

func (*CloudWatchEvidently) UntagResourceRequest

func (c *CloudWatchEvidently) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource

func (*CloudWatchEvidently) UntagResourceWithContext

func (c *CloudWatchEvidently) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

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

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

func (*CloudWatchEvidently) UpdateExperiment

UpdateExperiment API operation for Amazon CloudWatch Evidently.

Updates an Evidently experiment.

Don't use this operation to update an experiment's tag. Instead, use TagResource (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html).

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 CloudWatch Evidently's API operation UpdateExperiment for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment

func (*CloudWatchEvidently) UpdateExperimentRequest

func (c *CloudWatchEvidently) UpdateExperimentRequest(input *UpdateExperimentInput) (req *request.Request, output *UpdateExperimentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment

func (*CloudWatchEvidently) UpdateExperimentWithContext

func (c *CloudWatchEvidently) UpdateExperimentWithContext(ctx aws.Context, input *UpdateExperimentInput, opts ...request.Option) (*UpdateExperimentOutput, error)

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

See UpdateExperiment 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 (*CloudWatchEvidently) UpdateFeature

func (c *CloudWatchEvidently) UpdateFeature(input *UpdateFeatureInput) (*UpdateFeatureOutput, error)

UpdateFeature API operation for Amazon CloudWatch Evidently.

Updates an existing feature.

You can't use this operation to update the tags of an existing feature. Instead, use TagResource (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html).

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 CloudWatch Evidently's API operation UpdateFeature for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature

func (*CloudWatchEvidently) UpdateFeatureRequest

func (c *CloudWatchEvidently) UpdateFeatureRequest(input *UpdateFeatureInput) (req *request.Request, output *UpdateFeatureOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature

func (*CloudWatchEvidently) UpdateFeatureWithContext

func (c *CloudWatchEvidently) UpdateFeatureWithContext(ctx aws.Context, input *UpdateFeatureInput, opts ...request.Option) (*UpdateFeatureOutput, error)

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

See UpdateFeature 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 (*CloudWatchEvidently) UpdateLaunch

func (c *CloudWatchEvidently) UpdateLaunch(input *UpdateLaunchInput) (*UpdateLaunchOutput, error)

UpdateLaunch API operation for Amazon CloudWatch Evidently.

Updates a launch of a given feature.

Don't use this operation to update the tags of an existing launch. Instead, use TagResource (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html).

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 CloudWatch Evidently's API operation UpdateLaunch for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch

func (*CloudWatchEvidently) UpdateLaunchRequest

func (c *CloudWatchEvidently) UpdateLaunchRequest(input *UpdateLaunchInput) (req *request.Request, output *UpdateLaunchOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch

func (*CloudWatchEvidently) UpdateLaunchWithContext

func (c *CloudWatchEvidently) UpdateLaunchWithContext(ctx aws.Context, input *UpdateLaunchInput, opts ...request.Option) (*UpdateLaunchOutput, error)

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

See UpdateLaunch 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 (*CloudWatchEvidently) UpdateProject

func (c *CloudWatchEvidently) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)

UpdateProject API operation for Amazon CloudWatch Evidently.

Updates the description of an existing project.

To create a new project, use CreateProject (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html).

Don't use this operation to update the data storage options of a project. Instead, use UpdateProjectDataDelivery (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html).

Don't use this operation to update the tags of a project. Instead, use TagResource (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html).

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 CloudWatch Evidently's API operation UpdateProject for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject

func (*CloudWatchEvidently) UpdateProjectDataDelivery

UpdateProjectDataDelivery API operation for Amazon CloudWatch Evidently.

Updates the data storage options for this project. If you store evaluation events, you an keep them and analyze them on your own. If you choose not to store evaluation events, Evidently deletes them after using them to produce metrics and other experiment results that you can view.

You can't specify both cloudWatchLogs and s3Destination in the same operation.

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 CloudWatch Evidently's API operation UpdateProjectDataDelivery for usage and error information.

Returned Error Types:

  • ValidationException The value of a parameter in the request caused an error.

  • ConflictException A resource was in an inconsistent state during an update or a deletion.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ResourceNotFoundException The request references a resource that does not exist.

  • AccessDeniedException You do not have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery

func (*CloudWatchEvidently) UpdateProjectDataDeliveryRequest

func (c *CloudWatchEvidently) UpdateProjectDataDeliveryRequest(input *UpdateProjectDataDeliveryInput) (req *request.Request, output *UpdateProjectDataDeliveryOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery

func (*CloudWatchEvidently) UpdateProjectDataDeliveryWithContext

func (c *CloudWatchEvidently) UpdateProjectDataDeliveryWithContext(ctx aws.Context, input *UpdateProjectDataDeliveryInput, opts ...request.Option) (*UpdateProjectDataDeliveryOutput, error)

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

See UpdateProjectDataDelivery 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 (*CloudWatchEvidently) UpdateProjectRequest

func (c *CloudWatchEvidently) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject

func (*CloudWatchEvidently) UpdateProjectWithContext

func (c *CloudWatchEvidently) UpdateProjectWithContext(ctx aws.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)

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

See UpdateProject 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 CloudWatchLogsDestination

type CloudWatchLogsDestination struct {

	// The name of the log group where the project stores evaluation events.
	LogGroup *string `locationName:"logGroup" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A structure containing the CloudWatch Logs log group where the project stores evaluation events.

func (CloudWatchLogsDestination) GoString

func (s CloudWatchLogsDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchLogsDestination) SetLogGroup

SetLogGroup sets the LogGroup field's value.

func (CloudWatchLogsDestination) String

func (s CloudWatchLogsDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CloudWatchLogsDestinationConfig

type CloudWatchLogsDestinationConfig struct {

	// The name of the log group where the project stores evaluation events.
	LogGroup *string `locationName:"logGroup" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A structure containing the CloudWatch Logs log group where the project stores evaluation events.

func (CloudWatchLogsDestinationConfig) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchLogsDestinationConfig) SetLogGroup

SetLogGroup sets the LogGroup field's value.

func (CloudWatchLogsDestinationConfig) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchLogsDestinationConfig) Validate

func (s *CloudWatchLogsDestinationConfig) Validate() error

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

type ConflictException

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

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the resource that caused the exception.
	ResourceId *string `locationName:"resourceId" type:"string"`

	// The type of the resource that is associated with the error.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

A resource was in an inconsistent state during an update or a deletion.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateExperimentInput

type CreateExperimentInput struct {

	// An optional description of the experiment.
	Description *string `locationName:"description" type:"string"`

	// An array of structures that defines the metrics used for the experiment,
	// and whether a higher or lower value for each metric is the goal.
	//
	// MetricGoals is a required field
	MetricGoals []*MetricGoalConfig `locationName:"metricGoals" min:"1" type:"list" required:"true"`

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

	// A structure that contains the configuration of which variation to use as
	// the "control" version. tThe "control" version is used for comparison with
	// other variations. This structure also specifies how much experiment traffic
	// is allocated to each variation.
	OnlineAbConfig *OnlineAbConfig `locationName:"onlineAbConfig" type:"structure"`

	// The name or ARN of the project that you want to create the new experiment
	// in.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// When Evidently assigns a particular user session to an experiment, it must
	// use a randomization ID to determine which variation the user session is served.
	// This randomization ID is a combination of the entity ID and randomizationSalt.
	// If you omit randomizationSalt, Evidently uses the experiment name as the
	// randomizationSalt.
	RandomizationSalt *string `locationName:"randomizationSalt" type:"string"`

	// The portion of the available audience that you want to allocate to this experiment,
	// in thousandths of a percent. The available audience is the total audience
	// minus the audience that you have allocated to overrides or current launches
	// of this feature.
	//
	// This is represented in thousandths of a percent. For example, specify 10,000
	// to allocate 10% of the available audience.
	SamplingRate *int64 `locationName:"samplingRate" type:"long"`

	// Specifies an audience segment to use in the experiment. When a segment is
	// used in an experiment, only user sessions that match the segment pattern
	// are used in the experiment.
	Segment *string `locationName:"segment" type:"string"`

	// Assigns one or more tags (key-value pairs) to the experiment.
	//
	// Tags can help you organize and categorize your resources. You can also use
	// them to scope user permissions by granting a user permission to access or
	// change only resources with certain tag values.
	//
	// Tags don't have any semantic meaning to Amazon Web Services and are interpreted
	// strictly as strings of characters.
	//
	// You can associate as many as 50 tags with an experiment.
	//
	// For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
	Tags map[string]*string `locationName:"tags" type:"map"`

	// An array of structures that describe the configuration of each feature variation
	// used in the experiment.
	//
	// Treatments is a required field
	Treatments []*TreatmentConfig `locationName:"treatments" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateExperimentInput) GoString

func (s CreateExperimentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateExperimentInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateExperimentInput) SetMetricGoals

SetMetricGoals sets the MetricGoals field's value.

func (*CreateExperimentInput) SetName

SetName sets the Name field's value.

func (*CreateExperimentInput) SetOnlineAbConfig

SetOnlineAbConfig sets the OnlineAbConfig field's value.

func (*CreateExperimentInput) SetProject

SetProject sets the Project field's value.

func (*CreateExperimentInput) SetRandomizationSalt

func (s *CreateExperimentInput) SetRandomizationSalt(v string) *CreateExperimentInput

SetRandomizationSalt sets the RandomizationSalt field's value.

func (*CreateExperimentInput) SetSamplingRate

func (s *CreateExperimentInput) SetSamplingRate(v int64) *CreateExperimentInput

SetSamplingRate sets the SamplingRate field's value.

func (*CreateExperimentInput) SetSegment

SetSegment sets the Segment field's value.

func (*CreateExperimentInput) SetTags

SetTags sets the Tags field's value.

func (*CreateExperimentInput) SetTreatments

SetTreatments sets the Treatments field's value.

func (CreateExperimentInput) String

func (s CreateExperimentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateExperimentInput) Validate

func (s *CreateExperimentInput) Validate() error

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

type CreateExperimentOutput

type CreateExperimentOutput struct {

	// A structure containing the configuration details of the experiment that you
	// created.
	//
	// Experiment is a required field
	Experiment *Experiment `locationName:"experiment" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateExperimentOutput) GoString

func (s CreateExperimentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateExperimentOutput) SetExperiment

SetExperiment sets the Experiment field's value.

func (CreateExperimentOutput) String

func (s CreateExperimentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateFeatureInput

type CreateFeatureInput struct {

	// The name of the variation to use as the default variation. The default variation
	// is served to users who are not allocated to any ongoing launches or experiments
	// of this feature.
	//
	// This variation must also be listed in the variations structure.
	//
	// If you omit defaultVariation, the first variation listed in the variations
	// structure is used as the default variation.
	DefaultVariation *string `locationName:"defaultVariation" min:"1" type:"string"`

	// An optional description of the feature.
	Description *string `locationName:"description" type:"string"`

	// Specify users that should always be served a specific variation of a feature.
	// Each user is specified by a key-value pair . For each key, specify a user
	// by entering their user ID, account ID, or some other identifier. For the
	// value, specify the name of the variation that they are to be served.
	//
	// This parameter is limited to 2500 overrides or a total of 40KB. The 40KB
	// limit includes an overhead of 6 bytes per override.
	EntityOverrides map[string]*string `locationName:"entityOverrides" type:"map"`

	// Specify ALL_RULES to activate the traffic allocation specified by any ongoing
	// launches or experiments. Specify DEFAULT_VARIATION to serve the default variation
	// to all users instead.
	EvaluationStrategy *string `locationName:"evaluationStrategy" type:"string" enum:"FeatureEvaluationStrategy"`

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

	// The name or ARN of the project that is to contain the new feature.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// Assigns one or more tags (key-value pairs) to the feature.
	//
	// Tags can help you organize and categorize your resources. You can also use
	// them to scope user permissions by granting a user permission to access or
	// change only resources with certain tag values.
	//
	// Tags don't have any semantic meaning to Amazon Web Services and are interpreted
	// strictly as strings of characters.
	//
	// You can associate as many as 50 tags with a feature.
	//
	// For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
	Tags map[string]*string `locationName:"tags" type:"map"`

	// An array of structures that contain the configuration of the feature's different
	// variations.
	//
	// Variations is a required field
	Variations []*VariationConfig `locationName:"variations" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateFeatureInput) GoString

func (s CreateFeatureInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFeatureInput) SetDefaultVariation

func (s *CreateFeatureInput) SetDefaultVariation(v string) *CreateFeatureInput

SetDefaultVariation sets the DefaultVariation field's value.

func (*CreateFeatureInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateFeatureInput) SetEntityOverrides

func (s *CreateFeatureInput) SetEntityOverrides(v map[string]*string) *CreateFeatureInput

SetEntityOverrides sets the EntityOverrides field's value.

func (*CreateFeatureInput) SetEvaluationStrategy

func (s *CreateFeatureInput) SetEvaluationStrategy(v string) *CreateFeatureInput

SetEvaluationStrategy sets the EvaluationStrategy field's value.

func (*CreateFeatureInput) SetName

SetName sets the Name field's value.

func (*CreateFeatureInput) SetProject

func (s *CreateFeatureInput) SetProject(v string) *CreateFeatureInput

SetProject sets the Project field's value.

func (*CreateFeatureInput) SetTags

func (s *CreateFeatureInput) SetTags(v map[string]*string) *CreateFeatureInput

SetTags sets the Tags field's value.

func (*CreateFeatureInput) SetVariations

func (s *CreateFeatureInput) SetVariations(v []*VariationConfig) *CreateFeatureInput

SetVariations sets the Variations field's value.

func (CreateFeatureInput) String

func (s CreateFeatureInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFeatureInput) Validate

func (s *CreateFeatureInput) Validate() error

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

type CreateFeatureOutput

type CreateFeatureOutput struct {

	// A structure that contains information about the new feature.
	Feature *Feature `locationName:"feature" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateFeatureOutput) GoString

func (s CreateFeatureOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFeatureOutput) SetFeature

func (s *CreateFeatureOutput) SetFeature(v *Feature) *CreateFeatureOutput

SetFeature sets the Feature field's value.

func (CreateFeatureOutput) String

func (s CreateFeatureOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateLaunchInput

type CreateLaunchInput struct {

	// An optional description for the launch.
	Description *string `locationName:"description" type:"string"`

	// An array of structures that contains the feature and variations that are
	// to be used for the launch.
	//
	// Groups is a required field
	Groups []*LaunchGroupConfig `locationName:"groups" min:"1" type:"list" required:"true"`

	// An array of structures that define the metrics that will be used to monitor
	// the launch performance.
	MetricMonitors []*MetricMonitorConfig `locationName:"metricMonitors" type:"list"`

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

	// The name or ARN of the project that you want to create the launch in.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// When Evidently assigns a particular user session to a launch, it must use
	// a randomization ID to determine which variation the user session is served.
	// This randomization ID is a combination of the entity ID and randomizationSalt.
	// If you omit randomizationSalt, Evidently uses the launch name as the randomizationSalt.
	RandomizationSalt *string `locationName:"randomizationSalt" type:"string"`

	// An array of structures that define the traffic allocation percentages among
	// the feature variations during each step of the launch.
	ScheduledSplitsConfig *ScheduledSplitsLaunchConfig `locationName:"scheduledSplitsConfig" type:"structure"`

	// Assigns one or more tags (key-value pairs) to the launch.
	//
	// Tags can help you organize and categorize your resources. You can also use
	// them to scope user permissions by granting a user permission to access or
	// change only resources with certain tag values.
	//
	// Tags don't have any semantic meaning to Amazon Web Services and are interpreted
	// strictly as strings of characters.
	//
	// You can associate as many as 50 tags with a launch.
	//
	// For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateLaunchInput) GoString

func (s CreateLaunchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateLaunchInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateLaunchInput) SetGroups

SetGroups sets the Groups field's value.

func (*CreateLaunchInput) SetMetricMonitors

func (s *CreateLaunchInput) SetMetricMonitors(v []*MetricMonitorConfig) *CreateLaunchInput

SetMetricMonitors sets the MetricMonitors field's value.

func (*CreateLaunchInput) SetName

SetName sets the Name field's value.

func (*CreateLaunchInput) SetProject

func (s *CreateLaunchInput) SetProject(v string) *CreateLaunchInput

SetProject sets the Project field's value.

func (*CreateLaunchInput) SetRandomizationSalt

func (s *CreateLaunchInput) SetRandomizationSalt(v string) *CreateLaunchInput

SetRandomizationSalt sets the RandomizationSalt field's value.

func (*CreateLaunchInput) SetScheduledSplitsConfig

func (s *CreateLaunchInput) SetScheduledSplitsConfig(v *ScheduledSplitsLaunchConfig) *CreateLaunchInput

SetScheduledSplitsConfig sets the ScheduledSplitsConfig field's value.

func (*CreateLaunchInput) SetTags

func (s *CreateLaunchInput) SetTags(v map[string]*string) *CreateLaunchInput

SetTags sets the Tags field's value.

func (CreateLaunchInput) String

func (s CreateLaunchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateLaunchInput) Validate

func (s *CreateLaunchInput) Validate() error

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

type CreateLaunchOutput

type CreateLaunchOutput struct {

	// A structure that contains the configuration of the launch that was created.
	//
	// Launch is a required field
	Launch *Launch `locationName:"launch" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateLaunchOutput) GoString

func (s CreateLaunchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateLaunchOutput) SetLaunch

func (s *CreateLaunchOutput) SetLaunch(v *Launch) *CreateLaunchOutput

SetLaunch sets the Launch field's value.

func (CreateLaunchOutput) String

func (s CreateLaunchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateProjectInput

type CreateProjectInput struct {

	// Use this parameter if the project will use client-side evaluation powered
	// by AppConfig. Client-side evaluation allows your application to assign variations
	// to user sessions locally instead of by calling the EvaluateFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html)
	// operation. This mitigates the latency and availability risks that come with
	// an API call. For more information, see Client-side evaluation - powered by
	// AppConfig. (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-client-side-evaluation.html)
	//
	// This parameter is a structure that contains information about the AppConfig
	// application and environment that will be used as for client-side evaluation.
	//
	// To create a project that uses client-side evaluation, you must have the evidently:ExportProjectAsConfiguration
	// permission.
	AppConfigResource *ProjectAppConfigResourceConfig `locationName:"appConfigResource" type:"structure"`

	// A structure that contains information about where Evidently is to store evaluation
	// events for longer term storage, if you choose to do so. If you choose not
	// to store these events, Evidently deletes them after using them to produce
	// metrics and other experiment results that you can view.
	DataDelivery *ProjectDataDeliveryConfig `locationName:"dataDelivery" type:"structure"`

	// An optional description of the project.
	Description *string `locationName:"description" type:"string"`

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

	// Assigns one or more tags (key-value pairs) to the project.
	//
	// Tags can help you organize and categorize your resources. You can also use
	// them to scope user permissions by granting a user permission to access or
	// change only resources with certain tag values.
	//
	// Tags don't have any semantic meaning to Amazon Web Services and are interpreted
	// strictly as strings of characters.
	//
	// You can associate as many as 50 tags with a project.
	//
	// For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateProjectInput) GoString

func (s CreateProjectInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateProjectInput) SetAppConfigResource

SetAppConfigResource sets the AppConfigResource field's value.

func (*CreateProjectInput) SetDataDelivery

SetDataDelivery sets the DataDelivery field's value.

func (*CreateProjectInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateProjectInput) SetName

SetName sets the Name field's value.

func (*CreateProjectInput) SetTags

func (s *CreateProjectInput) SetTags(v map[string]*string) *CreateProjectInput

SetTags sets the Tags field's value.

func (CreateProjectInput) String

func (s CreateProjectInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateProjectInput) Validate

func (s *CreateProjectInput) Validate() error

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

type CreateProjectOutput

type CreateProjectOutput struct {

	// A structure that contains information about the created project.
	//
	// Project is a required field
	Project *Project `locationName:"project" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateProjectOutput) GoString

func (s CreateProjectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateProjectOutput) SetProject

func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput

SetProject sets the Project field's value.

func (CreateProjectOutput) String

func (s CreateProjectOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateSegmentInput

type CreateSegmentInput struct {

	// An optional description for this segment.
	Description *string `locationName:"description" type:"string"`

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

	// The pattern to use for the segment. For more information about pattern syntax,
	// see Segment rule pattern syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html).
	//
	// Pattern is a required field
	Pattern *string `locationName:"pattern" min:"1" type:"string" required:"true"`

	// Assigns one or more tags (key-value pairs) to the segment.
	//
	// Tags can help you organize and categorize your resources. You can also use
	// them to scope user permissions by granting a user permission to access or
	// change only resources with certain tag values.
	//
	// Tags don't have any semantic meaning to Amazon Web Services and are interpreted
	// strictly as strings of characters.
	//
	// You can associate as many as 50 tags with a segment.
	//
	// For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateSegmentInput) GoString

func (s CreateSegmentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSegmentInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateSegmentInput) SetName

SetName sets the Name field's value.

func (*CreateSegmentInput) SetPattern

func (s *CreateSegmentInput) SetPattern(v string) *CreateSegmentInput

SetPattern sets the Pattern field's value.

func (*CreateSegmentInput) SetTags

func (s *CreateSegmentInput) SetTags(v map[string]*string) *CreateSegmentInput

SetTags sets the Tags field's value.

func (CreateSegmentInput) String

func (s CreateSegmentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSegmentInput) Validate

func (s *CreateSegmentInput) Validate() error

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

type CreateSegmentOutput

type CreateSegmentOutput struct {

	// A structure that contains the complete information about the segment that
	// was just created.
	//
	// Segment is a required field
	Segment *Segment `locationName:"segment" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateSegmentOutput) GoString

func (s CreateSegmentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSegmentOutput) SetSegment

func (s *CreateSegmentOutput) SetSegment(v *Segment) *CreateSegmentOutput

SetSegment sets the Segment field's value.

func (CreateSegmentOutput) String

func (s CreateSegmentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteExperimentInput

type DeleteExperimentInput struct {

	// The name of the experiment to delete.
	//
	// Experiment is a required field
	Experiment *string `location:"uri" locationName:"experiment" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the experiment to delete.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteExperimentInput) GoString

func (s DeleteExperimentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteExperimentInput) SetExperiment

func (s *DeleteExperimentInput) SetExperiment(v string) *DeleteExperimentInput

SetExperiment sets the Experiment field's value.

func (*DeleteExperimentInput) SetProject

SetProject sets the Project field's value.

func (DeleteExperimentInput) String

func (s DeleteExperimentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteExperimentInput) Validate

func (s *DeleteExperimentInput) Validate() error

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

type DeleteExperimentOutput

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

func (DeleteExperimentOutput) GoString

func (s DeleteExperimentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteExperimentOutput) String

func (s DeleteExperimentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteFeatureInput

type DeleteFeatureInput struct {

	// The name of the feature to delete.
	//
	// Feature is a required field
	Feature *string `location:"uri" locationName:"feature" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the feature to delete.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFeatureInput) GoString

func (s DeleteFeatureInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFeatureInput) SetFeature

func (s *DeleteFeatureInput) SetFeature(v string) *DeleteFeatureInput

SetFeature sets the Feature field's value.

func (*DeleteFeatureInput) SetProject

func (s *DeleteFeatureInput) SetProject(v string) *DeleteFeatureInput

SetProject sets the Project field's value.

func (DeleteFeatureInput) String

func (s DeleteFeatureInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFeatureInput) Validate

func (s *DeleteFeatureInput) Validate() error

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

type DeleteFeatureOutput

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

func (DeleteFeatureOutput) GoString

func (s DeleteFeatureOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteFeatureOutput) String

func (s DeleteFeatureOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteLaunchInput

type DeleteLaunchInput struct {

	// The name of the launch to delete.
	//
	// Launch is a required field
	Launch *string `location:"uri" locationName:"launch" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the launch to delete.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteLaunchInput) GoString

func (s DeleteLaunchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteLaunchInput) SetLaunch

func (s *DeleteLaunchInput) SetLaunch(v string) *DeleteLaunchInput

SetLaunch sets the Launch field's value.

func (*DeleteLaunchInput) SetProject

func (s *DeleteLaunchInput) SetProject(v string) *DeleteLaunchInput

SetProject sets the Project field's value.

func (DeleteLaunchInput) String

func (s DeleteLaunchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteLaunchInput) Validate

func (s *DeleteLaunchInput) Validate() error

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

type DeleteLaunchOutput

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

func (DeleteLaunchOutput) GoString

func (s DeleteLaunchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteLaunchOutput) String

func (s DeleteLaunchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteProjectInput

type DeleteProjectInput struct {

	// The name or ARN of the project to delete.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteProjectInput) GoString

func (s DeleteProjectInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteProjectInput) SetProject

func (s *DeleteProjectInput) SetProject(v string) *DeleteProjectInput

SetProject sets the Project field's value.

func (DeleteProjectInput) String

func (s DeleteProjectInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteProjectInput) Validate

func (s *DeleteProjectInput) Validate() error

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

type DeleteProjectOutput

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

func (DeleteProjectOutput) GoString

func (s DeleteProjectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteProjectOutput) String

func (s DeleteProjectOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteSegmentInput

type DeleteSegmentInput struct {

	// Specifies the segment to delete.
	//
	// Segment is a required field
	Segment *string `location:"uri" locationName:"segment" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSegmentInput) GoString

func (s DeleteSegmentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSegmentInput) SetSegment

func (s *DeleteSegmentInput) SetSegment(v string) *DeleteSegmentInput

SetSegment sets the Segment field's value.

func (DeleteSegmentInput) String

func (s DeleteSegmentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSegmentInput) Validate

func (s *DeleteSegmentInput) Validate() error

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

type DeleteSegmentOutput

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

func (DeleteSegmentOutput) GoString

func (s DeleteSegmentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteSegmentOutput) String

func (s DeleteSegmentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EvaluateFeatureInput

type EvaluateFeatureInput struct {

	// An internal ID that represents a unique user of the application. This entityID
	// is checked against any override rules assigned for this feature.
	//
	// EntityId is a required field
	EntityId *string `locationName:"entityId" min:"1" type:"string" required:"true"`

	// A JSON object of attributes that you can optionally pass in as part of the
	// evaluation event sent to Evidently from the user session. Evidently can use
	// this value to match user sessions with defined audience segments. For more
	// information, see Use segments to focus your audience (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html).
	//
	// If you include this parameter, the value must be a JSON object. A JSON array
	// is not supported.
	EvaluationContext *string `locationName:"evaluationContext" type:"string"`

	// The name of the feature being evaluated.
	//
	// Feature is a required field
	Feature *string `location:"uri" locationName:"feature" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains this feature.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (EvaluateFeatureInput) GoString

func (s EvaluateFeatureInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluateFeatureInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*EvaluateFeatureInput) SetEvaluationContext

func (s *EvaluateFeatureInput) SetEvaluationContext(v string) *EvaluateFeatureInput

SetEvaluationContext sets the EvaluationContext field's value.

func (*EvaluateFeatureInput) SetFeature

SetFeature sets the Feature field's value.

func (*EvaluateFeatureInput) SetProject

SetProject sets the Project field's value.

func (EvaluateFeatureInput) String

func (s EvaluateFeatureInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluateFeatureInput) Validate

func (s *EvaluateFeatureInput) Validate() error

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

type EvaluateFeatureOutput

type EvaluateFeatureOutput struct {

	// If this user was assigned to a launch or experiment, this field lists the
	// launch or experiment name.
	Details *string `locationName:"details" type:"string"`

	// Specifies the reason that the user session was assigned this variation. Possible
	// values include DEFAULT, meaning the user was served the default variation;
	// LAUNCH_RULE_MATCH, if the user session was enrolled in a launch; EXPERIMENT_RULE_MATCH,
	// if the user session was enrolled in an experiment; or ENTITY_OVERRIDES_MATCH,
	// if the user's entityId matches an override rule.
	Reason *string `locationName:"reason" type:"string"`

	// The value assigned to this variation to differentiate it from the other variations
	// of this feature.
	Value *VariableValue `locationName:"value" type:"structure"`

	// The name of the variation that was served to the user session.
	Variation *string `locationName:"variation" type:"string"`
	// contains filtered or unexported fields
}

func (EvaluateFeatureOutput) GoString

func (s EvaluateFeatureOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluateFeatureOutput) SetDetails

SetDetails sets the Details field's value.

func (*EvaluateFeatureOutput) SetReason

SetReason sets the Reason field's value.

func (*EvaluateFeatureOutput) SetValue

SetValue sets the Value field's value.

func (*EvaluateFeatureOutput) SetVariation

SetVariation sets the Variation field's value.

func (EvaluateFeatureOutput) String

func (s EvaluateFeatureOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EvaluationRequest

type EvaluationRequest struct {

	// An internal ID that represents a unique user session of the application.
	// This entityID is checked against any override rules assigned for this feature.
	//
	// EntityId is a required field
	EntityId *string `locationName:"entityId" min:"1" type:"string" required:"true"`

	// A JSON block of attributes that you can optionally pass in. This JSON block
	// is included in the evaluation events sent to Evidently from the user session.
	EvaluationContext *string `locationName:"evaluationContext" type:"string"`

	// The name of the feature being evaluated.
	//
	// Feature is a required field
	Feature *string `locationName:"feature" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

This structure assigns a feature variation to one user session.

func (EvaluationRequest) GoString

func (s EvaluationRequest) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluationRequest) SetEntityId

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

SetEntityId sets the EntityId field's value.

func (*EvaluationRequest) SetEvaluationContext

func (s *EvaluationRequest) SetEvaluationContext(v string) *EvaluationRequest

SetEvaluationContext sets the EvaluationContext field's value.

func (*EvaluationRequest) SetFeature

func (s *EvaluationRequest) SetFeature(v string) *EvaluationRequest

SetFeature sets the Feature field's value.

func (EvaluationRequest) String

func (s EvaluationRequest) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluationRequest) Validate

func (s *EvaluationRequest) Validate() error

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

type EvaluationResult

type EvaluationResult struct {

	// If this user was assigned to a launch or experiment, this field lists the
	// launch or experiment name.
	Details *string `locationName:"details" type:"string"`

	// An internal ID that represents a unique user session of the application.
	//
	// EntityId is a required field
	EntityId *string `locationName:"entityId" min:"1" type:"string" required:"true"`

	// The name of the feature being evaluated.
	//
	// Feature is a required field
	Feature *string `locationName:"feature" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the feature being evaluated.
	Project *string `locationName:"project" type:"string"`

	// Specifies the reason that the user session was assigned this variation. Possible
	// values include DEFAULT, meaning the user was served the default variation;
	// LAUNCH_RULE_MATCH, if the user session was enrolled in a launch; or EXPERIMENT_RULE_MATCH,
	// if the user session was enrolled in an experiment.
	Reason *string `locationName:"reason" type:"string"`

	// The value assigned to this variation to differentiate it from the other variations
	// of this feature.
	Value *VariableValue `locationName:"value" type:"structure"`

	// The name of the variation that was served to the user session.
	Variation *string `locationName:"variation" type:"string"`
	// contains filtered or unexported fields
}

This structure displays the results of one feature evaluation assignment to one user session.

func (EvaluationResult) GoString

func (s EvaluationResult) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluationResult) SetDetails

func (s *EvaluationResult) SetDetails(v string) *EvaluationResult

SetDetails sets the Details field's value.

func (*EvaluationResult) SetEntityId

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

SetEntityId sets the EntityId field's value.

func (*EvaluationResult) SetFeature

func (s *EvaluationResult) SetFeature(v string) *EvaluationResult

SetFeature sets the Feature field's value.

func (*EvaluationResult) SetProject

func (s *EvaluationResult) SetProject(v string) *EvaluationResult

SetProject sets the Project field's value.

func (*EvaluationResult) SetReason

func (s *EvaluationResult) SetReason(v string) *EvaluationResult

SetReason sets the Reason field's value.

func (*EvaluationResult) SetValue

SetValue sets the Value field's value.

func (*EvaluationResult) SetVariation

func (s *EvaluationResult) SetVariation(v string) *EvaluationResult

SetVariation sets the Variation field's value.

func (EvaluationResult) String

func (s EvaluationResult) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EvaluationRule

type EvaluationRule struct {

	// The name of the experiment or launch.
	Name *string `locationName:"name" type:"string"`

	// This value is aws.evidently.splits if this is an evaluation rule for a launch,
	// and it is aws.evidently.onlineab if this is an evaluation rule for an experiment.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A structure that contains the information about an evaluation rule for this feature, if it is used in a launch or experiment.

func (EvaluationRule) GoString

func (s EvaluationRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluationRule) SetName

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

SetName sets the Name field's value.

func (*EvaluationRule) SetType

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

SetType sets the Type field's value.

func (EvaluationRule) String

func (s EvaluationRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Event

type Event struct {

	// The event data.
	//
	// Data is a required field
	Data *string `locationName:"data" type:"string" required:"true"`

	// The timestamp of the event.
	//
	// Timestamp is a required field
	Timestamp *time.Time `locationName:"timestamp" type:"timestamp" required:"true"`

	// aws.evidently.evaluation specifies an evaluation event, which determines
	// which feature variation that a user sees. aws.evidently.custom specifies
	// a custom event, which generates metrics from user actions such as clicks
	// and checkouts.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"EventType"`
	// contains filtered or unexported fields
}

A structure that contains the information about one evaluation event or custom event sent to Evidently. This is a JSON payload. If this event specifies a pre-defined event type, the payload must follow the defined event schema.

func (Event) GoString

func (s Event) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Event) SetData

func (s *Event) SetData(v string) *Event

SetData sets the Data field's value.

func (*Event) SetTimestamp

func (s *Event) SetTimestamp(v time.Time) *Event

SetTimestamp sets the Timestamp field's value.

func (*Event) SetType

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

SetType sets the Type field's value.

func (Event) String

func (s Event) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Event) Validate

func (s *Event) Validate() error

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

type Experiment

type Experiment struct {

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

	// The date and time that the experiment is first created.
	//
	// CreatedTime is a required field
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" required:"true"`

	// A description of the experiment.
	Description *string `locationName:"description" type:"string"`

	// A structure that contains the date and time that the experiment started and
	// ended.
	Execution *ExperimentExecution `locationName:"execution" type:"structure"`

	// The date and time that the experiment was most recently updated.
	//
	// LastUpdatedTime is a required field
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp" required:"true"`

	// An array of structures that defines the metrics used for the experiment,
	// and whether a higher or lower value for each metric is the goal.
	MetricGoals []*MetricGoal `locationName:"metricGoals" min:"1" type:"list"`

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

	// A structure that contains the configuration of which variation to use as
	// the "control" version. The "control" version is used for comparison with
	// other variations. This structure also specifies how much experiment traffic
	// is allocated to each variation.
	OnlineAbDefinition *OnlineAbDefinition `locationName:"onlineAbDefinition" type:"structure"`

	// The name or ARN of the project that contains this experiment.
	Project *string `locationName:"project" type:"string"`

	// This value is used when Evidently assigns a particular user session to the
	// experiment. It helps create a randomization ID to determine which variation
	// the user session is served. This randomization ID is a combination of the
	// entity ID and randomizationSalt.
	RandomizationSalt *string `locationName:"randomizationSalt" type:"string"`

	// In thousandths of a percent, the amount of the available audience that is
	// allocated to this experiment. The available audience is the total audience
	// minus the audience that you have allocated to overrides or current launches
	// of this feature.
	//
	// This is represented in thousandths of a percent, so a value of 10,000 is
	// 10% of the available audience.
	SamplingRate *int64 `locationName:"samplingRate" type:"long"`

	// A structure that contains the time and date that Evidently completed the
	// analysis of the experiment.
	Schedule *ExperimentSchedule `locationName:"schedule" type:"structure"`

	// The audience segment being used for the experiment, if a segment is being
	// used.
	Segment *string `locationName:"segment" type:"string"`

	// The current state of the experiment.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ExperimentStatus"`

	// If the experiment was stopped, this is the string that was entered by the
	// person who stopped the experiment, to explain why it was stopped.
	StatusReason *string `locationName:"statusReason" type:"string"`

	// The list of tag keys and values associated with this experiment.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// An array of structures that describe the configuration of each feature variation
	// used in the experiment.
	Treatments []*Treatment `locationName:"treatments" min:"2" type:"list"`

	// The type of this experiment. Currently, this value must be aws.experiment.onlineab.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"ExperimentType"`
	// contains filtered or unexported fields
}

A structure containing the configuration details of an experiment.

func (Experiment) GoString

func (s Experiment) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Experiment) SetArn

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

SetArn sets the Arn field's value.

func (*Experiment) SetCreatedTime

func (s *Experiment) SetCreatedTime(v time.Time) *Experiment

SetCreatedTime sets the CreatedTime field's value.

func (*Experiment) SetDescription

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

SetDescription sets the Description field's value.

func (*Experiment) SetExecution

func (s *Experiment) SetExecution(v *ExperimentExecution) *Experiment

SetExecution sets the Execution field's value.

func (*Experiment) SetLastUpdatedTime

func (s *Experiment) SetLastUpdatedTime(v time.Time) *Experiment

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Experiment) SetMetricGoals

func (s *Experiment) SetMetricGoals(v []*MetricGoal) *Experiment

SetMetricGoals sets the MetricGoals field's value.

func (*Experiment) SetName

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

SetName sets the Name field's value.

func (*Experiment) SetOnlineAbDefinition

func (s *Experiment) SetOnlineAbDefinition(v *OnlineAbDefinition) *Experiment

SetOnlineAbDefinition sets the OnlineAbDefinition field's value.

func (*Experiment) SetProject

func (s *Experiment) SetProject(v string) *Experiment

SetProject sets the Project field's value.

func (*Experiment) SetRandomizationSalt

func (s *Experiment) SetRandomizationSalt(v string) *Experiment

SetRandomizationSalt sets the RandomizationSalt field's value.

func (*Experiment) SetSamplingRate

func (s *Experiment) SetSamplingRate(v int64) *Experiment

SetSamplingRate sets the SamplingRate field's value.

func (*Experiment) SetSchedule

func (s *Experiment) SetSchedule(v *ExperimentSchedule) *Experiment

SetSchedule sets the Schedule field's value.

func (*Experiment) SetSegment

func (s *Experiment) SetSegment(v string) *Experiment

SetSegment sets the Segment field's value.

func (*Experiment) SetStatus

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

SetStatus sets the Status field's value.

func (*Experiment) SetStatusReason

func (s *Experiment) SetStatusReason(v string) *Experiment

SetStatusReason sets the StatusReason field's value.

func (*Experiment) SetTags

func (s *Experiment) SetTags(v map[string]*string) *Experiment

SetTags sets the Tags field's value.

func (*Experiment) SetTreatments

func (s *Experiment) SetTreatments(v []*Treatment) *Experiment

SetTreatments sets the Treatments field's value.

func (*Experiment) SetType

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

SetType sets the Type field's value.

func (Experiment) String

func (s Experiment) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExperimentExecution

type ExperimentExecution struct {

	// The date and time that the experiment ended.
	EndedTime *time.Time `locationName:"endedTime" type:"timestamp"`

	// The date and time that the experiment started.
	StartedTime *time.Time `locationName:"startedTime" type:"timestamp"`
	// contains filtered or unexported fields
}

This structure contains the date and time that the experiment started and ended.

func (ExperimentExecution) GoString

func (s ExperimentExecution) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExperimentExecution) SetEndedTime

func (s *ExperimentExecution) SetEndedTime(v time.Time) *ExperimentExecution

SetEndedTime sets the EndedTime field's value.

func (*ExperimentExecution) SetStartedTime

func (s *ExperimentExecution) SetStartedTime(v time.Time) *ExperimentExecution

SetStartedTime sets the StartedTime field's value.

func (ExperimentExecution) String

func (s ExperimentExecution) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExperimentReport

type ExperimentReport struct {

	// The content of the report.
	Content *string `locationName:"content" type:"string"`

	// The name of the metric that is analyzed in this experiment report.
	MetricName *string `locationName:"metricName" min:"1" type:"string"`

	// The type of analysis used for this report.
	ReportName *string `locationName:"reportName" type:"string" enum:"ExperimentReportName"`

	// The name of the variation that this report pertains to.
	TreatmentName *string `locationName:"treatmentName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A structure that contains results of an experiment.

func (ExperimentReport) GoString

func (s ExperimentReport) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExperimentReport) SetContent

func (s *ExperimentReport) SetContent(v string) *ExperimentReport

SetContent sets the Content field's value.

func (*ExperimentReport) SetMetricName

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

SetMetricName sets the MetricName field's value.

func (*ExperimentReport) SetReportName

func (s *ExperimentReport) SetReportName(v string) *ExperimentReport

SetReportName sets the ReportName field's value.

func (*ExperimentReport) SetTreatmentName

func (s *ExperimentReport) SetTreatmentName(v string) *ExperimentReport

SetTreatmentName sets the TreatmentName field's value.

func (ExperimentReport) String

func (s ExperimentReport) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExperimentResultsData

type ExperimentResultsData struct {

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

	// The experiment statistic that these results pertain to.
	ResultStat *string `locationName:"resultStat" type:"string" enum:"ExperimentResultResponseType"`

	// The treatment, or variation, that returned the values in this structure.
	TreatmentName *string `locationName:"treatmentName" min:"1" type:"string"`

	// The values for the metricName that were recorded in the experiment.
	Values []*float64 `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

A structure that contains experiment results for one metric that is monitored in the experiment.

func (ExperimentResultsData) GoString

func (s ExperimentResultsData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExperimentResultsData) SetMetricName

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

SetMetricName sets the MetricName field's value.

func (*ExperimentResultsData) SetResultStat

func (s *ExperimentResultsData) SetResultStat(v string) *ExperimentResultsData

SetResultStat sets the ResultStat field's value.

func (*ExperimentResultsData) SetTreatmentName

func (s *ExperimentResultsData) SetTreatmentName(v string) *ExperimentResultsData

SetTreatmentName sets the TreatmentName field's value.

func (*ExperimentResultsData) SetValues

SetValues sets the Values field's value.

func (ExperimentResultsData) String

func (s ExperimentResultsData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExperimentSchedule

type ExperimentSchedule struct {

	// The time and date that Evidently completed the analysis of the experiment.
	AnalysisCompleteTime *time.Time `locationName:"analysisCompleteTime" type:"timestamp"`
	// contains filtered or unexported fields
}

This structure contains the time and date that Evidently completed the analysis of the experiment.

func (ExperimentSchedule) GoString

func (s ExperimentSchedule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExperimentSchedule) SetAnalysisCompleteTime

func (s *ExperimentSchedule) SetAnalysisCompleteTime(v time.Time) *ExperimentSchedule

SetAnalysisCompleteTime sets the AnalysisCompleteTime field's value.

func (ExperimentSchedule) String

func (s ExperimentSchedule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Feature

type Feature struct {

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

	// The date and time that the feature is created.
	//
	// CreatedTime is a required field
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" required:"true"`

	// The name of the variation that is used as the default variation. The default
	// variation is served to users who are not allocated to any ongoing launches
	// or experiments of this feature.
	//
	// This variation must also be listed in the variations structure.
	//
	// If you omit defaultVariation, the first variation listed in the variations
	// structure is used as the default variation.
	DefaultVariation *string `locationName:"defaultVariation" min:"1" type:"string"`

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

	// A set of key-value pairs that specify users who should always be served a
	// specific variation of a feature. Each key specifies a user using their user
	// ID, account ID, or some other identifier. The value specifies the name of
	// the variation that the user is to be served.
	//
	// For the override to be successful, the value of the key must match the entityId
	// used in the EvaluateFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html)
	// operation.
	EntityOverrides map[string]*string `locationName:"entityOverrides" type:"map"`

	// An array of structures that define the evaluation rules for the feature.
	EvaluationRules []*EvaluationRule `locationName:"evaluationRules" type:"list"`

	// If this value is ALL_RULES, the traffic allocation specified by any ongoing
	// launches or experiments is being used. If this is DEFAULT_VARIATION, the
	// default variation is being served to all users.
	//
	// EvaluationStrategy is a required field
	EvaluationStrategy *string `locationName:"evaluationStrategy" type:"string" required:"true" enum:"FeatureEvaluationStrategy"`

	// The date and time that the feature was most recently updated.
	//
	// LastUpdatedTime is a required field
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp" required:"true"`

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

	// The name or ARN of the project that contains the feature.
	Project *string `locationName:"project" type:"string"`

	// The current state of the feature.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"FeatureStatus"`

	// The list of tag keys and values associated with this feature.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// Defines the type of value used to define the different feature variations.
	// For more information, see Variation types (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-variationtypes.html)
	//
	// ValueType is a required field
	ValueType *string `locationName:"valueType" type:"string" required:"true" enum:"VariationValueType"`

	// An array of structures that contain the configuration of the feature's different
	// variations.
	//
	// Variations is a required field
	Variations []*Variation `locationName:"variations" type:"list" required:"true"`
	// contains filtered or unexported fields
}

This structure contains information about one Evidently feature in your account.

func (Feature) GoString

func (s Feature) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Feature) SetArn

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

SetArn sets the Arn field's value.

func (*Feature) SetCreatedTime

func (s *Feature) SetCreatedTime(v time.Time) *Feature

SetCreatedTime sets the CreatedTime field's value.

func (*Feature) SetDefaultVariation

func (s *Feature) SetDefaultVariation(v string) *Feature

SetDefaultVariation sets the DefaultVariation field's value.

func (*Feature) SetDescription

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

SetDescription sets the Description field's value.

func (*Feature) SetEntityOverrides

func (s *Feature) SetEntityOverrides(v map[string]*string) *Feature

SetEntityOverrides sets the EntityOverrides field's value.

func (*Feature) SetEvaluationRules

func (s *Feature) SetEvaluationRules(v []*EvaluationRule) *Feature

SetEvaluationRules sets the EvaluationRules field's value.

func (*Feature) SetEvaluationStrategy

func (s *Feature) SetEvaluationStrategy(v string) *Feature

SetEvaluationStrategy sets the EvaluationStrategy field's value.

func (*Feature) SetLastUpdatedTime

func (s *Feature) SetLastUpdatedTime(v time.Time) *Feature

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Feature) SetName

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

SetName sets the Name field's value.

func (*Feature) SetProject

func (s *Feature) SetProject(v string) *Feature

SetProject sets the Project field's value.

func (*Feature) SetStatus

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

SetStatus sets the Status field's value.

func (*Feature) SetTags

func (s *Feature) SetTags(v map[string]*string) *Feature

SetTags sets the Tags field's value.

func (*Feature) SetValueType

func (s *Feature) SetValueType(v string) *Feature

SetValueType sets the ValueType field's value.

func (*Feature) SetVariations

func (s *Feature) SetVariations(v []*Variation) *Feature

SetVariations sets the Variations field's value.

func (Feature) String

func (s Feature) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FeatureSummary

type FeatureSummary struct {

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

	// The date and time that the feature is created.
	//
	// CreatedTime is a required field
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" required:"true"`

	// The name of the variation that is used as the default variation. The default
	// variation is served to users who are not allocated to any ongoing launches
	// or experiments of this feature.
	DefaultVariation *string `locationName:"defaultVariation" min:"1" type:"string"`

	// An array of structures that define
	EvaluationRules []*EvaluationRule `locationName:"evaluationRules" type:"list"`

	// If this value is ALL_RULES, the traffic allocation specified by any ongoing
	// launches or experiments is being used. If this is DEFAULT_VARIATION, the
	// default variation is being served to all users.
	//
	// EvaluationStrategy is a required field
	EvaluationStrategy *string `locationName:"evaluationStrategy" type:"string" required:"true" enum:"FeatureEvaluationStrategy"`

	// The date and time that the feature was most recently updated.
	//
	// LastUpdatedTime is a required field
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp" required:"true"`

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

	// The name or ARN of the project that contains the feature.
	Project *string `locationName:"project" type:"string"`

	// The current state of the feature.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"FeatureStatus"`

	// The list of tag keys and values associated with this feature.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

This structure contains information about one Evidently feature in your account.

func (FeatureSummary) GoString

func (s FeatureSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FeatureSummary) SetArn

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

SetArn sets the Arn field's value.

func (*FeatureSummary) SetCreatedTime

func (s *FeatureSummary) SetCreatedTime(v time.Time) *FeatureSummary

SetCreatedTime sets the CreatedTime field's value.

func (*FeatureSummary) SetDefaultVariation

func (s *FeatureSummary) SetDefaultVariation(v string) *FeatureSummary

SetDefaultVariation sets the DefaultVariation field's value.

func (*FeatureSummary) SetEvaluationRules

func (s *FeatureSummary) SetEvaluationRules(v []*EvaluationRule) *FeatureSummary

SetEvaluationRules sets the EvaluationRules field's value.

func (*FeatureSummary) SetEvaluationStrategy

func (s *FeatureSummary) SetEvaluationStrategy(v string) *FeatureSummary

SetEvaluationStrategy sets the EvaluationStrategy field's value.

func (*FeatureSummary) SetLastUpdatedTime

func (s *FeatureSummary) SetLastUpdatedTime(v time.Time) *FeatureSummary

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*FeatureSummary) SetName

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

SetName sets the Name field's value.

func (*FeatureSummary) SetProject

func (s *FeatureSummary) SetProject(v string) *FeatureSummary

SetProject sets the Project field's value.

func (*FeatureSummary) SetStatus

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

SetStatus sets the Status field's value.

func (*FeatureSummary) SetTags

func (s *FeatureSummary) SetTags(v map[string]*string) *FeatureSummary

SetTags sets the Tags field's value.

func (FeatureSummary) String

func (s FeatureSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetExperimentInput

type GetExperimentInput struct {

	// The name of the experiment that you want to see the details of.
	//
	// Experiment is a required field
	Experiment *string `location:"uri" locationName:"experiment" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the experiment.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetExperimentInput) GoString

func (s GetExperimentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExperimentInput) SetExperiment

func (s *GetExperimentInput) SetExperiment(v string) *GetExperimentInput

SetExperiment sets the Experiment field's value.

func (*GetExperimentInput) SetProject

func (s *GetExperimentInput) SetProject(v string) *GetExperimentInput

SetProject sets the Project field's value.

func (GetExperimentInput) String

func (s GetExperimentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExperimentInput) Validate

func (s *GetExperimentInput) Validate() error

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

type GetExperimentOutput

type GetExperimentOutput struct {

	// A structure containing the configuration details of the experiment.
	Experiment *Experiment `locationName:"experiment" type:"structure"`
	// contains filtered or unexported fields
}

func (GetExperimentOutput) GoString

func (s GetExperimentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExperimentOutput) SetExperiment

func (s *GetExperimentOutput) SetExperiment(v *Experiment) *GetExperimentOutput

SetExperiment sets the Experiment field's value.

func (GetExperimentOutput) String

func (s GetExperimentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetExperimentResultsInput

type GetExperimentResultsInput struct {

	// The statistic used to calculate experiment results. Currently the only valid
	// value is mean, which uses the mean of the collected values as the statistic.
	BaseStat *string `locationName:"baseStat" type:"string" enum:"ExperimentBaseStat"`

	// The date and time that the experiment ended, if it is completed. This must
	// be no longer than 30 days after the experiment start time.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The name of the experiment to retrieve the results of.
	//
	// Experiment is a required field
	Experiment *string `location:"uri" locationName:"experiment" min:"1" type:"string" required:"true"`

	// The names of the experiment metrics that you want to see the results of.
	//
	// MetricNames is a required field
	MetricNames []*string `locationName:"metricNames" min:"1" type:"list" required:"true"`

	// In seconds, the amount of time to aggregate results together.
	Period *int64 `locationName:"period" min:"300" type:"long"`

	// The name or ARN of the project that contains the experiment that you want
	// to see the results of.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// The names of the report types that you want to see. Currently, BayesianInference
	// is the only valid value.
	ReportNames []*string `locationName:"reportNames" type:"list" enum:"ExperimentReportName"`

	// The statistics that you want to see in the returned results.
	//
	//    * PValue specifies to use p-values for the results. A p-value is used
	//    in hypothesis testing to measure how often you are willing to make a mistake
	//    in rejecting the null hypothesis. A general practice is to reject the
	//    null hypothesis and declare that the results are statistically significant
	//    when the p-value is less than 0.05.
	//
	//    * ConfidenceInterval specifies a confidence interval for the results.
	//    The confidence interval represents the range of values for the chosen
	//    metric that is likely to contain the true difference between the baseStat
	//    of a variation and the baseline. Evidently returns the 95% confidence
	//    interval.
	//
	//    * TreatmentEffect is the difference in the statistic specified by the
	//    baseStat parameter between each variation and the default variation.
	//
	//    * BaseStat returns the statistical values collected for the metric for
	//    each variation. The statistic uses the same statistic specified in the
	//    baseStat parameter. Therefore, if baseStat is mean, this returns the mean
	//    of the values collected for each variation.
	ResultStats []*string `locationName:"resultStats" type:"list" enum:"ExperimentResultRequestType"`

	// The date and time that the experiment started.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// The names of the experiment treatments that you want to see the results for.
	//
	// TreatmentNames is a required field
	TreatmentNames []*string `locationName:"treatmentNames" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (GetExperimentResultsInput) GoString

func (s GetExperimentResultsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExperimentResultsInput) SetBaseStat

SetBaseStat sets the BaseStat field's value.

func (*GetExperimentResultsInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*GetExperimentResultsInput) SetExperiment

SetExperiment sets the Experiment field's value.

func (*GetExperimentResultsInput) SetMetricNames

SetMetricNames sets the MetricNames field's value.

func (*GetExperimentResultsInput) SetPeriod

SetPeriod sets the Period field's value.

func (*GetExperimentResultsInput) SetProject

SetProject sets the Project field's value.

func (*GetExperimentResultsInput) SetReportNames

SetReportNames sets the ReportNames field's value.

func (*GetExperimentResultsInput) SetResultStats

SetResultStats sets the ResultStats field's value.

func (*GetExperimentResultsInput) SetStartTime

SetStartTime sets the StartTime field's value.

func (*GetExperimentResultsInput) SetTreatmentNames

func (s *GetExperimentResultsInput) SetTreatmentNames(v []*string) *GetExperimentResultsInput

SetTreatmentNames sets the TreatmentNames field's value.

func (GetExperimentResultsInput) String

func (s GetExperimentResultsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExperimentResultsInput) Validate

func (s *GetExperimentResultsInput) Validate() error

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

type GetExperimentResultsOutput

type GetExperimentResultsOutput struct {

	// If the experiment doesn't yet have enough events to provide valid results,
	// this field is returned with the message Not enough events to generate results.
	// If there are enough events to provide valid results, this field is not returned.
	Details *string `locationName:"details" type:"string"`

	// An array of structures that include the reports that you requested.
	Reports []*ExperimentReport `locationName:"reports" type:"list"`

	// An array of structures that include experiment results including metric names
	// and values.
	ResultsData []*ExperimentResultsData `locationName:"resultsData" type:"list"`

	// The timestamps of each result returned.
	Timestamps []*time.Time `locationName:"timestamps" type:"list"`
	// contains filtered or unexported fields
}

func (GetExperimentResultsOutput) GoString

func (s GetExperimentResultsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExperimentResultsOutput) SetDetails

SetDetails sets the Details field's value.

func (*GetExperimentResultsOutput) SetReports

SetReports sets the Reports field's value.

func (*GetExperimentResultsOutput) SetResultsData

SetResultsData sets the ResultsData field's value.

func (*GetExperimentResultsOutput) SetTimestamps

SetTimestamps sets the Timestamps field's value.

func (GetExperimentResultsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetFeatureInput

type GetFeatureInput struct {

	// The name of the feature that you want to retrieve information for.
	//
	// Feature is a required field
	Feature *string `location:"uri" locationName:"feature" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the feature.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetFeatureInput) GoString

func (s GetFeatureInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFeatureInput) SetFeature

func (s *GetFeatureInput) SetFeature(v string) *GetFeatureInput

SetFeature sets the Feature field's value.

func (*GetFeatureInput) SetProject

func (s *GetFeatureInput) SetProject(v string) *GetFeatureInput

SetProject sets the Project field's value.

func (GetFeatureInput) String

func (s GetFeatureInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFeatureInput) Validate

func (s *GetFeatureInput) Validate() error

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

type GetFeatureOutput

type GetFeatureOutput struct {

	// A structure containing the configuration details of the feature.
	//
	// Feature is a required field
	Feature *Feature `locationName:"feature" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetFeatureOutput) GoString

func (s GetFeatureOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFeatureOutput) SetFeature

func (s *GetFeatureOutput) SetFeature(v *Feature) *GetFeatureOutput

SetFeature sets the Feature field's value.

func (GetFeatureOutput) String

func (s GetFeatureOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetLaunchInput

type GetLaunchInput struct {

	// The name of the launch that you want to see the details of.
	//
	// Launch is a required field
	Launch *string `location:"uri" locationName:"launch" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the launch.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetLaunchInput) GoString

func (s GetLaunchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetLaunchInput) SetLaunch

func (s *GetLaunchInput) SetLaunch(v string) *GetLaunchInput

SetLaunch sets the Launch field's value.

func (*GetLaunchInput) SetProject

func (s *GetLaunchInput) SetProject(v string) *GetLaunchInput

SetProject sets the Project field's value.

func (GetLaunchInput) String

func (s GetLaunchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetLaunchInput) Validate

func (s *GetLaunchInput) Validate() error

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

type GetLaunchOutput

type GetLaunchOutput struct {

	// A structure containing the configuration details of the launch.
	Launch *Launch `locationName:"launch" type:"structure"`
	// contains filtered or unexported fields
}

func (GetLaunchOutput) GoString

func (s GetLaunchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetLaunchOutput) SetLaunch

func (s *GetLaunchOutput) SetLaunch(v *Launch) *GetLaunchOutput

SetLaunch sets the Launch field's value.

func (GetLaunchOutput) String

func (s GetLaunchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetProjectInput

type GetProjectInput struct {

	// The name or ARN of the project that you want to see the details of.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetProjectInput) GoString

func (s GetProjectInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetProjectInput) SetProject

func (s *GetProjectInput) SetProject(v string) *GetProjectInput

SetProject sets the Project field's value.

func (GetProjectInput) String

func (s GetProjectInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetProjectInput) Validate

func (s *GetProjectInput) Validate() error

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

type GetProjectOutput

type GetProjectOutput struct {

	// A structure containing the configuration details of the project.
	//
	// Project is a required field
	Project *Project `locationName:"project" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetProjectOutput) GoString

func (s GetProjectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetProjectOutput) SetProject

func (s *GetProjectOutput) SetProject(v *Project) *GetProjectOutput

SetProject sets the Project field's value.

func (GetProjectOutput) String

func (s GetProjectOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetSegmentInput

type GetSegmentInput struct {

	// The ARN of the segment to return information for.
	//
	// Segment is a required field
	Segment *string `location:"uri" locationName:"segment" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetSegmentInput) GoString

func (s GetSegmentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSegmentInput) SetSegment

func (s *GetSegmentInput) SetSegment(v string) *GetSegmentInput

SetSegment sets the Segment field's value.

func (GetSegmentInput) String

func (s GetSegmentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSegmentInput) Validate

func (s *GetSegmentInput) Validate() error

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

type GetSegmentOutput

type GetSegmentOutput struct {

	// A structure that contains the complete information about the segment.
	//
	// Segment is a required field
	Segment *Segment `locationName:"segment" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetSegmentOutput) GoString

func (s GetSegmentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSegmentOutput) SetSegment

func (s *GetSegmentOutput) SetSegment(v *Segment) *GetSegmentOutput

SetSegment sets the Segment field's value.

func (GetSegmentOutput) String

func (s GetSegmentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

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

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

Unexpected error while processing the request. Retry the request.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Launch

type Launch struct {

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

	// The date and time that the launch is created.
	//
	// CreatedTime is a required field
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" required:"true"`

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

	// A structure that contains information about the start and end times of the
	// launch.
	Execution *LaunchExecution `locationName:"execution" type:"structure"`

	// An array of structures that define the feature variations that are being
	// used in the launch.
	Groups []*LaunchGroup `locationName:"groups" type:"list"`

	// The date and time that the launch was most recently updated.
	//
	// LastUpdatedTime is a required field
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp" required:"true"`

	// An array of structures that define the metrics that are being used to monitor
	// the launch performance.
	MetricMonitors []*MetricMonitor `locationName:"metricMonitors" type:"list"`

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

	// The name or ARN of the project that contains the launch.
	Project *string `locationName:"project" type:"string"`

	// This value is used when Evidently assigns a particular user session to the
	// launch, to help create a randomization ID to determine which variation the
	// user session is served. This randomization ID is a combination of the entity
	// ID and randomizationSalt.
	RandomizationSalt *string `locationName:"randomizationSalt" type:"string"`

	// An array of structures that define the traffic allocation percentages among
	// the feature variations during each step of the launch.
	ScheduledSplitsDefinition *ScheduledSplitsLaunchDefinition `locationName:"scheduledSplitsDefinition" type:"structure"`

	// The current state of the launch.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"LaunchStatus"`

	// If the launch was stopped, this is the string that was entered by the person
	// who stopped the launch, to explain why it was stopped.
	StatusReason *string `locationName:"statusReason" type:"string"`

	// The list of tag keys and values associated with this launch.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The type of launch.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"LaunchType"`
	// contains filtered or unexported fields
}

This structure contains the configuration details of one Evidently launch.

func (Launch) GoString

func (s Launch) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Launch) SetArn

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

SetArn sets the Arn field's value.

func (*Launch) SetCreatedTime

func (s *Launch) SetCreatedTime(v time.Time) *Launch

SetCreatedTime sets the CreatedTime field's value.

func (*Launch) SetDescription

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

SetDescription sets the Description field's value.

func (*Launch) SetExecution

func (s *Launch) SetExecution(v *LaunchExecution) *Launch

SetExecution sets the Execution field's value.

func (*Launch) SetGroups

func (s *Launch) SetGroups(v []*LaunchGroup) *Launch

SetGroups sets the Groups field's value.

func (*Launch) SetLastUpdatedTime

func (s *Launch) SetLastUpdatedTime(v time.Time) *Launch

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Launch) SetMetricMonitors

func (s *Launch) SetMetricMonitors(v []*MetricMonitor) *Launch

SetMetricMonitors sets the MetricMonitors field's value.

func (*Launch) SetName

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

SetName sets the Name field's value.

func (*Launch) SetProject

func (s *Launch) SetProject(v string) *Launch

SetProject sets the Project field's value.

func (*Launch) SetRandomizationSalt

func (s *Launch) SetRandomizationSalt(v string) *Launch

SetRandomizationSalt sets the RandomizationSalt field's value.

func (*Launch) SetScheduledSplitsDefinition

func (s *Launch) SetScheduledSplitsDefinition(v *ScheduledSplitsLaunchDefinition) *Launch

SetScheduledSplitsDefinition sets the ScheduledSplitsDefinition field's value.

func (*Launch) SetStatus

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

SetStatus sets the Status field's value.

func (*Launch) SetStatusReason

func (s *Launch) SetStatusReason(v string) *Launch

SetStatusReason sets the StatusReason field's value.

func (*Launch) SetTags

func (s *Launch) SetTags(v map[string]*string) *Launch

SetTags sets the Tags field's value.

func (*Launch) SetType

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

SetType sets the Type field's value.

func (Launch) String

func (s Launch) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LaunchExecution

type LaunchExecution struct {

	// The date and time that the launch ended.
	EndedTime *time.Time `locationName:"endedTime" type:"timestamp"`

	// The date and time that the launch started.
	StartedTime *time.Time `locationName:"startedTime" type:"timestamp"`
	// contains filtered or unexported fields
}

This structure contains information about the start and end times of the launch.

func (LaunchExecution) GoString

func (s LaunchExecution) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LaunchExecution) SetEndedTime

func (s *LaunchExecution) SetEndedTime(v time.Time) *LaunchExecution

SetEndedTime sets the EndedTime field's value.

func (*LaunchExecution) SetStartedTime

func (s *LaunchExecution) SetStartedTime(v time.Time) *LaunchExecution

SetStartedTime sets the StartedTime field's value.

func (LaunchExecution) String

func (s LaunchExecution) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LaunchGroup

type LaunchGroup struct {

	// A description of the launch group.
	Description *string `locationName:"description" type:"string"`

	// The feature variation for this launch group. This is a key-value pair.
	//
	// FeatureVariations is a required field
	FeatureVariations map[string]*string `locationName:"featureVariations" type:"map" required:"true"`

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

A structure that defines one launch group in a launch. A launch group is a variation of the feature that you are including in the launch.

func (LaunchGroup) GoString

func (s LaunchGroup) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LaunchGroup) SetDescription

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

SetDescription sets the Description field's value.

func (*LaunchGroup) SetFeatureVariations

func (s *LaunchGroup) SetFeatureVariations(v map[string]*string) *LaunchGroup

SetFeatureVariations sets the FeatureVariations field's value.

func (*LaunchGroup) SetName

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

SetName sets the Name field's value.

func (LaunchGroup) String

func (s LaunchGroup) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LaunchGroupConfig

type LaunchGroupConfig struct {

	// A description of the launch group.
	Description *string `locationName:"description" type:"string"`

	// The feature that this launch is using.
	//
	// Feature is a required field
	Feature *string `locationName:"feature" min:"1" type:"string" required:"true"`

	// A name for this launch group.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The feature variation to use for this launch group.
	//
	// Variation is a required field
	Variation *string `locationName:"variation" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A structure that defines one launch group in a launch. A launch group is a variation of the feature that you are including in the launch.

func (LaunchGroupConfig) GoString

func (s LaunchGroupConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LaunchGroupConfig) SetDescription

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

SetDescription sets the Description field's value.

func (*LaunchGroupConfig) SetFeature

func (s *LaunchGroupConfig) SetFeature(v string) *LaunchGroupConfig

SetFeature sets the Feature field's value.

func (*LaunchGroupConfig) SetName

SetName sets the Name field's value.

func (*LaunchGroupConfig) SetVariation

func (s *LaunchGroupConfig) SetVariation(v string) *LaunchGroupConfig

SetVariation sets the Variation field's value.

func (LaunchGroupConfig) String

func (s LaunchGroupConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LaunchGroupConfig) Validate

func (s *LaunchGroupConfig) Validate() error

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

type ListExperimentsInput

type ListExperimentsInput struct {

	// The maximum number of results to include in the response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to use when requesting the next set of results. You received this
	// token from a previous ListExperiments operation.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The name or ARN of the project to return the experiment list from.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// Use this optional parameter to limit the returned results to only the experiments
	// with the status that you specify here.
	Status *string `location:"querystring" locationName:"status" type:"string" enum:"ExperimentStatus"`
	// contains filtered or unexported fields
}

func (ListExperimentsInput) GoString

func (s ListExperimentsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListExperimentsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListExperimentsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListExperimentsInput) SetProject

SetProject sets the Project field's value.

func (*ListExperimentsInput) SetStatus

SetStatus sets the Status field's value.

func (ListExperimentsInput) String

func (s ListExperimentsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListExperimentsInput) Validate

func (s *ListExperimentsInput) Validate() error

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

type ListExperimentsOutput

type ListExperimentsOutput struct {

	// An array of structures that contain the configuration details of the experiments
	// in the specified project.
	Experiments []*Experiment `locationName:"experiments" type:"list"`

	// The token to use in a subsequent ListExperiments operation to return the
	// next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListExperimentsOutput) GoString

func (s ListExperimentsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListExperimentsOutput) SetExperiments

func (s *ListExperimentsOutput) SetExperiments(v []*Experiment) *ListExperimentsOutput

SetExperiments sets the Experiments field's value.

func (*ListExperimentsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListExperimentsOutput) String

func (s ListExperimentsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListFeaturesInput

type ListFeaturesInput struct {

	// The maximum number of results to include in the response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to use when requesting the next set of results. You received this
	// token from a previous ListFeatures operation.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The name or ARN of the project to return the feature list from.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListFeaturesInput) GoString

func (s ListFeaturesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFeaturesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListFeaturesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListFeaturesInput) SetProject

func (s *ListFeaturesInput) SetProject(v string) *ListFeaturesInput

SetProject sets the Project field's value.

func (ListFeaturesInput) String

func (s ListFeaturesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFeaturesInput) Validate

func (s *ListFeaturesInput) Validate() error

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

type ListFeaturesOutput

type ListFeaturesOutput struct {

	// An array of structures that contain the configuration details of the features
	// in the specified project.
	Features []*FeatureSummary `locationName:"features" type:"list"`

	// The token to use in a subsequent ListFeatures operation to return the next
	// set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListFeaturesOutput) GoString

func (s ListFeaturesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFeaturesOutput) SetFeatures

SetFeatures sets the Features field's value.

func (*ListFeaturesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListFeaturesOutput) String

func (s ListFeaturesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListLaunchesInput

type ListLaunchesInput struct {

	// The maximum number of results to include in the response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to use when requesting the next set of results. You received this
	// token from a previous ListLaunches operation.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The name or ARN of the project to return the launch list from.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// Use this optional parameter to limit the returned results to only the launches
	// with the status that you specify here.
	Status *string `location:"querystring" locationName:"status" type:"string" enum:"LaunchStatus"`
	// contains filtered or unexported fields
}

func (ListLaunchesInput) GoString

func (s ListLaunchesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLaunchesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListLaunchesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListLaunchesInput) SetProject

func (s *ListLaunchesInput) SetProject(v string) *ListLaunchesInput

SetProject sets the Project field's value.

func (*ListLaunchesInput) SetStatus

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

SetStatus sets the Status field's value.

func (ListLaunchesInput) String

func (s ListLaunchesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLaunchesInput) Validate

func (s *ListLaunchesInput) Validate() error

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

type ListLaunchesOutput

type ListLaunchesOutput struct {

	// An array of structures that contain the configuration details of the launches
	// in the specified project.
	Launches []*Launch `locationName:"launches" type:"list"`

	// The token to use in a subsequent ListLaunches operation to return the next
	// set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListLaunchesOutput) GoString

func (s ListLaunchesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLaunchesOutput) SetLaunches

func (s *ListLaunchesOutput) SetLaunches(v []*Launch) *ListLaunchesOutput

SetLaunches sets the Launches field's value.

func (*ListLaunchesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListLaunchesOutput) String

func (s ListLaunchesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListProjectsInput

type ListProjectsInput struct {

	// The maximum number of results to include in the response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to use when requesting the next set of results. You received this
	// token from a previous ListProjects operation.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListProjectsInput) GoString

func (s ListProjectsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProjectsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListProjectsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListProjectsInput) String

func (s ListProjectsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProjectsInput) Validate

func (s *ListProjectsInput) Validate() error

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

type ListProjectsOutput

type ListProjectsOutput struct {

	// The token to use in a subsequent ListProjects operation to return the next
	// set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// An array of structures that contain the configuration details of the projects
	// in the Region.
	Projects []*ProjectSummary `locationName:"projects" type:"list"`
	// contains filtered or unexported fields
}

func (ListProjectsOutput) GoString

func (s ListProjectsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProjectsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListProjectsOutput) SetProjects

SetProjects sets the Projects field's value.

func (ListProjectsOutput) String

func (s ListProjectsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSegmentReferencesInput

type ListSegmentReferencesInput struct {

	// The maximum number of results to include in the response. If you omit this,
	// the default of 50 is used.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to use when requesting the next set of results. You received this
	// token from a previous ListSegmentReferences operation.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The ARN of the segment that you want to view information for.
	//
	// Segment is a required field
	Segment *string `location:"uri" locationName:"segment" type:"string" required:"true"`

	// Specifies whether to return information about launches or experiments that
	// use this segment.
	//
	// Type is a required field
	Type *string `location:"querystring" locationName:"type" type:"string" required:"true" enum:"SegmentReferenceResourceType"`
	// contains filtered or unexported fields
}

func (ListSegmentReferencesInput) GoString

func (s ListSegmentReferencesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSegmentReferencesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListSegmentReferencesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSegmentReferencesInput) SetSegment

SetSegment sets the Segment field's value.

func (*ListSegmentReferencesInput) SetType

SetType sets the Type field's value.

func (ListSegmentReferencesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSegmentReferencesInput) Validate

func (s *ListSegmentReferencesInput) Validate() error

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

type ListSegmentReferencesOutput

type ListSegmentReferencesOutput struct {

	// The token to use in a subsequent ListSegmentReferences operation to return
	// the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// An array of structures, where each structure contains information about one
	// experiment or launch that uses this segment.
	ReferencedBy []*RefResource `locationName:"referencedBy" type:"list"`
	// contains filtered or unexported fields
}

func (ListSegmentReferencesOutput) GoString

func (s ListSegmentReferencesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSegmentReferencesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSegmentReferencesOutput) SetReferencedBy

SetReferencedBy sets the ReferencedBy field's value.

func (ListSegmentReferencesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSegmentsInput

type ListSegmentsInput struct {

	// The maximum number of results to include in the response. If you omit this,
	// the default of 50 is used.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to use when requesting the next set of results. You received this
	// token from a previous ListSegments operation.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListSegmentsInput) GoString

func (s ListSegmentsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSegmentsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListSegmentsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListSegmentsInput) String

func (s ListSegmentsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSegmentsInput) Validate

func (s *ListSegmentsInput) Validate() error

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

type ListSegmentsOutput

type ListSegmentsOutput struct {

	// The token to use in a subsequent ListSegments operation to return the next
	// set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// An array of structures that contain information about the segments in this
	// Region.
	Segments []*Segment `locationName:"segments" type:"list"`
	// contains filtered or unexported fields
}

func (ListSegmentsOutput) GoString

func (s ListSegmentsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSegmentsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListSegmentsOutput) SetSegments

func (s *ListSegmentsOutput) SetSegments(v []*Segment) *ListSegmentsOutput

SetSegments sets the Segments field's value.

func (ListSegmentsOutput) String

func (s ListSegmentsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The ARN of the resource that you want to see the tags of.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The list of tag keys and values associated with the resource you specified.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MetricDefinition

type MetricDefinition struct {

	// The entity, such as a user or session, that does an action that causes a
	// metric value to be recorded.
	EntityIdKey *string `locationName:"entityIdKey" min:"1" type:"string"`

	// The EventBridge event pattern that defines how the metric is recorded.
	//
	// For more information about EventBridge event patterns, see Amazon EventBridge
	// event patterns (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html).
	EventPattern *string `locationName:"eventPattern" type:"string"`

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

	// The label for the units that the metric is measuring.
	UnitLabel *string `locationName:"unitLabel" min:"1" type:"string"`

	// The value that is tracked to produce the metric.
	ValueKey *string `locationName:"valueKey" min:"1" type:"string"`
	// contains filtered or unexported fields
}

This structure defines a metric that is being used to evaluate the variations during a launch or experiment.

func (MetricDefinition) GoString

func (s MetricDefinition) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricDefinition) SetEntityIdKey

func (s *MetricDefinition) SetEntityIdKey(v string) *MetricDefinition

SetEntityIdKey sets the EntityIdKey field's value.

func (*MetricDefinition) SetEventPattern

func (s *MetricDefinition) SetEventPattern(v string) *MetricDefinition

SetEventPattern sets the EventPattern field's value.

func (*MetricDefinition) SetName

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

SetName sets the Name field's value.

func (*MetricDefinition) SetUnitLabel

func (s *MetricDefinition) SetUnitLabel(v string) *MetricDefinition

SetUnitLabel sets the UnitLabel field's value.

func (*MetricDefinition) SetValueKey

func (s *MetricDefinition) SetValueKey(v string) *MetricDefinition

SetValueKey sets the ValueKey field's value.

func (MetricDefinition) String

func (s MetricDefinition) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MetricDefinitionConfig

type MetricDefinitionConfig struct {

	// The entity, such as a user or session, that does an action that causes a
	// metric value to be recorded. An example is userDetails.userID.
	//
	// EntityIdKey is a required field
	EntityIdKey *string `locationName:"entityIdKey" min:"1" type:"string" required:"true"`

	// The EventBridge event pattern that defines how the metric is recorded.
	//
	// For more information about EventBridge event patterns, see Amazon EventBridge
	// event patterns (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html).
	EventPattern *string `locationName:"eventPattern" type:"string"`

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

	// A label for the units that the metric is measuring.
	UnitLabel *string `locationName:"unitLabel" min:"1" type:"string"`

	// The value that is tracked to produce the metric.
	//
	// ValueKey is a required field
	ValueKey *string `locationName:"valueKey" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

This structure defines a metric that you want to use to evaluate the variations during a launch or experiment.

func (MetricDefinitionConfig) GoString

func (s MetricDefinitionConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricDefinitionConfig) SetEntityIdKey

SetEntityIdKey sets the EntityIdKey field's value.

func (*MetricDefinitionConfig) SetEventPattern

func (s *MetricDefinitionConfig) SetEventPattern(v string) *MetricDefinitionConfig

SetEventPattern sets the EventPattern field's value.

func (*MetricDefinitionConfig) SetName

SetName sets the Name field's value.

func (*MetricDefinitionConfig) SetUnitLabel

SetUnitLabel sets the UnitLabel field's value.

func (*MetricDefinitionConfig) SetValueKey

SetValueKey sets the ValueKey field's value.

func (MetricDefinitionConfig) String

func (s MetricDefinitionConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricDefinitionConfig) Validate

func (s *MetricDefinitionConfig) Validate() error

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

type MetricGoal

type MetricGoal struct {

	// INCREASE means that a variation with a higher number for this metric is performing
	// better.
	//
	// DECREASE means that a variation with a lower number for this metric is performing
	// better.
	DesiredChange *string `locationName:"desiredChange" type:"string" enum:"ChangeDirectionEnum"`

	// A structure that contains details about the metric.
	//
	// MetricDefinition is a required field
	MetricDefinition *MetricDefinition `locationName:"metricDefinition" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A structure that tells Evidently whether higher or lower values are desired for a metric that is used in an experiment.

func (MetricGoal) GoString

func (s MetricGoal) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricGoal) SetDesiredChange

func (s *MetricGoal) SetDesiredChange(v string) *MetricGoal

SetDesiredChange sets the DesiredChange field's value.

func (*MetricGoal) SetMetricDefinition

func (s *MetricGoal) SetMetricDefinition(v *MetricDefinition) *MetricGoal

SetMetricDefinition sets the MetricDefinition field's value.

func (MetricGoal) String

func (s MetricGoal) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MetricGoalConfig

type MetricGoalConfig struct {

	// INCREASE means that a variation with a higher number for this metric is performing
	// better.
	//
	// DECREASE means that a variation with a lower number for this metric is performing
	// better.
	DesiredChange *string `locationName:"desiredChange" type:"string" enum:"ChangeDirectionEnum"`

	// A structure that contains details about the metric.
	//
	// MetricDefinition is a required field
	MetricDefinition *MetricDefinitionConfig `locationName:"metricDefinition" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Use this structure to tell Evidently whether higher or lower values are desired for a metric that is used in an experiment.

func (MetricGoalConfig) GoString

func (s MetricGoalConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricGoalConfig) SetDesiredChange

func (s *MetricGoalConfig) SetDesiredChange(v string) *MetricGoalConfig

SetDesiredChange sets the DesiredChange field's value.

func (*MetricGoalConfig) SetMetricDefinition

func (s *MetricGoalConfig) SetMetricDefinition(v *MetricDefinitionConfig) *MetricGoalConfig

SetMetricDefinition sets the MetricDefinition field's value.

func (MetricGoalConfig) String

func (s MetricGoalConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricGoalConfig) Validate

func (s *MetricGoalConfig) Validate() error

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

type MetricMonitor

type MetricMonitor struct {

	// A structure that defines the metric.
	//
	// MetricDefinition is a required field
	MetricDefinition *MetricDefinition `locationName:"metricDefinition" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A structure that defines a metric to be used to monitor performance of the variations during a launch.

func (MetricMonitor) GoString

func (s MetricMonitor) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricMonitor) SetMetricDefinition

func (s *MetricMonitor) SetMetricDefinition(v *MetricDefinition) *MetricMonitor

SetMetricDefinition sets the MetricDefinition field's value.

func (MetricMonitor) String

func (s MetricMonitor) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MetricMonitorConfig

type MetricMonitorConfig struct {

	// A structure that defines the metric.
	//
	// MetricDefinition is a required field
	MetricDefinition *MetricDefinitionConfig `locationName:"metricDefinition" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A structure that defines a metric to be used to monitor performance of the variations during a launch.

func (MetricMonitorConfig) GoString

func (s MetricMonitorConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricMonitorConfig) SetMetricDefinition

SetMetricDefinition sets the MetricDefinition field's value.

func (MetricMonitorConfig) String

func (s MetricMonitorConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricMonitorConfig) Validate

func (s *MetricMonitorConfig) Validate() error

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

type OnlineAbConfig

type OnlineAbConfig struct {

	// The name of the variation that is to be the default variation that the other
	// variations are compared to.
	ControlTreatmentName *string `locationName:"controlTreatmentName" min:"1" type:"string"`

	// A set of key-value pairs. The keys are variation names, and the values are
	// the portion of experiment traffic to be assigned to that variation. Specify
	// the traffic portion in thousandths of a percent, so 20,000 for a variation
	// would allocate 20% of the experiment traffic to that variation.
	TreatmentWeights map[string]*int64 `locationName:"treatmentWeights" type:"map"`
	// contains filtered or unexported fields
}

A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

func (OnlineAbConfig) GoString

func (s OnlineAbConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OnlineAbConfig) SetControlTreatmentName

func (s *OnlineAbConfig) SetControlTreatmentName(v string) *OnlineAbConfig

SetControlTreatmentName sets the ControlTreatmentName field's value.

func (*OnlineAbConfig) SetTreatmentWeights

func (s *OnlineAbConfig) SetTreatmentWeights(v map[string]*int64) *OnlineAbConfig

SetTreatmentWeights sets the TreatmentWeights field's value.

func (OnlineAbConfig) String

func (s OnlineAbConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OnlineAbConfig) Validate

func (s *OnlineAbConfig) Validate() error

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

type OnlineAbDefinition

type OnlineAbDefinition struct {

	// The name of the variation that is the default variation that the other variations
	// are compared to.
	ControlTreatmentName *string `locationName:"controlTreatmentName" min:"1" type:"string"`

	// A set of key-value pairs. The keys are variation names, and the values are
	// the portion of experiment traffic to be assigned to that variation. The traffic
	// portion is specified in thousandths of a percent, so 20,000 for a variation
	// would allocate 20% of the experiment traffic to that variation.
	TreatmentWeights map[string]*int64 `locationName:"treatmentWeights" type:"map"`
	// contains filtered or unexported fields
}

A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

func (OnlineAbDefinition) GoString

func (s OnlineAbDefinition) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OnlineAbDefinition) SetControlTreatmentName

func (s *OnlineAbDefinition) SetControlTreatmentName(v string) *OnlineAbDefinition

SetControlTreatmentName sets the ControlTreatmentName field's value.

func (*OnlineAbDefinition) SetTreatmentWeights

func (s *OnlineAbDefinition) SetTreatmentWeights(v map[string]*int64) *OnlineAbDefinition

SetTreatmentWeights sets the TreatmentWeights field's value.

func (OnlineAbDefinition) String

func (s OnlineAbDefinition) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Project

type Project struct {

	// The number of ongoing experiments currently in the project.
	ActiveExperimentCount *int64 `locationName:"activeExperimentCount" type:"long"`

	// The number of ongoing launches currently in the project.
	ActiveLaunchCount *int64 `locationName:"activeLaunchCount" type:"long"`

	// This structure defines the configuration of how your application integrates
	// with AppConfig to run client-side evaluation.
	AppConfigResource *ProjectAppConfigResource `locationName:"appConfigResource" type:"structure"`

	// The name or ARN of the project.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The date and time that the project is created.
	//
	// CreatedTime is a required field
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" required:"true"`

	// A structure that contains information about where Evidently is to store evaluation
	// events for longer term storage.
	DataDelivery *ProjectDataDelivery `locationName:"dataDelivery" type:"structure"`

	// The user-entered description of the project.
	Description *string `locationName:"description" type:"string"`

	// The number of experiments currently in the project. This includes all experiments
	// that have been created and not deleted, whether they are ongoing or not.
	ExperimentCount *int64 `locationName:"experimentCount" type:"long"`

	// The number of features currently in the project.
	FeatureCount *int64 `locationName:"featureCount" type:"long"`

	// The date and time that the project was most recently updated.
	//
	// LastUpdatedTime is a required field
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp" required:"true"`

	// The number of launches currently in the project. This includes all launches
	// that have been created and not deleted, whether they are ongoing or not.
	LaunchCount *int64 `locationName:"launchCount" type:"long"`

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

	// The current state of the project.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ProjectStatus"`

	// The list of tag keys and values associated with this project.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

This structure defines a project, which is the logical object in Evidently that can contain features, launches, and experiments. Use projects to group similar features together.

func (Project) GoString

func (s Project) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Project) SetActiveExperimentCount

func (s *Project) SetActiveExperimentCount(v int64) *Project

SetActiveExperimentCount sets the ActiveExperimentCount field's value.

func (*Project) SetActiveLaunchCount

func (s *Project) SetActiveLaunchCount(v int64) *Project

SetActiveLaunchCount sets the ActiveLaunchCount field's value.

func (*Project) SetAppConfigResource

func (s *Project) SetAppConfigResource(v *ProjectAppConfigResource) *Project

SetAppConfigResource sets the AppConfigResource field's value.

func (*Project) SetArn

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

SetArn sets the Arn field's value.

func (*Project) SetCreatedTime

func (s *Project) SetCreatedTime(v time.Time) *Project

SetCreatedTime sets the CreatedTime field's value.

func (*Project) SetDataDelivery

func (s *Project) SetDataDelivery(v *ProjectDataDelivery) *Project

SetDataDelivery sets the DataDelivery field's value.

func (*Project) SetDescription

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

SetDescription sets the Description field's value.

func (*Project) SetExperimentCount

func (s *Project) SetExperimentCount(v int64) *Project

SetExperimentCount sets the ExperimentCount field's value.

func (*Project) SetFeatureCount

func (s *Project) SetFeatureCount(v int64) *Project

SetFeatureCount sets the FeatureCount field's value.

func (*Project) SetLastUpdatedTime

func (s *Project) SetLastUpdatedTime(v time.Time) *Project

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Project) SetLaunchCount

func (s *Project) SetLaunchCount(v int64) *Project

SetLaunchCount sets the LaunchCount field's value.

func (*Project) SetName

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

SetName sets the Name field's value.

func (*Project) SetStatus

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

SetStatus sets the Status field's value.

func (*Project) SetTags

func (s *Project) SetTags(v map[string]*string) *Project

SetTags sets the Tags field's value.

func (Project) String

func (s Project) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ProjectAppConfigResource

type ProjectAppConfigResource struct {

	// The ID of the AppConfig application to use for client-side evaluation.
	//
	// ApplicationId is a required field
	ApplicationId *string `locationName:"applicationId" type:"string" required:"true"`

	// The ID of the AppConfig profile to use for client-side evaluation.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `locationName:"configurationProfileId" type:"string" required:"true"`

	// The ID of the AppConfig environment to use for client-side evaluation. This
	// must be an environment that is within the application that you specify for
	// applicationId.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `locationName:"environmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

This is a structure that defines the configuration of how your application integrates with AppConfig to run client-side evaluation.

func (ProjectAppConfigResource) GoString

func (s ProjectAppConfigResource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectAppConfigResource) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*ProjectAppConfigResource) SetConfigurationProfileId

func (s *ProjectAppConfigResource) SetConfigurationProfileId(v string) *ProjectAppConfigResource

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*ProjectAppConfigResource) SetEnvironmentId

SetEnvironmentId sets the EnvironmentId field's value.

func (ProjectAppConfigResource) String

func (s ProjectAppConfigResource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ProjectAppConfigResourceConfig

type ProjectAppConfigResourceConfig struct {

	// The ID of the AppConfig application to use for client-side evaluation.
	ApplicationId *string `locationName:"applicationId" type:"string"`

	// The ID of the AppConfig environment to use for client-side evaluation. This
	// must be an environment that is within the application that you specify for
	// applicationId.
	EnvironmentId *string `locationName:"environmentId" type:"string"`
	// contains filtered or unexported fields
}

Use this parameter to configure client-side evaluation for your project. Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html) operation to assign the variations. This mitigates the latency and availability risks that come with an API call.

ProjectAppConfigResource is a structure that defines the configuration of how your application integrates with AppConfig to run client-side evaluation.

func (ProjectAppConfigResourceConfig) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectAppConfigResourceConfig) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*ProjectAppConfigResourceConfig) SetEnvironmentId

SetEnvironmentId sets the EnvironmentId field's value.

func (ProjectAppConfigResourceConfig) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ProjectDataDelivery

type ProjectDataDelivery struct {

	// If the project stores evaluation events in CloudWatch Logs, this structure
	// stores the log group name.
	CloudWatchLogs *CloudWatchLogsDestination `locationName:"cloudWatchLogs" type:"structure"`

	// If the project stores evaluation events in an Amazon S3 bucket, this structure
	// stores the bucket name and bucket prefix.
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure"`
	// contains filtered or unexported fields
}

A structure that contains information about where Evidently is to store evaluation events for longer term storage.

func (ProjectDataDelivery) GoString

func (s ProjectDataDelivery) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectDataDelivery) SetCloudWatchLogs

SetCloudWatchLogs sets the CloudWatchLogs field's value.

func (*ProjectDataDelivery) SetS3Destination

func (s *ProjectDataDelivery) SetS3Destination(v *S3Destination) *ProjectDataDelivery

SetS3Destination sets the S3Destination field's value.

func (ProjectDataDelivery) String

func (s ProjectDataDelivery) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ProjectDataDeliveryConfig

type ProjectDataDeliveryConfig struct {

	// If the project stores evaluation events in CloudWatch Logs, this structure
	// stores the log group name.
	CloudWatchLogs *CloudWatchLogsDestinationConfig `locationName:"cloudWatchLogs" type:"structure"`

	// If the project stores evaluation events in an Amazon S3 bucket, this structure
	// stores the bucket name and bucket prefix.
	S3Destination *S3DestinationConfig `locationName:"s3Destination" type:"structure"`
	// contains filtered or unexported fields
}

A structure that contains information about where Evidently is to store evaluation events for longer term storage.

func (ProjectDataDeliveryConfig) GoString

func (s ProjectDataDeliveryConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectDataDeliveryConfig) SetCloudWatchLogs

SetCloudWatchLogs sets the CloudWatchLogs field's value.

func (*ProjectDataDeliveryConfig) SetS3Destination

SetS3Destination sets the S3Destination field's value.

func (ProjectDataDeliveryConfig) String

func (s ProjectDataDeliveryConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectDataDeliveryConfig) Validate

func (s *ProjectDataDeliveryConfig) Validate() error

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

type ProjectSummary

type ProjectSummary struct {

	// The number of experiments currently in the project.
	ActiveExperimentCount *int64 `locationName:"activeExperimentCount" type:"long"`

	// The number of ongoing launches currently in the project.
	ActiveLaunchCount *int64 `locationName:"activeLaunchCount" type:"long"`

	// The name or ARN of the project.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The date and time that the project is created.
	//
	// CreatedTime is a required field
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" required:"true"`

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

	// The number of experiments currently in the project.
	ExperimentCount *int64 `locationName:"experimentCount" type:"long"`

	// The number of features currently in the project.
	FeatureCount *int64 `locationName:"featureCount" type:"long"`

	// The date and time that the project was most recently updated.
	//
	// LastUpdatedTime is a required field
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp" required:"true"`

	// The number of launches currently in the project, including launches that
	// are ongoing, completed, and not started yet.
	LaunchCount *int64 `locationName:"launchCount" type:"long"`

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

	// The current state of the project.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ProjectStatus"`

	// The list of tag keys and values associated with this project.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

A structure that contains configuration information about an Evidently project.

func (ProjectSummary) GoString

func (s ProjectSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectSummary) SetActiveExperimentCount

func (s *ProjectSummary) SetActiveExperimentCount(v int64) *ProjectSummary

SetActiveExperimentCount sets the ActiveExperimentCount field's value.

func (*ProjectSummary) SetActiveLaunchCount

func (s *ProjectSummary) SetActiveLaunchCount(v int64) *ProjectSummary

SetActiveLaunchCount sets the ActiveLaunchCount field's value.

func (*ProjectSummary) SetArn

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

SetArn sets the Arn field's value.

func (*ProjectSummary) SetCreatedTime

func (s *ProjectSummary) SetCreatedTime(v time.Time) *ProjectSummary

SetCreatedTime sets the CreatedTime field's value.

func (*ProjectSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*ProjectSummary) SetExperimentCount

func (s *ProjectSummary) SetExperimentCount(v int64) *ProjectSummary

SetExperimentCount sets the ExperimentCount field's value.

func (*ProjectSummary) SetFeatureCount

func (s *ProjectSummary) SetFeatureCount(v int64) *ProjectSummary

SetFeatureCount sets the FeatureCount field's value.

func (*ProjectSummary) SetLastUpdatedTime

func (s *ProjectSummary) SetLastUpdatedTime(v time.Time) *ProjectSummary

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ProjectSummary) SetLaunchCount

func (s *ProjectSummary) SetLaunchCount(v int64) *ProjectSummary

SetLaunchCount sets the LaunchCount field's value.

func (*ProjectSummary) SetName

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

SetName sets the Name field's value.

func (*ProjectSummary) SetStatus

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

SetStatus sets the Status field's value.

func (*ProjectSummary) SetTags

func (s *ProjectSummary) SetTags(v map[string]*string) *ProjectSummary

SetTags sets the Tags field's value.

func (ProjectSummary) String

func (s ProjectSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutProjectEventsInput

type PutProjectEventsInput struct {

	// An array of event structures that contain the performance data that is being
	// sent to Evidently.
	//
	// Events is a required field
	Events []*Event `locationName:"events" type:"list" required:"true"`

	// The name or ARN of the project to write the events to.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutProjectEventsInput) GoString

func (s PutProjectEventsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutProjectEventsInput) SetEvents

SetEvents sets the Events field's value.

func (*PutProjectEventsInput) SetProject

SetProject sets the Project field's value.

func (PutProjectEventsInput) String

func (s PutProjectEventsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutProjectEventsInput) Validate

func (s *PutProjectEventsInput) Validate() error

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

type PutProjectEventsOutput

type PutProjectEventsOutput struct {

	// A structure that contains Evidently's response to the sent events, including
	// an event ID and error codes, if any.
	EventResults []*PutProjectEventsResultEntry `locationName:"eventResults" type:"list"`

	// The number of events in the operation that could not be used by Evidently.
	FailedEventCount *int64 `locationName:"failedEventCount" type:"integer"`
	// contains filtered or unexported fields
}

func (PutProjectEventsOutput) GoString

func (s PutProjectEventsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutProjectEventsOutput) SetEventResults

SetEventResults sets the EventResults field's value.

func (*PutProjectEventsOutput) SetFailedEventCount

func (s *PutProjectEventsOutput) SetFailedEventCount(v int64) *PutProjectEventsOutput

SetFailedEventCount sets the FailedEventCount field's value.

func (PutProjectEventsOutput) String

func (s PutProjectEventsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutProjectEventsResultEntry

type PutProjectEventsResultEntry struct {

	// If the PutProjectEvents operation has an error, the error code is returned
	// here.
	ErrorCode *string `locationName:"errorCode" min:"1" type:"string"`

	// If the PutProjectEvents operation has an error, the error message is returned
	// here.
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`

	// A unique ID assigned to this PutProjectEvents operation.
	EventId *string `locationName:"eventId" min:"36" type:"string"`
	// contains filtered or unexported fields
}

A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.

func (PutProjectEventsResultEntry) GoString

func (s PutProjectEventsResultEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutProjectEventsResultEntry) SetErrorCode

SetErrorCode sets the ErrorCode field's value.

func (*PutProjectEventsResultEntry) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*PutProjectEventsResultEntry) SetEventId

SetEventId sets the EventId field's value.

func (PutProjectEventsResultEntry) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RefResource

type RefResource struct {

	// The ARN of the experiment or launch.
	Arn *string `locationName:"arn" type:"string"`

	// The day and time that this experiment or launch ended.
	EndTime *string `locationName:"endTime" type:"string"`

	// The day and time that this experiment or launch was most recently updated.
	LastUpdatedOn *string `locationName:"lastUpdatedOn" type:"string"`

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

	// The day and time that this experiment or launch started.
	StartTime *string `locationName:"startTime" type:"string"`

	// The status of the experiment or launch.
	Status *string `locationName:"status" type:"string"`

	// Specifies whether the resource that this structure contains information about
	// is an experiment or a launch.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A structure that contains information about one experiment or launch that uses the specified segment.

func (RefResource) GoString

func (s RefResource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RefResource) SetArn

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

SetArn sets the Arn field's value.

func (*RefResource) SetEndTime

func (s *RefResource) SetEndTime(v string) *RefResource

SetEndTime sets the EndTime field's value.

func (*RefResource) SetLastUpdatedOn

func (s *RefResource) SetLastUpdatedOn(v string) *RefResource

SetLastUpdatedOn sets the LastUpdatedOn field's value.

func (*RefResource) SetName

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

SetName sets the Name field's value.

func (*RefResource) SetStartTime

func (s *RefResource) SetStartTime(v string) *RefResource

SetStartTime sets the StartTime field's value.

func (*RefResource) SetStatus

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

SetStatus sets the Status field's value.

func (*RefResource) SetType

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

SetType sets the Type field's value.

func (RefResource) String

func (s RefResource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

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

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the resource that caused the exception.
	ResourceId *string `locationName:"resourceId" type:"string"`

	// The type of the resource that is associated with the error.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

The request references a resource that does not exist.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type S3Destination

type S3Destination struct {

	// The name of the bucket in which Evidently stores evaluation events.
	Bucket *string `locationName:"bucket" min:"3" type:"string"`

	// The bucket prefix in which Evidently stores evaluation events.
	Prefix *string `locationName:"prefix" min:"1" type:"string"`
	// contains filtered or unexported fields
}

If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.

func (S3Destination) GoString

func (s S3Destination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3Destination) SetBucket

func (s *S3Destination) SetBucket(v string) *S3Destination

SetBucket sets the Bucket field's value.

func (*S3Destination) SetPrefix

func (s *S3Destination) SetPrefix(v string) *S3Destination

SetPrefix sets the Prefix field's value.

func (S3Destination) String

func (s S3Destination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type S3DestinationConfig

type S3DestinationConfig struct {

	// The name of the bucket in which Evidently stores evaluation events.
	Bucket *string `locationName:"bucket" min:"3" type:"string"`

	// The bucket prefix in which Evidently stores evaluation events.
	Prefix *string `locationName:"prefix" min:"1" type:"string"`
	// contains filtered or unexported fields
}

If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.

func (S3DestinationConfig) GoString

func (s S3DestinationConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3DestinationConfig) SetBucket

SetBucket sets the Bucket field's value.

func (*S3DestinationConfig) SetPrefix

SetPrefix sets the Prefix field's value.

func (S3DestinationConfig) String

func (s S3DestinationConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3DestinationConfig) Validate

func (s *S3DestinationConfig) Validate() error

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

type ScheduledSplit

type ScheduledSplit struct {

	// The traffic allocation percentages among the feature variations during one
	// step of a launch. This is a set of key-value pairs. The keys are variation
	// names. The values represent the percentage of traffic to allocate to that
	// variation during this step.
	//
	// The values is expressed in thousandths of a percent, so assigning a weight
	// of 50000 assigns 50% of traffic to that variation.
	//
	// If the sum of the weights for all the variations in a segment override does
	// not add up to 100,000, then the remaining traffic that matches this segment
	// is not assigned by this segment override, and instead moves on to the next
	// segment override or the default traffic split.
	GroupWeights map[string]*int64 `locationName:"groupWeights" type:"map"`

	// Use this parameter to specify different traffic splits for one or more audience
	// segments. A segment is a portion of your audience that share one or more
	// characteristics. Examples could be Chrome browser users, users in Europe,
	// or Firefox browser users in Europe who also fit other criteria that your
	// application collects, such as age.
	//
	// This parameter is an array of up to six segment override objects. Each of
	// these objects specifies a segment that you have already created, and defines
	// the traffic split for that segment.
	SegmentOverrides []*SegmentOverride `locationName:"segmentOverrides" type:"list"`

	// The date and time that this step of the launch starts.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

This structure defines the traffic allocation percentages among the feature variations during one step of a launch, and the start time of that step.

func (ScheduledSplit) GoString

func (s ScheduledSplit) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScheduledSplit) SetGroupWeights

func (s *ScheduledSplit) SetGroupWeights(v map[string]*int64) *ScheduledSplit

SetGroupWeights sets the GroupWeights field's value.

func (*ScheduledSplit) SetSegmentOverrides

func (s *ScheduledSplit) SetSegmentOverrides(v []*SegmentOverride) *ScheduledSplit

SetSegmentOverrides sets the SegmentOverrides field's value.

func (*ScheduledSplit) SetStartTime

func (s *ScheduledSplit) SetStartTime(v time.Time) *ScheduledSplit

SetStartTime sets the StartTime field's value.

func (ScheduledSplit) String

func (s ScheduledSplit) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ScheduledSplitConfig

type ScheduledSplitConfig struct {

	// The traffic allocation percentages among the feature variations during one
	// step of a launch. This is a set of key-value pairs. The keys are variation
	// names. The values represent the percentage of traffic to allocate to that
	// variation during this step.
	//
	// The values is expressed in thousandths of a percent, so assigning a weight
	// of 50000 assigns 50% of traffic to that variation.
	//
	// If the sum of the weights for all the variations in a segment override does
	// not add up to 100,000, then the remaining traffic that matches this segment
	// is not assigned by this segment override, and instead moves on to the next
	// segment override or the default traffic split.
	//
	// GroupWeights is a required field
	GroupWeights map[string]*int64 `locationName:"groupWeights" type:"map" required:"true"`

	// Use this parameter to specify different traffic splits for one or more audience
	// segments. A segment is a portion of your audience that share one or more
	// characteristics. Examples could be Chrome browser users, users in Europe,
	// or Firefox browser users in Europe who also fit other criteria that your
	// application collects, such as age.
	//
	// This parameter is an array of up to six segment override objects. Each of
	// these objects specifies a segment that you have already created, and defines
	// the traffic split for that segment.
	SegmentOverrides []*SegmentOverride `locationName:"segmentOverrides" type:"list"`

	// The date and time that this step of the launch starts.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

This structure defines the traffic allocation percentages among the feature variations during one step of a launch, and the start time of that step.

func (ScheduledSplitConfig) GoString

func (s ScheduledSplitConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScheduledSplitConfig) SetGroupWeights

func (s *ScheduledSplitConfig) SetGroupWeights(v map[string]*int64) *ScheduledSplitConfig

SetGroupWeights sets the GroupWeights field's value.

func (*ScheduledSplitConfig) SetSegmentOverrides

func (s *ScheduledSplitConfig) SetSegmentOverrides(v []*SegmentOverride) *ScheduledSplitConfig

SetSegmentOverrides sets the SegmentOverrides field's value.

func (*ScheduledSplitConfig) SetStartTime

func (s *ScheduledSplitConfig) SetStartTime(v time.Time) *ScheduledSplitConfig

SetStartTime sets the StartTime field's value.

func (ScheduledSplitConfig) String

func (s ScheduledSplitConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScheduledSplitConfig) Validate

func (s *ScheduledSplitConfig) Validate() error

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

type ScheduledSplitsLaunchConfig

type ScheduledSplitsLaunchConfig struct {

	// An array of structures that define the traffic allocation percentages among
	// the feature variations during each step of the launch. This also defines
	// the start time of each step.
	//
	// Steps is a required field
	Steps []*ScheduledSplitConfig `locationName:"steps" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

An array of structures that define the traffic allocation percentages among the feature variations during each step of a launch. This also defines the start time of each step.

func (ScheduledSplitsLaunchConfig) GoString

func (s ScheduledSplitsLaunchConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScheduledSplitsLaunchConfig) SetSteps

SetSteps sets the Steps field's value.

func (ScheduledSplitsLaunchConfig) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScheduledSplitsLaunchConfig) Validate

func (s *ScheduledSplitsLaunchConfig) Validate() error

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

type ScheduledSplitsLaunchDefinition

type ScheduledSplitsLaunchDefinition struct {

	// An array of structures that define the traffic allocation percentages among
	// the feature variations during each step of the launch. This also defines
	// the start time of each step.
	Steps []*ScheduledSplit `locationName:"steps" min:"1" type:"list"`
	// contains filtered or unexported fields
}

An array of structures that define the traffic allocation percentages among the feature variations during each step of a launch. This also defines the start time of each step.

func (ScheduledSplitsLaunchDefinition) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScheduledSplitsLaunchDefinition) SetSteps

SetSteps sets the Steps field's value.

func (ScheduledSplitsLaunchDefinition) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Segment

type Segment struct {

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

	// The date and time that this segment was created.
	//
	// CreatedTime is a required field
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" required:"true"`

	// The customer-created description for this segment.
	Description *string `locationName:"description" type:"string"`

	// The number of experiments that this segment is used in. This count includes
	// all current experiments, not just those that are currently running.
	ExperimentCount *int64 `locationName:"experimentCount" type:"long"`

	// The date and time that this segment was most recently updated.
	//
	// LastUpdatedTime is a required field
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp" required:"true"`

	// The number of launches that this segment is used in. This count includes
	// all current launches, not just those that are currently running.
	LaunchCount *int64 `locationName:"launchCount" type:"long"`

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

	// The pattern that defines the attributes to use to evalute whether a user
	// session will be in the segment. For more information about the pattern syntax,
	// see Segment rule pattern syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html).
	//
	// Pattern is a required field
	Pattern *string `locationName:"pattern" min:"1" type:"string" required:"true"`

	// The list of tag keys and values associated with this launch.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

This structure contains information about one audience segment. You can use segments in your experiments and launches to narrow the user sessions used for experiment or launch to only the user sessions that match one or more criteria.

func (Segment) GoString

func (s Segment) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Segment) SetArn

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

SetArn sets the Arn field's value.

func (*Segment) SetCreatedTime

func (s *Segment) SetCreatedTime(v time.Time) *Segment

SetCreatedTime sets the CreatedTime field's value.

func (*Segment) SetDescription

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

SetDescription sets the Description field's value.

func (*Segment) SetExperimentCount

func (s *Segment) SetExperimentCount(v int64) *Segment

SetExperimentCount sets the ExperimentCount field's value.

func (*Segment) SetLastUpdatedTime

func (s *Segment) SetLastUpdatedTime(v time.Time) *Segment

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Segment) SetLaunchCount

func (s *Segment) SetLaunchCount(v int64) *Segment

SetLaunchCount sets the LaunchCount field's value.

func (*Segment) SetName

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

SetName sets the Name field's value.

func (*Segment) SetPattern

func (s *Segment) SetPattern(v string) *Segment

SetPattern sets the Pattern field's value.

func (*Segment) SetTags

func (s *Segment) SetTags(v map[string]*string) *Segment

SetTags sets the Tags field's value.

func (Segment) String

func (s Segment) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SegmentOverride

type SegmentOverride struct {

	// A number indicating the order to use to evaluate segment overrides, if there
	// are more than one. Segment overrides with lower numbers are evaluated first.
	//
	// EvaluationOrder is a required field
	EvaluationOrder *int64 `locationName:"evaluationOrder" type:"long" required:"true"`

	// The ARN of the segment to use.
	//
	// Segment is a required field
	Segment *string `locationName:"segment" type:"string" required:"true"`

	// The traffic allocation percentages among the feature variations to assign
	// to this segment. This is a set of key-value pairs. The keys are variation
	// names. The values represent the amount of traffic to allocate to that variation
	// for this segment. This is expressed in thousandths of a percent, so a weight
	// of 50000 represents 50% of traffic.
	//
	// Weights is a required field
	Weights map[string]*int64 `locationName:"weights" type:"map" required:"true"`
	// contains filtered or unexported fields
}

This structure specifies a segment that you have already created, and defines the traffic split for that segment to be used in a launch.

func (SegmentOverride) GoString

func (s SegmentOverride) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SegmentOverride) SetEvaluationOrder

func (s *SegmentOverride) SetEvaluationOrder(v int64) *SegmentOverride

SetEvaluationOrder sets the EvaluationOrder field's value.

func (*SegmentOverride) SetSegment

func (s *SegmentOverride) SetSegment(v string) *SegmentOverride

SetSegment sets the Segment field's value.

func (*SegmentOverride) SetWeights

func (s *SegmentOverride) SetWeights(v map[string]*int64) *SegmentOverride

SetWeights sets the Weights field's value.

func (SegmentOverride) String

func (s SegmentOverride) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SegmentOverride) Validate

func (s *SegmentOverride) Validate() error

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

type ServiceQuotaExceededException

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

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the service quota that was exceeded.
	QuotaCode *string `locationName:"quotaCode" type:"string"`

	// The ID of the resource that caused the exception.
	ResourceId *string `locationName:"resourceId" type:"string"`

	// The type of the resource that is associated with the error.
	ResourceType *string `locationName:"resourceType" type:"string"`

	// The ID of the service that is associated with the error.
	ServiceCode *string `locationName:"serviceCode" type:"string"`
	// contains filtered or unexported fields
}

The request would cause a service quota to be exceeded.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceUnavailableException

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

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

The service was unavailable. Retry the request.

func (*ServiceUnavailableException) Code

Code returns the exception type name.

func (*ServiceUnavailableException) Error

func (ServiceUnavailableException) GoString

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceUnavailableException) Message

func (s *ServiceUnavailableException) Message() string

Message returns the exception's message.

func (*ServiceUnavailableException) OrigErr

func (s *ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceUnavailableException) RequestID

func (s *ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceUnavailableException) StatusCode

func (s *ServiceUnavailableException) StatusCode() int

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

func (ServiceUnavailableException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartExperimentInput

type StartExperimentInput struct {

	// The date and time to end the experiment. This must be no more than 30 days
	// after the experiment starts.
	//
	// AnalysisCompleteTime is a required field
	AnalysisCompleteTime *time.Time `locationName:"analysisCompleteTime" type:"timestamp" required:"true"`

	// The name of the experiment to start.
	//
	// Experiment is a required field
	Experiment *string `location:"uri" locationName:"experiment" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the experiment to start.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartExperimentInput) GoString

func (s StartExperimentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartExperimentInput) SetAnalysisCompleteTime

func (s *StartExperimentInput) SetAnalysisCompleteTime(v time.Time) *StartExperimentInput

SetAnalysisCompleteTime sets the AnalysisCompleteTime field's value.

func (*StartExperimentInput) SetExperiment

func (s *StartExperimentInput) SetExperiment(v string) *StartExperimentInput

SetExperiment sets the Experiment field's value.

func (*StartExperimentInput) SetProject

SetProject sets the Project field's value.

func (StartExperimentInput) String

func (s StartExperimentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartExperimentInput) Validate

func (s *StartExperimentInput) Validate() error

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

type StartExperimentOutput

type StartExperimentOutput struct {

	// A timestamp that indicates when the experiment started.
	StartedTime *time.Time `locationName:"startedTime" type:"timestamp"`
	// contains filtered or unexported fields
}

func (StartExperimentOutput) GoString

func (s StartExperimentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartExperimentOutput) SetStartedTime

func (s *StartExperimentOutput) SetStartedTime(v time.Time) *StartExperimentOutput

SetStartedTime sets the StartedTime field's value.

func (StartExperimentOutput) String

func (s StartExperimentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartLaunchInput

type StartLaunchInput struct {

	// The name of the launch to start.
	//
	// Launch is a required field
	Launch *string `location:"uri" locationName:"launch" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the launch to start.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartLaunchInput) GoString

func (s StartLaunchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartLaunchInput) SetLaunch

func (s *StartLaunchInput) SetLaunch(v string) *StartLaunchInput

SetLaunch sets the Launch field's value.

func (*StartLaunchInput) SetProject

func (s *StartLaunchInput) SetProject(v string) *StartLaunchInput

SetProject sets the Project field's value.

func (StartLaunchInput) String

func (s StartLaunchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartLaunchInput) Validate

func (s *StartLaunchInput) Validate() error

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

type StartLaunchOutput

type StartLaunchOutput struct {

	// A structure that contains information about the launch that was started.
	//
	// Launch is a required field
	Launch *Launch `locationName:"launch" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (StartLaunchOutput) GoString

func (s StartLaunchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartLaunchOutput) SetLaunch

func (s *StartLaunchOutput) SetLaunch(v *Launch) *StartLaunchOutput

SetLaunch sets the Launch field's value.

func (StartLaunchOutput) String

func (s StartLaunchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StopExperimentInput

type StopExperimentInput struct {

	// Specify whether the experiment is to be considered COMPLETED or CANCELLED
	// after it stops.
	DesiredState *string `locationName:"desiredState" type:"string" enum:"ExperimentStopDesiredState"`

	// The name of the experiment to stop.
	//
	// Experiment is a required field
	Experiment *string `location:"uri" locationName:"experiment" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the experiment to stop.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// A string that describes why you are stopping the experiment.
	Reason *string `locationName:"reason" type:"string"`
	// contains filtered or unexported fields
}

func (StopExperimentInput) GoString

func (s StopExperimentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopExperimentInput) SetDesiredState

func (s *StopExperimentInput) SetDesiredState(v string) *StopExperimentInput

SetDesiredState sets the DesiredState field's value.

func (*StopExperimentInput) SetExperiment

func (s *StopExperimentInput) SetExperiment(v string) *StopExperimentInput

SetExperiment sets the Experiment field's value.

func (*StopExperimentInput) SetProject

SetProject sets the Project field's value.

func (*StopExperimentInput) SetReason

SetReason sets the Reason field's value.

func (StopExperimentInput) String

func (s StopExperimentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopExperimentInput) Validate

func (s *StopExperimentInput) Validate() error

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

type StopExperimentOutput

type StopExperimentOutput struct {

	// The date and time that the experiment stopped.
	EndedTime *time.Time `locationName:"endedTime" type:"timestamp"`
	// contains filtered or unexported fields
}

func (StopExperimentOutput) GoString

func (s StopExperimentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopExperimentOutput) SetEndedTime

func (s *StopExperimentOutput) SetEndedTime(v time.Time) *StopExperimentOutput

SetEndedTime sets the EndedTime field's value.

func (StopExperimentOutput) String

func (s StopExperimentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StopLaunchInput

type StopLaunchInput struct {

	// Specify whether to consider the launch as COMPLETED or CANCELLED after it
	// stops.
	DesiredState *string `locationName:"desiredState" type:"string" enum:"LaunchStopDesiredState"`

	// The name of the launch to stop.
	//
	// Launch is a required field
	Launch *string `location:"uri" locationName:"launch" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the launch that you want to
	// stop.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// A string that describes why you are stopping the launch.
	Reason *string `locationName:"reason" type:"string"`
	// contains filtered or unexported fields
}

func (StopLaunchInput) GoString

func (s StopLaunchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopLaunchInput) SetDesiredState

func (s *StopLaunchInput) SetDesiredState(v string) *StopLaunchInput

SetDesiredState sets the DesiredState field's value.

func (*StopLaunchInput) SetLaunch

func (s *StopLaunchInput) SetLaunch(v string) *StopLaunchInput

SetLaunch sets the Launch field's value.

func (*StopLaunchInput) SetProject

func (s *StopLaunchInput) SetProject(v string) *StopLaunchInput

SetProject sets the Project field's value.

func (*StopLaunchInput) SetReason

func (s *StopLaunchInput) SetReason(v string) *StopLaunchInput

SetReason sets the Reason field's value.

func (StopLaunchInput) String

func (s StopLaunchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopLaunchInput) Validate

func (s *StopLaunchInput) Validate() error

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

type StopLaunchOutput

type StopLaunchOutput struct {

	// The date and time that the launch stopped.
	EndedTime *time.Time `locationName:"endedTime" type:"timestamp"`
	// contains filtered or unexported fields
}

func (StopLaunchOutput) GoString

func (s StopLaunchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopLaunchOutput) SetEndedTime

func (s *StopLaunchOutput) SetEndedTime(v time.Time) *StopLaunchOutput

SetEndedTime sets the EndedTime field's value.

func (StopLaunchOutput) String

func (s StopLaunchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the CloudWatch Evidently resource that you're adding tags to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The list of key-value pairs to associate with the resource.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TestSegmentPatternInput

type TestSegmentPatternInput struct {

	// The pattern to test.
	//
	// Pattern is a required field
	Pattern *string `locationName:"pattern" min:"1" type:"string" required:"true"`

	// A sample evaluationContext JSON block to test against the specified pattern.
	//
	// Payload is a required field
	Payload *string `locationName:"payload" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (TestSegmentPatternInput) GoString

func (s TestSegmentPatternInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestSegmentPatternInput) SetPattern

SetPattern sets the Pattern field's value.

func (*TestSegmentPatternInput) SetPayload

SetPayload sets the Payload field's value.

func (TestSegmentPatternInput) String

func (s TestSegmentPatternInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestSegmentPatternInput) Validate

func (s *TestSegmentPatternInput) Validate() error

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

type TestSegmentPatternOutput

type TestSegmentPatternOutput struct {

	// Returns true if the pattern matches the payload.
	//
	// Match is a required field
	Match *bool `locationName:"match" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

func (TestSegmentPatternOutput) GoString

func (s TestSegmentPatternOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestSegmentPatternOutput) SetMatch

SetMatch sets the Match field's value.

func (TestSegmentPatternOutput) String

func (s TestSegmentPatternOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

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

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the service quota that was exceeded.
	QuotaCode *string `locationName:"quotaCode" type:"string"`

	// The ID of the service that is associated with the error.
	ServiceCode *string `locationName:"serviceCode" type:"string"`
	// contains filtered or unexported fields
}

The request was denied because of request throttling. Retry the request.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Treatment

type Treatment struct {

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

	// The feature variation used for this treatment. This is a key-value pair.
	// The key is the feature name, and the value is the variation name.
	FeatureVariations map[string]*string `locationName:"featureVariations" type:"map"`

	// The name of this treatment.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A structure that defines one treatment in an experiment. A treatment is a variation of the feature that you are including in the experiment.

func (Treatment) GoString

func (s Treatment) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Treatment) SetDescription

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

SetDescription sets the Description field's value.

func (*Treatment) SetFeatureVariations

func (s *Treatment) SetFeatureVariations(v map[string]*string) *Treatment

SetFeatureVariations sets the FeatureVariations field's value.

func (*Treatment) SetName

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

SetName sets the Name field's value.

func (Treatment) String

func (s Treatment) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TreatmentConfig

type TreatmentConfig struct {

	// A description for this treatment.
	Description *string `locationName:"description" type:"string"`

	// The feature that this experiment is testing.
	//
	// Feature is a required field
	Feature *string `locationName:"feature" min:"1" type:"string" required:"true"`

	// A name for this treatment.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The name of the variation to use as this treatment in the experiment.
	//
	// Variation is a required field
	Variation *string `locationName:"variation" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A structure that defines one treatment in an experiment. A treatment is a variation of the feature that you are including in the experiment.

func (TreatmentConfig) GoString

func (s TreatmentConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TreatmentConfig) SetDescription

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

SetDescription sets the Description field's value.

func (*TreatmentConfig) SetFeature

func (s *TreatmentConfig) SetFeature(v string) *TreatmentConfig

SetFeature sets the Feature field's value.

func (*TreatmentConfig) SetName

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

SetName sets the Name field's value.

func (*TreatmentConfig) SetVariation

func (s *TreatmentConfig) SetVariation(v string) *TreatmentConfig

SetVariation sets the Variation field's value.

func (TreatmentConfig) String

func (s TreatmentConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TreatmentConfig) Validate

func (s *TreatmentConfig) Validate() error

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

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the CloudWatch Evidently resource that you're removing tags from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The list of tag keys to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateExperimentInput

type UpdateExperimentInput struct {

	// An optional description of the experiment.
	Description *string `locationName:"description" type:"string"`

	// The name of the experiment to update.
	//
	// Experiment is a required field
	Experiment *string `location:"uri" locationName:"experiment" min:"1" type:"string" required:"true"`

	// An array of structures that defines the metrics used for the experiment,
	// and whether a higher or lower value for each metric is the goal.
	MetricGoals []*MetricGoalConfig `locationName:"metricGoals" min:"1" type:"list"`

	// A structure that contains the configuration of which variation o use as the
	// "control" version. The "control" version is used for comparison with other
	// variations. This structure also specifies how much experiment traffic is
	// allocated to each variation.
	OnlineAbConfig *OnlineAbConfig `locationName:"onlineAbConfig" type:"structure"`

	// The name or ARN of the project that contains the experiment that you want
	// to update.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// When Evidently assigns a particular user session to an experiment, it must
	// use a randomization ID to determine which variation the user session is served.
	// This randomization ID is a combination of the entity ID and randomizationSalt.
	// If you omit randomizationSalt, Evidently uses the experiment name as the
	// randomizationSalt.
	RandomizationSalt *string `locationName:"randomizationSalt" type:"string"`

	// Removes a segment from being used in an experiment. You can't use this parameter
	// if the experiment is currently running.
	RemoveSegment *bool `locationName:"removeSegment" type:"boolean"`

	// The portion of the available audience that you want to allocate to this experiment,
	// in thousandths of a percent. The available audience is the total audience
	// minus the audience that you have allocated to overrides or current launches
	// of this feature.
	//
	// This is represented in thousandths of a percent. For example, specify 20,000
	// to allocate 20% of the available audience.
	SamplingRate *int64 `locationName:"samplingRate" type:"long"`

	// Adds an audience segment to an experiment. When a segment is used in an experiment,
	// only user sessions that match the segment pattern are used in the experiment.
	// You can't use this parameter if the experiment is currently running.
	Segment *string `locationName:"segment" type:"string"`

	// An array of structures that define the variations being tested in the experiment.
	Treatments []*TreatmentConfig `locationName:"treatments" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateExperimentInput) GoString

func (s UpdateExperimentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateExperimentInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateExperimentInput) SetExperiment

func (s *UpdateExperimentInput) SetExperiment(v string) *UpdateExperimentInput

SetExperiment sets the Experiment field's value.

func (*UpdateExperimentInput) SetMetricGoals

SetMetricGoals sets the MetricGoals field's value.

func (*UpdateExperimentInput) SetOnlineAbConfig

SetOnlineAbConfig sets the OnlineAbConfig field's value.

func (*UpdateExperimentInput) SetProject

SetProject sets the Project field's value.

func (*UpdateExperimentInput) SetRandomizationSalt

func (s *UpdateExperimentInput) SetRandomizationSalt(v string) *UpdateExperimentInput

SetRandomizationSalt sets the RandomizationSalt field's value.

func (*UpdateExperimentInput) SetRemoveSegment

func (s *UpdateExperimentInput) SetRemoveSegment(v bool) *UpdateExperimentInput

SetRemoveSegment sets the RemoveSegment field's value.

func (*UpdateExperimentInput) SetSamplingRate

func (s *UpdateExperimentInput) SetSamplingRate(v int64) *UpdateExperimentInput

SetSamplingRate sets the SamplingRate field's value.

func (*UpdateExperimentInput) SetSegment

SetSegment sets the Segment field's value.

func (*UpdateExperimentInput) SetTreatments

SetTreatments sets the Treatments field's value.

func (UpdateExperimentInput) String

func (s UpdateExperimentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateExperimentInput) Validate

func (s *UpdateExperimentInput) Validate() error

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

type UpdateExperimentOutput

type UpdateExperimentOutput struct {

	// A structure containing the configuration details of the experiment that was
	// updated.
	//
	// Experiment is a required field
	Experiment *Experiment `locationName:"experiment" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateExperimentOutput) GoString

func (s UpdateExperimentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateExperimentOutput) SetExperiment

SetExperiment sets the Experiment field's value.

func (UpdateExperimentOutput) String

func (s UpdateExperimentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateFeatureInput

type UpdateFeatureInput struct {

	// To update variation configurations for this feature, or add new ones, specify
	// this structure. In this array, include any variations that you want to add
	// or update. If the array includes a variation name that already exists for
	// this feature, it is updated. If it includes a new variation name, it is added
	// as a new variation.
	AddOrUpdateVariations []*VariationConfig `locationName:"addOrUpdateVariations" min:"1" type:"list"`

	// The name of the variation to use as the default variation. The default variation
	// is served to users who are not allocated to any ongoing launches or experiments
	// of this feature.
	DefaultVariation *string `locationName:"defaultVariation" min:"1" type:"string"`

	// An optional description of the feature.
	Description *string `locationName:"description" type:"string"`

	// Specified users that should always be served a specific variation of a feature.
	// Each user is specified by a key-value pair . For each key, specify a user
	// by entering their user ID, account ID, or some other identifier. For the
	// value, specify the name of the variation that they are to be served.
	//
	// This parameter is limited to 2500 overrides or a total of 40KB. The 40KB
	// limit includes an overhead of 6 bytes per override.
	EntityOverrides map[string]*string `locationName:"entityOverrides" type:"map"`

	// Specify ALL_RULES to activate the traffic allocation specified by any ongoing
	// launches or experiments. Specify DEFAULT_VARIATION to serve the default variation
	// to all users instead.
	EvaluationStrategy *string `locationName:"evaluationStrategy" type:"string" enum:"FeatureEvaluationStrategy"`

	// The name of the feature to be updated.
	//
	// Feature is a required field
	Feature *string `location:"uri" locationName:"feature" min:"1" type:"string" required:"true"`

	// The name or ARN of the project that contains the feature to be updated.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// Removes a variation from the feature. If the variation you specify doesn't
	// exist, then this makes no change and does not report an error.
	//
	// This operation fails if you try to remove a variation that is part of an
	// ongoing launch or experiment.
	RemoveVariations []*string `locationName:"removeVariations" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateFeatureInput) GoString

func (s UpdateFeatureInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateFeatureInput) SetAddOrUpdateVariations

func (s *UpdateFeatureInput) SetAddOrUpdateVariations(v []*VariationConfig) *UpdateFeatureInput

SetAddOrUpdateVariations sets the AddOrUpdateVariations field's value.

func (*UpdateFeatureInput) SetDefaultVariation

func (s *UpdateFeatureInput) SetDefaultVariation(v string) *UpdateFeatureInput

SetDefaultVariation sets the DefaultVariation field's value.

func (*UpdateFeatureInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateFeatureInput) SetEntityOverrides

func (s *UpdateFeatureInput) SetEntityOverrides(v map[string]*string) *UpdateFeatureInput

SetEntityOverrides sets the EntityOverrides field's value.

func (*UpdateFeatureInput) SetEvaluationStrategy

func (s *UpdateFeatureInput) SetEvaluationStrategy(v string) *UpdateFeatureInput

SetEvaluationStrategy sets the EvaluationStrategy field's value.

func (*UpdateFeatureInput) SetFeature

func (s *UpdateFeatureInput) SetFeature(v string) *UpdateFeatureInput

SetFeature sets the Feature field's value.

func (*UpdateFeatureInput) SetProject

func (s *UpdateFeatureInput) SetProject(v string) *UpdateFeatureInput

SetProject sets the Project field's value.

func (*UpdateFeatureInput) SetRemoveVariations

func (s *UpdateFeatureInput) SetRemoveVariations(v []*string) *UpdateFeatureInput

SetRemoveVariations sets the RemoveVariations field's value.

func (UpdateFeatureInput) String

func (s UpdateFeatureInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateFeatureInput) Validate

func (s *UpdateFeatureInput) Validate() error

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

type UpdateFeatureOutput

type UpdateFeatureOutput struct {

	// A structure that contains information about the updated feature.
	//
	// Feature is a required field
	Feature *Feature `locationName:"feature" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateFeatureOutput) GoString

func (s UpdateFeatureOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateFeatureOutput) SetFeature

func (s *UpdateFeatureOutput) SetFeature(v *Feature) *UpdateFeatureOutput

SetFeature sets the Feature field's value.

func (UpdateFeatureOutput) String

func (s UpdateFeatureOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateLaunchInput

type UpdateLaunchInput struct {

	// An optional description for the launch.
	Description *string `locationName:"description" type:"string"`

	// An array of structures that contains the feature and variations that are
	// to be used for the launch.
	Groups []*LaunchGroupConfig `locationName:"groups" min:"1" type:"list"`

	// The name of the launch that is to be updated.
	//
	// Launch is a required field
	Launch *string `location:"uri" locationName:"launch" min:"1" type:"string" required:"true"`

	// An array of structures that define the metrics that will be used to monitor
	// the launch performance.
	MetricMonitors []*MetricMonitorConfig `locationName:"metricMonitors" type:"list"`

	// The name or ARN of the project that contains the launch that you want to
	// update.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// When Evidently assigns a particular user session to a launch, it must use
	// a randomization ID to determine which variation the user session is served.
	// This randomization ID is a combination of the entity ID and randomizationSalt.
	// If you omit randomizationSalt, Evidently uses the launch name as the randomizationSalt.
	RandomizationSalt *string `locationName:"randomizationSalt" type:"string"`

	// An array of structures that define the traffic allocation percentages among
	// the feature variations during each step of the launch.
	ScheduledSplitsConfig *ScheduledSplitsLaunchConfig `locationName:"scheduledSplitsConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateLaunchInput) GoString

func (s UpdateLaunchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateLaunchInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateLaunchInput) SetGroups

SetGroups sets the Groups field's value.

func (*UpdateLaunchInput) SetLaunch

func (s *UpdateLaunchInput) SetLaunch(v string) *UpdateLaunchInput

SetLaunch sets the Launch field's value.

func (*UpdateLaunchInput) SetMetricMonitors

func (s *UpdateLaunchInput) SetMetricMonitors(v []*MetricMonitorConfig) *UpdateLaunchInput

SetMetricMonitors sets the MetricMonitors field's value.

func (*UpdateLaunchInput) SetProject

func (s *UpdateLaunchInput) SetProject(v string) *UpdateLaunchInput

SetProject sets the Project field's value.

func (*UpdateLaunchInput) SetRandomizationSalt

func (s *UpdateLaunchInput) SetRandomizationSalt(v string) *UpdateLaunchInput

SetRandomizationSalt sets the RandomizationSalt field's value.

func (*UpdateLaunchInput) SetScheduledSplitsConfig

func (s *UpdateLaunchInput) SetScheduledSplitsConfig(v *ScheduledSplitsLaunchConfig) *UpdateLaunchInput

SetScheduledSplitsConfig sets the ScheduledSplitsConfig field's value.

func (UpdateLaunchInput) String

func (s UpdateLaunchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateLaunchInput) Validate

func (s *UpdateLaunchInput) Validate() error

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

type UpdateLaunchOutput

type UpdateLaunchOutput struct {

	// A structure that contains the new configuration of the launch that was updated.
	//
	// Launch is a required field
	Launch *Launch `locationName:"launch" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateLaunchOutput) GoString

func (s UpdateLaunchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateLaunchOutput) SetLaunch

func (s *UpdateLaunchOutput) SetLaunch(v *Launch) *UpdateLaunchOutput

SetLaunch sets the Launch field's value.

func (UpdateLaunchOutput) String

func (s UpdateLaunchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateProjectDataDeliveryInput

type UpdateProjectDataDeliveryInput struct {

	// A structure containing the CloudWatch Logs log group where you want to store
	// evaluation events.
	CloudWatchLogs *CloudWatchLogsDestinationConfig `locationName:"cloudWatchLogs" type:"structure"`

	// The name or ARN of the project that you want to modify the data storage options
	// for.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`

	// A structure containing the S3 bucket name and bucket prefix where you want
	// to store evaluation events.
	S3Destination *S3DestinationConfig `locationName:"s3Destination" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateProjectDataDeliveryInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProjectDataDeliveryInput) SetCloudWatchLogs

SetCloudWatchLogs sets the CloudWatchLogs field's value.

func (*UpdateProjectDataDeliveryInput) SetProject

SetProject sets the Project field's value.

func (*UpdateProjectDataDeliveryInput) SetS3Destination

SetS3Destination sets the S3Destination field's value.

func (UpdateProjectDataDeliveryInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProjectDataDeliveryInput) Validate

func (s *UpdateProjectDataDeliveryInput) Validate() error

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

type UpdateProjectDataDeliveryOutput

type UpdateProjectDataDeliveryOutput struct {

	// A structure containing details about the project that you updated.
	//
	// Project is a required field
	Project *Project `locationName:"project" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateProjectDataDeliveryOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProjectDataDeliveryOutput) SetProject

SetProject sets the Project field's value.

func (UpdateProjectDataDeliveryOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateProjectInput

type UpdateProjectInput struct {

	// Use this parameter if the project will use client-side evaluation powered
	// by AppConfig. Client-side evaluation allows your application to assign variations
	// to user sessions locally instead of by calling the EvaluateFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html)
	// operation. This mitigates the latency and availability risks that come with
	// an API call. allows you to
	//
	// This parameter is a structure that contains information about the AppConfig
	// application that will be used for client-side evaluation.
	AppConfigResource *ProjectAppConfigResourceConfig `locationName:"appConfigResource" type:"structure"`

	// An optional description of the project.
	Description *string `locationName:"description" type:"string"`

	// The name or ARN of the project to update.
	//
	// Project is a required field
	Project *string `location:"uri" locationName:"project" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateProjectInput) GoString

func (s UpdateProjectInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProjectInput) SetAppConfigResource

SetAppConfigResource sets the AppConfigResource field's value.

func (*UpdateProjectInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateProjectInput) SetProject

func (s *UpdateProjectInput) SetProject(v string) *UpdateProjectInput

SetProject sets the Project field's value.

func (UpdateProjectInput) String

func (s UpdateProjectInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProjectInput) Validate

func (s *UpdateProjectInput) Validate() error

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

type UpdateProjectOutput

type UpdateProjectOutput struct {

	// A structure containing information about the updated project.
	//
	// Project is a required field
	Project *Project `locationName:"project" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateProjectOutput) GoString

func (s UpdateProjectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProjectOutput) SetProject

func (s *UpdateProjectOutput) SetProject(v *Project) *UpdateProjectOutput

SetProject sets the Project field's value.

func (UpdateProjectOutput) String

func (s UpdateProjectOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

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

	// The parameter that caused the exception.
	FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"`

	Message_ *string `locationName:"message" type:"string"`

	// A reason for the error.
	Reason *string `locationName:"reason" type:"string" enum:"ValidationExceptionReason"`
	// contains filtered or unexported fields
}

The value of a parameter in the request caused an error.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationExceptionField

type ValidationExceptionField struct {

	// The error message.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`

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

A structure containing an error name and message.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationExceptionField) SetMessage

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VariableValue

type VariableValue struct {

	// If this feature uses the Boolean variation type, this field contains the
	// Boolean value of this variation.
	BoolValue *bool `locationName:"boolValue" type:"boolean"`

	// If this feature uses the double integer variation type, this field contains
	// the double integer value of this variation.
	DoubleValue *float64 `locationName:"doubleValue" type:"double"`

	// If this feature uses the long variation type, this field contains the long
	// value of this variation.
	LongValue *int64 `locationName:"longValue" type:"long"`

	// If this feature uses the string variation type, this field contains the string
	// value of this variation.
	StringValue *string `locationName:"stringValue" type:"string"`
	// contains filtered or unexported fields
}

The value assigned to a feature variation. This structure must contain exactly one field. It can be boolValue, doubleValue, longValue, or stringValue.

func (VariableValue) GoString

func (s VariableValue) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VariableValue) SetBoolValue

func (s *VariableValue) SetBoolValue(v bool) *VariableValue

SetBoolValue sets the BoolValue field's value.

func (*VariableValue) SetDoubleValue

func (s *VariableValue) SetDoubleValue(v float64) *VariableValue

SetDoubleValue sets the DoubleValue field's value.

func (*VariableValue) SetLongValue

func (s *VariableValue) SetLongValue(v int64) *VariableValue

SetLongValue sets the LongValue field's value.

func (*VariableValue) SetStringValue

func (s *VariableValue) SetStringValue(v string) *VariableValue

SetStringValue sets the StringValue field's value.

func (VariableValue) String

func (s VariableValue) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VariableValue) Validate

func (s *VariableValue) Validate() error

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

type Variation

type Variation struct {

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

	// The value assigned to this variation.
	Value *VariableValue `locationName:"value" type:"structure"`
	// contains filtered or unexported fields
}

This structure contains the name and variation value of one variation of a feature.

func (Variation) GoString

func (s Variation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Variation) SetName

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

SetName sets the Name field's value.

func (*Variation) SetValue

func (s *Variation) SetValue(v *VariableValue) *Variation

SetValue sets the Value field's value.

func (Variation) String

func (s Variation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VariationConfig

type VariationConfig struct {

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

	// The value assigned to this variation.
	//
	// Value is a required field
	Value *VariableValue `locationName:"value" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

This structure contains the name and variation value of one variation of a feature.

func (VariationConfig) GoString

func (s VariationConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VariationConfig) SetName

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

SetName sets the Name field's value.

func (*VariationConfig) SetValue

SetValue sets the Value field's value.

func (VariationConfig) String

func (s VariationConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VariationConfig) Validate

func (s *VariationConfig) Validate() error

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

Directories

Path Synopsis
Package cloudwatchevidentlyiface provides an interface to enable mocking the Amazon CloudWatch Evidently service client for testing your code.
Package cloudwatchevidentlyiface provides an interface to enable mocking the Amazon CloudWatch Evidently service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL