AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

SendTestEventNotificationInput

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

type SendTestEventNotificationInput struct { Notification *NotificationSpecification `type:"structure" required:"true"` TestEventType *string `type:"string" required:"true" enum:"EventType"` }

Notification

The NotificationSpecification data structure describes a HIT event notification for a HIT type.

TestEventType

Type: *string

The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.

TestEventType is a required field

Method

GoString

func (s SendTestEventNotificationInput) GoString() string

GoString returns the string representation

SetNotification

func (s *SendTestEventNotificationInput) SetNotification(v *NotificationSpecification) *SendTestEventNotificationInput

SetNotification sets the Notification field's value.

SetTestEventType

func (s *SendTestEventNotificationInput) SetTestEventType(v string) *SendTestEventNotificationInput

SetTestEventType sets the TestEventType field's value.

String

func (s SendTestEventNotificationInput) String() string

String returns the string representation

Validate

func (s *SendTestEventNotificationInput) Validate() error

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

On this page: