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.

DescribeOrganizationOutput

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

type DescribeOrganizationOutput struct { Alias *string `min:"1" type:"string"` CompletedDate *time.Time `type:"timestamp"` DefaultMailDomain *string `type:"string"` DirectoryId *string `type:"string"` DirectoryType *string `type:"string"` ErrorMessage *string `type:"string"` OrganizationId *string `type:"string"` State *string `type:"string"` }

Alias

Type: *string

The alias for an organization.

CompletedDate

Type: *time.Time

The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time format.

DefaultMailDomain

Type: *string

The default mail domain associated with the organization.

DirectoryId

Type: *string

The identifier for the directory associated with an Amazon WorkMail organization.

DirectoryType

Type: *string

The type of directory associated with the Amazon WorkMail organization.

ErrorMessage

Type: *string

The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.

OrganizationId

Type: *string

The identifier of an organization.

State

Type: *string

The state of an organization.

Method

GoString

func (s DescribeOrganizationOutput) GoString() string

GoString returns the string representation

SetAlias

func (s *DescribeOrganizationOutput) SetAlias(v string) *DescribeOrganizationOutput

SetAlias sets the Alias field's value.

SetCompletedDate

func (s *DescribeOrganizationOutput) SetCompletedDate(v time.Time) *DescribeOrganizationOutput

SetCompletedDate sets the CompletedDate field's value.

SetDefaultMailDomain

func (s *DescribeOrganizationOutput) SetDefaultMailDomain(v string) *DescribeOrganizationOutput

SetDefaultMailDomain sets the DefaultMailDomain field's value.

SetDirectoryId

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

SetDirectoryId sets the DirectoryId field's value.

SetDirectoryType

func (s *DescribeOrganizationOutput) SetDirectoryType(v string) *DescribeOrganizationOutput

SetDirectoryType sets the DirectoryType field's value.

SetErrorMessage

func (s *DescribeOrganizationOutput) SetErrorMessage(v string) *DescribeOrganizationOutput

SetErrorMessage sets the ErrorMessage field's value.

SetOrganizationId

func (s *DescribeOrganizationOutput) SetOrganizationId(v string) *DescribeOrganizationOutput

SetOrganizationId sets the OrganizationId field's value.

SetState

func (s *DescribeOrganizationOutput) SetState(v string) *DescribeOrganizationOutput

SetState sets the State field's value.

String

func (s DescribeOrganizationOutput) String() string

String returns the string representation

On this page: