aws-sdk-go: github.com/aws/aws-sdk-go/service/workmail Index | Files | Directories

package workmail

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

Package workmail provides the client and types for making API requests to Amazon WorkMail.

Amazon WorkMail is a secure, managed business email and calendaring service with support for existing desktop and mobile email clients. You can access your email, contacts, and calendars using Microsoft Outlook, your browser, or other native iOS and Android email applications. You can integrate WorkMail with your existing corporate directory and control both the keys that encrypt your data and the location in which your data is stored.

The WorkMail API is designed for the following scenarios:

* Listing and describing organizations

* Managing users

* Managing groups

* Managing resources

All WorkMail API operations are Amazon-authenticated and certificate-signed. They not only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the WorkMail site, the IAM user gains full administrative visibility into the entire WorkMail organization (or as set in the IAM policy). This includes, but is not limited to, the ability to create, update, and delete users, groups, and resources. This allows developers to perform the scenarios listed above, as well as give users the ability to grant access on a selective basis using the IAM model.

See https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01 for more information on this service.

See workmail package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/workmail/

Using the Client

To contact Amazon WorkMail with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon WorkMail client WorkMail for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/workmail/#New

Index

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // AccessControlRuleEffectAllow is a AccessControlRuleEffect enum value
    AccessControlRuleEffectAllow = "ALLOW"

    // AccessControlRuleEffectDeny is a AccessControlRuleEffect enum value
    AccessControlRuleEffectDeny = "DENY"
)
const (
    // EntityStateEnabled is a EntityState enum value
    EntityStateEnabled = "ENABLED"

    // EntityStateDisabled is a EntityState enum value
    EntityStateDisabled = "DISABLED"

    // EntityStateDeleted is a EntityState enum value
    EntityStateDeleted = "DELETED"
)
const (
    // FolderNameInbox is a FolderName enum value
    FolderNameInbox = "INBOX"

    // FolderNameDeletedItems is a FolderName enum value
    FolderNameDeletedItems = "DELETED_ITEMS"

    // FolderNameSentItems is a FolderName enum value
    FolderNameSentItems = "SENT_ITEMS"

    // FolderNameDrafts is a FolderName enum value
    FolderNameDrafts = "DRAFTS"

    // FolderNameJunkEmail is a FolderName enum value
    FolderNameJunkEmail = "JUNK_EMAIL"
)
const (
    // MemberTypeGroup is a MemberType enum value
    MemberTypeGroup = "GROUP"

    // MemberTypeUser is a MemberType enum value
    MemberTypeUser = "USER"
)
const (
    // PermissionTypeFullAccess is a PermissionType enum value
    PermissionTypeFullAccess = "FULL_ACCESS"

    // PermissionTypeSendAs is a PermissionType enum value
    PermissionTypeSendAs = "SEND_AS"

    // PermissionTypeSendOnBehalf is a PermissionType enum value
    PermissionTypeSendOnBehalf = "SEND_ON_BEHALF"
)
const (
    // ResourceTypeRoom is a ResourceType enum value
    ResourceTypeRoom = "ROOM"

    // ResourceTypeEquipment is a ResourceType enum value
    ResourceTypeEquipment = "EQUIPMENT"
)
const (
    // RetentionActionNone is a RetentionAction enum value
    RetentionActionNone = "NONE"

    // RetentionActionDelete is a RetentionAction enum value
    RetentionActionDelete = "DELETE"

    // RetentionActionPermanentlyDelete is a RetentionAction enum value
    RetentionActionPermanentlyDelete = "PERMANENTLY_DELETE"
)
const (
    // UserRoleUser is a UserRole enum value
    UserRoleUser = "USER"

    // UserRoleResource is a UserRole enum value
    UserRoleResource = "RESOURCE"

    // UserRoleSystemUser is a UserRole enum value
    UserRoleSystemUser = "SYSTEM_USER"
)
const (

    // ErrCodeDirectoryServiceAuthenticationFailedException for service response error code
    // "DirectoryServiceAuthenticationFailedException".
    //
    // The directory service doesn't recognize the credentials supplied by WorkMail.
    ErrCodeDirectoryServiceAuthenticationFailedException = "DirectoryServiceAuthenticationFailedException"

    // ErrCodeDirectoryUnavailableException for service response error code
    // "DirectoryUnavailableException".
    //
    // The directory on which you are trying to perform operations isn't available.
    ErrCodeDirectoryUnavailableException = "DirectoryUnavailableException"

    // ErrCodeEmailAddressInUseException for service response error code
    // "EmailAddressInUseException".
    //
    // The email address that you're trying to assign is already created for a different
    // user, group, or resource.
    ErrCodeEmailAddressInUseException = "EmailAddressInUseException"

    // ErrCodeEntityAlreadyRegisteredException for service response error code
    // "EntityAlreadyRegisteredException".
    //
    // The user, group, or resource that you're trying to register is already registered.
    ErrCodeEntityAlreadyRegisteredException = "EntityAlreadyRegisteredException"

    // ErrCodeEntityNotFoundException for service response error code
    // "EntityNotFoundException".
    //
    // The identifier supplied for the user, group, or resource does not exist in
    // your organization.
    ErrCodeEntityNotFoundException = "EntityNotFoundException"

    // ErrCodeEntityStateException for service response error code
    // "EntityStateException".
    //
    // You are performing an operation on a user, group, or resource that isn't
    // in the expected state, such as trying to delete an active user.
    ErrCodeEntityStateException = "EntityStateException"

    // ErrCodeInvalidConfigurationException for service response error code
    // "InvalidConfigurationException".
    //
    // The configuration for a resource isn't valid. A resource must either be able
    // to auto-respond to requests or have at least one delegate associated that
    // can do so on its behalf.
    ErrCodeInvalidConfigurationException = "InvalidConfigurationException"

    // ErrCodeInvalidParameterException for service response error code
    // "InvalidParameterException".
    //
    // One or more of the input parameters don't match the service's restrictions.
    ErrCodeInvalidParameterException = "InvalidParameterException"

    // ErrCodeInvalidPasswordException for service response error code
    // "InvalidPasswordException".
    //
    // The supplied password doesn't match the minimum security constraints, such
    // as length or use of special characters.
    ErrCodeInvalidPasswordException = "InvalidPasswordException"

    // ErrCodeLimitExceededException for service response error code
    // "LimitExceededException".
    //
    // The request exceeds the limit of the resource.
    ErrCodeLimitExceededException = "LimitExceededException"

    // ErrCodeMailDomainNotFoundException for service response error code
    // "MailDomainNotFoundException".
    //
    // For an email or alias to be created in Amazon WorkMail, the included domain
    // must be defined in the organization.
    ErrCodeMailDomainNotFoundException = "MailDomainNotFoundException"

    // ErrCodeMailDomainStateException for service response error code
    // "MailDomainStateException".
    //
    // After a domain has been added to the organization, it must be verified. The
    // domain is not yet verified.
    ErrCodeMailDomainStateException = "MailDomainStateException"

    // ErrCodeNameAvailabilityException for service response error code
    // "NameAvailabilityException".
    //
    // The user, group, or resource name isn't unique in Amazon WorkMail.
    ErrCodeNameAvailabilityException = "NameAvailabilityException"

    // ErrCodeOrganizationNotFoundException for service response error code
    // "OrganizationNotFoundException".
    //
    // An operation received a valid organization identifier that either doesn't
    // belong or exist in the system.
    ErrCodeOrganizationNotFoundException = "OrganizationNotFoundException"

    // ErrCodeOrganizationStateException for service response error code
    // "OrganizationStateException".
    //
    // The organization must have a valid state (Active or Synchronizing) to perform
    // certain operations on the organization or its members.
    ErrCodeOrganizationStateException = "OrganizationStateException"

    // ErrCodeReservedNameException for service response error code
    // "ReservedNameException".
    //
    // This user, group, or resource name is not allowed in Amazon WorkMail.
    ErrCodeReservedNameException = "ReservedNameException"

    // ErrCodeResourceNotFoundException for service response error code
    // "ResourceNotFoundException".
    //
    // The resource cannot be found.
    ErrCodeResourceNotFoundException = "ResourceNotFoundException"

    // ErrCodeTooManyTagsException for service response error code
    // "TooManyTagsException".
    //
    // The resource can have up to 50 user-applied tags.
    ErrCodeTooManyTagsException = "TooManyTagsException"

    // ErrCodeUnsupportedOperationException for service response error code
    // "UnsupportedOperationException".
    //
    // You can't perform a write operation against a read-only directory.
    ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
)
const (
    ServiceName = "workmail"  // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "WorkMail"  // ServiceID is a unique identifier of a specific service.
)

Service information constants

type AccessControlRule Uses

type AccessControlRule struct {

    // Access protocol actions to include in the rule. Valid values include ActiveSync,
    // AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
    Actions []*string `type:"list"`

    // The date that the rule was created.
    DateCreated *time.Time `type:"timestamp"`

    // The date that the rule was modified.
    DateModified *time.Time `type:"timestamp"`

    // The rule description.
    Description *string `type:"string"`

    // The rule effect.
    Effect *string `type:"string" enum:"AccessControlRuleEffect"`

    // IPv4 CIDR ranges to include in the rule.
    IpRanges []*string `type:"list"`

    // The rule name.
    Name *string `min:"1" type:"string"`

    // Access protocol actions to exclude from the rule. Valid values include ActiveSync,
    // AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
    NotActions []*string `type:"list"`

    // IPv4 CIDR ranges to exclude from the rule.
    NotIpRanges []*string `type:"list"`

    // User IDs to exclude from the rule.
    NotUserIds []*string `type:"list"`

    // User IDs to include in the rule.
    UserIds []*string `type:"list"`
    // contains filtered or unexported fields
}

A rule that controls access to an Amazon WorkMail organization.

func (AccessControlRule) GoString Uses

func (s AccessControlRule) GoString() string

GoString returns the string representation

func (*AccessControlRule) SetActions Uses

func (s *AccessControlRule) SetActions(v []*string) *AccessControlRule

SetActions sets the Actions field's value.

func (*AccessControlRule) SetDateCreated Uses

func (s *AccessControlRule) SetDateCreated(v time.Time) *AccessControlRule

SetDateCreated sets the DateCreated field's value.

func (*AccessControlRule) SetDateModified Uses

func (s *AccessControlRule) SetDateModified(v time.Time) *AccessControlRule

SetDateModified sets the DateModified field's value.

func (*AccessControlRule) SetDescription Uses

func (s *AccessControlRule) SetDescription(v string) *AccessControlRule

SetDescription sets the Description field's value.

func (*AccessControlRule) SetEffect Uses

func (s *AccessControlRule) SetEffect(v string) *AccessControlRule

SetEffect sets the Effect field's value.

func (*AccessControlRule) SetIpRanges Uses

func (s *AccessControlRule) SetIpRanges(v []*string) *AccessControlRule

SetIpRanges sets the IpRanges field's value.

func (*AccessControlRule) SetName Uses

func (s *AccessControlRule) SetName(v string) *AccessControlRule

SetName sets the Name field's value.

func (*AccessControlRule) SetNotActions Uses

func (s *AccessControlRule) SetNotActions(v []*string) *AccessControlRule

SetNotActions sets the NotActions field's value.

func (*AccessControlRule) SetNotIpRanges Uses

func (s *AccessControlRule) SetNotIpRanges(v []*string) *AccessControlRule

SetNotIpRanges sets the NotIpRanges field's value.

func (*AccessControlRule) SetNotUserIds Uses

func (s *AccessControlRule) SetNotUserIds(v []*string) *AccessControlRule

SetNotUserIds sets the NotUserIds field's value.

func (*AccessControlRule) SetUserIds Uses

func (s *AccessControlRule) SetUserIds(v []*string) *AccessControlRule

SetUserIds sets the UserIds field's value.

func (AccessControlRule) String Uses

func (s AccessControlRule) String() string

String returns the string representation

type AssociateDelegateToResourceInput Uses

type AssociateDelegateToResourceInput struct {

    // The member (user or group) to associate to the resource.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The organization under which the resource exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The resource for which members (users or groups) are associated.
    //
    // ResourceId is a required field
    ResourceId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AssociateDelegateToResourceInput) GoString Uses

func (s AssociateDelegateToResourceInput) GoString() string

GoString returns the string representation

func (*AssociateDelegateToResourceInput) SetEntityId Uses

func (s *AssociateDelegateToResourceInput) SetEntityId(v string) *AssociateDelegateToResourceInput

SetEntityId sets the EntityId field's value.

func (*AssociateDelegateToResourceInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*AssociateDelegateToResourceInput) SetResourceId Uses

func (s *AssociateDelegateToResourceInput) SetResourceId(v string) *AssociateDelegateToResourceInput

SetResourceId sets the ResourceId field's value.

func (AssociateDelegateToResourceInput) String Uses

func (s AssociateDelegateToResourceInput) String() string

String returns the string representation

func (*AssociateDelegateToResourceInput) Validate Uses

func (s *AssociateDelegateToResourceInput) Validate() error

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

type AssociateDelegateToResourceOutput Uses

type AssociateDelegateToResourceOutput struct {
    // contains filtered or unexported fields
}

func (AssociateDelegateToResourceOutput) GoString Uses

func (s AssociateDelegateToResourceOutput) GoString() string

GoString returns the string representation

func (AssociateDelegateToResourceOutput) String Uses

func (s AssociateDelegateToResourceOutput) String() string

String returns the string representation

type AssociateMemberToGroupInput Uses

type AssociateMemberToGroupInput struct {

    // The group to which the member (user or group) is associated.
    //
    // GroupId is a required field
    GroupId *string `min:"12" type:"string" required:"true"`

    // The member (user or group) to associate to the group.
    //
    // MemberId is a required field
    MemberId *string `min:"12" type:"string" required:"true"`

    // The organization under which the group exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AssociateMemberToGroupInput) GoString Uses

func (s AssociateMemberToGroupInput) GoString() string

GoString returns the string representation

func (*AssociateMemberToGroupInput) SetGroupId Uses

func (s *AssociateMemberToGroupInput) SetGroupId(v string) *AssociateMemberToGroupInput

SetGroupId sets the GroupId field's value.

func (*AssociateMemberToGroupInput) SetMemberId Uses

func (s *AssociateMemberToGroupInput) SetMemberId(v string) *AssociateMemberToGroupInput

SetMemberId sets the MemberId field's value.

func (*AssociateMemberToGroupInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (AssociateMemberToGroupInput) String Uses

func (s AssociateMemberToGroupInput) String() string

String returns the string representation

func (*AssociateMemberToGroupInput) Validate Uses

func (s *AssociateMemberToGroupInput) Validate() error

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

type AssociateMemberToGroupOutput Uses

type AssociateMemberToGroupOutput struct {
    // contains filtered or unexported fields
}

func (AssociateMemberToGroupOutput) GoString Uses

func (s AssociateMemberToGroupOutput) GoString() string

GoString returns the string representation

func (AssociateMemberToGroupOutput) String Uses

func (s AssociateMemberToGroupOutput) String() string

String returns the string representation

type BookingOptions Uses

type BookingOptions struct {

    // The resource's ability to automatically reply to requests. If disabled, delegates
    // must be associated to the resource.
    AutoAcceptRequests *bool `type:"boolean"`

    // The resource's ability to automatically decline any conflicting requests.
    AutoDeclineConflictingRequests *bool `type:"boolean"`

    // The resource's ability to automatically decline any recurring requests.
    AutoDeclineRecurringRequests *bool `type:"boolean"`
    // contains filtered or unexported fields
}

At least one delegate must be associated to the resource to disable automatic replies from the resource.

func (BookingOptions) GoString Uses

func (s BookingOptions) GoString() string

GoString returns the string representation

func (*BookingOptions) SetAutoAcceptRequests Uses

func (s *BookingOptions) SetAutoAcceptRequests(v bool) *BookingOptions

SetAutoAcceptRequests sets the AutoAcceptRequests field's value.

func (*BookingOptions) SetAutoDeclineConflictingRequests Uses

func (s *BookingOptions) SetAutoDeclineConflictingRequests(v bool) *BookingOptions

SetAutoDeclineConflictingRequests sets the AutoDeclineConflictingRequests field's value.

func (*BookingOptions) SetAutoDeclineRecurringRequests Uses

func (s *BookingOptions) SetAutoDeclineRecurringRequests(v bool) *BookingOptions

SetAutoDeclineRecurringRequests sets the AutoDeclineRecurringRequests field's value.

func (BookingOptions) String Uses

func (s BookingOptions) String() string

String returns the string representation

type CreateAliasInput Uses

type CreateAliasInput struct {

    // The alias to add to the member set.
    //
    // Alias is a required field
    Alias *string `min:"1" type:"string" required:"true"`

    // The member (user or group) to which this alias is added.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The organization under which the member (user or group) exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateAliasInput) GoString Uses

func (s CreateAliasInput) GoString() string

GoString returns the string representation

func (*CreateAliasInput) SetAlias Uses

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

SetAlias sets the Alias field's value.

func (*CreateAliasInput) SetEntityId Uses

func (s *CreateAliasInput) SetEntityId(v string) *CreateAliasInput

SetEntityId sets the EntityId field's value.

func (*CreateAliasInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (CreateAliasInput) String Uses

func (s CreateAliasInput) String() string

String returns the string representation

func (*CreateAliasInput) Validate Uses

func (s *CreateAliasInput) Validate() error

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

type CreateAliasOutput Uses

type CreateAliasOutput struct {
    // contains filtered or unexported fields
}

func (CreateAliasOutput) GoString Uses

func (s CreateAliasOutput) GoString() string

GoString returns the string representation

func (CreateAliasOutput) String Uses

func (s CreateAliasOutput) String() string

String returns the string representation

type CreateGroupInput Uses

type CreateGroupInput struct {

    // The name of the group.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The organization under which the group is to be created.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateGroupInput) GoString Uses

func (s CreateGroupInput) GoString() string

GoString returns the string representation

func (*CreateGroupInput) SetName Uses

func (s *CreateGroupInput) SetName(v string) *CreateGroupInput

SetName sets the Name field's value.

func (*CreateGroupInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (CreateGroupInput) String Uses

func (s CreateGroupInput) String() string

String returns the string representation

func (*CreateGroupInput) Validate Uses

func (s *CreateGroupInput) Validate() error

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

type CreateGroupOutput Uses

type CreateGroupOutput struct {

    // The identifier of the group.
    GroupId *string `min:"12" type:"string"`
    // contains filtered or unexported fields
}

func (CreateGroupOutput) GoString Uses

func (s CreateGroupOutput) GoString() string

GoString returns the string representation

func (*CreateGroupOutput) SetGroupId Uses

func (s *CreateGroupOutput) SetGroupId(v string) *CreateGroupOutput

SetGroupId sets the GroupId field's value.

func (CreateGroupOutput) String Uses

func (s CreateGroupOutput) String() string

String returns the string representation

type CreateResourceInput Uses

type CreateResourceInput struct {

    // The name of the new resource.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The identifier associated with the organization for which the resource is
    // created.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The type of the new resource. The available types are equipment and room.
    //
    // Type is a required field
    Type *string `type:"string" required:"true" enum:"ResourceType"`
    // contains filtered or unexported fields
}

func (CreateResourceInput) GoString Uses

func (s CreateResourceInput) GoString() string

GoString returns the string representation

func (*CreateResourceInput) SetName Uses

func (s *CreateResourceInput) SetName(v string) *CreateResourceInput

SetName sets the Name field's value.

func (*CreateResourceInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*CreateResourceInput) SetType Uses

func (s *CreateResourceInput) SetType(v string) *CreateResourceInput

SetType sets the Type field's value.

func (CreateResourceInput) String Uses

func (s CreateResourceInput) String() string

String returns the string representation

func (*CreateResourceInput) Validate Uses

func (s *CreateResourceInput) Validate() error

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

type CreateResourceOutput Uses

type CreateResourceOutput struct {

    // The identifier of the new resource.
    ResourceId *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateResourceOutput) GoString Uses

func (s CreateResourceOutput) GoString() string

GoString returns the string representation

func (*CreateResourceOutput) SetResourceId Uses

func (s *CreateResourceOutput) SetResourceId(v string) *CreateResourceOutput

SetResourceId sets the ResourceId field's value.

func (CreateResourceOutput) String Uses

func (s CreateResourceOutput) String() string

String returns the string representation

type CreateUserInput Uses

type CreateUserInput struct {

    // The display name for the new user.
    //
    // DisplayName is a required field
    DisplayName *string `type:"string" required:"true"`

    // The name for the new user. Simple AD or AD Connector user names have a maximum
    // length of 20. All others have a maximum length of 64.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The identifier of the organization for which the user is created.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The password for the new user.
    //
    // Password is a required field
    Password *string `type:"string" required:"true" sensitive:"true"`
    // contains filtered or unexported fields
}

func (CreateUserInput) GoString Uses

func (s CreateUserInput) GoString() string

GoString returns the string representation

func (*CreateUserInput) SetDisplayName Uses

func (s *CreateUserInput) SetDisplayName(v string) *CreateUserInput

SetDisplayName sets the DisplayName field's value.

func (*CreateUserInput) SetName Uses

func (s *CreateUserInput) SetName(v string) *CreateUserInput

SetName sets the Name field's value.

func (*CreateUserInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*CreateUserInput) SetPassword Uses

func (s *CreateUserInput) SetPassword(v string) *CreateUserInput

SetPassword sets the Password field's value.

func (CreateUserInput) String Uses

func (s CreateUserInput) String() string

String returns the string representation

func (*CreateUserInput) Validate Uses

func (s *CreateUserInput) Validate() error

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

type CreateUserOutput Uses

type CreateUserOutput struct {

    // The identifier for the new user.
    UserId *string `min:"12" type:"string"`
    // contains filtered or unexported fields
}

func (CreateUserOutput) GoString Uses

func (s CreateUserOutput) GoString() string

GoString returns the string representation

func (*CreateUserOutput) SetUserId Uses

func (s *CreateUserOutput) SetUserId(v string) *CreateUserOutput

SetUserId sets the UserId field's value.

func (CreateUserOutput) String Uses

func (s CreateUserOutput) String() string

String returns the string representation

type Delegate Uses

type Delegate struct {

    // The identifier for the user or group associated as the resource's delegate.
    //
    // Id is a required field
    Id  *string `type:"string" required:"true"`

    // The type of the delegate: user or group.
    //
    // Type is a required field
    Type *string `type:"string" required:"true" enum:"MemberType"`
    // contains filtered or unexported fields
}

The name of the attribute, which is one of the values defined in the UserAttribute enumeration.

func (Delegate) GoString Uses

func (s Delegate) GoString() string

GoString returns the string representation

func (*Delegate) SetId Uses

func (s *Delegate) SetId(v string) *Delegate

SetId sets the Id field's value.

func (*Delegate) SetType Uses

func (s *Delegate) SetType(v string) *Delegate

SetType sets the Type field's value.

func (Delegate) String Uses

func (s Delegate) String() string

String returns the string representation

type DeleteAccessControlRuleInput Uses

type DeleteAccessControlRuleInput struct {

    // The name of the access control rule.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The identifier for the organization.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteAccessControlRuleInput) GoString Uses

func (s DeleteAccessControlRuleInput) GoString() string

GoString returns the string representation

func (*DeleteAccessControlRuleInput) SetName Uses

func (s *DeleteAccessControlRuleInput) SetName(v string) *DeleteAccessControlRuleInput

SetName sets the Name field's value.

func (*DeleteAccessControlRuleInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (DeleteAccessControlRuleInput) String Uses

func (s DeleteAccessControlRuleInput) String() string

String returns the string representation

func (*DeleteAccessControlRuleInput) Validate Uses

func (s *DeleteAccessControlRuleInput) Validate() error

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

type DeleteAccessControlRuleOutput Uses

type DeleteAccessControlRuleOutput struct {
    // contains filtered or unexported fields
}

func (DeleteAccessControlRuleOutput) GoString Uses

func (s DeleteAccessControlRuleOutput) GoString() string

GoString returns the string representation

func (DeleteAccessControlRuleOutput) String Uses

func (s DeleteAccessControlRuleOutput) String() string

String returns the string representation

type DeleteAliasInput Uses

type DeleteAliasInput struct {

    // The aliases to be removed from the user's set of aliases. Duplicate entries
    // in the list are collapsed into single entries (the list is transformed into
    // a set).
    //
    // Alias is a required field
    Alias *string `min:"1" type:"string" required:"true"`

    // The identifier for the member (user or group) from which to have the aliases
    // removed.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The identifier for the organization under which the user exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteAliasInput) GoString Uses

func (s DeleteAliasInput) GoString() string

GoString returns the string representation

func (*DeleteAliasInput) SetAlias Uses

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

SetAlias sets the Alias field's value.

func (*DeleteAliasInput) SetEntityId Uses

func (s *DeleteAliasInput) SetEntityId(v string) *DeleteAliasInput

SetEntityId sets the EntityId field's value.

func (*DeleteAliasInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (DeleteAliasInput) String Uses

func (s DeleteAliasInput) String() string

String returns the string representation

func (*DeleteAliasInput) Validate Uses

func (s *DeleteAliasInput) Validate() error

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

type DeleteAliasOutput Uses

type DeleteAliasOutput struct {
    // contains filtered or unexported fields
}

func (DeleteAliasOutput) GoString Uses

func (s DeleteAliasOutput) GoString() string

GoString returns the string representation

func (DeleteAliasOutput) String Uses

func (s DeleteAliasOutput) String() string

String returns the string representation

type DeleteGroupInput Uses

type DeleteGroupInput struct {

    // The identifier of the group to be deleted.
    //
    // GroupId is a required field
    GroupId *string `min:"12" type:"string" required:"true"`

    // The organization that contains the group.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteGroupInput) GoString Uses

func (s DeleteGroupInput) GoString() string

GoString returns the string representation

func (*DeleteGroupInput) SetGroupId Uses

func (s *DeleteGroupInput) SetGroupId(v string) *DeleteGroupInput

SetGroupId sets the GroupId field's value.

func (*DeleteGroupInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (DeleteGroupInput) String Uses

func (s DeleteGroupInput) String() string

String returns the string representation

func (*DeleteGroupInput) Validate Uses

func (s *DeleteGroupInput) Validate() error

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

type DeleteGroupOutput Uses

type DeleteGroupOutput struct {
    // contains filtered or unexported fields
}

func (DeleteGroupOutput) GoString Uses

func (s DeleteGroupOutput) GoString() string

GoString returns the string representation

func (DeleteGroupOutput) String Uses

func (s DeleteGroupOutput) String() string

String returns the string representation

type DeleteMailboxPermissionsInput Uses

type DeleteMailboxPermissionsInput struct {

    // The identifier of the member (user or group)that owns the mailbox.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The identifier of the member (user or group) for which to delete granted
    // permissions.
    //
    // GranteeId is a required field
    GranteeId *string `min:"12" type:"string" required:"true"`

    // The identifier of the organization under which the member (user or group)
    // exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteMailboxPermissionsInput) GoString Uses

func (s DeleteMailboxPermissionsInput) GoString() string

GoString returns the string representation

func (*DeleteMailboxPermissionsInput) SetEntityId Uses

func (s *DeleteMailboxPermissionsInput) SetEntityId(v string) *DeleteMailboxPermissionsInput

SetEntityId sets the EntityId field's value.

func (*DeleteMailboxPermissionsInput) SetGranteeId Uses

func (s *DeleteMailboxPermissionsInput) SetGranteeId(v string) *DeleteMailboxPermissionsInput

SetGranteeId sets the GranteeId field's value.

func (*DeleteMailboxPermissionsInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (DeleteMailboxPermissionsInput) String Uses

func (s DeleteMailboxPermissionsInput) String() string

String returns the string representation

func (*DeleteMailboxPermissionsInput) Validate Uses

func (s *DeleteMailboxPermissionsInput) Validate() error

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

type DeleteMailboxPermissionsOutput Uses

type DeleteMailboxPermissionsOutput struct {
    // contains filtered or unexported fields
}

func (DeleteMailboxPermissionsOutput) GoString Uses

func (s DeleteMailboxPermissionsOutput) GoString() string

GoString returns the string representation

func (DeleteMailboxPermissionsOutput) String Uses

func (s DeleteMailboxPermissionsOutput) String() string

String returns the string representation

type DeleteResourceInput Uses

type DeleteResourceInput struct {

    // The identifier associated with the organization from which the resource is
    // deleted.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The identifier of the resource to be deleted.
    //
    // ResourceId is a required field
    ResourceId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteResourceInput) GoString Uses

func (s DeleteResourceInput) GoString() string

GoString returns the string representation

func (*DeleteResourceInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*DeleteResourceInput) SetResourceId Uses

func (s *DeleteResourceInput) SetResourceId(v string) *DeleteResourceInput

SetResourceId sets the ResourceId field's value.

func (DeleteResourceInput) String Uses

func (s DeleteResourceInput) String() string

String returns the string representation

func (*DeleteResourceInput) Validate Uses

func (s *DeleteResourceInput) Validate() error

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

type DeleteResourceOutput Uses

type DeleteResourceOutput struct {
    // contains filtered or unexported fields
}

func (DeleteResourceOutput) GoString Uses

func (s DeleteResourceOutput) GoString() string

GoString returns the string representation

func (DeleteResourceOutput) String Uses

func (s DeleteResourceOutput) String() string

String returns the string representation

type DeleteRetentionPolicyInput Uses

type DeleteRetentionPolicyInput struct {

    // The retention policy ID.
    //
    // Id is a required field
    Id  *string `min:"1" type:"string" required:"true"`

    // The organization ID.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteRetentionPolicyInput) GoString Uses

func (s DeleteRetentionPolicyInput) GoString() string

GoString returns the string representation

func (*DeleteRetentionPolicyInput) SetId Uses

func (s *DeleteRetentionPolicyInput) SetId(v string) *DeleteRetentionPolicyInput

SetId sets the Id field's value.

func (*DeleteRetentionPolicyInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (DeleteRetentionPolicyInput) String Uses

func (s DeleteRetentionPolicyInput) String() string

String returns the string representation

func (*DeleteRetentionPolicyInput) Validate Uses

func (s *DeleteRetentionPolicyInput) Validate() error

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

type DeleteRetentionPolicyOutput Uses

type DeleteRetentionPolicyOutput struct {
    // contains filtered or unexported fields
}

func (DeleteRetentionPolicyOutput) GoString Uses

func (s DeleteRetentionPolicyOutput) GoString() string

GoString returns the string representation

func (DeleteRetentionPolicyOutput) String Uses

func (s DeleteRetentionPolicyOutput) String() string

String returns the string representation

type DeleteUserInput Uses

type DeleteUserInput struct {

    // The organization that contains the user to be deleted.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The identifier of the user to be deleted.
    //
    // UserId is a required field
    UserId *string `min:"12" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserInput) GoString Uses

func (s DeleteUserInput) GoString() string

GoString returns the string representation

func (*DeleteUserInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*DeleteUserInput) SetUserId Uses

func (s *DeleteUserInput) SetUserId(v string) *DeleteUserInput

SetUserId sets the UserId field's value.

func (DeleteUserInput) String Uses

func (s DeleteUserInput) String() string

String returns the string representation

func (*DeleteUserInput) Validate Uses

func (s *DeleteUserInput) Validate() error

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

type DeleteUserOutput Uses

type DeleteUserOutput struct {
    // contains filtered or unexported fields
}

func (DeleteUserOutput) GoString Uses

func (s DeleteUserOutput) GoString() string

GoString returns the string representation

func (DeleteUserOutput) String Uses

func (s DeleteUserOutput) String() string

String returns the string representation

type DeregisterFromWorkMailInput Uses

type DeregisterFromWorkMailInput struct {

    // The identifier for the member (user or group) to be updated.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The identifier for the organization under which the Amazon WorkMail entity
    // exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeregisterFromWorkMailInput) GoString Uses

func (s DeregisterFromWorkMailInput) GoString() string

GoString returns the string representation

func (*DeregisterFromWorkMailInput) SetEntityId Uses

func (s *DeregisterFromWorkMailInput) SetEntityId(v string) *DeregisterFromWorkMailInput

SetEntityId sets the EntityId field's value.

func (*DeregisterFromWorkMailInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (DeregisterFromWorkMailInput) String Uses

func (s DeregisterFromWorkMailInput) String() string

String returns the string representation

func (*DeregisterFromWorkMailInput) Validate Uses

func (s *DeregisterFromWorkMailInput) Validate() error

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

type DeregisterFromWorkMailOutput Uses

type DeregisterFromWorkMailOutput struct {
    // contains filtered or unexported fields
}

func (DeregisterFromWorkMailOutput) GoString Uses

func (s DeregisterFromWorkMailOutput) GoString() string

GoString returns the string representation

func (DeregisterFromWorkMailOutput) String Uses

func (s DeregisterFromWorkMailOutput) String() string

String returns the string representation

type DescribeGroupInput Uses

type DescribeGroupInput struct {

    // The identifier for the group to be described.
    //
    // GroupId is a required field
    GroupId *string `min:"12" type:"string" required:"true"`

    // The identifier for the organization under which the group exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeGroupInput) GoString Uses

func (s DescribeGroupInput) GoString() string

GoString returns the string representation

func (*DescribeGroupInput) SetGroupId Uses

func (s *DescribeGroupInput) SetGroupId(v string) *DescribeGroupInput

SetGroupId sets the GroupId field's value.

func (*DescribeGroupInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (DescribeGroupInput) String Uses

func (s DescribeGroupInput) String() string

String returns the string representation

func (*DescribeGroupInput) Validate Uses

func (s *DescribeGroupInput) Validate() error

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

type DescribeGroupOutput Uses

type DescribeGroupOutput struct {

    // The date and time when a user was deregistered from WorkMail, in UNIX epoch
    // time format.
    DisabledDate *time.Time `type:"timestamp"`

    // The email of the described group.
    Email *string `min:"1" type:"string"`

    // The date and time when a user was registered to WorkMail, in UNIX epoch time
    // format.
    EnabledDate *time.Time `type:"timestamp"`

    // The identifier of the described group.
    GroupId *string `min:"12" type:"string"`

    // The name of the described group.
    Name *string `min:"1" type:"string"`

    // The state of the user: enabled (registered to Amazon WorkMail) or disabled
    // (deregistered or never registered to WorkMail).
    State *string `type:"string" enum:"EntityState"`
    // contains filtered or unexported fields
}

func (DescribeGroupOutput) GoString Uses

func (s DescribeGroupOutput) GoString() string

GoString returns the string representation

func (*DescribeGroupOutput) SetDisabledDate Uses

func (s *DescribeGroupOutput) SetDisabledDate(v time.Time) *DescribeGroupOutput

SetDisabledDate sets the DisabledDate field's value.

func (*DescribeGroupOutput) SetEmail Uses

func (s *DescribeGroupOutput) SetEmail(v string) *DescribeGroupOutput

SetEmail sets the Email field's value.

func (*DescribeGroupOutput) SetEnabledDate Uses

func (s *DescribeGroupOutput) SetEnabledDate(v time.Time) *DescribeGroupOutput

SetEnabledDate sets the EnabledDate field's value.

func (*DescribeGroupOutput) SetGroupId Uses

func (s *DescribeGroupOutput) SetGroupId(v string) *DescribeGroupOutput

SetGroupId sets the GroupId field's value.

func (*DescribeGroupOutput) SetName Uses

func (s *DescribeGroupOutput) SetName(v string) *DescribeGroupOutput

SetName sets the Name field's value.

func (*DescribeGroupOutput) SetState Uses

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

SetState sets the State field's value.

func (DescribeGroupOutput) String Uses

func (s DescribeGroupOutput) String() string

String returns the string representation

type DescribeOrganizationInput Uses

type DescribeOrganizationInput struct {

    // The identifier for the organization to be described.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeOrganizationInput) GoString Uses

func (s DescribeOrganizationInput) GoString() string

GoString returns the string representation

func (*DescribeOrganizationInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (DescribeOrganizationInput) String Uses

func (s DescribeOrganizationInput) String() string

String returns the string representation

func (*DescribeOrganizationInput) Validate Uses

func (s *DescribeOrganizationInput) Validate() error

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

type DescribeOrganizationOutput Uses

type DescribeOrganizationOutput struct {

    // The Amazon Resource Name (ARN) of the organization.
    ARN *string `min:"1" type:"string"`

    // The alias for an organization.
    Alias *string `min:"1" type:"string"`

    // The date at which the organization became usable in the WorkMail context,
    // in UNIX epoch time format.
    CompletedDate *time.Time `type:"timestamp"`

    // The default mail domain associated with the organization.
    DefaultMailDomain *string `type:"string"`

    // The identifier for the directory associated with an Amazon WorkMail organization.
    DirectoryId *string `type:"string"`

    // The type of directory associated with the WorkMail organization.
    DirectoryType *string `type:"string"`

    // (Optional) The error message indicating if unexpected behavior was encountered
    // with regards to the organization.
    ErrorMessage *string `type:"string"`

    // The identifier of an organization.
    OrganizationId *string `type:"string"`

    // The state of an organization.
    State *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeOrganizationOutput) GoString Uses

func (s DescribeOrganizationOutput) GoString() string

GoString returns the string representation

func (*DescribeOrganizationOutput) SetARN Uses

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

SetARN sets the ARN field's value.

func (*DescribeOrganizationOutput) SetAlias Uses

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

SetAlias sets the Alias field's value.

func (*DescribeOrganizationOutput) SetCompletedDate Uses

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

SetCompletedDate sets the CompletedDate field's value.

func (*DescribeOrganizationOutput) SetDefaultMailDomain Uses

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

SetDefaultMailDomain sets the DefaultMailDomain field's value.

func (*DescribeOrganizationOutput) SetDirectoryId Uses

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

SetDirectoryId sets the DirectoryId field's value.

func (*DescribeOrganizationOutput) SetDirectoryType Uses

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

SetDirectoryType sets the DirectoryType field's value.

func (*DescribeOrganizationOutput) SetErrorMessage Uses

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

SetErrorMessage sets the ErrorMessage field's value.

func (*DescribeOrganizationOutput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*DescribeOrganizationOutput) SetState Uses

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

SetState sets the State field's value.

func (DescribeOrganizationOutput) String Uses

func (s DescribeOrganizationOutput) String() string

String returns the string representation

type DescribeResourceInput Uses

type DescribeResourceInput struct {

    // The identifier associated with the organization for which the resource is
    // described.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The identifier of the resource to be described.
    //
    // ResourceId is a required field
    ResourceId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeResourceInput) GoString Uses

func (s DescribeResourceInput) GoString() string

GoString returns the string representation

func (*DescribeResourceInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*DescribeResourceInput) SetResourceId Uses

func (s *DescribeResourceInput) SetResourceId(v string) *DescribeResourceInput

SetResourceId sets the ResourceId field's value.

func (DescribeResourceInput) String Uses

func (s DescribeResourceInput) String() string

String returns the string representation

func (*DescribeResourceInput) Validate Uses

func (s *DescribeResourceInput) Validate() error

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

type DescribeResourceOutput Uses

type DescribeResourceOutput struct {

    // The booking options for the described resource.
    BookingOptions *BookingOptions `type:"structure"`

    // The date and time when a resource was disabled from WorkMail, in UNIX epoch
    // time format.
    DisabledDate *time.Time `type:"timestamp"`

    // The email of the described resource.
    Email *string `min:"1" type:"string"`

    // The date and time when a resource was enabled for WorkMail, in UNIX epoch
    // time format.
    EnabledDate *time.Time `type:"timestamp"`

    // The name of the described resource.
    Name *string `min:"1" type:"string"`

    // The identifier of the described resource.
    ResourceId *string `type:"string"`

    // The state of the resource: enabled (registered to Amazon WorkMail), disabled
    // (deregistered or never registered to WorkMail), or deleted.
    State *string `type:"string" enum:"EntityState"`

    // The type of the described resource.
    Type *string `type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

func (DescribeResourceOutput) GoString Uses

func (s DescribeResourceOutput) GoString() string

GoString returns the string representation

func (*DescribeResourceOutput) SetBookingOptions Uses

func (s *DescribeResourceOutput) SetBookingOptions(v *BookingOptions) *DescribeResourceOutput

SetBookingOptions sets the BookingOptions field's value.

func (*DescribeResourceOutput) SetDisabledDate Uses

func (s *DescribeResourceOutput) SetDisabledDate(v time.Time) *DescribeResourceOutput

SetDisabledDate sets the DisabledDate field's value.

func (*DescribeResourceOutput) SetEmail Uses

func (s *DescribeResourceOutput) SetEmail(v string) *DescribeResourceOutput

SetEmail sets the Email field's value.

func (*DescribeResourceOutput) SetEnabledDate Uses

func (s *DescribeResourceOutput) SetEnabledDate(v time.Time) *DescribeResourceOutput

SetEnabledDate sets the EnabledDate field's value.

func (*DescribeResourceOutput) SetName Uses

func (s *DescribeResourceOutput) SetName(v string) *DescribeResourceOutput

SetName sets the Name field's value.

func (*DescribeResourceOutput) SetResourceId Uses

func (s *DescribeResourceOutput) SetResourceId(v string) *DescribeResourceOutput

SetResourceId sets the ResourceId field's value.

func (*DescribeResourceOutput) SetState Uses

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

SetState sets the State field's value.

func (*DescribeResourceOutput) SetType Uses

func (s *DescribeResourceOutput) SetType(v string) *DescribeResourceOutput

SetType sets the Type field's value.

func (DescribeResourceOutput) String Uses

func (s DescribeResourceOutput) String() string

String returns the string representation

type DescribeUserInput Uses

type DescribeUserInput struct {

    // The identifier for the organization under which the user exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The identifier for the user to be described.
    //
    // UserId is a required field
    UserId *string `min:"12" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeUserInput) GoString Uses

func (s DescribeUserInput) GoString() string

GoString returns the string representation

func (*DescribeUserInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*DescribeUserInput) SetUserId Uses

func (s *DescribeUserInput) SetUserId(v string) *DescribeUserInput

SetUserId sets the UserId field's value.

func (DescribeUserInput) String Uses

func (s DescribeUserInput) String() string

String returns the string representation

func (*DescribeUserInput) Validate Uses

func (s *DescribeUserInput) Validate() error

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

type DescribeUserOutput Uses

type DescribeUserOutput struct {

    // The date and time at which the user was disabled for Amazon WorkMail usage,
    // in UNIX epoch time format.
    DisabledDate *time.Time `type:"timestamp"`

    // The display name of the user.
    DisplayName *string `type:"string"`

    // The email of the user.
    Email *string `min:"1" type:"string"`

    // The date and time at which the user was enabled for Amazon WorkMail usage,
    // in UNIX epoch time format.
    EnabledDate *time.Time `type:"timestamp"`

    // The name for the user.
    Name *string `min:"1" type:"string"`

    // The state of a user: enabled (registered to Amazon WorkMail) or disabled
    // (deregistered or never registered to WorkMail).
    State *string `type:"string" enum:"EntityState"`

    // The identifier for the described user.
    UserId *string `min:"12" type:"string"`

    // In certain cases, other entities are modeled as users. If interoperability
    // is enabled, resources are imported into Amazon WorkMail as users. Because
    // different WorkMail organizations rely on different directory types, administrators
    // can distinguish between an unregistered user (account is disabled and has
    // a user role) and the directory administrators. The values are USER, RESOURCE,
    // and SYSTEM_USER.
    UserRole *string `type:"string" enum:"UserRole"`
    // contains filtered or unexported fields
}

func (DescribeUserOutput) GoString Uses

func (s DescribeUserOutput) GoString() string

GoString returns the string representation

func (*DescribeUserOutput) SetDisabledDate Uses

func (s *DescribeUserOutput) SetDisabledDate(v time.Time) *DescribeUserOutput

SetDisabledDate sets the DisabledDate field's value.

func (*DescribeUserOutput) SetDisplayName Uses

func (s *DescribeUserOutput) SetDisplayName(v string) *DescribeUserOutput

SetDisplayName sets the DisplayName field's value.

func (*DescribeUserOutput) SetEmail Uses

func (s *DescribeUserOutput) SetEmail(v string) *DescribeUserOutput

SetEmail sets the Email field's value.

func (*DescribeUserOutput) SetEnabledDate Uses

func (s *DescribeUserOutput) SetEnabledDate(v time.Time) *DescribeUserOutput

SetEnabledDate sets the EnabledDate field's value.

func (*DescribeUserOutput) SetName Uses

func (s *DescribeUserOutput) SetName(v string) *DescribeUserOutput

SetName sets the Name field's value.

func (*DescribeUserOutput) SetState Uses

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

SetState sets the State field's value.

func (*DescribeUserOutput) SetUserId Uses

func (s *DescribeUserOutput) SetUserId(v string) *DescribeUserOutput

SetUserId sets the UserId field's value.

func (*DescribeUserOutput) SetUserRole Uses

func (s *DescribeUserOutput) SetUserRole(v string) *DescribeUserOutput

SetUserRole sets the UserRole field's value.

func (DescribeUserOutput) String Uses

func (s DescribeUserOutput) String() string

String returns the string representation

type DirectoryServiceAuthenticationFailedException Uses

type DirectoryServiceAuthenticationFailedException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The directory service doesn't recognize the credentials supplied by WorkMail.

func (*DirectoryServiceAuthenticationFailedException) Code Uses

func (s *DirectoryServiceAuthenticationFailedException) Code() string

Code returns the exception type name.

func (*DirectoryServiceAuthenticationFailedException) Error Uses

func (s *DirectoryServiceAuthenticationFailedException) Error() string

func (DirectoryServiceAuthenticationFailedException) GoString Uses

func (s DirectoryServiceAuthenticationFailedException) GoString() string

GoString returns the string representation

func (*DirectoryServiceAuthenticationFailedException) Message Uses

func (s *DirectoryServiceAuthenticationFailedException) Message() string

Message returns the exception's message.

func (*DirectoryServiceAuthenticationFailedException) OrigErr Uses

func (s *DirectoryServiceAuthenticationFailedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DirectoryServiceAuthenticationFailedException) RequestID Uses

func (s *DirectoryServiceAuthenticationFailedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DirectoryServiceAuthenticationFailedException) StatusCode Uses

func (s *DirectoryServiceAuthenticationFailedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DirectoryServiceAuthenticationFailedException) String Uses

func (s DirectoryServiceAuthenticationFailedException) String() string

String returns the string representation

type DirectoryUnavailableException Uses

type DirectoryUnavailableException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The directory on which you are trying to perform operations isn't available.

func (*DirectoryUnavailableException) Code Uses

func (s *DirectoryUnavailableException) Code() string

Code returns the exception type name.

func (*DirectoryUnavailableException) Error Uses

func (s *DirectoryUnavailableException) Error() string

func (DirectoryUnavailableException) GoString Uses

func (s DirectoryUnavailableException) GoString() string

GoString returns the string representation

func (*DirectoryUnavailableException) Message Uses

func (s *DirectoryUnavailableException) Message() string

Message returns the exception's message.

func (*DirectoryUnavailableException) OrigErr Uses

func (s *DirectoryUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DirectoryUnavailableException) RequestID Uses

func (s *DirectoryUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DirectoryUnavailableException) StatusCode Uses

func (s *DirectoryUnavailableException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DirectoryUnavailableException) String Uses

func (s DirectoryUnavailableException) String() string

String returns the string representation

type DisassociateDelegateFromResourceInput Uses

type DisassociateDelegateFromResourceInput struct {

    // The identifier for the member (user, group) to be removed from the resource's
    // delegates.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The identifier for the organization under which the resource exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The identifier of the resource from which delegates' set members are removed.
    //
    // ResourceId is a required field
    ResourceId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisassociateDelegateFromResourceInput) GoString Uses

func (s DisassociateDelegateFromResourceInput) GoString() string

GoString returns the string representation

func (*DisassociateDelegateFromResourceInput) SetEntityId Uses

func (s *DisassociateDelegateFromResourceInput) SetEntityId(v string) *DisassociateDelegateFromResourceInput

SetEntityId sets the EntityId field's value.

func (*DisassociateDelegateFromResourceInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*DisassociateDelegateFromResourceInput) SetResourceId Uses

func (s *DisassociateDelegateFromResourceInput) SetResourceId(v string) *DisassociateDelegateFromResourceInput

SetResourceId sets the ResourceId field's value.

func (DisassociateDelegateFromResourceInput) String Uses

func (s DisassociateDelegateFromResourceInput) String() string

String returns the string representation

func (*DisassociateDelegateFromResourceInput) Validate Uses

func (s *DisassociateDelegateFromResourceInput) Validate() error

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

type DisassociateDelegateFromResourceOutput Uses

type DisassociateDelegateFromResourceOutput struct {
    // contains filtered or unexported fields
}

func (DisassociateDelegateFromResourceOutput) GoString Uses

func (s DisassociateDelegateFromResourceOutput) GoString() string

GoString returns the string representation

func (DisassociateDelegateFromResourceOutput) String Uses

func (s DisassociateDelegateFromResourceOutput) String() string

String returns the string representation

type DisassociateMemberFromGroupInput Uses

type DisassociateMemberFromGroupInput struct {

    // The identifier for the group from which members are removed.
    //
    // GroupId is a required field
    GroupId *string `min:"12" type:"string" required:"true"`

    // The identifier for the member to be removed to the group.
    //
    // MemberId is a required field
    MemberId *string `min:"12" type:"string" required:"true"`

    // The identifier for the organization under which the group exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisassociateMemberFromGroupInput) GoString Uses

func (s DisassociateMemberFromGroupInput) GoString() string

GoString returns the string representation

func (*DisassociateMemberFromGroupInput) SetGroupId Uses

func (s *DisassociateMemberFromGroupInput) SetGroupId(v string) *DisassociateMemberFromGroupInput

SetGroupId sets the GroupId field's value.

func (*DisassociateMemberFromGroupInput) SetMemberId Uses

func (s *DisassociateMemberFromGroupInput) SetMemberId(v string) *DisassociateMemberFromGroupInput

SetMemberId sets the MemberId field's value.

func (*DisassociateMemberFromGroupInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (DisassociateMemberFromGroupInput) String Uses

func (s DisassociateMemberFromGroupInput) String() string

String returns the string representation

func (*DisassociateMemberFromGroupInput) Validate Uses

func (s *DisassociateMemberFromGroupInput) Validate() error

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

type DisassociateMemberFromGroupOutput Uses

type DisassociateMemberFromGroupOutput struct {
    // contains filtered or unexported fields
}

func (DisassociateMemberFromGroupOutput) GoString Uses

func (s DisassociateMemberFromGroupOutput) GoString() string

GoString returns the string representation

func (DisassociateMemberFromGroupOutput) String Uses

func (s DisassociateMemberFromGroupOutput) String() string

String returns the string representation

type EmailAddressInUseException Uses

type EmailAddressInUseException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The email address that you're trying to assign is already created for a different user, group, or resource.

func (*EmailAddressInUseException) Code Uses

func (s *EmailAddressInUseException) Code() string

Code returns the exception type name.

func (*EmailAddressInUseException) Error Uses

func (s *EmailAddressInUseException) Error() string

func (EmailAddressInUseException) GoString Uses

func (s EmailAddressInUseException) GoString() string

GoString returns the string representation

func (*EmailAddressInUseException) Message Uses

func (s *EmailAddressInUseException) Message() string

Message returns the exception's message.

func (*EmailAddressInUseException) OrigErr Uses

func (s *EmailAddressInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EmailAddressInUseException) RequestID Uses

func (s *EmailAddressInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EmailAddressInUseException) StatusCode Uses

func (s *EmailAddressInUseException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EmailAddressInUseException) String Uses

func (s EmailAddressInUseException) String() string

String returns the string representation

type EntityAlreadyRegisteredException Uses

type EntityAlreadyRegisteredException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The user, group, or resource that you're trying to register is already registered.

func (*EntityAlreadyRegisteredException) Code Uses

func (s *EntityAlreadyRegisteredException) Code() string

Code returns the exception type name.

func (*EntityAlreadyRegisteredException) Error Uses

func (s *EntityAlreadyRegisteredException) Error() string

func (EntityAlreadyRegisteredException) GoString Uses

func (s EntityAlreadyRegisteredException) GoString() string

GoString returns the string representation

func (*EntityAlreadyRegisteredException) Message Uses

func (s *EntityAlreadyRegisteredException) Message() string

Message returns the exception's message.

func (*EntityAlreadyRegisteredException) OrigErr Uses

func (s *EntityAlreadyRegisteredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EntityAlreadyRegisteredException) RequestID Uses

func (s *EntityAlreadyRegisteredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EntityAlreadyRegisteredException) StatusCode Uses

func (s *EntityAlreadyRegisteredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EntityAlreadyRegisteredException) String Uses

func (s EntityAlreadyRegisteredException) String() string

String returns the string representation

type EntityNotFoundException Uses

type EntityNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The identifier supplied for the user, group, or resource does not exist in your organization.

func (*EntityNotFoundException) Code Uses

func (s *EntityNotFoundException) Code() string

Code returns the exception type name.

func (*EntityNotFoundException) Error Uses

func (s *EntityNotFoundException) Error() string

func (EntityNotFoundException) GoString Uses

func (s EntityNotFoundException) GoString() string

GoString returns the string representation

func (*EntityNotFoundException) Message Uses

func (s *EntityNotFoundException) Message() string

Message returns the exception's message.

func (*EntityNotFoundException) OrigErr Uses

func (s *EntityNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EntityNotFoundException) RequestID Uses

func (s *EntityNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EntityNotFoundException) StatusCode Uses

func (s *EntityNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EntityNotFoundException) String Uses

func (s EntityNotFoundException) String() string

String returns the string representation

type EntityStateException Uses

type EntityStateException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.

func (*EntityStateException) Code Uses

func (s *EntityStateException) Code() string

Code returns the exception type name.

func (*EntityStateException) Error Uses

func (s *EntityStateException) Error() string

func (EntityStateException) GoString Uses

func (s EntityStateException) GoString() string

GoString returns the string representation

func (*EntityStateException) Message Uses

func (s *EntityStateException) Message() string

Message returns the exception's message.

func (*EntityStateException) OrigErr Uses

func (s *EntityStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EntityStateException) RequestID Uses

func (s *EntityStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EntityStateException) StatusCode Uses

func (s *EntityStateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EntityStateException) String Uses

func (s EntityStateException) String() string

String returns the string representation

type FolderConfiguration Uses

type FolderConfiguration struct {

    // The action to take on the folder contents at the end of the folder configuration
    // period.
    //
    // Action is a required field
    Action *string `type:"string" required:"true" enum:"RetentionAction"`

    // The folder name.
    //
    // Name is a required field
    Name *string `type:"string" required:"true" enum:"FolderName"`

    // The period of time at which the folder configuration action is applied.
    Period *int64 `min:"1" type:"integer"`
    // contains filtered or unexported fields
}

The configuration applied to an organization's folders by its retention policy.

func (FolderConfiguration) GoString Uses

func (s FolderConfiguration) GoString() string

GoString returns the string representation

func (*FolderConfiguration) SetAction Uses

func (s *FolderConfiguration) SetAction(v string) *FolderConfiguration

SetAction sets the Action field's value.

func (*FolderConfiguration) SetName Uses

func (s *FolderConfiguration) SetName(v string) *FolderConfiguration

SetName sets the Name field's value.

func (*FolderConfiguration) SetPeriod Uses

func (s *FolderConfiguration) SetPeriod(v int64) *FolderConfiguration

SetPeriod sets the Period field's value.

func (FolderConfiguration) String Uses

func (s FolderConfiguration) String() string

String returns the string representation

func (*FolderConfiguration) Validate Uses

func (s *FolderConfiguration) Validate() error

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

type GetAccessControlEffectInput Uses

type GetAccessControlEffectInput struct {

    // The access protocol action. Valid values include ActiveSync, AutoDiscover,
    // EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
    //
    // Action is a required field
    Action *string `min:"1" type:"string" required:"true"`

    // The IPv4 address.
    //
    // IpAddress is a required field
    IpAddress *string `min:"1" type:"string" required:"true"`

    // The identifier for the organization.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The user ID.
    //
    // UserId is a required field
    UserId *string `min:"12" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetAccessControlEffectInput) GoString Uses

func (s GetAccessControlEffectInput) GoString() string

GoString returns the string representation

func (*GetAccessControlEffectInput) SetAction Uses

func (s *GetAccessControlEffectInput) SetAction(v string) *GetAccessControlEffectInput

SetAction sets the Action field's value.

func (*GetAccessControlEffectInput) SetIpAddress Uses

func (s *GetAccessControlEffectInput) SetIpAddress(v string) *GetAccessControlEffectInput

SetIpAddress sets the IpAddress field's value.

func (*GetAccessControlEffectInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*GetAccessControlEffectInput) SetUserId Uses

func (s *GetAccessControlEffectInput) SetUserId(v string) *GetAccessControlEffectInput

SetUserId sets the UserId field's value.

func (GetAccessControlEffectInput) String Uses

func (s GetAccessControlEffectInput) String() string

String returns the string representation

func (*GetAccessControlEffectInput) Validate Uses

func (s *GetAccessControlEffectInput) Validate() error

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

type GetAccessControlEffectOutput Uses

type GetAccessControlEffectOutput struct {

    // The rule effect.
    Effect *string `type:"string" enum:"AccessControlRuleEffect"`

    // The rules that match the given parameters, resulting in an effect.
    MatchedRules []*string `type:"list"`
    // contains filtered or unexported fields
}

func (GetAccessControlEffectOutput) GoString Uses

func (s GetAccessControlEffectOutput) GoString() string

GoString returns the string representation

func (*GetAccessControlEffectOutput) SetEffect Uses

func (s *GetAccessControlEffectOutput) SetEffect(v string) *GetAccessControlEffectOutput

SetEffect sets the Effect field's value.

func (*GetAccessControlEffectOutput) SetMatchedRules Uses

func (s *GetAccessControlEffectOutput) SetMatchedRules(v []*string) *GetAccessControlEffectOutput

SetMatchedRules sets the MatchedRules field's value.

func (GetAccessControlEffectOutput) String Uses

func (s GetAccessControlEffectOutput) String() string

String returns the string representation

type GetDefaultRetentionPolicyInput Uses

type GetDefaultRetentionPolicyInput struct {

    // The organization ID.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetDefaultRetentionPolicyInput) GoString Uses

func (s GetDefaultRetentionPolicyInput) GoString() string

GoString returns the string representation

func (*GetDefaultRetentionPolicyInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (GetDefaultRetentionPolicyInput) String Uses

func (s GetDefaultRetentionPolicyInput) String() string

String returns the string representation

func (*GetDefaultRetentionPolicyInput) Validate Uses

func (s *GetDefaultRetentionPolicyInput) Validate() error

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

type GetDefaultRetentionPolicyOutput Uses

type GetDefaultRetentionPolicyOutput struct {

    // The retention policy description.
    Description *string `type:"string"`

    // The retention policy folder configurations.
    FolderConfigurations []*FolderConfiguration `type:"list"`

    // The retention policy ID.
    Id  *string `min:"1" type:"string"`

    // The retention policy name.
    Name *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (GetDefaultRetentionPolicyOutput) GoString Uses

func (s GetDefaultRetentionPolicyOutput) GoString() string

GoString returns the string representation

func (*GetDefaultRetentionPolicyOutput) SetDescription Uses

func (s *GetDefaultRetentionPolicyOutput) SetDescription(v string) *GetDefaultRetentionPolicyOutput

SetDescription sets the Description field's value.

func (*GetDefaultRetentionPolicyOutput) SetFolderConfigurations Uses

func (s *GetDefaultRetentionPolicyOutput) SetFolderConfigurations(v []*FolderConfiguration) *GetDefaultRetentionPolicyOutput

SetFolderConfigurations sets the FolderConfigurations field's value.

func (*GetDefaultRetentionPolicyOutput) SetId Uses

func (s *GetDefaultRetentionPolicyOutput) SetId(v string) *GetDefaultRetentionPolicyOutput

SetId sets the Id field's value.

func (*GetDefaultRetentionPolicyOutput) SetName Uses

func (s *GetDefaultRetentionPolicyOutput) SetName(v string) *GetDefaultRetentionPolicyOutput

SetName sets the Name field's value.

func (GetDefaultRetentionPolicyOutput) String Uses

func (s GetDefaultRetentionPolicyOutput) String() string

String returns the string representation

type GetMailboxDetailsInput Uses

type GetMailboxDetailsInput struct {

    // The identifier for the organization that contains the user whose mailbox
    // details are being requested.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The identifier for the user whose mailbox details are being requested.
    //
    // UserId is a required field
    UserId *string `min:"12" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetMailboxDetailsInput) GoString Uses

func (s GetMailboxDetailsInput) GoString() string

GoString returns the string representation

func (*GetMailboxDetailsInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*GetMailboxDetailsInput) SetUserId Uses

func (s *GetMailboxDetailsInput) SetUserId(v string) *GetMailboxDetailsInput

SetUserId sets the UserId field's value.

func (GetMailboxDetailsInput) String Uses

func (s GetMailboxDetailsInput) String() string

String returns the string representation

func (*GetMailboxDetailsInput) Validate Uses

func (s *GetMailboxDetailsInput) Validate() error

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

type GetMailboxDetailsOutput Uses

type GetMailboxDetailsOutput struct {

    // The maximum allowed mailbox size, in MB, for the specified user.
    MailboxQuota *int64 `min:"1" type:"integer"`

    // The current mailbox size, in MB, for the specified user.
    MailboxSize *float64 `type:"double"`
    // contains filtered or unexported fields
}

func (GetMailboxDetailsOutput) GoString Uses

func (s GetMailboxDetailsOutput) GoString() string

GoString returns the string representation

func (*GetMailboxDetailsOutput) SetMailboxQuota Uses

func (s *GetMailboxDetailsOutput) SetMailboxQuota(v int64) *GetMailboxDetailsOutput

SetMailboxQuota sets the MailboxQuota field's value.

func (*GetMailboxDetailsOutput) SetMailboxSize Uses

func (s *GetMailboxDetailsOutput) SetMailboxSize(v float64) *GetMailboxDetailsOutput

SetMailboxSize sets the MailboxSize field's value.

func (GetMailboxDetailsOutput) String Uses

func (s GetMailboxDetailsOutput) String() string

String returns the string representation

type Group Uses

type Group struct {

    // The date indicating when the group was disabled from Amazon WorkMail use.
    DisabledDate *time.Time `type:"timestamp"`

    // The email of the group.
    Email *string `min:"1" type:"string"`

    // The date indicating when the group was enabled for Amazon WorkMail use.
    EnabledDate *time.Time `type:"timestamp"`

    // The identifier of the group.
    Id  *string `min:"12" type:"string"`

    // The name of the group.
    Name *string `min:"1" type:"string"`

    // The state of the group, which can be ENABLED, DISABLED, or DELETED.
    State *string `type:"string" enum:"EntityState"`
    // contains filtered or unexported fields
}

The representation of an Amazon WorkMail group.

func (Group) GoString Uses

func (s Group) GoString() string

GoString returns the string representation

func (*Group) SetDisabledDate Uses

func (s *Group) SetDisabledDate(v time.Time) *Group

SetDisabledDate sets the DisabledDate field's value.

func (*Group) SetEmail Uses

func (s *Group) SetEmail(v string) *Group

SetEmail sets the Email field's value.

func (*Group) SetEnabledDate Uses

func (s *Group) SetEnabledDate(v time.Time) *Group

SetEnabledDate sets the EnabledDate field's value.

func (*Group) SetId Uses

func (s *Group) SetId(v string) *Group

SetId sets the Id field's value.

func (*Group) SetName Uses

func (s *Group) SetName(v string) *Group

SetName sets the Name field's value.

func (*Group) SetState Uses

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

SetState sets the State field's value.

func (Group) String Uses

func (s Group) String() string

String returns the string representation

type InvalidConfigurationException Uses

type InvalidConfigurationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The configuration for a resource isn't valid. A resource must either be able to auto-respond to requests or have at least one delegate associated that can do so on its behalf.

func (*InvalidConfigurationException) Code Uses

func (s *InvalidConfigurationException) Code() string

Code returns the exception type name.

func (*InvalidConfigurationException) Error Uses

func (s *InvalidConfigurationException) Error() string

func (InvalidConfigurationException) GoString Uses

func (s InvalidConfigurationException) GoString() string

GoString returns the string representation

func (*InvalidConfigurationException) Message Uses

func (s *InvalidConfigurationException) Message() string

Message returns the exception's message.

func (*InvalidConfigurationException) OrigErr Uses

func (s *InvalidConfigurationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidConfigurationException) RequestID Uses

func (s *InvalidConfigurationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidConfigurationException) StatusCode Uses

func (s *InvalidConfigurationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidConfigurationException) String Uses

func (s InvalidConfigurationException) String() string

String returns the string representation

type InvalidParameterException Uses

type InvalidParameterException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

One or more of the input parameters don't match the service's restrictions.

func (*InvalidParameterException) Code Uses

func (s *InvalidParameterException) Code() string

Code returns the exception type name.

func (*InvalidParameterException) Error Uses

func (s *InvalidParameterException) Error() string

func (InvalidParameterException) GoString Uses

func (s InvalidParameterException) GoString() string

GoString returns the string representation

func (*InvalidParameterException) Message Uses

func (s *InvalidParameterException) Message() string

Message returns the exception's message.

func (*InvalidParameterException) OrigErr Uses

func (s *InvalidParameterException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterException) RequestID Uses

func (s *InvalidParameterException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterException) StatusCode Uses

func (s *InvalidParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParameterException) String Uses

func (s InvalidParameterException) String() string

String returns the string representation

type InvalidPasswordException Uses

type InvalidPasswordException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The supplied password doesn't match the minimum security constraints, such as length or use of special characters.

func (*InvalidPasswordException) Code Uses

func (s *InvalidPasswordException) Code() string

Code returns the exception type name.

func (*InvalidPasswordException) Error Uses

func (s *InvalidPasswordException) Error() string

func (InvalidPasswordException) GoString Uses

func (s InvalidPasswordException) GoString() string

GoString returns the string representation

func (*InvalidPasswordException) Message Uses

func (s *InvalidPasswordException) Message() string

Message returns the exception's message.

func (*InvalidPasswordException) OrigErr Uses

func (s *InvalidPasswordException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPasswordException) RequestID Uses

func (s *InvalidPasswordException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidPasswordException) StatusCode Uses

func (s *InvalidPasswordException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidPasswordException) String Uses

func (s InvalidPasswordException) String() string

String returns the string representation

type LimitExceededException Uses

type LimitExceededException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The request exceeds the limit of the resource.

func (*LimitExceededException) Code Uses

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error Uses

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString Uses

func (s LimitExceededException) GoString() string

GoString returns the string representation

func (*LimitExceededException) Message Uses

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr Uses

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID Uses

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode Uses

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String Uses

func (s LimitExceededException) String() string

String returns the string representation

type ListAccessControlRulesInput Uses

type ListAccessControlRulesInput struct {

    // The identifier for the organization.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListAccessControlRulesInput) GoString Uses

func (s ListAccessControlRulesInput) GoString() string

GoString returns the string representation

func (*ListAccessControlRulesInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (ListAccessControlRulesInput) String Uses

func (s ListAccessControlRulesInput) String() string

String returns the string representation

func (*ListAccessControlRulesInput) Validate Uses

func (s *ListAccessControlRulesInput) Validate() error

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

type ListAccessControlRulesOutput Uses

type ListAccessControlRulesOutput struct {

    // The access control rules.
    Rules []*AccessControlRule `type:"list"`
    // contains filtered or unexported fields
}

func (ListAccessControlRulesOutput) GoString Uses

func (s ListAccessControlRulesOutput) GoString() string

GoString returns the string representation

func (*ListAccessControlRulesOutput) SetRules Uses

func (s *ListAccessControlRulesOutput) SetRules(v []*AccessControlRule) *ListAccessControlRulesOutput

SetRules sets the Rules field's value.

func (ListAccessControlRulesOutput) String Uses

func (s ListAccessControlRulesOutput) String() string

String returns the string representation

type ListAliasesInput Uses

type ListAliasesInput struct {

    // The identifier for the entity for which to list the aliases.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The maximum number of results to return in a single call.
    MaxResults *int64 `min:"1" type:"integer"`

    // The token to use to retrieve the next page of results. The first call does
    // not contain any tokens.
    NextToken *string `min:"1" type:"string"`

    // The identifier for the organization under which the entity exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListAliasesInput) GoString Uses

func (s ListAliasesInput) GoString() string

GoString returns the string representation

func (*ListAliasesInput) SetEntityId Uses

func (s *ListAliasesInput) SetEntityId(v string) *ListAliasesInput

SetEntityId sets the EntityId field's value.

func (*ListAliasesInput) SetMaxResults Uses

func (s *ListAliasesInput) SetMaxResults(v int64) *ListAliasesInput

SetMaxResults sets the MaxResults field's value.

func (*ListAliasesInput) SetNextToken Uses

func (s *ListAliasesInput) SetNextToken(v string) *ListAliasesInput

SetNextToken sets the NextToken field's value.

func (*ListAliasesInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (ListAliasesInput) String Uses

func (s ListAliasesInput) String() string

String returns the string representation

func (*ListAliasesInput) Validate Uses

func (s *ListAliasesInput) Validate() error

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

type ListAliasesOutput Uses

type ListAliasesOutput struct {

    // The entity's paginated aliases.
    Aliases []*string `type:"list"`

    // The token to use to retrieve the next page of results. The value is "null"
    // when there are no more results to return.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListAliasesOutput) GoString Uses

func (s ListAliasesOutput) GoString() string

GoString returns the string representation

func (*ListAliasesOutput) SetAliases Uses

func (s *ListAliasesOutput) SetAliases(v []*string) *ListAliasesOutput

SetAliases sets the Aliases field's value.

func (*ListAliasesOutput) SetNextToken Uses

func (s *ListAliasesOutput) SetNextToken(v string) *ListAliasesOutput

SetNextToken sets the NextToken field's value.

func (ListAliasesOutput) String Uses

func (s ListAliasesOutput) String() string

String returns the string representation

type ListGroupMembersInput Uses

type ListGroupMembersInput struct {

    // The identifier for the group to which the members (users or groups) are associated.
    //
    // GroupId is a required field
    GroupId *string `min:"12" type:"string" required:"true"`

    // The maximum number of results to return in a single call.
    MaxResults *int64 `min:"1" type:"integer"`

    // The token to use to retrieve the next page of results. The first call does
    // not contain any tokens.
    NextToken *string `min:"1" type:"string"`

    // The identifier for the organization under which the group exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListGroupMembersInput) GoString Uses

func (s ListGroupMembersInput) GoString() string

GoString returns the string representation

func (*ListGroupMembersInput) SetGroupId Uses

func (s *ListGroupMembersInput) SetGroupId(v string) *ListGroupMembersInput

SetGroupId sets the GroupId field's value.

func (*ListGroupMembersInput) SetMaxResults Uses

func (s *ListGroupMembersInput) SetMaxResults(v int64) *ListGroupMembersInput

SetMaxResults sets the MaxResults field's value.

func (*ListGroupMembersInput) SetNextToken Uses

func (s *ListGroupMembersInput) SetNextToken(v string) *ListGroupMembersInput

SetNextToken sets the NextToken field's value.

func (*ListGroupMembersInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (ListGroupMembersInput) String Uses

func (s ListGroupMembersInput) String() string

String returns the string representation

func (*ListGroupMembersInput) Validate Uses

func (s *ListGroupMembersInput) Validate() error

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

type ListGroupMembersOutput Uses

type ListGroupMembersOutput struct {

    // The members associated to the group.
    Members []*Member `type:"list"`

    // The token to use to retrieve the next page of results. The first call does
    // not contain any tokens.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListGroupMembersOutput) GoString Uses

func (s ListGroupMembersOutput) GoString() string

GoString returns the string representation

func (*ListGroupMembersOutput) SetMembers Uses

func (s *ListGroupMembersOutput) SetMembers(v []*Member) *ListGroupMembersOutput

SetMembers sets the Members field's value.

func (*ListGroupMembersOutput) SetNextToken Uses

func (s *ListGroupMembersOutput) SetNextToken(v string) *ListGroupMembersOutput

SetNextToken sets the NextToken field's value.

func (ListGroupMembersOutput) String Uses

func (s ListGroupMembersOutput) String() string

String returns the string representation

type ListGroupsInput Uses

type ListGroupsInput struct {

    // The maximum number of results to return in a single call.
    MaxResults *int64 `min:"1" type:"integer"`

    // The token to use to retrieve the next page of results. The first call does
    // not contain any tokens.
    NextToken *string `min:"1" type:"string"`

    // The identifier for the organization under which the groups exist.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListGroupsInput) GoString Uses

func (s ListGroupsInput) GoString() string

GoString returns the string representation

func (*ListGroupsInput) SetMaxResults Uses

func (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput

SetMaxResults sets the MaxResults field's value.

func (*ListGroupsInput) SetNextToken Uses

func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput

SetNextToken sets the NextToken field's value.

func (*ListGroupsInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (ListGroupsInput) String Uses

func (s ListGroupsInput) String() string

String returns the string representation

func (*ListGroupsInput) Validate Uses

func (s *ListGroupsInput) Validate() error

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

type ListGroupsOutput Uses

type ListGroupsOutput struct {

    // The overview of groups for an organization.
    Groups []*Group `type:"list"`

    // The token to use to retrieve the next page of results. The value is "null"
    // when there are no more results to return.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListGroupsOutput) GoString Uses

func (s ListGroupsOutput) GoString() string

GoString returns the string representation

func (*ListGroupsOutput) SetGroups Uses

func (s *ListGroupsOutput) SetGroups(v []*Group) *ListGroupsOutput

SetGroups sets the Groups field's value.

func (*ListGroupsOutput) SetNextToken Uses

func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput

SetNextToken sets the NextToken field's value.

func (ListGroupsOutput) String Uses

func (s ListGroupsOutput) String() string

String returns the string representation

type ListMailboxPermissionsInput Uses

type ListMailboxPermissionsInput struct {

    // The identifier of the user, group, or resource for which to list mailbox
    // permissions.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The maximum number of results to return in a single call.
    MaxResults *int64 `min:"1" type:"integer"`

    // The token to use to retrieve the next page of results. The first call does
    // not contain any tokens.
    NextToken *string `min:"1" type:"string"`

    // The identifier of the organization under which the user, group, or resource
    // exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListMailboxPermissionsInput) GoString Uses

func (s ListMailboxPermissionsInput) GoString() string

GoString returns the string representation

func (*ListMailboxPermissionsInput) SetEntityId Uses

func (s *ListMailboxPermissionsInput) SetEntityId(v string) *ListMailboxPermissionsInput

SetEntityId sets the EntityId field's value.

func (*ListMailboxPermissionsInput) SetMaxResults Uses

func (s *ListMailboxPermissionsInput) SetMaxResults(v int64) *ListMailboxPermissionsInput

SetMaxResults sets the MaxResults field's value.

func (*ListMailboxPermissionsInput) SetNextToken Uses

func (s *ListMailboxPermissionsInput) SetNextToken(v string) *ListMailboxPermissionsInput

SetNextToken sets the NextToken field's value.

func (*ListMailboxPermissionsInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (ListMailboxPermissionsInput) String Uses

func (s ListMailboxPermissionsInput) String() string

String returns the string representation

func (*ListMailboxPermissionsInput) Validate Uses

func (s *ListMailboxPermissionsInput) Validate() error

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

type ListMailboxPermissionsOutput Uses

type ListMailboxPermissionsOutput struct {

    // The token to use to retrieve the next page of results. The value is "null"
    // when there are no more results to return.
    NextToken *string `min:"1" type:"string"`

    // One page of the user, group, or resource mailbox permissions.
    Permissions []*Permission `type:"list"`
    // contains filtered or unexported fields
}

func (ListMailboxPermissionsOutput) GoString Uses

func (s ListMailboxPermissionsOutput) GoString() string

GoString returns the string representation

func (*ListMailboxPermissionsOutput) SetNextToken Uses

func (s *ListMailboxPermissionsOutput) SetNextToken(v string) *ListMailboxPermissionsOutput

SetNextToken sets the NextToken field's value.

func (*ListMailboxPermissionsOutput) SetPermissions Uses

func (s *ListMailboxPermissionsOutput) SetPermissions(v []*Permission) *ListMailboxPermissionsOutput

SetPermissions sets the Permissions field's value.

func (ListMailboxPermissionsOutput) String Uses

func (s ListMailboxPermissionsOutput) String() string

String returns the string representation

type ListOrganizationsInput Uses

type ListOrganizationsInput struct {

    // The maximum number of results to return in a single call.
    MaxResults *int64 `min:"1" type:"integer"`

    // The token to use to retrieve the next page of results. The first call does
    // not contain any tokens.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListOrganizationsInput) GoString Uses

func (s ListOrganizationsInput) GoString() string

GoString returns the string representation

func (*ListOrganizationsInput) SetMaxResults Uses

func (s *ListOrganizationsInput) SetMaxResults(v int64) *ListOrganizationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListOrganizationsInput) SetNextToken Uses

func (s *ListOrganizationsInput) SetNextToken(v string) *ListOrganizationsInput

SetNextToken sets the NextToken field's value.

func (ListOrganizationsInput) String Uses

func (s ListOrganizationsInput) String() string

String returns the string representation

func (*ListOrganizationsInput) Validate Uses

func (s *ListOrganizationsInput) Validate() error

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

type ListOrganizationsOutput Uses

type ListOrganizationsOutput struct {

    // The token to use to retrieve the next page of results. The value is "null"
    // when there are no more results to return.
    NextToken *string `min:"1" type:"string"`

    // The overview of owned organizations presented as a list of organization summaries.
    OrganizationSummaries []*OrganizationSummary `type:"list"`
    // contains filtered or unexported fields
}

func (ListOrganizationsOutput) GoString Uses

func (s ListOrganizationsOutput) GoString() string

GoString returns the string representation

func (*ListOrganizationsOutput) SetNextToken Uses

func (s *ListOrganizationsOutput) SetNextToken(v string) *ListOrganizationsOutput

SetNextToken sets the NextToken field's value.

func (*ListOrganizationsOutput) SetOrganizationSummaries Uses

func (s *ListOrganizationsOutput) SetOrganizationSummaries(v []*OrganizationSummary) *ListOrganizationsOutput

SetOrganizationSummaries sets the OrganizationSummaries field's value.

func (ListOrganizationsOutput) String Uses

func (s ListOrganizationsOutput) String() string

String returns the string representation

type ListResourceDelegatesInput Uses

type ListResourceDelegatesInput struct {

    // The number of maximum results in a page.
    MaxResults *int64 `min:"1" type:"integer"`

    // The token used to paginate through the delegates associated with a resource.
    NextToken *string `min:"1" type:"string"`

    // The identifier for the organization that contains the resource for which
    // delegates are listed.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The identifier for the resource whose delegates are listed.
    //
    // ResourceId is a required field
    ResourceId *string `min:"12" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListResourceDelegatesInput) GoString Uses

func (s ListResourceDelegatesInput) GoString() string

GoString returns the string representation

func (*ListResourceDelegatesInput) SetMaxResults Uses

func (s *ListResourceDelegatesInput) SetMaxResults(v int64) *ListResourceDelegatesInput

SetMaxResults sets the MaxResults field's value.

func (*ListResourceDelegatesInput) SetNextToken Uses

func (s *ListResourceDelegatesInput) SetNextToken(v string) *ListResourceDelegatesInput

SetNextToken sets the NextToken field's value.

func (*ListResourceDelegatesInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*ListResourceDelegatesInput) SetResourceId Uses

func (s *ListResourceDelegatesInput) SetResourceId(v string) *ListResourceDelegatesInput

SetResourceId sets the ResourceId field's value.

func (ListResourceDelegatesInput) String Uses

func (s ListResourceDelegatesInput) String() string

String returns the string representation

func (*ListResourceDelegatesInput) Validate Uses

func (s *ListResourceDelegatesInput) Validate() error

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

type ListResourceDelegatesOutput Uses

type ListResourceDelegatesOutput struct {

    // One page of the resource's delegates.
    Delegates []*Delegate `type:"list"`

    // The token used to paginate through the delegates associated with a resource.
    // While results are still available, it has an associated value. When the last
    // page is reached, the token is empty.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListResourceDelegatesOutput) GoString Uses

func (s ListResourceDelegatesOutput) GoString() string

GoString returns the string representation

func (*ListResourceDelegatesOutput) SetDelegates Uses

func (s *ListResourceDelegatesOutput) SetDelegates(v []*Delegate) *ListResourceDelegatesOutput

SetDelegates sets the Delegates field's value.

func (*ListResourceDelegatesOutput) SetNextToken Uses

func (s *ListResourceDelegatesOutput) SetNextToken(v string) *ListResourceDelegatesOutput

SetNextToken sets the NextToken field's value.

func (ListResourceDelegatesOutput) String Uses

func (s ListResourceDelegatesOutput) String() string

String returns the string representation

type ListResourcesInput Uses

type ListResourcesInput struct {

    // The maximum number of results to return in a single call.
    MaxResults *int64 `min:"1" type:"integer"`

    // The token to use to retrieve the next page of results. The first call does
    // not contain any tokens.
    NextToken *string `min:"1" type:"string"`

    // The identifier for the organization under which the resources exist.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListResourcesInput) GoString Uses

func (s ListResourcesInput) GoString() string

GoString returns the string representation

func (*ListResourcesInput) SetMaxResults Uses

func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput

SetMaxResults sets the MaxResults field's value.

func (*ListResourcesInput) SetNextToken Uses

func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput

SetNextToken sets the NextToken field's value.

func (*ListResourcesInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (ListResourcesInput) String Uses

func (s ListResourcesInput) String() string

String returns the string representation

func (*ListResourcesInput) Validate Uses

func (s *ListResourcesInput) Validate() error

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

type ListResourcesOutput Uses

type ListResourcesOutput struct {

    // The token used to paginate through all the organization's resources. While
    // results are still available, it has an associated value. When the last page
    // is reached, the token is empty.
    NextToken *string `min:"1" type:"string"`

    // One page of the organization's resource representation.
    Resources []*Resource `type:"list"`
    // contains filtered or unexported fields
}

func (ListResourcesOutput) GoString Uses

func (s ListResourcesOutput) GoString() string

GoString returns the string representation

func (*ListResourcesOutput) SetNextToken Uses

func (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput

SetNextToken sets the NextToken field's value.

func (*ListResourcesOutput) SetResources Uses

func (s *ListResourcesOutput) SetResources(v []*Resource) *ListResourcesOutput

SetResources sets the Resources field's value.

func (ListResourcesOutput) String Uses

func (s ListResourcesOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

type ListTagsForResourceInput struct {

    // The resource ARN.
    //
    // ResourceARN is a required field
    ResourceARN *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceARN Uses

func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput

SetResourceARN sets the ResourceARN field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput Uses

type ListTagsForResourceOutput struct {

    // A list of tag key-value pairs.
    Tags []*Tag `type:"list"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListUsersInput Uses

type ListUsersInput struct {

    // The maximum number of results to return in a single call.
    MaxResults *int64 `min:"1" type:"integer"`

    // The token to use to retrieve the next page of results. The first call does
    // not contain any tokens.
    NextToken *string `min:"1" type:"string"`

    // The identifier for the organization under which the users exist.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListUsersInput) GoString Uses

func (s ListUsersInput) GoString() string

GoString returns the string representation

func (*ListUsersInput) SetMaxResults Uses

func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput

SetMaxResults sets the MaxResults field's value.

func (*ListUsersInput) SetNextToken Uses

func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput

SetNextToken sets the NextToken field's value.

func (*ListUsersInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (ListUsersInput) String Uses

func (s ListUsersInput) String() string

String returns the string representation

func (*ListUsersInput) Validate Uses

func (s *ListUsersInput) Validate() error

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

type ListUsersOutput Uses

type ListUsersOutput struct {

    // The token to use to retrieve the next page of results. This value is `null`
    // when there are no more results to return.
    NextToken *string `min:"1" type:"string"`

    // The overview of users for an organization.
    Users []*User `type:"list"`
    // contains filtered or unexported fields
}

func (ListUsersOutput) GoString Uses

func (s ListUsersOutput) GoString() string

GoString returns the string representation

func (*ListUsersOutput) SetNextToken Uses

func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput

SetNextToken sets the NextToken field's value.

func (*ListUsersOutput) SetUsers Uses

func (s *ListUsersOutput) SetUsers(v []*User) *ListUsersOutput

SetUsers sets the Users field's value.

func (ListUsersOutput) String Uses

func (s ListUsersOutput) String() string

String returns the string representation

type MailDomainNotFoundException Uses

type MailDomainNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

For an email or alias to be created in Amazon WorkMail, the included domain must be defined in the organization.

func (*MailDomainNotFoundException) Code Uses

func (s *MailDomainNotFoundException) Code() string

Code returns the exception type name.

func (*MailDomainNotFoundException) Error Uses

func (s *MailDomainNotFoundException) Error() string

func (MailDomainNotFoundException) GoString Uses

func (s MailDomainNotFoundException) GoString() string

GoString returns the string representation

func (*MailDomainNotFoundException) Message Uses

func (s *MailDomainNotFoundException) Message() string

Message returns the exception's message.

func (*MailDomainNotFoundException) OrigErr Uses

func (s *MailDomainNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MailDomainNotFoundException) RequestID Uses

func (s *MailDomainNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*MailDomainNotFoundException) StatusCode Uses

func (s *MailDomainNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MailDomainNotFoundException) String Uses

func (s MailDomainNotFoundException) String() string

String returns the string representation

type MailDomainStateException Uses

type MailDomainStateException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

After a domain has been added to the organization, it must be verified. The domain is not yet verified.

func (*MailDomainStateException) Code Uses

func (s *MailDomainStateException) Code() string

Code returns the exception type name.

func (*MailDomainStateException) Error Uses

func (s *MailDomainStateException) Error() string

func (MailDomainStateException) GoString Uses

func (s MailDomainStateException) GoString() string

GoString returns the string representation

func (*MailDomainStateException) Message Uses

func (s *MailDomainStateException) Message() string

Message returns the exception's message.

func (*MailDomainStateException) OrigErr Uses

func (s *MailDomainStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MailDomainStateException) RequestID Uses

func (s *MailDomainStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*MailDomainStateException) StatusCode Uses

func (s *MailDomainStateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MailDomainStateException) String Uses

func (s MailDomainStateException) String() string

String returns the string representation

type Member Uses

type Member struct {

    // The date indicating when the member was disabled from Amazon WorkMail use.
    DisabledDate *time.Time `type:"timestamp"`

    // The date indicating when the member was enabled for Amazon WorkMail use.
    EnabledDate *time.Time `type:"timestamp"`

    // The identifier of the member.
    Id  *string `type:"string"`

    // The name of the member.
    Name *string `type:"string"`

    // The state of the member, which can be ENABLED, DISABLED, or DELETED.
    State *string `type:"string" enum:"EntityState"`

    // A member can be a user or group.
    Type *string `type:"string" enum:"MemberType"`
    // contains filtered or unexported fields
}

The representation of a user or group.

func (Member) GoString Uses

func (s Member) GoString() string

GoString returns the string representation

func (*Member) SetDisabledDate Uses

func (s *Member) SetDisabledDate(v time.Time) *Member

SetDisabledDate sets the DisabledDate field's value.

func (*Member) SetEnabledDate Uses

func (s *Member) SetEnabledDate(v time.Time) *Member

SetEnabledDate sets the EnabledDate field's value.

func (*Member) SetId Uses

func (s *Member) SetId(v string) *Member

SetId sets the Id field's value.

func (*Member) SetName Uses

func (s *Member) SetName(v string) *Member

SetName sets the Name field's value.

func (*Member) SetState Uses

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

SetState sets the State field's value.

func (*Member) SetType Uses

func (s *Member) SetType(v string) *Member

SetType sets the Type field's value.

func (Member) String Uses

func (s Member) String() string

String returns the string representation

type NameAvailabilityException Uses

type NameAvailabilityException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The user, group, or resource name isn't unique in Amazon WorkMail.

func (*NameAvailabilityException) Code Uses

func (s *NameAvailabilityException) Code() string

Code returns the exception type name.

func (*NameAvailabilityException) Error Uses

func (s *NameAvailabilityException) Error() string

func (NameAvailabilityException) GoString Uses

func (s NameAvailabilityException) GoString() string

GoString returns the string representation

func (*NameAvailabilityException) Message Uses

func (s *NameAvailabilityException) Message() string

Message returns the exception's message.

func (*NameAvailabilityException) OrigErr Uses

func (s *NameAvailabilityException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NameAvailabilityException) RequestID Uses

func (s *NameAvailabilityException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NameAvailabilityException) StatusCode Uses

func (s *NameAvailabilityException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NameAvailabilityException) String Uses

func (s NameAvailabilityException) String() string

String returns the string representation

type OrganizationNotFoundException Uses

type OrganizationNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

An operation received a valid organization identifier that either doesn't belong or exist in the system.

func (*OrganizationNotFoundException) Code Uses

func (s *OrganizationNotFoundException) Code() string

Code returns the exception type name.

func (*OrganizationNotFoundException) Error Uses

func (s *OrganizationNotFoundException) Error() string

func (OrganizationNotFoundException) GoString Uses

func (s OrganizationNotFoundException) GoString() string

GoString returns the string representation

func (*OrganizationNotFoundException) Message Uses

func (s *OrganizationNotFoundException) Message() string

Message returns the exception's message.

func (*OrganizationNotFoundException) OrigErr Uses

func (s *OrganizationNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OrganizationNotFoundException) RequestID Uses

func (s *OrganizationNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OrganizationNotFoundException) StatusCode Uses

func (s *OrganizationNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (OrganizationNotFoundException) String Uses

func (s OrganizationNotFoundException) String() string

String returns the string representation

type OrganizationStateException Uses

type OrganizationStateException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The organization must have a valid state (Active or Synchronizing) to perform certain operations on the organization or its members.

func (*OrganizationStateException) Code Uses

func (s *OrganizationStateException) Code() string

Code returns the exception type name.

func (*OrganizationStateException) Error Uses

func (s *OrganizationStateException) Error() string

func (OrganizationStateException) GoString Uses

func (s OrganizationStateException) GoString() string

GoString returns the string representation

func (*OrganizationStateException) Message Uses

func (s *OrganizationStateException) Message() string

Message returns the exception's message.

func (*OrganizationStateException) OrigErr Uses

func (s *OrganizationStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OrganizationStateException) RequestID Uses

func (s *OrganizationStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OrganizationStateException) StatusCode Uses

func (s *OrganizationStateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (OrganizationStateException) String Uses

func (s OrganizationStateException) String() string

String returns the string representation

type OrganizationSummary Uses

type OrganizationSummary struct {

    // The alias associated with the organization.
    Alias *string `min:"1" type:"string"`

    // The error message associated with the organization. It is only present if
    // unexpected behavior has occurred with regards to the organization. It provides
    // insight or solutions regarding unexpected behavior.
    ErrorMessage *string `type:"string"`

    // The identifier associated with the organization.
    OrganizationId *string `type:"string"`

    // The state associated with the organization.
    State *string `type:"string"`
    // contains filtered or unexported fields
}

The representation of an organization.

func (OrganizationSummary) GoString Uses

func (s OrganizationSummary) GoString() string

GoString returns the string representation

func (*OrganizationSummary) SetAlias Uses

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

SetAlias sets the Alias field's value.

func (*OrganizationSummary) SetErrorMessage Uses

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

SetErrorMessage sets the ErrorMessage field's value.

func (*OrganizationSummary) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*OrganizationSummary) SetState Uses

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

SetState sets the State field's value.

func (OrganizationSummary) String Uses

func (s OrganizationSummary) String() string

String returns the string representation

type Permission Uses

type Permission struct {

    // The identifier of the user, group, or resource to which the permissions are
    // granted.
    //
    // GranteeId is a required field
    GranteeId *string `min:"12" type:"string" required:"true"`

    // The type of user, group, or resource referred to in GranteeId.
    //
    // GranteeType is a required field
    GranteeType *string `type:"string" required:"true" enum:"MemberType"`

    // The permissions granted to the grantee. SEND_AS allows the grantee to send
    // email as the owner of the mailbox (the grantee is not mentioned on these
    // emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the
    // owner of the mailbox (the grantee is not mentioned as the physical sender
    // of these emails). FULL_ACCESS allows the grantee full access to the mailbox,
    // irrespective of other folder-level permissions set on the mailbox.
    //
    // PermissionValues is a required field
    PermissionValues []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Permission granted to a user, group, or resource to access a certain aspect of another user, group, or resource mailbox.

func (Permission) GoString Uses

func (s Permission) GoString() string

GoString returns the string representation

func (*Permission) SetGranteeId Uses

func (s *Permission) SetGranteeId(v string) *Permission

SetGranteeId sets the GranteeId field's value.

func (*Permission) SetGranteeType Uses

func (s *Permission) SetGranteeType(v string) *Permission

SetGranteeType sets the GranteeType field's value.

func (*Permission) SetPermissionValues Uses

func (s *Permission) SetPermissionValues(v []*string) *Permission

SetPermissionValues sets the PermissionValues field's value.

func (Permission) String Uses

func (s Permission) String() string

String returns the string representation

type PutAccessControlRuleInput Uses

type PutAccessControlRuleInput struct {

    // Access protocol actions to include in the rule. Valid values include ActiveSync,
    // AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
    Actions []*string `type:"list"`

    // The rule description.
    //
    // Description is a required field
    Description *string `type:"string" required:"true"`

    // The rule effect.
    //
    // Effect is a required field
    Effect *string `type:"string" required:"true" enum:"AccessControlRuleEffect"`

    // IPv4 CIDR ranges to include in the rule.
    IpRanges []*string `type:"list"`

    // The rule name.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // Access protocol actions to exclude from the rule. Valid values include ActiveSync,
    // AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
    NotActions []*string `type:"list"`

    // IPv4 CIDR ranges to exclude from the rule.
    NotIpRanges []*string `type:"list"`

    // User IDs to exclude from the rule.
    NotUserIds []*string `type:"list"`

    // The identifier of the organization.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // User IDs to include in the rule.
    UserIds []*string `type:"list"`
    // contains filtered or unexported fields
}

func (PutAccessControlRuleInput) GoString Uses

func (s PutAccessControlRuleInput) GoString() string

GoString returns the string representation

func (*PutAccessControlRuleInput) SetActions Uses

func (s *PutAccessControlRuleInput) SetActions(v []*string) *PutAccessControlRuleInput

SetActions sets the Actions field's value.

func (*PutAccessControlRuleInput) SetDescription Uses

func (s *PutAccessControlRuleInput) SetDescription(v string) *PutAccessControlRuleInput

SetDescription sets the Description field's value.

func (*PutAccessControlRuleInput) SetEffect Uses

func (s *PutAccessControlRuleInput) SetEffect(v string) *PutAccessControlRuleInput

SetEffect sets the Effect field's value.

func (*PutAccessControlRuleInput) SetIpRanges Uses

func (s *PutAccessControlRuleInput) SetIpRanges(v []*string) *PutAccessControlRuleInput

SetIpRanges sets the IpRanges field's value.

func (*PutAccessControlRuleInput) SetName Uses

func (s *PutAccessControlRuleInput) SetName(v string) *PutAccessControlRuleInput

SetName sets the Name field's value.

func (*PutAccessControlRuleInput) SetNotActions Uses

func (s *PutAccessControlRuleInput) SetNotActions(v []*string) *PutAccessControlRuleInput

SetNotActions sets the NotActions field's value.

func (*PutAccessControlRuleInput) SetNotIpRanges Uses

func (s *PutAccessControlRuleInput) SetNotIpRanges(v []*string) *PutAccessControlRuleInput

SetNotIpRanges sets the NotIpRanges field's value.

func (*PutAccessControlRuleInput) SetNotUserIds Uses

func (s *PutAccessControlRuleInput) SetNotUserIds(v []*string) *PutAccessControlRuleInput

SetNotUserIds sets the NotUserIds field's value.

func (*PutAccessControlRuleInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*PutAccessControlRuleInput) SetUserIds Uses

func (s *PutAccessControlRuleInput) SetUserIds(v []*string) *PutAccessControlRuleInput

SetUserIds sets the UserIds field's value.

func (PutAccessControlRuleInput) String Uses

func (s PutAccessControlRuleInput) String() string

String returns the string representation

func (*PutAccessControlRuleInput) Validate Uses

func (s *PutAccessControlRuleInput) Validate() error

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

type PutAccessControlRuleOutput Uses

type PutAccessControlRuleOutput struct {
    // contains filtered or unexported fields
}

func (PutAccessControlRuleOutput) GoString Uses

func (s PutAccessControlRuleOutput) GoString() string

GoString returns the string representation

func (PutAccessControlRuleOutput) String Uses

func (s PutAccessControlRuleOutput) String() string

String returns the string representation

type PutMailboxPermissionsInput Uses

type PutMailboxPermissionsInput struct {

    // The identifier of the user, group, or resource for which to update mailbox
    // permissions.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The identifier of the user, group, or resource to which to grant the permissions.
    //
    // GranteeId is a required field
    GranteeId *string `min:"12" type:"string" required:"true"`

    // The identifier of the organization under which the user, group, or resource
    // exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The permissions granted to the grantee. SEND_AS allows the grantee to send
    // email as the owner of the mailbox (the grantee is not mentioned on these
    // emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the
    // owner of the mailbox (the grantee is not mentioned as the physical sender
    // of these emails). FULL_ACCESS allows the grantee full access to the mailbox,
    // irrespective of other folder-level permissions set on the mailbox.
    //
    // PermissionValues is a required field
    PermissionValues []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (PutMailboxPermissionsInput) GoString Uses

func (s PutMailboxPermissionsInput) GoString() string

GoString returns the string representation

func (*PutMailboxPermissionsInput) SetEntityId Uses

func (s *PutMailboxPermissionsInput) SetEntityId(v string) *PutMailboxPermissionsInput

SetEntityId sets the EntityId field's value.

func (*PutMailboxPermissionsInput) SetGranteeId Uses

func (s *PutMailboxPermissionsInput) SetGranteeId(v string) *PutMailboxPermissionsInput

SetGranteeId sets the GranteeId field's value.

func (*PutMailboxPermissionsInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*PutMailboxPermissionsInput) SetPermissionValues Uses

func (s *PutMailboxPermissionsInput) SetPermissionValues(v []*string) *PutMailboxPermissionsInput

SetPermissionValues sets the PermissionValues field's value.

func (PutMailboxPermissionsInput) String Uses

func (s PutMailboxPermissionsInput) String() string

String returns the string representation

func (*PutMailboxPermissionsInput) Validate Uses

func (s *PutMailboxPermissionsInput) Validate() error

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

type PutMailboxPermissionsOutput Uses

type PutMailboxPermissionsOutput struct {
    // contains filtered or unexported fields
}

func (PutMailboxPermissionsOutput) GoString Uses

func (s PutMailboxPermissionsOutput) GoString() string

GoString returns the string representation

func (PutMailboxPermissionsOutput) String Uses

func (s PutMailboxPermissionsOutput) String() string

String returns the string representation

type PutRetentionPolicyInput Uses

type PutRetentionPolicyInput struct {

    // The retention policy description.
    Description *string `type:"string"`

    // The retention policy folder configurations.
    //
    // FolderConfigurations is a required field
    FolderConfigurations []*FolderConfiguration `type:"list" required:"true"`

    // The retention policy ID.
    Id  *string `min:"1" type:"string"`

    // The retention policy name.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The organization ID.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (PutRetentionPolicyInput) GoString Uses

func (s PutRetentionPolicyInput) GoString() string

GoString returns the string representation

func (*PutRetentionPolicyInput) SetDescription Uses

func (s *PutRetentionPolicyInput) SetDescription(v string) *PutRetentionPolicyInput

SetDescription sets the Description field's value.

func (*PutRetentionPolicyInput) SetFolderConfigurations Uses

func (s *PutRetentionPolicyInput) SetFolderConfigurations(v []*FolderConfiguration) *PutRetentionPolicyInput

SetFolderConfigurations sets the FolderConfigurations field's value.

func (*PutRetentionPolicyInput) SetId Uses

func (s *PutRetentionPolicyInput) SetId(v string) *PutRetentionPolicyInput

SetId sets the Id field's value.

func (*PutRetentionPolicyInput) SetName Uses

func (s *PutRetentionPolicyInput) SetName(v string) *PutRetentionPolicyInput

SetName sets the Name field's value.

func (*PutRetentionPolicyInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (PutRetentionPolicyInput) String Uses

func (s PutRetentionPolicyInput) String() string

String returns the string representation

func (*PutRetentionPolicyInput) Validate Uses

func (s *PutRetentionPolicyInput) Validate() error

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

type PutRetentionPolicyOutput Uses

type PutRetentionPolicyOutput struct {
    // contains filtered or unexported fields
}

func (PutRetentionPolicyOutput) GoString Uses

func (s PutRetentionPolicyOutput) GoString() string

GoString returns the string representation

func (PutRetentionPolicyOutput) String Uses

func (s PutRetentionPolicyOutput) String() string

String returns the string representation

type RegisterToWorkMailInput Uses

type RegisterToWorkMailInput struct {

    // The email for the user, group, or resource to be updated.
    //
    // Email is a required field
    Email *string `min:"1" type:"string" required:"true"`

    // The identifier for the user, group, or resource to be updated.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The identifier for the organization under which the user, group, or resource
    // exists.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (RegisterToWorkMailInput) GoString Uses

func (s RegisterToWorkMailInput) GoString() string

GoString returns the string representation

func (*RegisterToWorkMailInput) SetEmail Uses

func (s *RegisterToWorkMailInput) SetEmail(v string) *RegisterToWorkMailInput

SetEmail sets the Email field's value.

func (*RegisterToWorkMailInput) SetEntityId Uses

func (s *RegisterToWorkMailInput) SetEntityId(v string) *RegisterToWorkMailInput

SetEntityId sets the EntityId field's value.

func (*RegisterToWorkMailInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (RegisterToWorkMailInput) String Uses

func (s RegisterToWorkMailInput) String() string

String returns the string representation

func (*RegisterToWorkMailInput) Validate Uses

func (s *RegisterToWorkMailInput) Validate() error

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

type RegisterToWorkMailOutput Uses

type RegisterToWorkMailOutput struct {
    // contains filtered or unexported fields
}

func (RegisterToWorkMailOutput) GoString Uses

func (s RegisterToWorkMailOutput) GoString() string

GoString returns the string representation

func (RegisterToWorkMailOutput) String Uses

func (s RegisterToWorkMailOutput) String() string

String returns the string representation

type ReservedNameException Uses

type ReservedNameException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

This user, group, or resource name is not allowed in Amazon WorkMail.

func (*ReservedNameException) Code Uses

func (s *ReservedNameException) Code() string

Code returns the exception type name.

func (*ReservedNameException) Error Uses

func (s *ReservedNameException) Error() string

func (ReservedNameException) GoString Uses

func (s ReservedNameException) GoString() string

GoString returns the string representation

func (*ReservedNameException) Message Uses

func (s *ReservedNameException) Message() string

Message returns the exception's message.

func (*ReservedNameException) OrigErr Uses

func (s *ReservedNameException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReservedNameException) RequestID Uses

func (s *ReservedNameException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ReservedNameException) StatusCode Uses

func (s *ReservedNameException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReservedNameException) String Uses

func (s ReservedNameException) String() string

String returns the string representation

type ResetPasswordInput Uses

type ResetPasswordInput struct {

    // The identifier of the organization that contains the user for which the password
    // is reset.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The new password for the user.
    //
    // Password is a required field
    Password *string `type:"string" required:"true" sensitive:"true"`

    // The identifier of the user for whom the password is reset.
    //
    // UserId is a required field
    UserId *string `min:"12" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ResetPasswordInput) GoString Uses

func (s ResetPasswordInput) GoString() string

GoString returns the string representation

func (*ResetPasswordInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*ResetPasswordInput) SetPassword Uses

func (s *ResetPasswordInput) SetPassword(v string) *ResetPasswordInput

SetPassword sets the Password field's value.

func (*ResetPasswordInput) SetUserId Uses

func (s *ResetPasswordInput) SetUserId(v string) *ResetPasswordInput

SetUserId sets the UserId field's value.

func (ResetPasswordInput) String Uses

func (s ResetPasswordInput) String() string

String returns the string representation

func (*ResetPasswordInput) Validate Uses

func (s *ResetPasswordInput) Validate() error

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

type ResetPasswordOutput Uses

type ResetPasswordOutput struct {
    // contains filtered or unexported fields
}

func (ResetPasswordOutput) GoString Uses

func (s ResetPasswordOutput) GoString() string

GoString returns the string representation

func (ResetPasswordOutput) String Uses

func (s ResetPasswordOutput) String() string

String returns the string representation

type Resource Uses

type Resource struct {

    // The date indicating when the resource was disabled from Amazon WorkMail use.
    DisabledDate *time.Time `type:"timestamp"`

    // The email of the resource.
    Email *string `min:"1" type:"string"`

    // The date indicating when the resource was enabled for Amazon WorkMail use.
    EnabledDate *time.Time `type:"timestamp"`

    // The identifier of the resource.
    Id  *string `min:"12" type:"string"`

    // The name of the resource.
    Name *string `min:"1" type:"string"`

    // The state of the resource, which can be ENABLED, DISABLED, or DELETED.
    State *string `type:"string" enum:"EntityState"`

    // The type of the resource: equipment or room.
    Type *string `type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

The representation of a resource.

func (Resource) GoString Uses

func (s Resource) GoString() string

GoString returns the string representation

func (*Resource) SetDisabledDate Uses

func (s *Resource) SetDisabledDate(v time.Time) *Resource

SetDisabledDate sets the DisabledDate field's value.

func (*Resource) SetEmail Uses

func (s *Resource) SetEmail(v string) *Resource

SetEmail sets the Email field's value.

func (*Resource) SetEnabledDate Uses

func (s *Resource) SetEnabledDate(v time.Time) *Resource

SetEnabledDate sets the EnabledDate field's value.

func (*Resource) SetId Uses

func (s *Resource) SetId(v string) *Resource

SetId sets the Id field's value.

func (*Resource) SetName Uses

func (s *Resource) SetName(v string) *Resource

SetName sets the Name field's value.

func (*Resource) SetState Uses

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

SetState sets the State field's value.

func (*Resource) SetType Uses

func (s *Resource) SetType(v string) *Resource

SetType sets the Type field's value.

func (Resource) String Uses

func (s Resource) String() string

String returns the string representation

type ResourceNotFoundException Uses

type ResourceNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The resource cannot be found.

func (*ResourceNotFoundException) Code Uses

func (s *ResourceNotFoundException) Code() string

Code returns the exception type name.

func (*ResourceNotFoundException) Error Uses

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString Uses

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message Uses

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr Uses

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID Uses

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode Uses

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String Uses

func (s ResourceNotFoundException) String() string

String returns the string representation

type Tag Uses

type Tag struct {

    // The key of the tag.
    //
    // Key is a required field
    Key *string `min:"1" type:"string" required:"true"`

    // The value of the tag.
    //
    // Value is a required field
    Value *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Describes a tag applied to a resource.

func (Tag) GoString Uses

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey Uses

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue Uses

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String Uses

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate Uses

func (s *Tag) Validate() error

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

type TagResourceInput Uses

type TagResourceInput struct {

    // The resource ARN.
    //
    // ResourceARN is a required field
    ResourceARN *string `min:"1" type:"string" required:"true"`

    // The tag key-value pairs.
    //
    // Tags is a required field
    Tags []*Tag `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (TagResourceInput) GoString Uses

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceARN Uses

func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput

SetResourceARN sets the ResourceARN field's value.

func (*TagResourceInput) SetTags Uses

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String Uses

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate Uses

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput Uses

type TagResourceOutput struct {
    // contains filtered or unexported fields
}

func (TagResourceOutput) GoString Uses

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String Uses

func (s TagResourceOutput) String() string

String returns the string representation

type TooManyTagsException Uses

type TooManyTagsException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The resource can have up to 50 user-applied tags.

func (*TooManyTagsException) Code Uses

func (s *TooManyTagsException) Code() string

Code returns the exception type name.

func (*TooManyTagsException) Error Uses

func (s *TooManyTagsException) Error() string

func (TooManyTagsException) GoString Uses

func (s TooManyTagsException) GoString() string

GoString returns the string representation

func (*TooManyTagsException) Message Uses

func (s *TooManyTagsException) Message() string

Message returns the exception's message.

func (*TooManyTagsException) OrigErr Uses

func (s *TooManyTagsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyTagsException) RequestID Uses

func (s *TooManyTagsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyTagsException) StatusCode Uses

func (s *TooManyTagsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyTagsException) String Uses

func (s TooManyTagsException) String() string

String returns the string representation

type UnsupportedOperationException Uses

type UnsupportedOperationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

You can't perform a write operation against a read-only directory.

func (*UnsupportedOperationException) Code Uses

func (s *UnsupportedOperationException) Code() string

Code returns the exception type name.

func (*UnsupportedOperationException) Error Uses

func (s *UnsupportedOperationException) Error() string

func (UnsupportedOperationException) GoString Uses

func (s UnsupportedOperationException) GoString() string

GoString returns the string representation

func (*UnsupportedOperationException) Message Uses

func (s *UnsupportedOperationException) Message() string

Message returns the exception's message.

func (*UnsupportedOperationException) OrigErr Uses

func (s *UnsupportedOperationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnsupportedOperationException) RequestID Uses

func (s *UnsupportedOperationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnsupportedOperationException) StatusCode Uses

func (s *UnsupportedOperationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (UnsupportedOperationException) String Uses

func (s UnsupportedOperationException) String() string

String returns the string representation

type UntagResourceInput Uses

type UntagResourceInput struct {

    // The resource ARN.
    //
    // ResourceARN is a required field
    ResourceARN *string `min:"1" type:"string" required:"true"`

    // The tag keys.
    //
    // TagKeys is a required field
    TagKeys []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (UntagResourceInput) GoString Uses

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceARN Uses

func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput

SetResourceARN sets the ResourceARN field's value.

func (*UntagResourceInput) SetTagKeys Uses

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String Uses

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate Uses

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput Uses

type UntagResourceOutput struct {
    // contains filtered or unexported fields
}

func (UntagResourceOutput) GoString Uses

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String Uses

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateMailboxQuotaInput Uses

type UpdateMailboxQuotaInput struct {

    // The updated mailbox quota, in MB, for the specified user.
    //
    // MailboxQuota is a required field
    MailboxQuota *int64 `min:"1" type:"integer" required:"true"`

    // The identifier for the organization that contains the user for whom to update
    // the mailbox quota.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The identifer for the user for whom to update the mailbox quota.
    //
    // UserId is a required field
    UserId *string `min:"12" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateMailboxQuotaInput) GoString Uses

func (s UpdateMailboxQuotaInput) GoString() string

GoString returns the string representation

func (*UpdateMailboxQuotaInput) SetMailboxQuota Uses

func (s *UpdateMailboxQuotaInput) SetMailboxQuota(v int64) *UpdateMailboxQuotaInput

SetMailboxQuota sets the MailboxQuota field's value.

func (*UpdateMailboxQuotaInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*UpdateMailboxQuotaInput) SetUserId Uses

func (s *UpdateMailboxQuotaInput) SetUserId(v string) *UpdateMailboxQuotaInput

SetUserId sets the UserId field's value.

func (UpdateMailboxQuotaInput) String Uses

func (s UpdateMailboxQuotaInput) String() string

String returns the string representation

func (*UpdateMailboxQuotaInput) Validate Uses

func (s *UpdateMailboxQuotaInput) Validate() error

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

type UpdateMailboxQuotaOutput Uses

type UpdateMailboxQuotaOutput struct {
    // contains filtered or unexported fields
}

func (UpdateMailboxQuotaOutput) GoString Uses

func (s UpdateMailboxQuotaOutput) GoString() string

GoString returns the string representation

func (UpdateMailboxQuotaOutput) String Uses

func (s UpdateMailboxQuotaOutput) String() string

String returns the string representation

type UpdatePrimaryEmailAddressInput Uses

type UpdatePrimaryEmailAddressInput struct {

    // The value of the email to be updated as primary.
    //
    // Email is a required field
    Email *string `min:"1" type:"string" required:"true"`

    // The user, group, or resource to update.
    //
    // EntityId is a required field
    EntityId *string `min:"12" type:"string" required:"true"`

    // The organization that contains the user, group, or resource to update.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdatePrimaryEmailAddressInput) GoString Uses

func (s UpdatePrimaryEmailAddressInput) GoString() string

GoString returns the string representation

func (*UpdatePrimaryEmailAddressInput) SetEmail Uses

func (s *UpdatePrimaryEmailAddressInput) SetEmail(v string) *UpdatePrimaryEmailAddressInput

SetEmail sets the Email field's value.

func (*UpdatePrimaryEmailAddressInput) SetEntityId Uses

func (s *UpdatePrimaryEmailAddressInput) SetEntityId(v string) *UpdatePrimaryEmailAddressInput

SetEntityId sets the EntityId field's value.

func (*UpdatePrimaryEmailAddressInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (UpdatePrimaryEmailAddressInput) String Uses

func (s UpdatePrimaryEmailAddressInput) String() string

String returns the string representation

func (*UpdatePrimaryEmailAddressInput) Validate Uses

func (s *UpdatePrimaryEmailAddressInput) Validate() error

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

type UpdatePrimaryEmailAddressOutput Uses

type UpdatePrimaryEmailAddressOutput struct {
    // contains filtered or unexported fields
}

func (UpdatePrimaryEmailAddressOutput) GoString Uses

func (s UpdatePrimaryEmailAddressOutput) GoString() string

GoString returns the string representation

func (UpdatePrimaryEmailAddressOutput) String Uses

func (s UpdatePrimaryEmailAddressOutput) String() string

String returns the string representation

type UpdateResourceInput Uses

type UpdateResourceInput struct {

    // The resource's booking options to be updated.
    BookingOptions *BookingOptions `type:"structure"`

    // The name of the resource to be updated.
    Name *string `min:"1" type:"string"`

    // The identifier associated with the organization for which the resource is
    // updated.
    //
    // OrganizationId is a required field
    OrganizationId *string `type:"string" required:"true"`

    // The identifier of the resource to be updated.
    //
    // ResourceId is a required field
    ResourceId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateResourceInput) GoString Uses

func (s UpdateResourceInput) GoString() string

GoString returns the string representation

func (*UpdateResourceInput) SetBookingOptions Uses

func (s *UpdateResourceInput) SetBookingOptions(v *BookingOptions) *UpdateResourceInput

SetBookingOptions sets the BookingOptions field's value.

func (*UpdateResourceInput) SetName Uses

func (s *UpdateResourceInput) SetName(v string) *UpdateResourceInput

SetName sets the Name field's value.

func (*UpdateResourceInput) SetOrganizationId Uses

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

SetOrganizationId sets the OrganizationId field's value.

func (*UpdateResourceInput) SetResourceId Uses

func (s *UpdateResourceInput) SetResourceId(v string) *UpdateResourceInput

SetResourceId sets the ResourceId field's value.

func (UpdateResourceInput) String Uses

func (s UpdateResourceInput) String() string

String returns the string representation

func (*UpdateResourceInput) Validate Uses

func (s *UpdateResourceInput) Validate() error

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

type UpdateResourceOutput Uses

type UpdateResourceOutput struct {
    // contains filtered or unexported fields
}

func (UpdateResourceOutput) GoString Uses

func (s UpdateResourceOutput) GoString() string

GoString returns the string representation

func (UpdateResourceOutput) String Uses

func (s UpdateResourceOutput) String() string

String returns the string representation

type User Uses

type User struct {

    // The date indicating when the user was disabled from Amazon WorkMail use.
    DisabledDate *time.Time `type:"timestamp"`

    // The display name of the user.
    DisplayName *string `type:"string"`

    // The email of the user.
    Email *string `min:"1" type:"string"`

    // The date indicating when the user was enabled for Amazon WorkMail use.
    EnabledDate *time.Time `type:"timestamp"`

    // The identifier of the user.
    Id  *string `min:"12" type:"string"`

    // The name of the user.
    Name *string `min:"1" type:"string"`

    // The state of the user, which can be ENABLED, DISABLED, or DELETED.
    State *string `type:"string" enum:"EntityState"`

    // The role of the user.
    UserRole *string `type:"string" enum:"UserRole"`
    // contains filtered or unexported fields
}

The representation of an Amazon WorkMail user.

func (User) GoString Uses

func (s User) GoString() string

GoString returns the string representation

func (*User) SetDisabledDate Uses

func (s *User) SetDisabledDate(v time.Time) *User

SetDisabledDate sets the DisabledDate field's value.

func (*User) SetDisplayName Uses

func (s *User) SetDisplayName(v string) *User

SetDisplayName sets the DisplayName field's value.

func (*User) SetEmail Uses

func (s *User) SetEmail(v string) *User

SetEmail sets the Email field's value.

func (*User) SetEnabledDate Uses

func (s *User) SetEnabledDate(v time.Time) *User

SetEnabledDate sets the EnabledDate field's value.

func (*User) SetId Uses

func (s *User) SetId(v string) *User

SetId sets the Id field's value.

func (*User) SetName Uses

func (s *User) SetName(v string) *User

SetName sets the Name field's value.

func (*User) SetState Uses

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

SetState sets the State field's value.

func (*User) SetUserRole Uses

func (s *User) SetUserRole(v string) *User

SetUserRole sets the UserRole field's value.

func (User) String Uses

func (s User) String() string

String returns the string representation

type WorkMail Uses

type WorkMail struct {
    *client.Client
}

WorkMail provides the API operation methods for making requests to Amazon WorkMail. See this package's package overview docs for details on the service.

WorkMail methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkMail

New creates a new instance of the WorkMail client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a WorkMail client from just a session.
svc := workmail.New(mySession)

// Create a WorkMail client with additional configuration
svc := workmail.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*WorkMail) AssociateDelegateToResource Uses

func (c *WorkMail) AssociateDelegateToResource(input *AssociateDelegateToResourceInput) (*AssociateDelegateToResourceOutput, error)

AssociateDelegateToResource API operation for Amazon WorkMail.

Adds a member (user or group) to the resource's set of delegates.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation AssociateDelegateToResource for usage and error information.

Returned Error Types:

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateDelegateToResource

func (*WorkMail) AssociateDelegateToResourceRequest Uses

func (c *WorkMail) AssociateDelegateToResourceRequest(input *AssociateDelegateToResourceInput) (req *request.Request, output *AssociateDelegateToResourceOutput)

AssociateDelegateToResourceRequest generates a "aws/request.Request" representing the client's request for the AssociateDelegateToResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateDelegateToResource for more information on using the AssociateDelegateToResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateDelegateToResourceRequest method.
req, resp := client.AssociateDelegateToResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateDelegateToResource

func (*WorkMail) AssociateDelegateToResourceWithContext Uses

func (c *WorkMail) AssociateDelegateToResourceWithContext(ctx aws.Context, input *AssociateDelegateToResourceInput, opts ...request.Option) (*AssociateDelegateToResourceOutput, error)

AssociateDelegateToResourceWithContext is the same as AssociateDelegateToResource with the addition of the ability to pass a context and additional request options.

See AssociateDelegateToResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) AssociateMemberToGroup Uses

func (c *WorkMail) AssociateMemberToGroup(input *AssociateMemberToGroupInput) (*AssociateMemberToGroupOutput, error)

AssociateMemberToGroup API operation for Amazon WorkMail.

Adds a member (user or group) to the group's set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation AssociateMemberToGroup for usage and error information.

Returned Error Types:

* DirectoryServiceAuthenticationFailedException
The directory service doesn't recognize the credentials supplied by WorkMail.

* DirectoryUnavailableException
The directory on which you are trying to perform operations isn't available.

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* UnsupportedOperationException
You can't perform a write operation against a read-only directory.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateMemberToGroup

func (*WorkMail) AssociateMemberToGroupRequest Uses

func (c *WorkMail) AssociateMemberToGroupRequest(input *AssociateMemberToGroupInput) (req *request.Request, output *AssociateMemberToGroupOutput)

AssociateMemberToGroupRequest generates a "aws/request.Request" representing the client's request for the AssociateMemberToGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateMemberToGroup for more information on using the AssociateMemberToGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateMemberToGroupRequest method.
req, resp := client.AssociateMemberToGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateMemberToGroup

func (*WorkMail) AssociateMemberToGroupWithContext Uses

func (c *WorkMail) AssociateMemberToGroupWithContext(ctx aws.Context, input *AssociateMemberToGroupInput, opts ...request.Option) (*AssociateMemberToGroupOutput, error)

AssociateMemberToGroupWithContext is the same as AssociateMemberToGroup with the addition of the ability to pass a context and additional request options.

See AssociateMemberToGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) CreateAlias Uses

func (c *WorkMail) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error)

CreateAlias API operation for Amazon WorkMail.

Adds an alias to the set of a given member (user or group) of Amazon WorkMail.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation CreateAlias for usage and error information.

Returned Error Types:

* EmailAddressInUseException
The email address that you're trying to assign is already created for a different
user, group, or resource.

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* MailDomainNotFoundException
For an email or alias to be created in Amazon WorkMail, the included domain
must be defined in the organization.

* MailDomainStateException
After a domain has been added to the organization, it must be verified. The
domain is not yet verified.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* LimitExceededException
The request exceeds the limit of the resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateAlias

func (*WorkMail) CreateAliasRequest Uses

func (c *WorkMail) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *CreateAliasOutput)

CreateAliasRequest generates a "aws/request.Request" representing the client's request for the CreateAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateAlias for more information on using the CreateAlias API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAliasRequest method.
req, resp := client.CreateAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateAlias

func (*WorkMail) CreateAliasWithContext Uses

func (c *WorkMail) CreateAliasWithContext(ctx aws.Context, input *CreateAliasInput, opts ...request.Option) (*CreateAliasOutput, error)

CreateAliasWithContext is the same as CreateAlias with the addition of the ability to pass a context and additional request options.

See CreateAlias for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) CreateGroup Uses

func (c *WorkMail) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error)

CreateGroup API operation for Amazon WorkMail.

Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation CreateGroup for usage and error information.

Returned Error Types:

* DirectoryServiceAuthenticationFailedException
The directory service doesn't recognize the credentials supplied by WorkMail.

* DirectoryUnavailableException
The directory on which you are trying to perform operations isn't available.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* NameAvailabilityException
The user, group, or resource name isn't unique in Amazon WorkMail.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* ReservedNameException
This user, group, or resource name is not allowed in Amazon WorkMail.

* UnsupportedOperationException
You can't perform a write operation against a read-only directory.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateGroup

func (*WorkMail) CreateGroupRequest Uses

func (c *WorkMail) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput)

CreateGroupRequest generates a "aws/request.Request" representing the client's request for the CreateGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateGroup for more information on using the CreateGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateGroupRequest method.
req, resp := client.CreateGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateGroup

func (*WorkMail) CreateGroupWithContext Uses

func (c *WorkMail) CreateGroupWithContext(ctx aws.Context, input *CreateGroupInput, opts ...request.Option) (*CreateGroupOutput, error)

CreateGroupWithContext is the same as CreateGroup with the addition of the ability to pass a context and additional request options.

See CreateGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) CreateResource Uses

func (c *WorkMail) CreateResource(input *CreateResourceInput) (*CreateResourceOutput, error)

CreateResource API operation for Amazon WorkMail.

Creates a new Amazon WorkMail resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation CreateResource for usage and error information.

Returned Error Types:

* DirectoryServiceAuthenticationFailedException
The directory service doesn't recognize the credentials supplied by WorkMail.

* DirectoryUnavailableException
The directory on which you are trying to perform operations isn't available.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* NameAvailabilityException
The user, group, or resource name isn't unique in Amazon WorkMail.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* ReservedNameException
This user, group, or resource name is not allowed in Amazon WorkMail.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateResource

func (*WorkMail) CreateResourceRequest Uses

func (c *WorkMail) CreateResourceRequest(input *CreateResourceInput) (req *request.Request, output *CreateResourceOutput)

CreateResourceRequest generates a "aws/request.Request" representing the client's request for the CreateResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateResource for more information on using the CreateResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateResourceRequest method.
req, resp := client.CreateResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateResource

func (*WorkMail) CreateResourceWithContext Uses

func (c *WorkMail) CreateResourceWithContext(ctx aws.Context, input *CreateResourceInput, opts ...request.Option) (*CreateResourceOutput, error)

CreateResourceWithContext is the same as CreateResource with the addition of the ability to pass a context and additional request options.

See CreateResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) CreateUser Uses

func (c *WorkMail) CreateUser(input *CreateUserInput) (*CreateUserOutput, error)

CreateUser API operation for Amazon WorkMail.

Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation CreateUser for usage and error information.

Returned Error Types:

* DirectoryServiceAuthenticationFailedException
The directory service doesn't recognize the credentials supplied by WorkMail.

* DirectoryUnavailableException
The directory on which you are trying to perform operations isn't available.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* InvalidPasswordException
The supplied password doesn't match the minimum security constraints, such
as length or use of special characters.

* NameAvailabilityException
The user, group, or resource name isn't unique in Amazon WorkMail.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* ReservedNameException
This user, group, or resource name is not allowed in Amazon WorkMail.

* UnsupportedOperationException
You can't perform a write operation against a read-only directory.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateUser

func (*WorkMail) CreateUserRequest Uses

func (c *WorkMail) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput)

CreateUserRequest generates a "aws/request.Request" representing the client's request for the CreateUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateUser for more information on using the CreateUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateUserRequest method.
req, resp := client.CreateUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateUser

func (*WorkMail) CreateUserWithContext Uses

func (c *WorkMail) CreateUserWithContext(ctx aws.Context, input *CreateUserInput, opts ...request.Option) (*CreateUserOutput, error)

CreateUserWithContext is the same as CreateUser with the addition of the ability to pass a context and additional request options.

See CreateUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DeleteAccessControlRule Uses

func (c *WorkMail) DeleteAccessControlRule(input *DeleteAccessControlRuleInput) (*DeleteAccessControlRuleOutput, error)

DeleteAccessControlRule API operation for Amazon WorkMail.

Deletes an access control rule for the specified WorkMail organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DeleteAccessControlRule for usage and error information.

Returned Error Types:

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAccessControlRule

func (*WorkMail) DeleteAccessControlRuleRequest Uses

func (c *WorkMail) DeleteAccessControlRuleRequest(input *DeleteAccessControlRuleInput) (req *request.Request, output *DeleteAccessControlRuleOutput)

DeleteAccessControlRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteAccessControlRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAccessControlRule for more information on using the DeleteAccessControlRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAccessControlRuleRequest method.
req, resp := client.DeleteAccessControlRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAccessControlRule

func (*WorkMail) DeleteAccessControlRuleWithContext Uses

func (c *WorkMail) DeleteAccessControlRuleWithContext(ctx aws.Context, input *DeleteAccessControlRuleInput, opts ...request.Option) (*DeleteAccessControlRuleOutput, error)

DeleteAccessControlRuleWithContext is the same as DeleteAccessControlRule with the addition of the ability to pass a context and additional request options.

See DeleteAccessControlRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DeleteAlias Uses

func (c *WorkMail) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error)

DeleteAlias API operation for Amazon WorkMail.

Remove one or more specified aliases from a set of aliases for a given user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DeleteAlias for usage and error information.

Returned Error Types:

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAlias

func (*WorkMail) DeleteAliasRequest Uses

func (c *WorkMail) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput)

DeleteAliasRequest generates a "aws/request.Request" representing the client's request for the DeleteAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAlias for more information on using the DeleteAlias API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAliasRequest method.
req, resp := client.DeleteAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAlias

func (*WorkMail) DeleteAliasWithContext Uses

func (c *WorkMail) DeleteAliasWithContext(ctx aws.Context, input *DeleteAliasInput, opts ...request.Option) (*DeleteAliasOutput, error)

DeleteAliasWithContext is the same as DeleteAlias with the addition of the ability to pass a context and additional request options.

See DeleteAlias for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DeleteGroup Uses

func (c *WorkMail) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error)

DeleteGroup API operation for Amazon WorkMail.

Deletes a group from Amazon WorkMail.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DeleteGroup for usage and error information.

Returned Error Types:

* DirectoryServiceAuthenticationFailedException
The directory service doesn't recognize the credentials supplied by WorkMail.

* DirectoryUnavailableException
The directory on which you are trying to perform operations isn't available.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* UnsupportedOperationException
You can't perform a write operation against a read-only directory.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteGroup

func (*WorkMail) DeleteGroupRequest Uses

func (c *WorkMail) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput)

DeleteGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteGroup for more information on using the DeleteGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteGroupRequest method.
req, resp := client.DeleteGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteGroup

func (*WorkMail) DeleteGroupWithContext Uses

func (c *WorkMail) DeleteGroupWithContext(ctx aws.Context, input *DeleteGroupInput, opts ...request.Option) (*DeleteGroupOutput, error)

DeleteGroupWithContext is the same as DeleteGroup with the addition of the ability to pass a context and additional request options.

See DeleteGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DeleteMailboxPermissions Uses

func (c *WorkMail) DeleteMailboxPermissions(input *DeleteMailboxPermissionsInput) (*DeleteMailboxPermissionsOutput, error)

DeleteMailboxPermissions API operation for Amazon WorkMail.

Deletes permissions granted to a member (user or group).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DeleteMailboxPermissions for usage and error information.

Returned Error Types:

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMailboxPermissions

func (*WorkMail) DeleteMailboxPermissionsRequest Uses

func (c *WorkMail) DeleteMailboxPermissionsRequest(input *DeleteMailboxPermissionsInput) (req *request.Request, output *DeleteMailboxPermissionsOutput)

DeleteMailboxPermissionsRequest generates a "aws/request.Request" representing the client's request for the DeleteMailboxPermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMailboxPermissions for more information on using the DeleteMailboxPermissions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMailboxPermissionsRequest method.
req, resp := client.DeleteMailboxPermissionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMailboxPermissions

func (*WorkMail) DeleteMailboxPermissionsWithContext Uses

func (c *WorkMail) DeleteMailboxPermissionsWithContext(ctx aws.Context, input *DeleteMailboxPermissionsInput, opts ...request.Option) (*DeleteMailboxPermissionsOutput, error)

DeleteMailboxPermissionsWithContext is the same as DeleteMailboxPermissions with the addition of the ability to pass a context and additional request options.

See DeleteMailboxPermissions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DeleteResource Uses

func (c *WorkMail) DeleteResource(input *DeleteResourceInput) (*DeleteResourceOutput, error)

DeleteResource API operation for Amazon WorkMail.

Deletes the specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DeleteResource for usage and error information.

Returned Error Types:

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteResource

func (*WorkMail) DeleteResourceRequest Uses

func (c *WorkMail) DeleteResourceRequest(input *DeleteResourceInput) (req *request.Request, output *DeleteResourceOutput)

DeleteResourceRequest generates a "aws/request.Request" representing the client's request for the DeleteResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteResource for more information on using the DeleteResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteResourceRequest method.
req, resp := client.DeleteResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteResource

func (*WorkMail) DeleteResourceWithContext Uses

func (c *WorkMail) DeleteResourceWithContext(ctx aws.Context, input *DeleteResourceInput, opts ...request.Option) (*DeleteResourceOutput, error)

DeleteResourceWithContext is the same as DeleteResource with the addition of the ability to pass a context and additional request options.

See DeleteResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DeleteRetentionPolicy Uses

func (c *WorkMail) DeleteRetentionPolicy(input *DeleteRetentionPolicyInput) (*DeleteRetentionPolicyOutput, error)

DeleteRetentionPolicy API operation for Amazon WorkMail.

Deletes the specified retention policy from the specified organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DeleteRetentionPolicy for usage and error information.

Returned Error Types:

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteRetentionPolicy

func (*WorkMail) DeleteRetentionPolicyRequest Uses

func (c *WorkMail) DeleteRetentionPolicyRequest(input *DeleteRetentionPolicyInput) (req *request.Request, output *DeleteRetentionPolicyOutput)

DeleteRetentionPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteRetentionPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRetentionPolicy for more information on using the DeleteRetentionPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRetentionPolicyRequest method.
req, resp := client.DeleteRetentionPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteRetentionPolicy

func (*WorkMail) DeleteRetentionPolicyWithContext Uses

func (c *WorkMail) DeleteRetentionPolicyWithContext(ctx aws.Context, input *DeleteRetentionPolicyInput, opts ...request.Option) (*DeleteRetentionPolicyOutput, error)

DeleteRetentionPolicyWithContext is the same as DeleteRetentionPolicy with the addition of the ability to pass a context and additional request options.

See DeleteRetentionPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DeleteUser Uses

func (c *WorkMail) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error)

DeleteUser API operation for Amazon WorkMail.

Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must be DISABLED. Use the DescribeUser action to confirm the user state.

Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DeleteUser for usage and error information.

Returned Error Types:

* DirectoryServiceAuthenticationFailedException
The directory service doesn't recognize the credentials supplied by WorkMail.

* DirectoryUnavailableException
The directory on which you are trying to perform operations isn't available.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* UnsupportedOperationException
You can't perform a write operation against a read-only directory.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteUser

func (*WorkMail) DeleteUserRequest Uses

func (c *WorkMail) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput)

DeleteUserRequest generates a "aws/request.Request" representing the client's request for the DeleteUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteUser for more information on using the DeleteUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteUserRequest method.
req, resp := client.DeleteUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteUser

func (*WorkMail) DeleteUserWithContext Uses

func (c *WorkMail) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error)

DeleteUserWithContext is the same as DeleteUser with the addition of the ability to pass a context and additional request options.

See DeleteUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DeregisterFromWorkMail Uses

func (c *WorkMail) DeregisterFromWorkMail(input *DeregisterFromWorkMailInput) (*DeregisterFromWorkMailOutput, error)

DeregisterFromWorkMail API operation for Amazon WorkMail.

Mark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DeregisterFromWorkMail for usage and error information.

Returned Error Types:

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterFromWorkMail

func (*WorkMail) DeregisterFromWorkMailRequest Uses

func (c *WorkMail) DeregisterFromWorkMailRequest(input *DeregisterFromWorkMailInput) (req *request.Request, output *DeregisterFromWorkMailOutput)

DeregisterFromWorkMailRequest generates a "aws/request.Request" representing the client's request for the DeregisterFromWorkMail operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterFromWorkMail for more information on using the DeregisterFromWorkMail API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterFromWorkMailRequest method.
req, resp := client.DeregisterFromWorkMailRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterFromWorkMail

func (*WorkMail) DeregisterFromWorkMailWithContext Uses

func (c *WorkMail) DeregisterFromWorkMailWithContext(ctx aws.Context, input *DeregisterFromWorkMailInput, opts ...request.Option) (*DeregisterFromWorkMailOutput, error)

DeregisterFromWorkMailWithContext is the same as DeregisterFromWorkMail with the addition of the ability to pass a context and additional request options.

See DeregisterFromWorkMail for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DescribeGroup Uses

func (c *WorkMail) DescribeGroup(input *DescribeGroupInput) (*DescribeGroupOutput, error)

DescribeGroup API operation for Amazon WorkMail.

Returns the data available for the group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DescribeGroup for usage and error information.

Returned Error Types:

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeGroup

func (*WorkMail) DescribeGroupRequest Uses

func (c *WorkMail) DescribeGroupRequest(input *DescribeGroupInput) (req *request.Request, output *DescribeGroupOutput)

DescribeGroupRequest generates a "aws/request.Request" representing the client's request for the DescribeGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeGroup for more information on using the DescribeGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeGroupRequest method.
req, resp := client.DescribeGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeGroup

func (*WorkMail) DescribeGroupWithContext Uses

func (c *WorkMail) DescribeGroupWithContext(ctx aws.Context, input *DescribeGroupInput, opts ...request.Option) (*DescribeGroupOutput, error)

DescribeGroupWithContext is the same as DescribeGroup with the addition of the ability to pass a context and additional request options.

See DescribeGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DescribeOrganization Uses

func (c *WorkMail) DescribeOrganization(input *DescribeOrganizationInput) (*DescribeOrganizationOutput, error)

DescribeOrganization API operation for Amazon WorkMail.

Provides more information regarding a given organization based on its identifier.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DescribeOrganization for usage and error information.

Returned Error Types:

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeOrganization

func (*WorkMail) DescribeOrganizationRequest Uses

func (c *WorkMail) DescribeOrganizationRequest(input *DescribeOrganizationInput) (req *request.Request, output *DescribeOrganizationOutput)

DescribeOrganizationRequest generates a "aws/request.Request" representing the client's request for the DescribeOrganization operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeOrganization for more information on using the DescribeOrganization API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeOrganizationRequest method.
req, resp := client.DescribeOrganizationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeOrganization

func (*WorkMail) DescribeOrganizationWithContext Uses

func (c *WorkMail) DescribeOrganizationWithContext(ctx aws.Context, input *DescribeOrganizationInput, opts ...request.Option) (*DescribeOrganizationOutput, error)

DescribeOrganizationWithContext is the same as DescribeOrganization with the addition of the ability to pass a context and additional request options.

See DescribeOrganization for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DescribeResource Uses

func (c *WorkMail) DescribeResource(input *DescribeResourceInput) (*DescribeResourceOutput, error)

DescribeResource API operation for Amazon WorkMail.

Returns the data available for the resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DescribeResource for usage and error information.

Returned Error Types:

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeResource

func (*WorkMail) DescribeResourceRequest Uses

func (c *WorkMail) DescribeResourceRequest(input *DescribeResourceInput) (req *request.Request, output *DescribeResourceOutput)

DescribeResourceRequest generates a "aws/request.Request" representing the client's request for the DescribeResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeResource for more information on using the DescribeResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeResourceRequest method.
req, resp := client.DescribeResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeResource

func (*WorkMail) DescribeResourceWithContext Uses

func (c *WorkMail) DescribeResourceWithContext(ctx aws.Context, input *DescribeResourceInput, opts ...request.Option) (*DescribeResourceOutput, error)

DescribeResourceWithContext is the same as DescribeResource with the addition of the ability to pass a context and additional request options.

See DescribeResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DescribeUser Uses

func (c *WorkMail) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error)

DescribeUser API operation for Amazon WorkMail.

Provides information regarding the user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DescribeUser for usage and error information.

Returned Error Types:

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeUser

func (*WorkMail) DescribeUserRequest Uses

func (c *WorkMail) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput)

DescribeUserRequest generates a "aws/request.Request" representing the client's request for the DescribeUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeUser for more information on using the DescribeUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeUserRequest method.
req, resp := client.DescribeUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeUser

func (*WorkMail) DescribeUserWithContext Uses

func (c *WorkMail) DescribeUserWithContext(ctx aws.Context, input *DescribeUserInput, opts ...request.Option) (*DescribeUserOutput, error)

DescribeUserWithContext is the same as DescribeUser with the addition of the ability to pass a context and additional request options.

See DescribeUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DisassociateDelegateFromResource Uses

func (c *WorkMail) DisassociateDelegateFromResource(input *DisassociateDelegateFromResourceInput) (*DisassociateDelegateFromResourceOutput, error)

DisassociateDelegateFromResource API operation for Amazon WorkMail.

Removes a member from the resource's set of delegates.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DisassociateDelegateFromResource for usage and error information.

Returned Error Types:

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateDelegateFromResource

func (*WorkMail) DisassociateDelegateFromResourceRequest Uses

func (c *WorkMail) DisassociateDelegateFromResourceRequest(input *DisassociateDelegateFromResourceInput) (req *request.Request, output *DisassociateDelegateFromResourceOutput)

DisassociateDelegateFromResourceRequest generates a "aws/request.Request" representing the client's request for the DisassociateDelegateFromResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateDelegateFromResource for more information on using the DisassociateDelegateFromResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateDelegateFromResourceRequest method.
req, resp := client.DisassociateDelegateFromResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateDelegateFromResource

func (*WorkMail) DisassociateDelegateFromResourceWithContext Uses

func (c *WorkMail) DisassociateDelegateFromResourceWithContext(ctx aws.Context, input *DisassociateDelegateFromResourceInput, opts ...request.Option) (*DisassociateDelegateFromResourceOutput, error)

DisassociateDelegateFromResourceWithContext is the same as DisassociateDelegateFromResource with the addition of the ability to pass a context and additional request options.

See DisassociateDelegateFromResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) DisassociateMemberFromGroup Uses

func (c *WorkMail) DisassociateMemberFromGroup(input *DisassociateMemberFromGroupInput) (*DisassociateMemberFromGroupOutput, error)

DisassociateMemberFromGroup API operation for Amazon WorkMail.

Removes a member from a group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation DisassociateMemberFromGroup for usage and error information.

Returned Error Types:

* DirectoryServiceAuthenticationFailedException
The directory service doesn't recognize the credentials supplied by WorkMail.

* DirectoryUnavailableException
The directory on which you are trying to perform operations isn't available.

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* EntityStateException
You are performing an operation on a user, group, or resource that isn't
in the expected state, such as trying to delete an active user.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* UnsupportedOperationException
You can't perform a write operation against a read-only directory.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateMemberFromGroup

func (*WorkMail) DisassociateMemberFromGroupRequest Uses

func (c *WorkMail) DisassociateMemberFromGroupRequest(input *DisassociateMemberFromGroupInput) (req *request.Request, output *DisassociateMemberFromGroupOutput)

DisassociateMemberFromGroupRequest generates a "aws/request.Request" representing the client's request for the DisassociateMemberFromGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateMemberFromGroup for more information on using the DisassociateMemberFromGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateMemberFromGroupRequest method.
req, resp := client.DisassociateMemberFromGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateMemberFromGroup

func (*WorkMail) DisassociateMemberFromGroupWithContext Uses

func (c *WorkMail) DisassociateMemberFromGroupWithContext(ctx aws.Context, input *DisassociateMemberFromGroupInput, opts ...request.Option) (*DisassociateMemberFromGroupOutput, error)

DisassociateMemberFromGroupWithContext is the same as DisassociateMemberFromGroup with the addition of the ability to pass a context and additional request options.

See DisassociateMemberFromGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) GetAccessControlEffect Uses

func (c *WorkMail) GetAccessControlEffect(input *GetAccessControlEffectInput) (*GetAccessControlEffectOutput, error)

GetAccessControlEffect API operation for Amazon WorkMail.

Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation GetAccessControlEffect for usage and error information.

Returned Error Types:

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetAccessControlEffect

func (*WorkMail) GetAccessControlEffectRequest Uses

func (c *WorkMail) GetAccessControlEffectRequest(input *GetAccessControlEffectInput) (req *request.Request, output *GetAccessControlEffectOutput)

GetAccessControlEffectRequest generates a "aws/request.Request" representing the client's request for the GetAccessControlEffect operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAccessControlEffect for more information on using the GetAccessControlEffect API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAccessControlEffectRequest method.
req, resp := client.GetAccessControlEffectRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetAccessControlEffect

func (*WorkMail) GetAccessControlEffectWithContext Uses

func (c *WorkMail) GetAccessControlEffectWithContext(ctx aws.Context, input *GetAccessControlEffectInput, opts ...request.Option) (*GetAccessControlEffectOutput, error)

GetAccessControlEffectWithContext is the same as GetAccessControlEffect with the addition of the ability to pass a context and additional request options.

See GetAccessControlEffect for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) GetDefaultRetentionPolicy Uses

func (c *WorkMail) GetDefaultRetentionPolicy(input *GetDefaultRetentionPolicyInput) (*GetDefaultRetentionPolicyOutput, error)

GetDefaultRetentionPolicy API operation for Amazon WorkMail.

Gets the default retention policy details for the specified organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation GetDefaultRetentionPolicy for usage and error information.

Returned Error Types:

* InvalidParameterException
One or more of the input parameters don't match the service's restrictions.

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetDefaultRetentionPolicy

func (*WorkMail) GetDefaultRetentionPolicyRequest Uses

func (c *WorkMail) GetDefaultRetentionPolicyRequest(input *GetDefaultRetentionPolicyInput) (req *request.Request, output *GetDefaultRetentionPolicyOutput)

GetDefaultRetentionPolicyRequest generates a "aws/request.Request" representing the client's request for the GetDefaultRetentionPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDefaultRetentionPolicy for more information on using the GetDefaultRetentionPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDefaultRetentionPolicyRequest method.
req, resp := client.GetDefaultRetentionPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetDefaultRetentionPolicy

func (*WorkMail) GetDefaultRetentionPolicyWithContext Uses

func (c *WorkMail) GetDefaultRetentionPolicyWithContext(ctx aws.Context, input *GetDefaultRetentionPolicyInput, opts ...request.Option) (*GetDefaultRetentionPolicyOutput, error)

GetDefaultRetentionPolicyWithContext is the same as GetDefaultRetentionPolicy with the addition of the ability to pass a context and additional request options.

See GetDefaultRetentionPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) GetMailboxDetails Uses

func (c *WorkMail) GetMailboxDetails(input *GetMailboxDetailsInput) (*GetMailboxDetailsOutput, error)

GetMailboxDetails API operation for Amazon WorkMail.

Requests a user's mailbox details for a specified organization and user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation GetMailboxDetails for usage and error information.

Returned Error Types:

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

* EntityNotFoundException
The identifier supplied for the user, group, or resource does not exist in
your organization.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailboxDetails

func (*WorkMail) GetMailboxDetailsRequest Uses

func (c *WorkMail) GetMailboxDetailsRequest(input *GetMailboxDetailsInput) (req *request.Request, output *GetMailboxDetailsOutput)

GetMailboxDetailsRequest generates a "aws/request.Request" representing the client's request for the GetMailboxDetails operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMailboxDetails for more information on using the GetMailboxDetails API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMailboxDetailsRequest method.
req, resp := client.GetMailboxDetailsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailboxDetails

func (*WorkMail) GetMailboxDetailsWithContext Uses

func (c *WorkMail) GetMailboxDetailsWithContext(ctx aws.Context, input *GetMailboxDetailsInput, opts ...request.Option) (*GetMailboxDetailsOutput, error)

GetMailboxDetailsWithContext is the same as GetMailboxDetails with the addition of the ability to pass a context and additional request options.

See GetMailboxDetails for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkMail) ListAccessControlRules Uses

func (c *WorkMail) ListAccessControlRules(input *ListAccessControlRulesInput) (*ListAccessControlRulesOutput, error)

ListAccessControlRules API operation for Amazon WorkMail.

Lists the access control rules for the specified organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkMail's API operation ListAccessControlRules for usage and error information.

Returned Error Types:

* OrganizationNotFoundException
An operation received a valid organization identifier that either doesn't
belong or exist in the system.

* OrganizationStateException
The organization must have a valid state (Active or Synchronizing) to perform
certain operations on the organization or its members.

See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListAccessControlRules

func (*WorkMail) ListAccessControlRulesRequest