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.

EventTopic

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

type EventTopic struct { CreatedDateTime *time.Time `type:"timestamp"` DirectoryId *string `type:"string"` Status *string `type:"string" enum:"TopicStatus"` TopicArn *string `type:"string"` TopicName *string `min:"1" type:"string"` }

Information about SNS topic and AWS Directory Service directory associations.

CreatedDateTime

Type: *time.Time

The date and time of when you associated your directory with the SNS topic.

DirectoryId

Type: *string

The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic.

Status

Type: *string

The topic registration status.

TopicArn

Type: *string

The SNS topic ARN (Amazon Resource Name).

TopicName

Type: *string

The name of an AWS SNS topic the receives status messages from the directory.

Method

GoString

func (s EventTopic) GoString() string

GoString returns the string representation

SetCreatedDateTime

func (s *EventTopic) SetCreatedDateTime(v time.Time) *EventTopic

SetCreatedDateTime sets the CreatedDateTime field's value.

SetDirectoryId

func (s *EventTopic) SetDirectoryId(v string) *EventTopic

SetDirectoryId sets the DirectoryId field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetTopicArn

func (s *EventTopic) SetTopicArn(v string) *EventTopic

SetTopicArn sets the TopicArn field's value.

SetTopicName

func (s *EventTopic) SetTopicName(v string) *EventTopic

SetTopicName sets the TopicName field's value.

String

func (s EventTopic) String() string

String returns the string representation

On this page: