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.

LogSubscription

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

type LogSubscription struct { DirectoryId *string `type:"string"` LogGroupName *string `min:"1" type:"string"` SubscriptionCreatedDateTime *time.Time `type:"timestamp"` }

Represents a log subscription, which tracks real-time data from a chosen log group to a specified destination.

DirectoryId

Type: *string

Identifier (ID) of the directory that you want to associate with the log subscription.

LogGroupName

Type: *string

The name of the log group.

SubscriptionCreatedDateTime

Type: *time.Time

The date and time that the log subscription was created.

Method

GoString

func (s LogSubscription) GoString() string

GoString returns the string representation

SetDirectoryId

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

SetDirectoryId sets the DirectoryId field's value.

SetLogGroupName

func (s *LogSubscription) SetLogGroupName(v string) *LogSubscription

SetLogGroupName sets the LogGroupName field's value.

SetSubscriptionCreatedDateTime

func (s *LogSubscription) SetSubscriptionCreatedDateTime(v time.Time) *LogSubscription

SetSubscriptionCreatedDateTime sets the SubscriptionCreatedDateTime field's value.

String

func (s LogSubscription) String() string

String returns the string representation

On this page: