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.

UpdateNotificationSettingsInput

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

type UpdateNotificationSettingsInput struct { Active *bool `type:"boolean"` HITTypeId *string `min:"1" type:"string" required:"true"` Notification *NotificationSpecification `type:"structure"` }

Active

Type: *bool

Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed.

HITTypeId

Type: *string

The ID of the HIT type whose notification specification is being updated.

HITTypeId is a required field

Notification

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

Method

GoString

func (s UpdateNotificationSettingsInput) GoString() string

GoString returns the string representation

SetActive

func (s *UpdateNotificationSettingsInput) SetActive(v bool) *UpdateNotificationSettingsInput

SetActive sets the Active field's value.

SetHITTypeId

func (s *UpdateNotificationSettingsInput) SetHITTypeId(v string) *UpdateNotificationSettingsInput

SetHITTypeId sets the HITTypeId field's value.

SetNotification

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

SetNotification sets the Notification field's value.

String

func (s UpdateNotificationSettingsInput) String() string

String returns the string representation

Validate

func (s *UpdateNotificationSettingsInput) Validate() error

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

On this page: