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.

SharedDirectory

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

type SharedDirectory struct { CreatedDateTime *time.Time `type:"timestamp"` LastUpdatedDateTime *time.Time `type:"timestamp"` OwnerAccountId *string `type:"string"` OwnerDirectoryId *string `type:"string"` ShareMethod *string `type:"string" enum:"ShareMethod"` ShareNotes *string `type:"string" sensitive:"true"` ShareStatus *string `type:"string" enum:"ShareStatus"` SharedAccountId *string `type:"string"` SharedDirectoryId *string `type:"string"` }

Details about the shared directory in the directory owner account for which the share request in the directory consumer account has been accepted.

CreatedDateTime

Type: *time.Time

The date and time that the shared directory was created.

LastUpdatedDateTime

Type: *time.Time

The date and time that the shared directory was last updated.

OwnerAccountId

Type: *string

Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.

OwnerDirectoryId

Type: *string

Identifier of the directory in the directory owner account.

ShareMethod

Type: *string

The method used when sharing a directory to determine whether the directory should be shared within your AWS organization (ORGANIZATIONS) or with any AWS account by sending a shared directory request (HANDSHAKE).

ShareNotes

Type: *string

A directory share request that is sent by the directory owner to the directory consumer. The request includes a typed message to help the directory consumer administrator determine whether to approve or reject the share invitation.

ShareStatus

Type: *string

Current directory status of the shared AWS Managed Microsoft AD directory.

SharedAccountId

Type: *string

Identifier of the directory consumer account that has access to the shared directory (OwnerDirectoryId) in the directory owner account.

SharedDirectoryId

Type: *string

Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.

Method

GoString

func (s SharedDirectory) GoString() string

GoString returns the string representation

SetCreatedDateTime

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

SetCreatedDateTime sets the CreatedDateTime field's value.

SetLastUpdatedDateTime

func (s *SharedDirectory) SetLastUpdatedDateTime(v time.Time) *SharedDirectory

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

SetOwnerAccountId

func (s *SharedDirectory) SetOwnerAccountId(v string) *SharedDirectory

SetOwnerAccountId sets the OwnerAccountId field's value.

SetOwnerDirectoryId

func (s *SharedDirectory) SetOwnerDirectoryId(v string) *SharedDirectory

SetOwnerDirectoryId sets the OwnerDirectoryId field's value.

SetShareMethod

func (s *SharedDirectory) SetShareMethod(v string) *SharedDirectory

SetShareMethod sets the ShareMethod field's value.

SetShareNotes

func (s *SharedDirectory) SetShareNotes(v string) *SharedDirectory

SetShareNotes sets the ShareNotes field's value.

SetShareStatus

func (s *SharedDirectory) SetShareStatus(v string) *SharedDirectory

SetShareStatus sets the ShareStatus field's value.

SetSharedAccountId

func (s *SharedDirectory) SetSharedAccountId(v string) *SharedDirectory

SetSharedAccountId sets the SharedAccountId field's value.

SetSharedDirectoryId

func (s *SharedDirectory) SetSharedDirectoryId(v string) *SharedDirectory

SetSharedDirectoryId sets the SharedDirectoryId field's value.

String

func (s SharedDirectory) String() string

String returns the string representation

On this page: