workmail

package
v1.48.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

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

Constants

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

	// AccessControlRuleEffectDeny is a AccessControlRuleEffect enum value
	AccessControlRuleEffectDeny = "DENY"
)
View Source
const (
	// AccessEffectAllow is a AccessEffect enum value
	AccessEffectAllow = "ALLOW"

	// AccessEffectDeny is a AccessEffect enum value
	AccessEffectDeny = "DENY"
)
View Source
const (
	// AvailabilityProviderTypeEws is a AvailabilityProviderType enum value
	AvailabilityProviderTypeEws = "EWS"

	// AvailabilityProviderTypeLambda is a AvailabilityProviderType enum value
	AvailabilityProviderTypeLambda = "LAMBDA"
)
View Source
const (
	// DnsRecordVerificationStatusPending is a DnsRecordVerificationStatus enum value
	DnsRecordVerificationStatusPending = "PENDING"

	// DnsRecordVerificationStatusVerified is a DnsRecordVerificationStatus enum value
	DnsRecordVerificationStatusVerified = "VERIFIED"

	// DnsRecordVerificationStatusFailed is a DnsRecordVerificationStatus enum value
	DnsRecordVerificationStatusFailed = "FAILED"
)
View Source
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"
)
View Source
const (
	// EntityTypeGroup is a EntityType enum value
	EntityTypeGroup = "GROUP"

	// EntityTypeUser is a EntityType enum value
	EntityTypeUser = "USER"

	// EntityTypeResource is a EntityType enum value
	EntityTypeResource = "RESOURCE"
)
View Source
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"
)
View Source
const (
	// ImpersonationRoleTypeFullAccess is a ImpersonationRoleType enum value
	ImpersonationRoleTypeFullAccess = "FULL_ACCESS"

	// ImpersonationRoleTypeReadOnly is a ImpersonationRoleType enum value
	ImpersonationRoleTypeReadOnly = "READ_ONLY"
)
View Source
const (
	// MailboxExportJobStateRunning is a MailboxExportJobState enum value
	MailboxExportJobStateRunning = "RUNNING"

	// MailboxExportJobStateCompleted is a MailboxExportJobState enum value
	MailboxExportJobStateCompleted = "COMPLETED"

	// MailboxExportJobStateFailed is a MailboxExportJobState enum value
	MailboxExportJobStateFailed = "FAILED"

	// MailboxExportJobStateCancelled is a MailboxExportJobState enum value
	MailboxExportJobStateCancelled = "CANCELLED"
)
View Source
const (
	// MemberTypeGroup is a MemberType enum value
	MemberTypeGroup = "GROUP"

	// MemberTypeUser is a MemberType enum value
	MemberTypeUser = "USER"
)
View Source
const (
	// MobileDeviceAccessRuleEffectAllow is a MobileDeviceAccessRuleEffect enum value
	MobileDeviceAccessRuleEffectAllow = "ALLOW"

	// MobileDeviceAccessRuleEffectDeny is a MobileDeviceAccessRuleEffect enum value
	MobileDeviceAccessRuleEffectDeny = "DENY"
)
View Source
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"
)
View Source
const (
	// ResourceTypeRoom is a ResourceType enum value
	ResourceTypeRoom = "ROOM"

	// ResourceTypeEquipment is a ResourceType enum value
	ResourceTypeEquipment = "EQUIPMENT"
)
View Source
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"
)
View Source
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"

	// UserRoleRemoteUser is a UserRole enum value
	UserRoleRemoteUser = "REMOTE_USER"
)
View Source
const (

	// ErrCodeDirectoryInUseException for service response error code
	// "DirectoryInUseException".
	//
	// The directory is already in use by another WorkMail organization in the same
	// account and Region.
	ErrCodeDirectoryInUseException = "DirectoryInUseException"

	// 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 is unavailable. It might be located in another Region or deleted.
	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"

	// ErrCodeInvalidCustomSesConfigurationException for service response error code
	// "InvalidCustomSesConfigurationException".
	//
	// You SES configuration has customizations that WorkMail cannot save. The error
	// message lists the invalid setting. For examples of invalid settings, refer
	// to CreateReceiptRule (https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html).
	ErrCodeInvalidCustomSesConfigurationException = "InvalidCustomSesConfigurationException"

	// 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"

	// ErrCodeMailDomainInUseException for service response error code
	// "MailDomainInUseException".
	//
	// The domain you're trying to change is in use by another user or organization
	// in your account. See the error message for details.
	ErrCodeMailDomainInUseException = "MailDomainInUseException"

	// ErrCodeMailDomainNotFoundException for service response error code
	// "MailDomainNotFoundException".
	//
	// The domain specified is not found in your 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 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 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 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"
)
View Source
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

Variables

This section is empty.

Functions

func AccessControlRuleEffect_Values

func AccessControlRuleEffect_Values() []string

AccessControlRuleEffect_Values returns all elements of the AccessControlRuleEffect enum

func AccessEffect_Values

func AccessEffect_Values() []string

AccessEffect_Values returns all elements of the AccessEffect enum

func AvailabilityProviderType_Values

func AvailabilityProviderType_Values() []string

AvailabilityProviderType_Values returns all elements of the AvailabilityProviderType enum

func DnsRecordVerificationStatus_Values

func DnsRecordVerificationStatus_Values() []string

DnsRecordVerificationStatus_Values returns all elements of the DnsRecordVerificationStatus enum

func EntityState_Values

func EntityState_Values() []string

EntityState_Values returns all elements of the EntityState enum

func EntityType_Values

func EntityType_Values() []string

EntityType_Values returns all elements of the EntityType enum

func FolderName_Values

func FolderName_Values() []string

FolderName_Values returns all elements of the FolderName enum

func ImpersonationRoleType_Values

func ImpersonationRoleType_Values() []string

ImpersonationRoleType_Values returns all elements of the ImpersonationRoleType enum

func MailboxExportJobState_Values

func MailboxExportJobState_Values() []string

MailboxExportJobState_Values returns all elements of the MailboxExportJobState enum

func MemberType_Values

func MemberType_Values() []string

MemberType_Values returns all elements of the MemberType enum

func MobileDeviceAccessRuleEffect_Values

func MobileDeviceAccessRuleEffect_Values() []string

MobileDeviceAccessRuleEffect_Values returns all elements of the MobileDeviceAccessRuleEffect enum

func PermissionType_Values

func PermissionType_Values() []string

PermissionType_Values returns all elements of the PermissionType enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func RetentionAction_Values

func RetentionAction_Values() []string

RetentionAction_Values returns all elements of the RetentionAction enum

func UserRole_Values

func UserRole_Values() []string

UserRole_Values returns all elements of the UserRole enum

Types

type AccessControlRule

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"`

	// Impersonation role IDs to include in the rule.
	ImpersonationRoleIds []*string `type:"list"`

	// 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"`

	// Impersonation role IDs to exclude from the rule.
	NotImpersonationRoleIds []*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 WorkMail organization.

func (AccessControlRule) GoString

func (s AccessControlRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessControlRule) SetActions

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

SetActions sets the Actions field's value.

func (*AccessControlRule) SetDateCreated

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

SetDateCreated sets the DateCreated field's value.

func (*AccessControlRule) SetDateModified

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

SetDateModified sets the DateModified field's value.

func (*AccessControlRule) SetDescription

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

SetDescription sets the Description field's value.

func (*AccessControlRule) SetEffect

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

SetEffect sets the Effect field's value.

func (*AccessControlRule) SetImpersonationRoleIds

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

SetImpersonationRoleIds sets the ImpersonationRoleIds field's value.

func (*AccessControlRule) SetIpRanges

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

SetIpRanges sets the IpRanges field's value.

func (*AccessControlRule) SetName

SetName sets the Name field's value.

func (*AccessControlRule) SetNotActions

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

SetNotActions sets the NotActions field's value.

func (*AccessControlRule) SetNotImpersonationRoleIds

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

SetNotImpersonationRoleIds sets the NotImpersonationRoleIds field's value.

func (*AccessControlRule) SetNotIpRanges

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

SetNotIpRanges sets the NotIpRanges field's value.

func (*AccessControlRule) SetNotUserIds

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

SetNotUserIds sets the NotUserIds field's value.

func (*AccessControlRule) SetUserIds

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

SetUserIds sets the UserIds field's value.

func (AccessControlRule) String

func (s AccessControlRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateDelegateToResourceInput

type AssociateDelegateToResourceInput struct {

	// The member (user or group) to associate to the resource.
	//
	// The entity ID can accept UserId or GroupID, Username or Groupname, or email.
	//
	//    * Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: entity@domain.tld
	//
	//    * Entity: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" type:"string" required:"true"`

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

	// The resource for which members (users or groups) are associated.
	//
	// The identifier can accept ResourceId, Resourcename, or email. The following
	// identity formats are available:
	//
	//    * Resource ID: r-0123456789a0123456789b0123456789
	//
	//    * Email address: resource@domain.tld
	//
	//    * Resource name: resource
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateDelegateToResourceInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateDelegateToResourceInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*AssociateDelegateToResourceInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*AssociateDelegateToResourceInput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (AssociateDelegateToResourceInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateDelegateToResourceInput) Validate

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

type AssociateDelegateToResourceOutput

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

func (AssociateDelegateToResourceOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AssociateDelegateToResourceOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateMemberToGroupInput

type AssociateMemberToGroupInput struct {

	// The group to which the member (user or group) is associated.
	//
	// The identifier can accept GroupId, Groupname, or email. The following identity
	// formats are available:
	//
	//    * Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: group@domain.tld
	//
	//    * Group name: group
	//
	// GroupId is a required field
	GroupId *string `min:"1" type:"string" required:"true"`

	// The member (user or group) to associate to the group.
	//
	// The member ID can accept UserID or GroupId, Username or Groupname, or email.
	//
	//    * Member: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: member@domain.tld
	//
	//    * Member name: member
	//
	// MemberId is a required field
	MemberId *string `min:"1" type:"string" required:"true"`

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

func (AssociateMemberToGroupInput) GoString

func (s AssociateMemberToGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateMemberToGroupInput) SetGroupId

SetGroupId sets the GroupId field's value.

func (*AssociateMemberToGroupInput) SetMemberId

SetMemberId sets the MemberId field's value.

func (*AssociateMemberToGroupInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (AssociateMemberToGroupInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateMemberToGroupInput) Validate

func (s *AssociateMemberToGroupInput) Validate() error

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

type AssociateMemberToGroupOutput

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

func (AssociateMemberToGroupOutput) GoString

func (s AssociateMemberToGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AssociateMemberToGroupOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssumeImpersonationRoleInput

type AssumeImpersonationRoleInput struct {

	// The impersonation role ID to assume.
	//
	// ImpersonationRoleId is a required field
	ImpersonationRoleId *string `min:"1" type:"string" required:"true"`

	// The WorkMail organization under which the impersonation role will be assumed.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssumeImpersonationRoleInput) GoString

func (s AssumeImpersonationRoleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssumeImpersonationRoleInput) SetImpersonationRoleId

SetImpersonationRoleId sets the ImpersonationRoleId field's value.

func (*AssumeImpersonationRoleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (AssumeImpersonationRoleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssumeImpersonationRoleInput) Validate

func (s *AssumeImpersonationRoleInput) Validate() error

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

type AssumeImpersonationRoleOutput

type AssumeImpersonationRoleOutput struct {

	// The authentication token's validity, in seconds.
	ExpiresIn *int64 `type:"long"`

	// The authentication token for the impersonation role.
	Token *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (AssumeImpersonationRoleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssumeImpersonationRoleOutput) SetExpiresIn

SetExpiresIn sets the ExpiresIn field's value.

func (*AssumeImpersonationRoleOutput) SetToken

SetToken sets the Token field's value.

func (AssumeImpersonationRoleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AvailabilityConfiguration

type AvailabilityConfiguration struct {

	// The date and time at which the availability configuration was created.
	DateCreated *time.Time `type:"timestamp"`

	// The date and time at which the availability configuration was last modified.
	DateModified *time.Time `type:"timestamp"`

	// Displays the domain to which the provider applies.
	DomainName *string `min:"3" type:"string"`

	// If ProviderType is EWS, then this field contains RedactedEwsAvailabilityProvider.
	// Otherwise, it is not required.
	EwsProvider *RedactedEwsAvailabilityProvider `type:"structure"`

	// If ProviderType is LAMBDA then this field contains LambdaAvailabilityProvider.
	// Otherwise, it is not required.
	LambdaProvider *LambdaAvailabilityProvider `type:"structure"`

	// Displays the provider type that applies to this domain.
	ProviderType *string `type:"string" enum:"AvailabilityProviderType"`
	// contains filtered or unexported fields
}

List all the AvailabilityConfiguration's for the given WorkMail organization.

func (AvailabilityConfiguration) GoString

func (s AvailabilityConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AvailabilityConfiguration) SetDateCreated

SetDateCreated sets the DateCreated field's value.

func (*AvailabilityConfiguration) SetDateModified

SetDateModified sets the DateModified field's value.

func (*AvailabilityConfiguration) SetDomainName

SetDomainName sets the DomainName field's value.

func (*AvailabilityConfiguration) SetEwsProvider

SetEwsProvider sets the EwsProvider field's value.

func (*AvailabilityConfiguration) SetLambdaProvider

SetLambdaProvider sets the LambdaProvider field's value.

func (*AvailabilityConfiguration) SetProviderType

SetProviderType sets the ProviderType field's value.

func (AvailabilityConfiguration) String

func (s AvailabilityConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BookingOptions

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

func (s BookingOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BookingOptions) SetAutoAcceptRequests

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

SetAutoAcceptRequests sets the AutoAcceptRequests field's value.

func (*BookingOptions) SetAutoDeclineConflictingRequests

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

SetAutoDeclineConflictingRequests sets the AutoDeclineConflictingRequests field's value.

func (*BookingOptions) SetAutoDeclineRecurringRequests

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

SetAutoDeclineRecurringRequests sets the AutoDeclineRecurringRequests field's value.

func (BookingOptions) String

func (s BookingOptions) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CancelMailboxExportJobInput

type CancelMailboxExportJobInput struct {

	// The idempotency token for the client request.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The job ID.
	//
	// JobId is a required field
	JobId *string `min:"1" type:"string" required:"true"`

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

func (CancelMailboxExportJobInput) GoString

func (s CancelMailboxExportJobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelMailboxExportJobInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CancelMailboxExportJobInput) SetJobId

SetJobId sets the JobId field's value.

func (*CancelMailboxExportJobInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (CancelMailboxExportJobInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelMailboxExportJobInput) Validate

func (s *CancelMailboxExportJobInput) Validate() error

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

type CancelMailboxExportJobOutput

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

func (CancelMailboxExportJobOutput) GoString

func (s CancelMailboxExportJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CancelMailboxExportJobOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateAliasInput

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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAliasInput) GoString

func (s CreateAliasInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAliasInput) SetAlias

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

SetAlias sets the Alias field's value.

func (*CreateAliasInput) SetEntityId

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

SetEntityId sets the EntityId field's value.

func (*CreateAliasInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (CreateAliasInput) String

func (s CreateAliasInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAliasInput) Validate

func (s *CreateAliasInput) Validate() error

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

type CreateAliasOutput

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

func (CreateAliasOutput) GoString

func (s CreateAliasOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateAliasOutput) String

func (s CreateAliasOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateAvailabilityConfigurationInput

type CreateAvailabilityConfigurationInput struct {

	// An idempotent token that ensures that an API request is executed only once.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The domain to which the provider applies.
	//
	// DomainName is a required field
	DomainName *string `min:"3" type:"string" required:"true"`

	// Exchange Web Services (EWS) availability provider definition. The request
	// must contain exactly one provider definition, either EwsProvider or LambdaProvider.
	EwsProvider *EwsAvailabilityProvider `type:"structure"`

	// Lambda availability provider definition. The request must contain exactly
	// one provider definition, either EwsProvider or LambdaProvider.
	LambdaProvider *LambdaAvailabilityProvider `type:"structure"`

	// The WorkMail organization for which the AvailabilityConfiguration will be
	// created.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAvailabilityConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAvailabilityConfigurationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateAvailabilityConfigurationInput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*CreateAvailabilityConfigurationInput) SetEwsProvider

SetEwsProvider sets the EwsProvider field's value.

func (*CreateAvailabilityConfigurationInput) SetLambdaProvider

SetLambdaProvider sets the LambdaProvider field's value.

func (*CreateAvailabilityConfigurationInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (CreateAvailabilityConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAvailabilityConfigurationInput) Validate

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

type CreateAvailabilityConfigurationOutput

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

func (CreateAvailabilityConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateAvailabilityConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateGroupInput

type CreateGroupInput struct {

	// If this parameter is enabled, the group will be hidden from the address book.
	HiddenFromGlobalAddressList *bool `type:"boolean"`

	// 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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateGroupInput) GoString

func (s CreateGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGroupInput) SetHiddenFromGlobalAddressList

func (s *CreateGroupInput) SetHiddenFromGlobalAddressList(v bool) *CreateGroupInput

SetHiddenFromGlobalAddressList sets the HiddenFromGlobalAddressList field's value.

func (*CreateGroupInput) SetName

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

SetName sets the Name field's value.

func (*CreateGroupInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (CreateGroupInput) String

func (s CreateGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGroupInput) Validate

func (s *CreateGroupInput) Validate() error

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

type CreateGroupOutput

type CreateGroupOutput struct {

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

func (CreateGroupOutput) GoString

func (s CreateGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGroupOutput) SetGroupId

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

SetGroupId sets the GroupId field's value.

func (CreateGroupOutput) String

func (s CreateGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateImpersonationRoleInput

type CreateImpersonationRoleInput struct {

	// The idempotency token for the client request.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The description of the new impersonation role.
	Description *string `min:"1" type:"string"`

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

	// The WorkMail organization to create the new impersonation role within.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`

	// The list of rules for the impersonation role.
	//
	// Rules is a required field
	Rules []*ImpersonationRule `type:"list" required:"true"`

	// The impersonation role's type. The available impersonation role types are
	// READ_ONLY or FULL_ACCESS.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"ImpersonationRoleType"`
	// contains filtered or unexported fields
}

func (CreateImpersonationRoleInput) GoString

func (s CreateImpersonationRoleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateImpersonationRoleInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateImpersonationRoleInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateImpersonationRoleInput) SetName

SetName sets the Name field's value.

func (*CreateImpersonationRoleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*CreateImpersonationRoleInput) SetRules

SetRules sets the Rules field's value.

func (*CreateImpersonationRoleInput) SetType

SetType sets the Type field's value.

func (CreateImpersonationRoleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateImpersonationRoleInput) Validate

func (s *CreateImpersonationRoleInput) Validate() error

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

type CreateImpersonationRoleOutput

type CreateImpersonationRoleOutput struct {

	// The new impersonation role ID.
	ImpersonationRoleId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateImpersonationRoleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateImpersonationRoleOutput) SetImpersonationRoleId

SetImpersonationRoleId sets the ImpersonationRoleId field's value.

func (CreateImpersonationRoleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateMobileDeviceAccessRuleInput

type CreateMobileDeviceAccessRuleInput struct {

	// The idempotency token for the client request.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

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

	// Device models that the rule will match.
	DeviceModels []*string `min:"1" type:"list"`

	// Device operating systems that the rule will match.
	DeviceOperatingSystems []*string `min:"1" type:"list"`

	// Device types that the rule will match.
	DeviceTypes []*string `min:"1" type:"list"`

	// Device user agents that the rule will match.
	DeviceUserAgents []*string `min:"1" type:"list"`

	// The effect of the rule when it matches. Allowed values are ALLOW or DENY.
	//
	// Effect is a required field
	Effect *string `type:"string" required:"true" enum:"MobileDeviceAccessRuleEffect"`

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

	// Device models that the rule will not match. All other device models will
	// match.
	NotDeviceModels []*string `min:"1" type:"list"`

	// Device operating systems that the rule will not match. All other device operating
	// systems will match.
	NotDeviceOperatingSystems []*string `min:"1" type:"list"`

	// Device types that the rule will not match. All other device types will match.
	NotDeviceTypes []*string `min:"1" type:"list"`

	// Device user agents that the rule will not match. All other device user agents
	// will match.
	NotDeviceUserAgents []*string `min:"1" type:"list"`

	// The WorkMail organization under which the rule will be created.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateMobileDeviceAccessRuleInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMobileDeviceAccessRuleInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateMobileDeviceAccessRuleInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateMobileDeviceAccessRuleInput) SetDeviceModels

SetDeviceModels sets the DeviceModels field's value.

func (*CreateMobileDeviceAccessRuleInput) SetDeviceOperatingSystems

SetDeviceOperatingSystems sets the DeviceOperatingSystems field's value.

func (*CreateMobileDeviceAccessRuleInput) SetDeviceTypes

SetDeviceTypes sets the DeviceTypes field's value.

func (*CreateMobileDeviceAccessRuleInput) SetDeviceUserAgents

SetDeviceUserAgents sets the DeviceUserAgents field's value.

func (*CreateMobileDeviceAccessRuleInput) SetEffect

SetEffect sets the Effect field's value.

func (*CreateMobileDeviceAccessRuleInput) SetName

SetName sets the Name field's value.

func (*CreateMobileDeviceAccessRuleInput) SetNotDeviceModels

SetNotDeviceModels sets the NotDeviceModels field's value.

func (*CreateMobileDeviceAccessRuleInput) SetNotDeviceOperatingSystems

func (s *CreateMobileDeviceAccessRuleInput) SetNotDeviceOperatingSystems(v []*string) *CreateMobileDeviceAccessRuleInput

SetNotDeviceOperatingSystems sets the NotDeviceOperatingSystems field's value.

func (*CreateMobileDeviceAccessRuleInput) SetNotDeviceTypes

SetNotDeviceTypes sets the NotDeviceTypes field's value.

func (*CreateMobileDeviceAccessRuleInput) SetNotDeviceUserAgents

SetNotDeviceUserAgents sets the NotDeviceUserAgents field's value.

func (*CreateMobileDeviceAccessRuleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (CreateMobileDeviceAccessRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMobileDeviceAccessRuleInput) Validate

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

type CreateMobileDeviceAccessRuleOutput

type CreateMobileDeviceAccessRuleOutput struct {

	// The identifier for the newly created mobile device access rule.
	MobileDeviceAccessRuleId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateMobileDeviceAccessRuleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMobileDeviceAccessRuleOutput) SetMobileDeviceAccessRuleId

SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.

func (CreateMobileDeviceAccessRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateOrganizationInput

type CreateOrganizationInput struct {

	// The organization alias.
	//
	// Alias is a required field
	Alias *string `min:"1" type:"string" required:"true"`

	// The idempotency token associated with the request.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The AWS Directory Service directory ID.
	DirectoryId *string `min:"12" type:"string"`

	// The email domains to associate with the organization.
	Domains []*Domain `type:"list"`

	// When true, allows organization interoperability between WorkMail and Microsoft
	// Exchange. If true, you must include a AD Connector directory ID in the request.
	EnableInteroperability *bool `type:"boolean"`

	// The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
	KmsKeyArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (CreateOrganizationInput) GoString

func (s CreateOrganizationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateOrganizationInput) SetAlias

SetAlias sets the Alias field's value.

func (*CreateOrganizationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateOrganizationInput) SetDirectoryId

SetDirectoryId sets the DirectoryId field's value.

func (*CreateOrganizationInput) SetDomains

SetDomains sets the Domains field's value.

func (*CreateOrganizationInput) SetEnableInteroperability

func (s *CreateOrganizationInput) SetEnableInteroperability(v bool) *CreateOrganizationInput

SetEnableInteroperability sets the EnableInteroperability field's value.

func (*CreateOrganizationInput) SetKmsKeyArn

SetKmsKeyArn sets the KmsKeyArn field's value.

func (CreateOrganizationInput) String

func (s CreateOrganizationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateOrganizationInput) Validate

func (s *CreateOrganizationInput) Validate() error

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

type CreateOrganizationOutput

type CreateOrganizationOutput struct {

	// The organization ID.
	OrganizationId *string `min:"34" type:"string"`
	// contains filtered or unexported fields
}

func (CreateOrganizationOutput) GoString

func (s CreateOrganizationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateOrganizationOutput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (CreateOrganizationOutput) String

func (s CreateOrganizationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateResourceInput

type CreateResourceInput struct {

	// Resource description.
	Description *string `min:"1" type:"string"`

	// If this parameter is enabled, the resource will be hidden from the address
	// book.
	HiddenFromGlobalAddressList *bool `type:"boolean"`

	// 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 `min:"34" 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

func (s CreateResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResourceInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateResourceInput) SetHiddenFromGlobalAddressList

func (s *CreateResourceInput) SetHiddenFromGlobalAddressList(v bool) *CreateResourceInput

SetHiddenFromGlobalAddressList sets the HiddenFromGlobalAddressList field's value.

func (*CreateResourceInput) SetName

SetName sets the Name field's value.

func (*CreateResourceInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*CreateResourceInput) SetType

SetType sets the Type field's value.

func (CreateResourceInput) String

func (s CreateResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResourceInput) Validate

func (s *CreateResourceInput) Validate() error

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

type CreateResourceOutput

type CreateResourceOutput struct {

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

func (CreateResourceOutput) GoString

func (s CreateResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResourceOutput) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (CreateResourceOutput) String

func (s CreateResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateUserInput

type CreateUserInput struct {

	// The display name for the new user.
	//
	// DisplayName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateUserInput's
	// String and GoString methods.
	//
	// DisplayName is a required field
	DisplayName *string `type:"string" required:"true" sensitive:"true"`

	// The first name of the new user.
	//
	// FirstName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateUserInput's
	// String and GoString methods.
	FirstName *string `type:"string" sensitive:"true"`

	// If this parameter is enabled, the user will be hidden from the address book.
	HiddenFromGlobalAddressList *bool `type:"boolean"`

	// The last name of the new user.
	//
	// LastName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateUserInput's
	// String and GoString methods.
	LastName *string `type:"string" sensitive:"true"`

	// The name for the new user. WorkMail directory user names have a maximum length
	// of 64. All others have a maximum length of 20.
	//
	// 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 `min:"34" type:"string" required:"true"`

	// The password for the new user.
	//
	// Password is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateUserInput's
	// String and GoString methods.
	Password *string `type:"string" sensitive:"true"`

	// The role of the new user.
	//
	// You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a
	// user role is not selected, the default role of USER is selected.
	Role *string `type:"string" enum:"UserRole"`
	// contains filtered or unexported fields
}

func (CreateUserInput) GoString

func (s CreateUserInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUserInput) SetDisplayName

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

SetDisplayName sets the DisplayName field's value.

func (*CreateUserInput) SetFirstName

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

SetFirstName sets the FirstName field's value.

func (*CreateUserInput) SetHiddenFromGlobalAddressList

func (s *CreateUserInput) SetHiddenFromGlobalAddressList(v bool) *CreateUserInput

SetHiddenFromGlobalAddressList sets the HiddenFromGlobalAddressList field's value.

func (*CreateUserInput) SetLastName

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

SetLastName sets the LastName field's value.

func (*CreateUserInput) SetName

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

SetName sets the Name field's value.

func (*CreateUserInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*CreateUserInput) SetPassword

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

SetPassword sets the Password field's value.

func (*CreateUserInput) SetRole

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

SetRole sets the Role field's value.

func (CreateUserInput) String

func (s CreateUserInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUserInput) Validate

func (s *CreateUserInput) Validate() error

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

type CreateUserOutput

type CreateUserOutput struct {

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

func (CreateUserOutput) GoString

func (s CreateUserOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUserOutput) SetUserId

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

SetUserId sets the UserId field's value.

func (CreateUserOutput) String

func (s CreateUserOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Delegate

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

func (s Delegate) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Delegate) SetId

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

SetId sets the Id field's value.

func (*Delegate) SetType

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

SetType sets the Type field's value.

func (Delegate) String

func (s Delegate) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccessControlRuleInput

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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessControlRuleInput) GoString

func (s DeleteAccessControlRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessControlRuleInput) SetName

SetName sets the Name field's value.

func (*DeleteAccessControlRuleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DeleteAccessControlRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessControlRuleInput) Validate

func (s *DeleteAccessControlRuleInput) Validate() error

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

type DeleteAccessControlRuleOutput

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

func (DeleteAccessControlRuleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccessControlRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAliasInput

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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAliasInput) GoString

func (s DeleteAliasInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAliasInput) SetAlias

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

SetAlias sets the Alias field's value.

func (*DeleteAliasInput) SetEntityId

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

SetEntityId sets the EntityId field's value.

func (*DeleteAliasInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (DeleteAliasInput) String

func (s DeleteAliasInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAliasInput) Validate

func (s *DeleteAliasInput) Validate() error

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

type DeleteAliasOutput

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

func (DeleteAliasOutput) GoString

func (s DeleteAliasOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAliasOutput) String

func (s DeleteAliasOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAvailabilityConfigurationInput

type DeleteAvailabilityConfigurationInput struct {

	// The domain for which the AvailabilityConfiguration will be deleted.
	//
	// DomainName is a required field
	DomainName *string `min:"3" type:"string" required:"true"`

	// The WorkMail organization for which the AvailabilityConfiguration will be
	// deleted.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAvailabilityConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAvailabilityConfigurationInput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*DeleteAvailabilityConfigurationInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DeleteAvailabilityConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAvailabilityConfigurationInput) Validate

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

type DeleteAvailabilityConfigurationOutput

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

func (DeleteAvailabilityConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAvailabilityConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteEmailMonitoringConfigurationInput

type DeleteEmailMonitoringConfigurationInput struct {

	// The ID of the organization from which the email monitoring configuration
	// is deleted.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteEmailMonitoringConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEmailMonitoringConfigurationInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DeleteEmailMonitoringConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEmailMonitoringConfigurationInput) Validate

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

type DeleteEmailMonitoringConfigurationOutput

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

func (DeleteEmailMonitoringConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteEmailMonitoringConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteGroupInput

type DeleteGroupInput struct {

	// The identifier of the group to be deleted.
	//
	// The identifier can be the GroupId, or Groupname. The following identity formats
	// are available:
	//
	//    * Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Group name: group
	//
	// GroupId is a required field
	GroupId *string `min:"1" type:"string" required:"true"`

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

func (DeleteGroupInput) GoString

func (s DeleteGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGroupInput) SetGroupId

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

SetGroupId sets the GroupId field's value.

func (*DeleteGroupInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (DeleteGroupInput) String

func (s DeleteGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGroupInput) Validate

func (s *DeleteGroupInput) Validate() error

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

type DeleteGroupOutput

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

func (DeleteGroupOutput) GoString

func (s DeleteGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteGroupOutput) String

func (s DeleteGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteImpersonationRoleInput

type DeleteImpersonationRoleInput struct {

	// The ID of the impersonation role to delete.
	//
	// ImpersonationRoleId is a required field
	ImpersonationRoleId *string `min:"1" type:"string" required:"true"`

	// The WorkMail organization from which to delete the impersonation role.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteImpersonationRoleInput) GoString

func (s DeleteImpersonationRoleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteImpersonationRoleInput) SetImpersonationRoleId

SetImpersonationRoleId sets the ImpersonationRoleId field's value.

func (*DeleteImpersonationRoleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DeleteImpersonationRoleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteImpersonationRoleInput) Validate

func (s *DeleteImpersonationRoleInput) Validate() error

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

type DeleteImpersonationRoleOutput

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

func (DeleteImpersonationRoleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteImpersonationRoleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMailboxPermissionsInput

type DeleteMailboxPermissionsInput struct {

	// The identifier of the entity that owns the mailbox.
	//
	// The identifier can be UserId or Group Id, Username or Groupname, or email.
	//
	//    * Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789,
	//    or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: entity@domain.tld
	//
	//    * Entity name: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" type:"string" required:"true"`

	// The identifier of the entity for which to delete granted permissions.
	//
	// The identifier can be UserId, ResourceID, or Group Id, Username or Groupname,
	// or email.
	//
	//    * Grantee ID: 12345678-1234-1234-1234-123456789012,r-0123456789a0123456789b0123456789,
	//    or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: grantee@domain.tld
	//
	//    * Grantee name: grantee
	//
	// GranteeId is a required field
	GranteeId *string `min:"1" type:"string" required:"true"`

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

func (DeleteMailboxPermissionsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMailboxPermissionsInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*DeleteMailboxPermissionsInput) SetGranteeId

SetGranteeId sets the GranteeId field's value.

func (*DeleteMailboxPermissionsInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DeleteMailboxPermissionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMailboxPermissionsInput) Validate

func (s *DeleteMailboxPermissionsInput) Validate() error

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

type DeleteMailboxPermissionsOutput

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

func (DeleteMailboxPermissionsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteMailboxPermissionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMobileDeviceAccessOverrideInput

type DeleteMobileDeviceAccessOverrideInput struct {

	// The mobile device for which you delete the override. DeviceId is case insensitive.
	//
	// DeviceId is a required field
	DeviceId *string `min:"1" type:"string" required:"true"`

	// The WorkMail organization for which the access override will be deleted.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`

	// The WorkMail user for which you want to delete the override. Accepts the
	// following types of user identities:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: user@domain.tld
	//
	//    * User name: user
	//
	// UserId is a required field
	UserId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMobileDeviceAccessOverrideInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMobileDeviceAccessOverrideInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*DeleteMobileDeviceAccessOverrideInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*DeleteMobileDeviceAccessOverrideInput) SetUserId

SetUserId sets the UserId field's value.

func (DeleteMobileDeviceAccessOverrideInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMobileDeviceAccessOverrideInput) Validate

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

type DeleteMobileDeviceAccessOverrideOutput

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

func (DeleteMobileDeviceAccessOverrideOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteMobileDeviceAccessOverrideOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMobileDeviceAccessRuleInput

type DeleteMobileDeviceAccessRuleInput struct {

	// The identifier of the rule to be deleted.
	//
	// MobileDeviceAccessRuleId is a required field
	MobileDeviceAccessRuleId *string `min:"1" type:"string" required:"true"`

	// The WorkMail organization under which the rule will be deleted.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMobileDeviceAccessRuleInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMobileDeviceAccessRuleInput) SetMobileDeviceAccessRuleId

SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.

func (*DeleteMobileDeviceAccessRuleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DeleteMobileDeviceAccessRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMobileDeviceAccessRuleInput) Validate

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

type DeleteMobileDeviceAccessRuleOutput

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

func (DeleteMobileDeviceAccessRuleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteMobileDeviceAccessRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteOrganizationInput

type DeleteOrganizationInput struct {

	// The idempotency token associated with the request.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// If true, deletes the AWS Directory Service directory associated with the
	// organization.
	//
	// DeleteDirectory is a required field
	DeleteDirectory *bool `type:"boolean" required:"true"`

	// Deletes a WorkMail organization even if the organization has enabled users.
	ForceDelete *bool `type:"boolean"`

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

func (DeleteOrganizationInput) GoString

func (s DeleteOrganizationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOrganizationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DeleteOrganizationInput) SetDeleteDirectory

func (s *DeleteOrganizationInput) SetDeleteDirectory(v bool) *DeleteOrganizationInput

SetDeleteDirectory sets the DeleteDirectory field's value.

func (*DeleteOrganizationInput) SetForceDelete

SetForceDelete sets the ForceDelete field's value.

func (*DeleteOrganizationInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (DeleteOrganizationInput) String

func (s DeleteOrganizationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOrganizationInput) Validate

func (s *DeleteOrganizationInput) Validate() error

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

type DeleteOrganizationOutput

type DeleteOrganizationOutput struct {

	// The organization ID.
	OrganizationId *string `min:"34" type:"string"`

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

func (DeleteOrganizationOutput) GoString

func (s DeleteOrganizationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOrganizationOutput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*DeleteOrganizationOutput) SetState

SetState sets the State field's value.

func (DeleteOrganizationOutput) String

func (s DeleteOrganizationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteResourceInput

type DeleteResourceInput struct {

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

	// The identifier of the resource to be deleted.
	//
	// The identifier can accept ResourceId, or Resourcename. The following identity
	// formats are available:
	//
	//    * Resource ID: r-0123456789a0123456789b0123456789
	//
	//    * Resource name: resource
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResourceInput) GoString

func (s DeleteResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResourceInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*DeleteResourceInput) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (DeleteResourceInput) String

func (s DeleteResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResourceInput) Validate

func (s *DeleteResourceInput) Validate() error

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

type DeleteResourceOutput

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

func (DeleteResourceOutput) GoString

func (s DeleteResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteResourceOutput) String

func (s DeleteResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRetentionPolicyInput

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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRetentionPolicyInput) GoString

func (s DeleteRetentionPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRetentionPolicyInput) SetId

SetId sets the Id field's value.

func (*DeleteRetentionPolicyInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DeleteRetentionPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRetentionPolicyInput) Validate

func (s *DeleteRetentionPolicyInput) Validate() error

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

type DeleteRetentionPolicyOutput

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

func (DeleteRetentionPolicyOutput) GoString

func (s DeleteRetentionPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteRetentionPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteUserInput

type DeleteUserInput struct {

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

	// The identifier of the user to be deleted.
	//
	// The identifier can be the UserId or Username. The following identity formats
	// are available:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * User name: user
	//
	// UserId is a required field
	UserId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteUserInput) GoString

func (s DeleteUserInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteUserInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*DeleteUserInput) SetUserId

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

SetUserId sets the UserId field's value.

func (DeleteUserInput) String

func (s DeleteUserInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteUserInput) Validate

func (s *DeleteUserInput) Validate() error

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

type DeleteUserOutput

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

func (DeleteUserOutput) GoString

func (s DeleteUserOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteUserOutput) String

func (s DeleteUserOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeregisterFromWorkMailInput

type DeregisterFromWorkMailInput struct {

	// The identifier for the member to be updated.
	//
	// The identifier can be UserId, ResourceId, or Group Id, Username, Resourcename,
	// or Groupname, or email.
	//
	//    * Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789,
	//    or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: entity@domain.tld
	//
	//    * Entity name: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" type:"string" required:"true"`

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

func (DeregisterFromWorkMailInput) GoString

func (s DeregisterFromWorkMailInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterFromWorkMailInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*DeregisterFromWorkMailInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DeregisterFromWorkMailInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterFromWorkMailInput) Validate

func (s *DeregisterFromWorkMailInput) Validate() error

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

type DeregisterFromWorkMailOutput

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

func (DeregisterFromWorkMailOutput) GoString

func (s DeregisterFromWorkMailOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeregisterFromWorkMailOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeregisterMailDomainInput

type DeregisterMailDomainInput struct {

	// The domain to deregister in WorkMail and SES.
	//
	// DomainName is a required field
	DomainName *string `min:"3" type:"string" required:"true"`

	// The WorkMail organization for which the domain will be deregistered.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterMailDomainInput) GoString

func (s DeregisterMailDomainInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterMailDomainInput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*DeregisterMailDomainInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DeregisterMailDomainInput) String

func (s DeregisterMailDomainInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterMailDomainInput) Validate

func (s *DeregisterMailDomainInput) Validate() error

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

type DeregisterMailDomainOutput

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

func (DeregisterMailDomainOutput) GoString

func (s DeregisterMailDomainOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeregisterMailDomainOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeEmailMonitoringConfigurationInput

type DescribeEmailMonitoringConfigurationInput struct {

	// The ID of the organization for which the email monitoring configuration is
	// described.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeEmailMonitoringConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEmailMonitoringConfigurationInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DescribeEmailMonitoringConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEmailMonitoringConfigurationInput) Validate

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

type DescribeEmailMonitoringConfigurationOutput

type DescribeEmailMonitoringConfigurationOutput struct {

	// The Amazon Resource Name (ARN) of the CloudWatch Log group associated with
	// the email monitoring configuration.
	LogGroupArn *string `min:"47" type:"string"`

	// The Amazon Resource Name (ARN) of the IAM Role associated with the email
	// monitoring configuration.
	RoleArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeEmailMonitoringConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEmailMonitoringConfigurationOutput) SetLogGroupArn

SetLogGroupArn sets the LogGroupArn field's value.

func (*DescribeEmailMonitoringConfigurationOutput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (DescribeEmailMonitoringConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeEntityInput

type DescribeEntityInput struct {

	// The email under which the entity exists.
	//
	// Email is a required field
	Email *string `min:"1" type:"string" required:"true"`

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

func (DescribeEntityInput) GoString

func (s DescribeEntityInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEntityInput) SetEmail

SetEmail sets the Email field's value.

func (*DescribeEntityInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (DescribeEntityInput) String

func (s DescribeEntityInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEntityInput) Validate

func (s *DescribeEntityInput) Validate() error

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

type DescribeEntityOutput

type DescribeEntityOutput struct {

	// The entity ID under which the entity exists.
	EntityId *string `min:"12" type:"string"`

	// Username, GroupName, or ResourceName based on entity type.
	Name *string `type:"string"`

	// Entity type.
	Type *string `type:"string" enum:"EntityType"`
	// contains filtered or unexported fields
}

func (DescribeEntityOutput) GoString

func (s DescribeEntityOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEntityOutput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*DescribeEntityOutput) SetName

SetName sets the Name field's value.

func (*DescribeEntityOutput) SetType

SetType sets the Type field's value.

func (DescribeEntityOutput) String

func (s DescribeEntityOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeGroupInput

type DescribeGroupInput struct {

	// The identifier for the group to be described.
	//
	// The identifier can accept GroupId, Groupname, or email. The following identity
	// formats are available:
	//
	//    * Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: group@domain.tld
	//
	//    * Group name: group
	//
	// GroupId is a required field
	GroupId *string `min:"1" type:"string" required:"true"`

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

func (DescribeGroupInput) GoString

func (s DescribeGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeGroupInput) SetGroupId

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

SetGroupId sets the GroupId field's value.

func (*DescribeGroupInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (DescribeGroupInput) String

func (s DescribeGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeGroupInput) Validate

func (s *DescribeGroupInput) Validate() error

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

type DescribeGroupOutput

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"`

	// If the value is set to true, the group is hidden from the address book.
	HiddenFromGlobalAddressList *bool `type:"boolean"`

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

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

func (DescribeGroupOutput) GoString

func (s DescribeGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeGroupOutput) SetDisabledDate

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

SetDisabledDate sets the DisabledDate field's value.

func (*DescribeGroupOutput) SetEmail

SetEmail sets the Email field's value.

func (*DescribeGroupOutput) SetEnabledDate

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

SetEnabledDate sets the EnabledDate field's value.

func (*DescribeGroupOutput) SetGroupId

SetGroupId sets the GroupId field's value.

func (*DescribeGroupOutput) SetHiddenFromGlobalAddressList

func (s *DescribeGroupOutput) SetHiddenFromGlobalAddressList(v bool) *DescribeGroupOutput

SetHiddenFromGlobalAddressList sets the HiddenFromGlobalAddressList field's value.

func (*DescribeGroupOutput) SetName

SetName sets the Name field's value.

func (*DescribeGroupOutput) SetState

SetState sets the State field's value.

func (DescribeGroupOutput) String

func (s DescribeGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeInboundDmarcSettingsInput

type DescribeInboundDmarcSettingsInput struct {

	// Lists the ID of the given organization.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeInboundDmarcSettingsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeInboundDmarcSettingsInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DescribeInboundDmarcSettingsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeInboundDmarcSettingsInput) Validate

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

type DescribeInboundDmarcSettingsOutput

type DescribeInboundDmarcSettingsOutput struct {

	// Lists the enforcement setting of the applied policy.
	Enforced *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (DescribeInboundDmarcSettingsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeInboundDmarcSettingsOutput) SetEnforced

SetEnforced sets the Enforced field's value.

func (DescribeInboundDmarcSettingsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeMailboxExportJobInput

type DescribeMailboxExportJobInput struct {

	// The mailbox export job ID.
	//
	// JobId is a required field
	JobId *string `min:"1" type:"string" required:"true"`

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

func (DescribeMailboxExportJobInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeMailboxExportJobInput) SetJobId

SetJobId sets the JobId field's value.

func (*DescribeMailboxExportJobInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DescribeMailboxExportJobInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeMailboxExportJobInput) Validate

func (s *DescribeMailboxExportJobInput) Validate() error

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

type DescribeMailboxExportJobOutput

type DescribeMailboxExportJobOutput struct {

	// The mailbox export job description.
	Description *string `type:"string"`

	// The mailbox export job end timestamp.
	EndTime *time.Time `type:"timestamp"`

	// The identifier of the user or resource associated with the mailbox.
	EntityId *string `min:"12" type:"string"`

	// Error information for failed mailbox export jobs.
	ErrorInfo *string `min:"1" type:"string"`

	// The estimated progress of the mailbox export job, in percentage points.
	EstimatedProgress *int64 `type:"integer"`

	// The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service
	// (AWS KMS) key that encrypts the exported mailbox content.
	KmsKeyArn *string `min:"20" type:"string"`

	// The ARN of the AWS Identity and Access Management (IAM) role that grants
	// write permission to the Amazon Simple Storage Service (Amazon S3) bucket.
	RoleArn *string `min:"20" type:"string"`

	// The name of the S3 bucket.
	S3BucketName *string `min:"1" type:"string"`

	// The path to the S3 bucket and file that the mailbox export job is exporting
	// to.
	S3Path *string `min:"1" type:"string"`

	// The S3 bucket prefix.
	S3Prefix *string `min:"1" type:"string"`

	// The mailbox export job start timestamp.
	StartTime *time.Time `type:"timestamp"`

	// The state of the mailbox export job.
	State *string `type:"string" enum:"MailboxExportJobState"`
	// contains filtered or unexported fields
}

func (DescribeMailboxExportJobOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeMailboxExportJobOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeMailboxExportJobOutput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*DescribeMailboxExportJobOutput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*DescribeMailboxExportJobOutput) SetErrorInfo

SetErrorInfo sets the ErrorInfo field's value.

func (*DescribeMailboxExportJobOutput) SetEstimatedProgress

SetEstimatedProgress sets the EstimatedProgress field's value.

func (*DescribeMailboxExportJobOutput) SetKmsKeyArn

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*DescribeMailboxExportJobOutput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*DescribeMailboxExportJobOutput) SetS3BucketName

SetS3BucketName sets the S3BucketName field's value.

func (*DescribeMailboxExportJobOutput) SetS3Path

SetS3Path sets the S3Path field's value.

func (*DescribeMailboxExportJobOutput) SetS3Prefix

SetS3Prefix sets the S3Prefix field's value.

func (*DescribeMailboxExportJobOutput) SetStartTime

SetStartTime sets the StartTime field's value.

func (*DescribeMailboxExportJobOutput) SetState

SetState sets the State field's value.

func (DescribeMailboxExportJobOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeOrganizationInput

type DescribeOrganizationInput struct {

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

func (DescribeOrganizationInput) GoString

func (s DescribeOrganizationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOrganizationInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DescribeOrganizationInput) String

func (s DescribeOrganizationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOrganizationInput) Validate

func (s *DescribeOrganizationInput) Validate() error

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

type DescribeOrganizationOutput

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 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"`

	// Indicates if interoperability is enabled for this organization.
	InteroperabilityEnabled *bool `type:"boolean"`

	// The user ID of the migration admin if migration is enabled for the organization.
	MigrationAdmin *string `min:"12" type:"string"`

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

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

func (DescribeOrganizationOutput) GoString

func (s DescribeOrganizationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOrganizationOutput) SetARN

SetARN sets the ARN field's value.

func (*DescribeOrganizationOutput) SetAlias

SetAlias sets the Alias field's value.

func (*DescribeOrganizationOutput) SetCompletedDate

SetCompletedDate sets the CompletedDate field's value.

func (*DescribeOrganizationOutput) SetDefaultMailDomain

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

SetDefaultMailDomain sets the DefaultMailDomain field's value.

func (*DescribeOrganizationOutput) SetDirectoryId

SetDirectoryId sets the DirectoryId field's value.

func (*DescribeOrganizationOutput) SetDirectoryType

SetDirectoryType sets the DirectoryType field's value.

func (*DescribeOrganizationOutput) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*DescribeOrganizationOutput) SetInteroperabilityEnabled

func (s *DescribeOrganizationOutput) SetInteroperabilityEnabled(v bool) *DescribeOrganizationOutput

SetInteroperabilityEnabled sets the InteroperabilityEnabled field's value.

func (*DescribeOrganizationOutput) SetMigrationAdmin

SetMigrationAdmin sets the MigrationAdmin field's value.

func (*DescribeOrganizationOutput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*DescribeOrganizationOutput) SetState

SetState sets the State field's value.

func (DescribeOrganizationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeResourceInput

type DescribeResourceInput struct {

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

	// The identifier of the resource to be described.
	//
	// The identifier can accept ResourceId, Resourcename, or email. The following
	// identity formats are available:
	//
	//    * Resource ID: r-0123456789a0123456789b0123456789
	//
	//    * Email address: resource@domain.tld
	//
	//    * Resource name: resource
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeResourceInput) GoString

func (s DescribeResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeResourceInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*DescribeResourceInput) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (DescribeResourceInput) String

func (s DescribeResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeResourceInput) Validate

func (s *DescribeResourceInput) Validate() error

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

type DescribeResourceOutput

type DescribeResourceOutput struct {

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

	// Description of the resource.
	Description *string `min:"1" type:"string"`

	// 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"`

	// If enabled, the resource is hidden from the global address list.
	HiddenFromGlobalAddressList *bool `type:"boolean"`

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

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

	// The state of the resource: enabled (registered to 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

func (s DescribeResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeResourceOutput) SetBookingOptions

SetBookingOptions sets the BookingOptions field's value.

func (*DescribeResourceOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeResourceOutput) SetDisabledDate

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

SetDisabledDate sets the DisabledDate field's value.

func (*DescribeResourceOutput) SetEmail

SetEmail sets the Email field's value.

func (*DescribeResourceOutput) SetEnabledDate

SetEnabledDate sets the EnabledDate field's value.

func (*DescribeResourceOutput) SetHiddenFromGlobalAddressList

func (s *DescribeResourceOutput) SetHiddenFromGlobalAddressList(v bool) *DescribeResourceOutput

SetHiddenFromGlobalAddressList sets the HiddenFromGlobalAddressList field's value.

func (*DescribeResourceOutput) SetName

SetName sets the Name field's value.

func (*DescribeResourceOutput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (*DescribeResourceOutput) SetState

SetState sets the State field's value.

func (*DescribeResourceOutput) SetType

SetType sets the Type field's value.

func (DescribeResourceOutput) String

func (s DescribeResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeUserInput

type DescribeUserInput struct {

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

	// The identifier for the user to be described.
	//
	// The identifier can be the UserId, Username, or email. The following identity
	// formats are available:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: user@domain.tld
	//
	//    * User name: user
	//
	// UserId is a required field
	UserId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeUserInput) GoString

func (s DescribeUserInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeUserInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*DescribeUserInput) SetUserId

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

SetUserId sets the UserId field's value.

func (DescribeUserInput) String

func (s DescribeUserInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeUserInput) Validate

func (s *DescribeUserInput) Validate() error

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

type DescribeUserOutput

type DescribeUserOutput struct {

	// City where the user is located.
	//
	// City is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	City *string `type:"string" sensitive:"true"`

	// Company of the user.
	//
	// Company is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	Company *string `type:"string" sensitive:"true"`

	// Country where the user is located.
	//
	// Country is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	Country *string `type:"string" sensitive:"true"`

	// Department of the user.
	//
	// Department is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	Department *string `type:"string" sensitive:"true"`

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

	// The display name of the user.
	//
	// DisplayName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	DisplayName *string `type:"string" sensitive:"true"`

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

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

	// First name of the user.
	//
	// FirstName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	FirstName *string `type:"string" sensitive:"true"`

	// If enabled, the user is hidden from the global address list.
	HiddenFromGlobalAddressList *bool `type:"boolean"`

	// Initials of the user.
	//
	// Initials is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	Initials *string `type:"string" sensitive:"true"`

	// Job title of the user.
	//
	// JobTitle is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	JobTitle *string `type:"string" sensitive:"true"`

	// Last name of the user.
	//
	// LastName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	LastName *string `type:"string" sensitive:"true"`

	// The date when the mailbox was removed for the user.
	MailboxDeprovisionedDate *time.Time `type:"timestamp"`

	// The date when the mailbox was created for the user.
	MailboxProvisionedDate *time.Time `type:"timestamp"`

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

	// Office where the user is located.
	//
	// Office is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	Office *string `type:"string" sensitive:"true"`

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

	// Street where the user is located.
	//
	// Street is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	Street *string `type:"string" sensitive:"true"`

	// User's contact number.
	//
	// Telephone is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	Telephone *string `type:"string" sensitive:"true"`

	// 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 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,
	// SYSTEM_USER, and REMOTE_USER.
	UserRole *string `type:"string" enum:"UserRole"`

	// Zip code of the user.
	//
	// ZipCode is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeUserOutput's
	// String and GoString methods.
	ZipCode *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (DescribeUserOutput) GoString

func (s DescribeUserOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeUserOutput) SetCity

SetCity sets the City field's value.

func (*DescribeUserOutput) SetCompany

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

SetCompany sets the Company field's value.

func (*DescribeUserOutput) SetCountry

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

SetCountry sets the Country field's value.

func (*DescribeUserOutput) SetDepartment

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

SetDepartment sets the Department field's value.

func (*DescribeUserOutput) SetDisabledDate

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

SetDisabledDate sets the DisabledDate field's value.

func (*DescribeUserOutput) SetDisplayName

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

SetDisplayName sets the DisplayName field's value.

func (*DescribeUserOutput) SetEmail

SetEmail sets the Email field's value.

func (*DescribeUserOutput) SetEnabledDate

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

SetEnabledDate sets the EnabledDate field's value.

func (*DescribeUserOutput) SetFirstName

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

SetFirstName sets the FirstName field's value.

func (*DescribeUserOutput) SetHiddenFromGlobalAddressList

func (s *DescribeUserOutput) SetHiddenFromGlobalAddressList(v bool) *DescribeUserOutput

SetHiddenFromGlobalAddressList sets the HiddenFromGlobalAddressList field's value.

func (*DescribeUserOutput) SetInitials

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

SetInitials sets the Initials field's value.

func (*DescribeUserOutput) SetJobTitle

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

SetJobTitle sets the JobTitle field's value.

func (*DescribeUserOutput) SetLastName

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

SetLastName sets the LastName field's value.

func (*DescribeUserOutput) SetMailboxDeprovisionedDate

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

SetMailboxDeprovisionedDate sets the MailboxDeprovisionedDate field's value.

func (*DescribeUserOutput) SetMailboxProvisionedDate

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

SetMailboxProvisionedDate sets the MailboxProvisionedDate field's value.

func (*DescribeUserOutput) SetName

SetName sets the Name field's value.

func (*DescribeUserOutput) SetOffice

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

SetOffice sets the Office field's value.

func (*DescribeUserOutput) SetState

SetState sets the State field's value.

func (*DescribeUserOutput) SetStreet

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

SetStreet sets the Street field's value.

func (*DescribeUserOutput) SetTelephone

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

SetTelephone sets the Telephone field's value.

func (*DescribeUserOutput) SetUserId

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

SetUserId sets the UserId field's value.

func (*DescribeUserOutput) SetUserRole

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

SetUserRole sets the UserRole field's value.

func (*DescribeUserOutput) SetZipCode

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

SetZipCode sets the ZipCode field's value.

func (DescribeUserOutput) String

func (s DescribeUserOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DirectoryInUseException

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

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

The directory is already in use by another WorkMail organization in the same account and Region.

func (*DirectoryInUseException) Code

func (s *DirectoryInUseException) Code() string

Code returns the exception type name.

func (*DirectoryInUseException) Error

func (s *DirectoryInUseException) Error() string

func (DirectoryInUseException) GoString

func (s DirectoryInUseException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DirectoryInUseException) Message

func (s *DirectoryInUseException) Message() string

Message returns the exception's message.

func (*DirectoryInUseException) OrigErr

func (s *DirectoryInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DirectoryInUseException) RequestID

func (s *DirectoryInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DirectoryInUseException) StatusCode

func (s *DirectoryInUseException) StatusCode() int

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

func (DirectoryInUseException) String

func (s DirectoryInUseException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DirectoryServiceAuthenticationFailedException

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

Code returns the exception type name.

func (*DirectoryServiceAuthenticationFailedException) Error

func (DirectoryServiceAuthenticationFailedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DirectoryServiceAuthenticationFailedException) Message

Message returns the exception's message.

func (*DirectoryServiceAuthenticationFailedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DirectoryServiceAuthenticationFailedException) RequestID

RequestID returns the service's response RequestID for request.

func (*DirectoryServiceAuthenticationFailedException) StatusCode

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

func (DirectoryServiceAuthenticationFailedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DirectoryUnavailableException

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

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

The directory is unavailable. It might be located in another Region or deleted.

func (*DirectoryUnavailableException) Code

Code returns the exception type name.

func (*DirectoryUnavailableException) Error

func (DirectoryUnavailableException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DirectoryUnavailableException) Message

Message returns the exception's message.

func (*DirectoryUnavailableException) OrigErr

func (s *DirectoryUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DirectoryUnavailableException) RequestID

func (s *DirectoryUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DirectoryUnavailableException) StatusCode

func (s *DirectoryUnavailableException) StatusCode() int

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

func (DirectoryUnavailableException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateDelegateFromResourceInput

type DisassociateDelegateFromResourceInput struct {

	// The identifier for the member (user, group) to be removed from the resource's
	// delegates.
	//
	// The entity ID can accept UserId or GroupID, Username or Groupname, or email.
	//
	//    * Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: entity@domain.tld
	//
	//    * Entity: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" type:"string" required:"true"`

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

	// The identifier of the resource from which delegates' set members are removed.
	//
	// The identifier can accept ResourceId, Resourcename, or email. The following
	// identity formats are available:
	//
	//    * Resource ID: r-0123456789a0123456789b0123456789
	//
	//    * Email address: resource@domain.tld
	//
	//    * Resource name: resource
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateDelegateFromResourceInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateDelegateFromResourceInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*DisassociateDelegateFromResourceInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*DisassociateDelegateFromResourceInput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (DisassociateDelegateFromResourceInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateDelegateFromResourceInput) Validate

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

type DisassociateDelegateFromResourceOutput

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

func (DisassociateDelegateFromResourceOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DisassociateDelegateFromResourceOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateMemberFromGroupInput

type DisassociateMemberFromGroupInput struct {

	// The identifier for the group from which members are removed.
	//
	// The identifier can accept GroupId, Groupname, or email. The following identity
	// formats are available:
	//
	//    * Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: group@domain.tld
	//
	//    * Group name: group
	//
	// GroupId is a required field
	GroupId *string `min:"1" type:"string" required:"true"`

	// The identifier for the member to be removed from the group.
	//
	// The member ID can accept UserID or GroupId, Username or Groupname, or email.
	//
	//    * Member ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: member@domain.tld
	//
	//    * Member name: member
	//
	// MemberId is a required field
	MemberId *string `min:"1" type:"string" required:"true"`

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

func (DisassociateMemberFromGroupInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateMemberFromGroupInput) SetGroupId

SetGroupId sets the GroupId field's value.

func (*DisassociateMemberFromGroupInput) SetMemberId

SetMemberId sets the MemberId field's value.

func (*DisassociateMemberFromGroupInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (DisassociateMemberFromGroupInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateMemberFromGroupInput) Validate

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

type DisassociateMemberFromGroupOutput

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

func (DisassociateMemberFromGroupOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DisassociateMemberFromGroupOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DnsRecord

type DnsRecord struct {

	// The DNS hostname.- For example, domain.example.com.
	Hostname *string `type:"string"`

	// The RFC 1035 record type. Possible values: CNAME, A, MX.
	Type *string `type:"string"`

	// The value returned by the DNS for a query to that hostname and record type.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A DNS record uploaded to your DNS provider.

func (DnsRecord) GoString

func (s DnsRecord) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DnsRecord) SetHostname

func (s *DnsRecord) SetHostname(v string) *DnsRecord

SetHostname sets the Hostname field's value.

func (*DnsRecord) SetType

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

SetType sets the Type field's value.

func (*DnsRecord) SetValue

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

SetValue sets the Value field's value.

func (DnsRecord) String

func (s DnsRecord) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Domain

type Domain struct {

	// The fully qualified domain name.
	//
	// DomainName is a required field
	DomainName *string `min:"3" type:"string" required:"true"`

	// The hosted zone ID for a domain hosted in Route 53. Required when configuring
	// a domain hosted in Route 53.
	HostedZoneId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The domain to associate with an WorkMail organization.

When you configure a domain hosted in Amazon Route 53 (Route 53), all recommended DNS records are added to the organization when you create it. For more information, see Adding a domain (https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html) in the WorkMail Administrator Guide.

func (Domain) GoString

func (s Domain) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Domain) SetDomainName

func (s *Domain) SetDomainName(v string) *Domain

SetDomainName sets the DomainName field's value.

func (*Domain) SetHostedZoneId

func (s *Domain) SetHostedZoneId(v string) *Domain

SetHostedZoneId sets the HostedZoneId field's value.

func (Domain) String

func (s Domain) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Domain) Validate

func (s *Domain) Validate() error

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

type EmailAddressInUseException

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

Code returns the exception type name.

func (*EmailAddressInUseException) Error

func (EmailAddressInUseException) GoString

func (s EmailAddressInUseException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EmailAddressInUseException) Message

func (s *EmailAddressInUseException) Message() string

Message returns the exception's message.

func (*EmailAddressInUseException) OrigErr

func (s *EmailAddressInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EmailAddressInUseException) RequestID

func (s *EmailAddressInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EmailAddressInUseException) StatusCode

func (s *EmailAddressInUseException) StatusCode() int

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

func (EmailAddressInUseException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EntityAlreadyRegisteredException

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

Code returns the exception type name.

func (*EntityAlreadyRegisteredException) Error

func (EntityAlreadyRegisteredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EntityAlreadyRegisteredException) Message

Message returns the exception's message.

func (*EntityAlreadyRegisteredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EntityAlreadyRegisteredException) RequestID

RequestID returns the service's response RequestID for request.

func (*EntityAlreadyRegisteredException) StatusCode

func (s *EntityAlreadyRegisteredException) StatusCode() int

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

func (EntityAlreadyRegisteredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EntityNotFoundException

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

func (s *EntityNotFoundException) Code() string

Code returns the exception type name.

func (*EntityNotFoundException) Error

func (s *EntityNotFoundException) Error() string

func (EntityNotFoundException) GoString

func (s EntityNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EntityNotFoundException) Message

func (s *EntityNotFoundException) Message() string

Message returns the exception's message.

func (*EntityNotFoundException) OrigErr

func (s *EntityNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EntityNotFoundException) RequestID

func (s *EntityNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EntityNotFoundException) StatusCode

func (s *EntityNotFoundException) StatusCode() int

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

func (EntityNotFoundException) String

func (s EntityNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EntityStateException

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

func (s *EntityStateException) Code() string

Code returns the exception type name.

func (*EntityStateException) Error

func (s *EntityStateException) Error() string

func (EntityStateException) GoString

func (s EntityStateException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EntityStateException) Message

func (s *EntityStateException) Message() string

Message returns the exception's message.

func (*EntityStateException) OrigErr

func (s *EntityStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EntityStateException) RequestID

func (s *EntityStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EntityStateException) StatusCode

func (s *EntityStateException) StatusCode() int

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

func (EntityStateException) String

func (s EntityStateException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EwsAvailabilityProvider

type EwsAvailabilityProvider struct {

	// The endpoint of the remote EWS server.
	//
	// EwsEndpoint is a required field
	EwsEndpoint *string `type:"string" required:"true"`

	// The password used to authenticate the remote EWS server.
	//
	// EwsPassword is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by EwsAvailabilityProvider's
	// String and GoString methods.
	//
	// EwsPassword is a required field
	EwsPassword *string `type:"string" required:"true" sensitive:"true"`

	// The username used to authenticate the remote EWS server.
	//
	// EwsUsername is a required field
	EwsUsername *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an EWS based availability provider. This is only used as input to the service.

func (EwsAvailabilityProvider) GoString

func (s EwsAvailabilityProvider) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EwsAvailabilityProvider) SetEwsEndpoint

SetEwsEndpoint sets the EwsEndpoint field's value.

func (*EwsAvailabilityProvider) SetEwsPassword

SetEwsPassword sets the EwsPassword field's value.

func (*EwsAvailabilityProvider) SetEwsUsername

SetEwsUsername sets the EwsUsername field's value.

func (EwsAvailabilityProvider) String

func (s EwsAvailabilityProvider) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EwsAvailabilityProvider) Validate

func (s *EwsAvailabilityProvider) Validate() error

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

type FolderConfiguration

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 number of days for which the folder-configuration action applies.
	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

func (s FolderConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FolderConfiguration) SetAction

SetAction sets the Action field's value.

func (*FolderConfiguration) SetName

SetName sets the Name field's value.

func (*FolderConfiguration) SetPeriod

SetPeriod sets the Period field's value.

func (FolderConfiguration) String

func (s FolderConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FolderConfiguration) Validate

func (s *FolderConfiguration) Validate() error

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

type GetAccessControlEffectInput

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 impersonation role ID.
	ImpersonationRoleId *string `min:"1" type:"string"`

	// 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 `min:"34" type:"string" required:"true"`

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

func (GetAccessControlEffectInput) GoString

func (s GetAccessControlEffectInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessControlEffectInput) SetAction

SetAction sets the Action field's value.

func (*GetAccessControlEffectInput) SetImpersonationRoleId

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

SetImpersonationRoleId sets the ImpersonationRoleId field's value.

func (*GetAccessControlEffectInput) SetIpAddress

SetIpAddress sets the IpAddress field's value.

func (*GetAccessControlEffectInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*GetAccessControlEffectInput) SetUserId

SetUserId sets the UserId field's value.

func (GetAccessControlEffectInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessControlEffectInput) Validate

func (s *GetAccessControlEffectInput) Validate() error

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

type GetAccessControlEffectOutput

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

func (s GetAccessControlEffectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessControlEffectOutput) SetEffect

SetEffect sets the Effect field's value.

func (*GetAccessControlEffectOutput) SetMatchedRules

SetMatchedRules sets the MatchedRules field's value.

func (GetAccessControlEffectOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDefaultRetentionPolicyInput

type GetDefaultRetentionPolicyInput struct {

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

func (GetDefaultRetentionPolicyInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDefaultRetentionPolicyInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (GetDefaultRetentionPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDefaultRetentionPolicyInput) Validate

func (s *GetDefaultRetentionPolicyInput) Validate() error

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

type GetDefaultRetentionPolicyOutput

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

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDefaultRetentionPolicyOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetDefaultRetentionPolicyOutput) SetFolderConfigurations

SetFolderConfigurations sets the FolderConfigurations field's value.

func (*GetDefaultRetentionPolicyOutput) SetId

SetId sets the Id field's value.

func (*GetDefaultRetentionPolicyOutput) SetName

SetName sets the Name field's value.

func (GetDefaultRetentionPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetImpersonationRoleEffectInput

type GetImpersonationRoleEffectInput struct {

	// The impersonation role ID to test.
	//
	// ImpersonationRoleId is a required field
	ImpersonationRoleId *string `min:"1" type:"string" required:"true"`

	// The WorkMail organization where the impersonation role is defined.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`

	// The WorkMail organization user chosen to test the impersonation role. The
	// following identity formats are available:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: user@domain.tld
	//
	//    * User name: user
	//
	// TargetUser is a required field
	TargetUser *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetImpersonationRoleEffectInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImpersonationRoleEffectInput) SetImpersonationRoleId

SetImpersonationRoleId sets the ImpersonationRoleId field's value.

func (*GetImpersonationRoleEffectInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*GetImpersonationRoleEffectInput) SetTargetUser

SetTargetUser sets the TargetUser field's value.

func (GetImpersonationRoleEffectInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImpersonationRoleEffectInput) Validate

func (s *GetImpersonationRoleEffectInput) Validate() error

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

type GetImpersonationRoleEffectOutput

type GetImpersonationRoleEffectOutput struct {

	// Effect of the impersonation role on the target user based on its rules. Available
	// effects are ALLOW or DENY.
	Effect *string `type:"string" enum:"AccessEffect"`

	// A list of the rules that match the input and produce the configured effect.
	MatchedRules []*ImpersonationMatchedRule `type:"list"`

	// The impersonation role type.
	Type *string `type:"string" enum:"ImpersonationRoleType"`
	// contains filtered or unexported fields
}

func (GetImpersonationRoleEffectOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImpersonationRoleEffectOutput) SetEffect

SetEffect sets the Effect field's value.

func (*GetImpersonationRoleEffectOutput) SetMatchedRules

SetMatchedRules sets the MatchedRules field's value.

func (*GetImpersonationRoleEffectOutput) SetType

SetType sets the Type field's value.

func (GetImpersonationRoleEffectOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetImpersonationRoleInput

type GetImpersonationRoleInput struct {

	// The impersonation role ID to retrieve.
	//
	// ImpersonationRoleId is a required field
	ImpersonationRoleId *string `min:"1" type:"string" required:"true"`

	// The WorkMail organization from which to retrieve the impersonation role.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetImpersonationRoleInput) GoString

func (s GetImpersonationRoleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImpersonationRoleInput) SetImpersonationRoleId

func (s *GetImpersonationRoleInput) SetImpersonationRoleId(v string) *GetImpersonationRoleInput

SetImpersonationRoleId sets the ImpersonationRoleId field's value.

func (*GetImpersonationRoleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (GetImpersonationRoleInput) String

func (s GetImpersonationRoleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImpersonationRoleInput) Validate

func (s *GetImpersonationRoleInput) Validate() error

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

type GetImpersonationRoleOutput

type GetImpersonationRoleOutput struct {

	// The date when the impersonation role was created.
	DateCreated *time.Time `type:"timestamp"`

	// The date when the impersonation role was last modified.
	DateModified *time.Time `type:"timestamp"`

	// The impersonation role description.
	Description *string `min:"1" type:"string"`

	// The impersonation role ID.
	ImpersonationRoleId *string `min:"1" type:"string"`

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

	// The list of rules for the given impersonation role.
	Rules []*ImpersonationRule `type:"list"`

	// The impersonation role type.
	Type *string `type:"string" enum:"ImpersonationRoleType"`
	// contains filtered or unexported fields
}

func (GetImpersonationRoleOutput) GoString

func (s GetImpersonationRoleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImpersonationRoleOutput) SetDateCreated

SetDateCreated sets the DateCreated field's value.

func (*GetImpersonationRoleOutput) SetDateModified

SetDateModified sets the DateModified field's value.

func (*GetImpersonationRoleOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetImpersonationRoleOutput) SetImpersonationRoleId

func (s *GetImpersonationRoleOutput) SetImpersonationRoleId(v string) *GetImpersonationRoleOutput

SetImpersonationRoleId sets the ImpersonationRoleId field's value.

func (*GetImpersonationRoleOutput) SetName

SetName sets the Name field's value.

func (*GetImpersonationRoleOutput) SetRules

SetRules sets the Rules field's value.

func (*GetImpersonationRoleOutput) SetType

SetType sets the Type field's value.

func (GetImpersonationRoleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMailDomainInput

type GetMailDomainInput struct {

	// The domain from which you want to retrieve details.
	//
	// DomainName is a required field
	DomainName *string `min:"3" type:"string" required:"true"`

	// The WorkMail organization for which the domain is retrieved.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMailDomainInput) GoString

func (s GetMailDomainInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMailDomainInput) SetDomainName

func (s *GetMailDomainInput) SetDomainName(v string) *GetMailDomainInput

SetDomainName sets the DomainName field's value.

func (*GetMailDomainInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (GetMailDomainInput) String

func (s GetMailDomainInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMailDomainInput) Validate

func (s *GetMailDomainInput) Validate() error

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

type GetMailDomainOutput

type GetMailDomainOutput struct {

	// Indicates the status of a DKIM verification.
	DkimVerificationStatus *string `type:"string" enum:"DnsRecordVerificationStatus"`

	// Specifies whether the domain is the default domain for your organization.
	IsDefault *bool `type:"boolean"`

	// Specifies whether the domain is a test domain provided by WorkMail, or a
	// custom domain.
	IsTestDomain *bool `type:"boolean"`

	// Indicates the status of the domain ownership verification.
	OwnershipVerificationStatus *string `type:"string" enum:"DnsRecordVerificationStatus"`

	// A list of the DNS records that WorkMail recommends adding in your DNS provider
	// for the best user experience. The records configure your domain with DMARC,
	// SPF, DKIM, and direct incoming email traffic to SES. See admin guide for
	// more details.
	Records []*DnsRecord `type:"list"`
	// contains filtered or unexported fields
}

func (GetMailDomainOutput) GoString

func (s GetMailDomainOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMailDomainOutput) SetDkimVerificationStatus

func (s *GetMailDomainOutput) SetDkimVerificationStatus(v string) *GetMailDomainOutput

SetDkimVerificationStatus sets the DkimVerificationStatus field's value.

func (*GetMailDomainOutput) SetIsDefault

func (s *GetMailDomainOutput) SetIsDefault(v bool) *GetMailDomainOutput

SetIsDefault sets the IsDefault field's value.

func (*GetMailDomainOutput) SetIsTestDomain

func (s *GetMailDomainOutput) SetIsTestDomain(v bool) *GetMailDomainOutput

SetIsTestDomain sets the IsTestDomain field's value.

func (*GetMailDomainOutput) SetOwnershipVerificationStatus

func (s *GetMailDomainOutput) SetOwnershipVerificationStatus(v string) *GetMailDomainOutput

SetOwnershipVerificationStatus sets the OwnershipVerificationStatus field's value.

func (*GetMailDomainOutput) SetRecords

func (s *GetMailDomainOutput) SetRecords(v []*DnsRecord) *GetMailDomainOutput

SetRecords sets the Records field's value.

func (GetMailDomainOutput) String

func (s GetMailDomainOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMailboxDetailsInput

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 `min:"34" type:"string" required:"true"`

	// The identifier for the user whose mailbox details are being requested.
	//
	// The identifier can be the UserId, Username, or email. The following identity
	// formats are available:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: user@domain.tld
	//
	//    * User name: user
	//
	// UserId is a required field
	UserId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMailboxDetailsInput) GoString

func (s GetMailboxDetailsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMailboxDetailsInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*GetMailboxDetailsInput) SetUserId

SetUserId sets the UserId field's value.

func (GetMailboxDetailsInput) String

func (s GetMailboxDetailsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMailboxDetailsInput) Validate

func (s *GetMailboxDetailsInput) Validate() error

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

type GetMailboxDetailsOutput

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

func (s GetMailboxDetailsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMailboxDetailsOutput) SetMailboxQuota

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

SetMailboxQuota sets the MailboxQuota field's value.

func (*GetMailboxDetailsOutput) SetMailboxSize

SetMailboxSize sets the MailboxSize field's value.

func (GetMailboxDetailsOutput) String

func (s GetMailboxDetailsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMobileDeviceAccessEffectInput

type GetMobileDeviceAccessEffectInput struct {

	// Device model the simulated user will report.
	DeviceModel *string `min:"1" type:"string"`

	// Device operating system the simulated user will report.
	DeviceOperatingSystem *string `min:"1" type:"string"`

	// Device type the simulated user will report.
	DeviceType *string `min:"1" type:"string"`

	// Device user agent the simulated user will report.
	DeviceUserAgent *string `min:"1" type:"string"`

	// The WorkMail organization to simulate the access effect for.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMobileDeviceAccessEffectInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMobileDeviceAccessEffectInput) SetDeviceModel

SetDeviceModel sets the DeviceModel field's value.

func (*GetMobileDeviceAccessEffectInput) SetDeviceOperatingSystem

SetDeviceOperatingSystem sets the DeviceOperatingSystem field's value.

func (*GetMobileDeviceAccessEffectInput) SetDeviceType

SetDeviceType sets the DeviceType field's value.

func (*GetMobileDeviceAccessEffectInput) SetDeviceUserAgent

SetDeviceUserAgent sets the DeviceUserAgent field's value.

func (*GetMobileDeviceAccessEffectInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (GetMobileDeviceAccessEffectInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMobileDeviceAccessEffectInput) Validate

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

type GetMobileDeviceAccessEffectOutput

type GetMobileDeviceAccessEffectOutput struct {

	// The effect of the simulated access, ALLOW or DENY, after evaluating mobile
	// device access rules in the WorkMail organization for the simulated user parameters.
	Effect *string `type:"string" enum:"MobileDeviceAccessRuleEffect"`

	// A list of the rules which matched the simulated user input and produced the
	// effect.
	MatchedRules []*MobileDeviceAccessMatchedRule `type:"list"`
	// contains filtered or unexported fields
}

func (GetMobileDeviceAccessEffectOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMobileDeviceAccessEffectOutput) SetEffect

SetEffect sets the Effect field's value.

func (*GetMobileDeviceAccessEffectOutput) SetMatchedRules

SetMatchedRules sets the MatchedRules field's value.

func (GetMobileDeviceAccessEffectOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMobileDeviceAccessOverrideInput

type GetMobileDeviceAccessOverrideInput struct {

	// The mobile device to which the override applies. DeviceId is case insensitive.
	//
	// DeviceId is a required field
	DeviceId *string `min:"1" type:"string" required:"true"`

	// The WorkMail organization to which you want to apply the override.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`

	// Identifies the WorkMail user for the override. Accepts the following types
	// of user identities:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: user@domain.tld
	//
	//    * User name: user
	//
	// UserId is a required field
	UserId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMobileDeviceAccessOverrideInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMobileDeviceAccessOverrideInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*GetMobileDeviceAccessOverrideInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*GetMobileDeviceAccessOverrideInput) SetUserId

SetUserId sets the UserId field's value.

func (GetMobileDeviceAccessOverrideInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMobileDeviceAccessOverrideInput) Validate

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

type GetMobileDeviceAccessOverrideOutput

type GetMobileDeviceAccessOverrideOutput struct {

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

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

	// A description of the override.
	Description *string `min:"1" type:"string"`

	// The device to which the access override applies.
	DeviceId *string `min:"1" type:"string"`

	// The effect of the override, ALLOW or DENY.
	Effect *string `type:"string" enum:"MobileDeviceAccessRuleEffect"`

	// The WorkMail user to which the access override applies.
	UserId *string `min:"12" type:"string"`
	// contains filtered or unexported fields
}

func (GetMobileDeviceAccessOverrideOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMobileDeviceAccessOverrideOutput) SetDateCreated

SetDateCreated sets the DateCreated field's value.

func (*GetMobileDeviceAccessOverrideOutput) SetDateModified

SetDateModified sets the DateModified field's value.

func (*GetMobileDeviceAccessOverrideOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetMobileDeviceAccessOverrideOutput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*GetMobileDeviceAccessOverrideOutput) SetEffect

SetEffect sets the Effect field's value.

func (*GetMobileDeviceAccessOverrideOutput) SetUserId

SetUserId sets the UserId field's value.

func (GetMobileDeviceAccessOverrideOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Group

type Group struct {

	// The date indicating when the group was disabled from 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 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 WorkMail group.

func (Group) GoString

func (s Group) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Group) SetDisabledDate

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

SetDisabledDate sets the DisabledDate field's value.

func (*Group) SetEmail

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

SetEmail sets the Email field's value.

func (*Group) SetEnabledDate

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

SetEnabledDate sets the EnabledDate field's value.

func (*Group) SetId

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

SetId sets the Id field's value.

func (*Group) SetName

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

SetName sets the Name field's value.

func (*Group) SetState

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

SetState sets the State field's value.

func (Group) String

func (s Group) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GroupIdentifier

type GroupIdentifier struct {

	// Group ID that matched the group.
	GroupId *string `min:"12" type:"string"`

	// Group name that matched the group.
	GroupName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The identifier that contains the Group ID and name of a group.

func (GroupIdentifier) GoString

func (s GroupIdentifier) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GroupIdentifier) SetGroupId

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

SetGroupId sets the GroupId field's value.

func (*GroupIdentifier) SetGroupName

func (s *GroupIdentifier) SetGroupName(v string) *GroupIdentifier

SetGroupName sets the GroupName field's value.

func (GroupIdentifier) String

func (s GroupIdentifier) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImpersonationMatchedRule

type ImpersonationMatchedRule struct {

	// The ID of the rule that matched the input
	ImpersonationRuleId *string `min:"1" type:"string"`

	// The name of the rule that matched the input.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The impersonation rule that matched the input.

func (ImpersonationMatchedRule) GoString

func (s ImpersonationMatchedRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImpersonationMatchedRule) SetImpersonationRuleId

func (s *ImpersonationMatchedRule) SetImpersonationRuleId(v string) *ImpersonationMatchedRule

SetImpersonationRuleId sets the ImpersonationRuleId field's value.

func (*ImpersonationMatchedRule) SetName

SetName sets the Name field's value.

func (ImpersonationMatchedRule) String

func (s ImpersonationMatchedRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImpersonationRole

type ImpersonationRole struct {

	// The date when the impersonation role was created.
	DateCreated *time.Time `type:"timestamp"`

	// The date when the impersonation role was last modified.
	DateModified *time.Time `type:"timestamp"`

	// The identifier of the impersonation role.
	ImpersonationRoleId *string `min:"1" type:"string"`

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

	// The impersonation role type.
	Type *string `type:"string" enum:"ImpersonationRoleType"`
	// contains filtered or unexported fields
}

An impersonation role for the given WorkMail organization.

func (ImpersonationRole) GoString

func (s ImpersonationRole) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImpersonationRole) SetDateCreated

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

SetDateCreated sets the DateCreated field's value.

func (*ImpersonationRole) SetDateModified

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

SetDateModified sets the DateModified field's value.

func (*ImpersonationRole) SetImpersonationRoleId

func (s *ImpersonationRole) SetImpersonationRoleId(v string) *ImpersonationRole

SetImpersonationRoleId sets the ImpersonationRoleId field's value.

func (*ImpersonationRole) SetName

SetName sets the Name field's value.

func (*ImpersonationRole) SetType

SetType sets the Type field's value.

func (ImpersonationRole) String

func (s ImpersonationRole) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImpersonationRule

type ImpersonationRule struct {

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

	// The effect of the rule when it matches the input. Allowed effect values are
	// ALLOW or DENY.
	//
	// Effect is a required field
	Effect *string `type:"string" required:"true" enum:"AccessEffect"`

	// The identifier of the rule.
	//
	// ImpersonationRuleId is a required field
	ImpersonationRuleId *string `min:"1" type:"string" required:"true"`

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

	// A list of user IDs that don't match the rule.
	NotTargetUsers []*string `min:"1" type:"list"`

	// A list of user IDs that match the rule.
	TargetUsers []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

The rules for the given impersonation role.

func (ImpersonationRule) GoString

func (s ImpersonationRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImpersonationRule) SetDescription

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

SetDescription sets the Description field's value.

func (*ImpersonationRule) SetEffect

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

SetEffect sets the Effect field's value.

func (*ImpersonationRule) SetImpersonationRuleId

func (s *ImpersonationRule) SetImpersonationRuleId(v string) *ImpersonationRule

SetImpersonationRuleId sets the ImpersonationRuleId field's value.

func (*ImpersonationRule) SetName

SetName sets the Name field's value.

func (*ImpersonationRule) SetNotTargetUsers

func (s *ImpersonationRule) SetNotTargetUsers(v []*string) *ImpersonationRule

SetNotTargetUsers sets the NotTargetUsers field's value.

func (*ImpersonationRule) SetTargetUsers

func (s *ImpersonationRule) SetTargetUsers(v []*string) *ImpersonationRule

SetTargetUsers sets the TargetUsers field's value.

func (ImpersonationRule) String

func (s ImpersonationRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImpersonationRule) Validate

func (s *ImpersonationRule) Validate() error

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

type InvalidConfigurationException

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

Code returns the exception type name.

func (*InvalidConfigurationException) Error

func (InvalidConfigurationException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidConfigurationException) Message

Message returns the exception's message.

func (*InvalidConfigurationException) OrigErr

func (s *InvalidConfigurationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidConfigurationException) RequestID

func (s *InvalidConfigurationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidConfigurationException) StatusCode

func (s *InvalidConfigurationException) StatusCode() int

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

func (InvalidConfigurationException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidCustomSesConfigurationException

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

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

You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to CreateReceiptRule (https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html).

func (*InvalidCustomSesConfigurationException) Code

Code returns the exception type name.

func (*InvalidCustomSesConfigurationException) Error

func (InvalidCustomSesConfigurationException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidCustomSesConfigurationException) Message

Message returns the exception's message.

func (*InvalidCustomSesConfigurationException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidCustomSesConfigurationException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidCustomSesConfigurationException) StatusCode

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

func (InvalidCustomSesConfigurationException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidParameterException

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

Code returns the exception type name.

func (*InvalidParameterException) Error

func (s *InvalidParameterException) Error() string

func (InvalidParameterException) GoString

func (s InvalidParameterException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidParameterException) Message

func (s *InvalidParameterException) Message() string

Message returns the exception's message.

func (*InvalidParameterException) OrigErr

func (s *InvalidParameterException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterException) RequestID

func (s *InvalidParameterException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterException) StatusCode

func (s *InvalidParameterException) StatusCode() int

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

func (InvalidParameterException) String

func (s InvalidParameterException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidPasswordException

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

func (s *InvalidPasswordException) Code() string

Code returns the exception type name.

func (*InvalidPasswordException) Error

func (s *InvalidPasswordException) Error() string

func (InvalidPasswordException) GoString

func (s InvalidPasswordException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidPasswordException) Message

func (s *InvalidPasswordException) Message() string

Message returns the exception's message.

func (*InvalidPasswordException) OrigErr

func (s *InvalidPasswordException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPasswordException) RequestID

func (s *InvalidPasswordException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidPasswordException) StatusCode

func (s *InvalidPasswordException) StatusCode() int

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

func (InvalidPasswordException) String

func (s InvalidPasswordException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LambdaAvailabilityProvider

type LambdaAvailabilityProvider struct {

	// The Amazon Resource Name (ARN) of the Lambda that acts as the availability
	// provider.
	//
	// LambdaArn is a required field
	LambdaArn *string `min:"49" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes a Lambda based availability provider.

func (LambdaAvailabilityProvider) GoString

func (s LambdaAvailabilityProvider) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaAvailabilityProvider) SetLambdaArn

SetLambdaArn sets the LambdaArn field's value.

func (LambdaAvailabilityProvider) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaAvailabilityProvider) Validate

func (s *LambdaAvailabilityProvider) Validate() error

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

type LimitExceededException

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

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString

func (s LimitExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LimitExceededException) Message

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode

func (s *LimitExceededException) StatusCode() int

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

func (LimitExceededException) String

func (s LimitExceededException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccessControlRulesInput

type ListAccessControlRulesInput struct {

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

func (ListAccessControlRulesInput) GoString

func (s ListAccessControlRulesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessControlRulesInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (ListAccessControlRulesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessControlRulesInput) Validate

func (s *ListAccessControlRulesInput) Validate() error

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

type ListAccessControlRulesOutput

type ListAccessControlRulesOutput struct {

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

func (ListAccessControlRulesOutput) GoString

func (s ListAccessControlRulesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessControlRulesOutput) SetRules

SetRules sets the Rules field's value.

func (ListAccessControlRulesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAliasesInput

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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListAliasesInput) GoString

func (s ListAliasesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAliasesInput) SetEntityId

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

SetEntityId sets the EntityId field's value.

func (*ListAliasesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListAliasesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListAliasesInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (ListAliasesInput) String

func (s ListAliasesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAliasesInput) Validate

func (s *ListAliasesInput) Validate() error

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

type ListAliasesOutput

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

func (s ListAliasesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAliasesOutput) SetAliases

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

SetAliases sets the Aliases field's value.

func (*ListAliasesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListAliasesOutput) String

func (s ListAliasesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAvailabilityConfigurationsInput

type ListAvailabilityConfigurationsInput 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 require a token.
	NextToken *string `min:"1" type:"string"`

	// The WorkMail organization for which the AvailabilityConfiguration's will
	// be listed.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListAvailabilityConfigurationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAvailabilityConfigurationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAvailabilityConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAvailabilityConfigurationsInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (ListAvailabilityConfigurationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAvailabilityConfigurationsInput) Validate

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

type ListAvailabilityConfigurationsOutput

type ListAvailabilityConfigurationsOutput struct {

	// The list of AvailabilityConfiguration's that exist for the specified WorkMail
	// organization.
	AvailabilityConfigurations []*AvailabilityConfiguration `type:"list"`

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

func (ListAvailabilityConfigurationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAvailabilityConfigurationsOutput) SetAvailabilityConfigurations

SetAvailabilityConfigurations sets the AvailabilityConfigurations field's value.

func (*ListAvailabilityConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAvailabilityConfigurationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListGroupMembersInput

type ListGroupMembersInput struct {

	// The identifier for the group to which the members (users or groups) are associated.
	//
	// The identifier can accept GroupId, Groupname, or email. The following identity
	// formats are available:
	//
	//    * Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: group@domain.tld
	//
	//    * Group name: group
	//
	// GroupId is a required field
	GroupId *string `min:"1" 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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListGroupMembersInput) GoString

func (s ListGroupMembersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupMembersInput) SetGroupId

SetGroupId sets the GroupId field's value.

func (*ListGroupMembersInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListGroupMembersInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListGroupMembersInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (ListGroupMembersInput) String

func (s ListGroupMembersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupMembersInput) Validate

func (s *ListGroupMembersInput) Validate() error

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

type ListGroupMembersOutput

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

func (s ListGroupMembersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupMembersOutput) SetMembers

SetMembers sets the Members field's value.

func (*ListGroupMembersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListGroupMembersOutput) String

func (s ListGroupMembersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListGroupsFilters

type ListGroupsFilters struct {

	// Filters only groups with the provided name prefix.
	NamePrefix *string `type:"string"`

	// Filters only groups with the provided primary email prefix.
	PrimaryEmailPrefix *string `type:"string"`

	// Filters only groups with the provided state.
	State *string `type:"string" enum:"EntityState"`
	// contains filtered or unexported fields
}

Filtering options for ListGroups operation. This is only used as input to Operation.

func (ListGroupsFilters) GoString

func (s ListGroupsFilters) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupsFilters) SetNamePrefix

func (s *ListGroupsFilters) SetNamePrefix(v string) *ListGroupsFilters

SetNamePrefix sets the NamePrefix field's value.

func (*ListGroupsFilters) SetPrimaryEmailPrefix

func (s *ListGroupsFilters) SetPrimaryEmailPrefix(v string) *ListGroupsFilters

SetPrimaryEmailPrefix sets the PrimaryEmailPrefix field's value.

func (*ListGroupsFilters) SetState

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

SetState sets the State field's value.

func (ListGroupsFilters) String

func (s ListGroupsFilters) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListGroupsForEntityFilters

type ListGroupsForEntityFilters struct {

	// Filters only group names that start with the provided name prefix.
	GroupNamePrefix *string `type:"string"`
	// contains filtered or unexported fields
}

Filtering options for ListGroupsForEntity operation. This is only used as input to Operation.

func (ListGroupsForEntityFilters) GoString

func (s ListGroupsForEntityFilters) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupsForEntityFilters) SetGroupNamePrefix

SetGroupNamePrefix sets the GroupNamePrefix field's value.

func (ListGroupsForEntityFilters) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListGroupsForEntityInput

type ListGroupsForEntityInput struct {

	// The identifier for the entity.
	//
	// The entity ID can accept UserId or GroupID, Username or Groupname, or email.
	//
	//    * Entity ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: entity@domain.tld
	//
	//    * Entity name: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" type:"string" required:"true"`

	// Limit the search results based on the filter criteria.
	Filters *ListGroupsForEntityFilters `type:"structure"`

	// 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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListGroupsForEntityInput) GoString

func (s ListGroupsForEntityInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupsForEntityInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*ListGroupsForEntityInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListGroupsForEntityInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListGroupsForEntityInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListGroupsForEntityInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (ListGroupsForEntityInput) String

func (s ListGroupsForEntityInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupsForEntityInput) Validate

func (s *ListGroupsForEntityInput) Validate() error

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

type ListGroupsForEntityOutput

type ListGroupsForEntityOutput struct {

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

	// 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"`
	// contains filtered or unexported fields
}

func (ListGroupsForEntityOutput) GoString

func (s ListGroupsForEntityOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupsForEntityOutput) SetGroups

SetGroups sets the Groups field's value.

func (*ListGroupsForEntityOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListGroupsForEntityOutput) String

func (s ListGroupsForEntityOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListGroupsInput

type ListGroupsInput struct {

	// Limit the search results based on the filter criteria. Only one filter per
	// request is supported.
	Filters *ListGroupsFilters `type:"structure"`

	// 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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListGroupsInput) GoString

func (s ListGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListGroupsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListGroupsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListGroupsInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (ListGroupsInput) String

func (s ListGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupsInput) Validate

func (s *ListGroupsInput) Validate() error

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

type ListGroupsOutput

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

func (s ListGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGroupsOutput) SetGroups

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

SetGroups sets the Groups field's value.

func (*ListGroupsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListGroupsOutput) String

func (s ListGroupsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListImpersonationRolesInput

type ListImpersonationRolesInput struct {

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

	// The token used to retrieve the next page of results. The first call doesn't
	// require a token.
	NextToken *string `min:"1" type:"string"`

	// The WorkMail organization to which the listed impersonation roles belong.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListImpersonationRolesInput) GoString

func (s ListImpersonationRolesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListImpersonationRolesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListImpersonationRolesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListImpersonationRolesInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (ListImpersonationRolesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListImpersonationRolesInput) Validate

func (s *ListImpersonationRolesInput) Validate() error

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

type ListImpersonationRolesOutput

type ListImpersonationRolesOutput struct {

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

	// The list of impersonation roles under the given WorkMail organization.
	Roles []*ImpersonationRole `type:"list"`
	// contains filtered or unexported fields
}

func (ListImpersonationRolesOutput) GoString

func (s ListImpersonationRolesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListImpersonationRolesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListImpersonationRolesOutput) SetRoles

SetRoles sets the Roles field's value.

func (ListImpersonationRolesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListMailDomainsInput

type ListMailDomainsInput 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 require a token.
	NextToken *string `min:"1" type:"string"`

	// The WorkMail organization for which to list domains.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListMailDomainsInput) GoString

func (s ListMailDomainsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMailDomainsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListMailDomainsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListMailDomainsInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (ListMailDomainsInput) String

func (s ListMailDomainsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMailDomainsInput) Validate

func (s *ListMailDomainsInput) Validate() error

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

type ListMailDomainsOutput

type ListMailDomainsOutput struct {

	// The list of mail domain summaries, specifying domains that exist in the specified
	// WorkMail organization, along with the information about whether the domain
	// is or isn't the default.
	MailDomains []*MailDomainSummary `type:"list"`

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

func (ListMailDomainsOutput) GoString

func (s ListMailDomainsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMailDomainsOutput) SetMailDomains

SetMailDomains sets the MailDomains field's value.

func (*ListMailDomainsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListMailDomainsOutput) String

func (s ListMailDomainsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListMailboxExportJobsInput

type ListMailboxExportJobsInput 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.
	NextToken *string `min:"1" type:"string"`

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

func (ListMailboxExportJobsInput) GoString

func (s ListMailboxExportJobsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMailboxExportJobsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListMailboxExportJobsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListMailboxExportJobsInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (ListMailboxExportJobsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMailboxExportJobsInput) Validate

func (s *ListMailboxExportJobsInput) Validate() error

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

type ListMailboxExportJobsOutput

type ListMailboxExportJobsOutput struct {

	// The mailbox export job details.
	Jobs []*MailboxExportJob `type:"list"`

	// The token to use to retrieve the next page of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMailboxExportJobsOutput) GoString

func (s ListMailboxExportJobsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMailboxExportJobsOutput) SetJobs

SetJobs sets the Jobs field's value.

func (*ListMailboxExportJobsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListMailboxExportJobsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListMailboxPermissionsInput

type ListMailboxPermissionsInput struct {

	// The identifier of the user, or resource for which to list mailbox permissions.
	//
	// The entity ID can accept UserId or ResourceId, Username or Resourcename,
	// or email.
	//
	//    * Entity ID: 12345678-1234-1234-1234-123456789012, or r-0123456789a0123456789b0123456789
	//
	//    * Email address: entity@domain.tld
	//
	//    * Entity name: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" 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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListMailboxPermissionsInput) GoString

func (s ListMailboxPermissionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMailboxPermissionsInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*ListMailboxPermissionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListMailboxPermissionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListMailboxPermissionsInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (ListMailboxPermissionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMailboxPermissionsInput) Validate

func (s *ListMailboxPermissionsInput) Validate() error

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

type ListMailboxPermissionsOutput

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

func (s ListMailboxPermissionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMailboxPermissionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListMailboxPermissionsOutput) SetPermissions

SetPermissions sets the Permissions field's value.

func (ListMailboxPermissionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListMobileDeviceAccessOverridesInput

type ListMobileDeviceAccessOverridesInput struct {

	// The mobile device to which the access override applies.
	DeviceId *string `min:"1" type:"string"`

	// 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 require a token.
	NextToken *string `min:"1" type:"string"`

	// The WorkMail organization under which to list mobile device access overrides.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`

	// The WorkMail user under which you list the mobile device access overrides.
	// Accepts the following types of user identities:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: user@domain.tld
	//
	//    * User name: user
	UserId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMobileDeviceAccessOverridesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMobileDeviceAccessOverridesInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*ListMobileDeviceAccessOverridesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListMobileDeviceAccessOverridesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListMobileDeviceAccessOverridesInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*ListMobileDeviceAccessOverridesInput) SetUserId

SetUserId sets the UserId field's value.

func (ListMobileDeviceAccessOverridesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMobileDeviceAccessOverridesInput) Validate

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

type ListMobileDeviceAccessOverridesOutput

type ListMobileDeviceAccessOverridesOutput 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 list of mobile device access overrides that exist for the specified WorkMail
	// organization and user.
	Overrides []*MobileDeviceAccessOverride `type:"list"`
	// contains filtered or unexported fields
}

func (ListMobileDeviceAccessOverridesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMobileDeviceAccessOverridesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListMobileDeviceAccessOverridesOutput) SetOverrides

SetOverrides sets the Overrides field's value.

func (ListMobileDeviceAccessOverridesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListMobileDeviceAccessRulesInput

type ListMobileDeviceAccessRulesInput struct {

	// The WorkMail organization for which to list the rules.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListMobileDeviceAccessRulesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMobileDeviceAccessRulesInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (ListMobileDeviceAccessRulesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMobileDeviceAccessRulesInput) Validate

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

type ListMobileDeviceAccessRulesOutput

type ListMobileDeviceAccessRulesOutput struct {

	// The list of mobile device access rules that exist under the specified WorkMail
	// organization.
	Rules []*MobileDeviceAccessRule `type:"list"`
	// contains filtered or unexported fields
}

func (ListMobileDeviceAccessRulesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMobileDeviceAccessRulesOutput) SetRules

SetRules sets the Rules field's value.

func (ListMobileDeviceAccessRulesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListOrganizationsInput

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

func (s ListOrganizationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListOrganizationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListOrganizationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListOrganizationsInput) String

func (s ListOrganizationsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListOrganizationsInput) Validate

func (s *ListOrganizationsInput) Validate() error

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

type ListOrganizationsOutput

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

func (s ListOrganizationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListOrganizationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListOrganizationsOutput) SetOrganizationSummaries

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

SetOrganizationSummaries sets the OrganizationSummaries field's value.

func (ListOrganizationsOutput) String

func (s ListOrganizationsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListResourceDelegatesInput

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 `min:"34" type:"string" required:"true"`

	// The identifier for the resource whose delegates are listed.
	//
	// The identifier can accept ResourceId, Resourcename, or email. The following
	// identity formats are available:
	//
	//    * Resource ID: r-0123456789a0123456789b0123456789
	//
	//    * Email address: resource@domain.tld
	//
	//    * Resource name: resource
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListResourceDelegatesInput) GoString

func (s ListResourceDelegatesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourceDelegatesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListResourceDelegatesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListResourceDelegatesInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*ListResourceDelegatesInput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (ListResourceDelegatesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourceDelegatesInput) Validate

func (s *ListResourceDelegatesInput) Validate() error

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

type ListResourceDelegatesOutput

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

func (s ListResourceDelegatesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourceDelegatesOutput) SetDelegates

SetDelegates sets the Delegates field's value.

func (*ListResourceDelegatesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListResourceDelegatesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListResourcesFilters

type ListResourcesFilters struct {

	// Filters only resource that start with the entered name prefix .
	NamePrefix *string `type:"string"`

	// Filters only resource with the provided primary email prefix.
	PrimaryEmailPrefix *string `type:"string"`

	// Filters only resource with the provided state.
	State *string `type:"string" enum:"EntityState"`
	// contains filtered or unexported fields
}

Filtering options for ListResources operation. This is only used as input to Operation.

func (ListResourcesFilters) GoString

func (s ListResourcesFilters) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesFilters) SetNamePrefix

func (s *ListResourcesFilters) SetNamePrefix(v string) *ListResourcesFilters

SetNamePrefix sets the NamePrefix field's value.

func (*ListResourcesFilters) SetPrimaryEmailPrefix

func (s *ListResourcesFilters) SetPrimaryEmailPrefix(v string) *ListResourcesFilters

SetPrimaryEmailPrefix sets the PrimaryEmailPrefix field's value.

func (*ListResourcesFilters) SetState

SetState sets the State field's value.

func (ListResourcesFilters) String

func (s ListResourcesFilters) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListResourcesInput

type ListResourcesInput struct {

	// Limit the resource search results based on the filter criteria. You can only
	// use one filter per request.
	Filters *ListResourcesFilters `type:"structure"`

	// 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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListResourcesInput) GoString

func (s ListResourcesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListResourcesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListResourcesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListResourcesInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (ListResourcesInput) String

func (s ListResourcesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesInput) Validate

func (s *ListResourcesInput) Validate() error

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

type ListResourcesOutput

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

func (s ListResourcesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListResourcesOutput) SetResources

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

SetResources sets the Resources field's value.

func (ListResourcesOutput) String

func (s ListResourcesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

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

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceARN

SetResourceARN sets the ResourceARN field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

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

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListUsersFilters

type ListUsersFilters struct {

	// Filters only users with the provided display name prefix.
	//
	// DisplayNamePrefix is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ListUsersFilters's
	// String and GoString methods.
	DisplayNamePrefix *string `type:"string" sensitive:"true"`

	// Filters only users with the provided email prefix.
	PrimaryEmailPrefix *string `type:"string"`

	// Filters only users with the provided state.
	State *string `type:"string" enum:"EntityState"`

	// Filters only users with the provided username prefix.
	UsernamePrefix *string `type:"string"`
	// contains filtered or unexported fields
}

Filtering options for ListUsers operation. This is only used as input to Operation.

func (ListUsersFilters) GoString

func (s ListUsersFilters) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUsersFilters) SetDisplayNamePrefix

func (s *ListUsersFilters) SetDisplayNamePrefix(v string) *ListUsersFilters

SetDisplayNamePrefix sets the DisplayNamePrefix field's value.

func (*ListUsersFilters) SetPrimaryEmailPrefix

func (s *ListUsersFilters) SetPrimaryEmailPrefix(v string) *ListUsersFilters

SetPrimaryEmailPrefix sets the PrimaryEmailPrefix field's value.

func (*ListUsersFilters) SetState

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

SetState sets the State field's value.

func (*ListUsersFilters) SetUsernamePrefix

func (s *ListUsersFilters) SetUsernamePrefix(v string) *ListUsersFilters

SetUsernamePrefix sets the UsernamePrefix field's value.

func (ListUsersFilters) String

func (s ListUsersFilters) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListUsersInput

type ListUsersInput struct {

	// Limit the user search results based on the filter criteria. You can only
	// use one filter per request.
	Filters *ListUsersFilters `type:"structure"`

	// 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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListUsersInput) GoString

func (s ListUsersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUsersInput) SetFilters

func (s *ListUsersInput) SetFilters(v *ListUsersFilters) *ListUsersInput

SetFilters sets the Filters field's value.

func (*ListUsersInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListUsersInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListUsersInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (ListUsersInput) String

func (s ListUsersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUsersInput) Validate

func (s *ListUsersInput) Validate() error

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

type ListUsersOutput

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

func (s ListUsersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUsersOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListUsersOutput) SetUsers

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

SetUsers sets the Users field's value.

func (ListUsersOutput) String

func (s ListUsersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MailDomainInUseException

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

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

The domain you're trying to change is in use by another user or organization in your account. See the error message for details.

func (*MailDomainInUseException) Code

func (s *MailDomainInUseException) Code() string

Code returns the exception type name.

func (*MailDomainInUseException) Error

func (s *MailDomainInUseException) Error() string

func (MailDomainInUseException) GoString

func (s MailDomainInUseException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MailDomainInUseException) Message

func (s *MailDomainInUseException) Message() string

Message returns the exception's message.

func (*MailDomainInUseException) OrigErr

func (s *MailDomainInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MailDomainInUseException) RequestID

func (s *MailDomainInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*MailDomainInUseException) StatusCode

func (s *MailDomainInUseException) StatusCode() int

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

func (MailDomainInUseException) String

func (s MailDomainInUseException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MailDomainNotFoundException

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

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

The domain specified is not found in your organization.

func (*MailDomainNotFoundException) Code

Code returns the exception type name.

func (*MailDomainNotFoundException) Error

func (MailDomainNotFoundException) GoString

func (s MailDomainNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MailDomainNotFoundException) Message

func (s *MailDomainNotFoundException) Message() string

Message returns the exception's message.

func (*MailDomainNotFoundException) OrigErr

func (s *MailDomainNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MailDomainNotFoundException) RequestID

func (s *MailDomainNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*MailDomainNotFoundException) StatusCode

func (s *MailDomainNotFoundException) StatusCode() int

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

func (MailDomainNotFoundException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MailDomainStateException

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

func (s *MailDomainStateException) Code() string

Code returns the exception type name.

func (*MailDomainStateException) Error

func (s *MailDomainStateException) Error() string

func (MailDomainStateException) GoString

func (s MailDomainStateException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MailDomainStateException) Message

func (s *MailDomainStateException) Message() string

Message returns the exception's message.

func (*MailDomainStateException) OrigErr

func (s *MailDomainStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MailDomainStateException) RequestID

func (s *MailDomainStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*MailDomainStateException) StatusCode

func (s *MailDomainStateException) StatusCode() int

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

func (MailDomainStateException) String

func (s MailDomainStateException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MailDomainSummary

type MailDomainSummary struct {

	// Whether the domain is default or not.
	DefaultDomain *bool `type:"boolean"`

	// The domain name.
	DomainName *string `min:"3" type:"string"`
	// contains filtered or unexported fields
}

The data for a given domain.

func (MailDomainSummary) GoString

func (s MailDomainSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MailDomainSummary) SetDefaultDomain

func (s *MailDomainSummary) SetDefaultDomain(v bool) *MailDomainSummary

SetDefaultDomain sets the DefaultDomain field's value.

func (*MailDomainSummary) SetDomainName

func (s *MailDomainSummary) SetDomainName(v string) *MailDomainSummary

SetDomainName sets the DomainName field's value.

func (MailDomainSummary) String

func (s MailDomainSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MailboxExportJob

type MailboxExportJob struct {

	// The mailbox export job description.
	Description *string `type:"string"`

	// The mailbox export job end timestamp.
	EndTime *time.Time `type:"timestamp"`

	// The identifier of the user or resource associated with the mailbox.
	EntityId *string `min:"12" type:"string"`

	// The estimated progress of the mailbox export job, in percentage points.
	EstimatedProgress *int64 `type:"integer"`

	// The identifier of the mailbox export job.
	JobId *string `min:"1" type:"string"`

	// The name of the S3 bucket.
	S3BucketName *string `min:"1" type:"string"`

	// The path to the S3 bucket and file that the mailbox export job exports to.
	S3Path *string `min:"1" type:"string"`

	// The mailbox export job start timestamp.
	StartTime *time.Time `type:"timestamp"`

	// The state of the mailbox export job.
	State *string `type:"string" enum:"MailboxExportJobState"`
	// contains filtered or unexported fields
}

The details of a mailbox export job, including the user or resource ID associated with the mailbox and the S3 bucket that the mailbox contents are exported to.

func (MailboxExportJob) GoString

func (s MailboxExportJob) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MailboxExportJob) SetDescription

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

SetDescription sets the Description field's value.

func (*MailboxExportJob) SetEndTime

func (s *MailboxExportJob) SetEndTime(v time.Time) *MailboxExportJob

SetEndTime sets the EndTime field's value.

func (*MailboxExportJob) SetEntityId

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

SetEntityId sets the EntityId field's value.

func (*MailboxExportJob) SetEstimatedProgress

func (s *MailboxExportJob) SetEstimatedProgress(v int64) *MailboxExportJob

SetEstimatedProgress sets the EstimatedProgress field's value.

func (*MailboxExportJob) SetJobId

func (s *MailboxExportJob) SetJobId(v string) *MailboxExportJob

SetJobId sets the JobId field's value.

func (*MailboxExportJob) SetS3BucketName

func (s *MailboxExportJob) SetS3BucketName(v string) *MailboxExportJob

SetS3BucketName sets the S3BucketName field's value.

func (*MailboxExportJob) SetS3Path

func (s *MailboxExportJob) SetS3Path(v string) *MailboxExportJob

SetS3Path sets the S3Path field's value.

func (*MailboxExportJob) SetStartTime

func (s *MailboxExportJob) SetStartTime(v time.Time) *MailboxExportJob

SetStartTime sets the StartTime field's value.

func (*MailboxExportJob) SetState

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

SetState sets the State field's value.

func (MailboxExportJob) String

func (s MailboxExportJob) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Member

type Member struct {

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

	// The date indicating when the member was enabled for 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

func (s Member) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Member) SetDisabledDate

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

SetDisabledDate sets the DisabledDate field's value.

func (*Member) SetEnabledDate

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

SetEnabledDate sets the EnabledDate field's value.

func (*Member) SetId

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

SetId sets the Id field's value.

func (*Member) SetName

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

SetName sets the Name field's value.

func (*Member) SetState

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

SetState sets the State field's value.

func (*Member) SetType

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

SetType sets the Type field's value.

func (Member) String

func (s Member) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MobileDeviceAccessMatchedRule

type MobileDeviceAccessMatchedRule struct {

	// Identifier of the rule that a simulated user matches.
	MobileDeviceAccessRuleId *string `min:"1" type:"string"`

	// Name of a rule that a simulated user matches.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The rule that a simulated user matches.

func (MobileDeviceAccessMatchedRule) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MobileDeviceAccessMatchedRule) SetMobileDeviceAccessRuleId

func (s *MobileDeviceAccessMatchedRule) SetMobileDeviceAccessRuleId(v string) *MobileDeviceAccessMatchedRule

SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.

func (*MobileDeviceAccessMatchedRule) SetName

SetName sets the Name field's value.

func (MobileDeviceAccessMatchedRule) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MobileDeviceAccessOverride

type MobileDeviceAccessOverride struct {

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

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

	// A description of the override.
	Description *string `min:"1" type:"string"`

	// The device to which the override applies.
	DeviceId *string `min:"1" type:"string"`

	// The effect of the override, ALLOW or DENY.
	Effect *string `type:"string" enum:"MobileDeviceAccessRuleEffect"`

	// The WorkMail user to which the access override applies.
	UserId *string `min:"12" type:"string"`
	// contains filtered or unexported fields
}

The override object.

func (MobileDeviceAccessOverride) GoString

func (s MobileDeviceAccessOverride) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MobileDeviceAccessOverride) SetDateCreated

SetDateCreated sets the DateCreated field's value.

func (*MobileDeviceAccessOverride) SetDateModified

SetDateModified sets the DateModified field's value.

func (*MobileDeviceAccessOverride) SetDescription

SetDescription sets the Description field's value.

func (*MobileDeviceAccessOverride) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*MobileDeviceAccessOverride) SetEffect

SetEffect sets the Effect field's value.

func (*MobileDeviceAccessOverride) SetUserId

SetUserId sets the UserId field's value.

func (MobileDeviceAccessOverride) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MobileDeviceAccessRule

type MobileDeviceAccessRule struct {

	// The date and time at which an access rule was created.
	DateCreated *time.Time `type:"timestamp"`

	// The date and time at which an access rule was modified.
	DateModified *time.Time `type:"timestamp"`

	// The description of a mobile access rule.
	Description *string `min:"1" type:"string"`

	// Device models that a rule will match.
	DeviceModels []*string `min:"1" type:"list"`

	// Device operating systems that a rule will match.
	DeviceOperatingSystems []*string `min:"1" type:"list"`

	// Device types that a rule will match.
	DeviceTypes []*string `min:"1" type:"list"`

	// Device user agents that a rule will match.
	DeviceUserAgents []*string `min:"1" type:"list"`

	// The effect of the rule when it matches. Allowed values are ALLOW or DENY.
	Effect *string `type:"string" enum:"MobileDeviceAccessRuleEffect"`

	// The ID assigned to a mobile access rule.
	MobileDeviceAccessRuleId *string `min:"1" type:"string"`

	// The name of a mobile access rule.
	Name *string `min:"1" type:"string"`

	// Device models that a rule will not match. All other device models will match.
	NotDeviceModels []*string `min:"1" type:"list"`

	// Device operating systems that a rule will not match. All other device types
	// will match.
	NotDeviceOperatingSystems []*string `min:"1" type:"list"`

	// Device types that a rule will not match. All other device types will match.
	NotDeviceTypes []*string `min:"1" type:"list"`

	// Device user agents that a rule will not match. All other device user agents
	// will match.
	NotDeviceUserAgents []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

A rule that controls access to mobile devices for an WorkMail group.

func (MobileDeviceAccessRule) GoString

func (s MobileDeviceAccessRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MobileDeviceAccessRule) SetDateCreated

SetDateCreated sets the DateCreated field's value.

func (*MobileDeviceAccessRule) SetDateModified

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

SetDateModified sets the DateModified field's value.

func (*MobileDeviceAccessRule) SetDescription

SetDescription sets the Description field's value.

func (*MobileDeviceAccessRule) SetDeviceModels

func (s *MobileDeviceAccessRule) SetDeviceModels(v []*string) *MobileDeviceAccessRule

SetDeviceModels sets the DeviceModels field's value.

func (*MobileDeviceAccessRule) SetDeviceOperatingSystems

func (s *MobileDeviceAccessRule) SetDeviceOperatingSystems(v []*string) *MobileDeviceAccessRule

SetDeviceOperatingSystems sets the DeviceOperatingSystems field's value.

func (*MobileDeviceAccessRule) SetDeviceTypes

func (s *MobileDeviceAccessRule) SetDeviceTypes(v []*string) *MobileDeviceAccessRule

SetDeviceTypes sets the DeviceTypes field's value.

func (*MobileDeviceAccessRule) SetDeviceUserAgents

func (s *MobileDeviceAccessRule) SetDeviceUserAgents(v []*string) *MobileDeviceAccessRule

SetDeviceUserAgents sets the DeviceUserAgents field's value.

func (*MobileDeviceAccessRule) SetEffect

SetEffect sets the Effect field's value.

func (*MobileDeviceAccessRule) SetMobileDeviceAccessRuleId

func (s *MobileDeviceAccessRule) SetMobileDeviceAccessRuleId(v string) *MobileDeviceAccessRule

SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.

func (*MobileDeviceAccessRule) SetName

SetName sets the Name field's value.

func (*MobileDeviceAccessRule) SetNotDeviceModels

func (s *MobileDeviceAccessRule) SetNotDeviceModels(v []*string) *MobileDeviceAccessRule

SetNotDeviceModels sets the NotDeviceModels field's value.

func (*MobileDeviceAccessRule) SetNotDeviceOperatingSystems

func (s *MobileDeviceAccessRule) SetNotDeviceOperatingSystems(v []*string) *MobileDeviceAccessRule

SetNotDeviceOperatingSystems sets the NotDeviceOperatingSystems field's value.

func (*MobileDeviceAccessRule) SetNotDeviceTypes

func (s *MobileDeviceAccessRule) SetNotDeviceTypes(v []*string) *MobileDeviceAccessRule

SetNotDeviceTypes sets the NotDeviceTypes field's value.

func (*MobileDeviceAccessRule) SetNotDeviceUserAgents

func (s *MobileDeviceAccessRule) SetNotDeviceUserAgents(v []*string) *MobileDeviceAccessRule

SetNotDeviceUserAgents sets the NotDeviceUserAgents field's value.

func (MobileDeviceAccessRule) String

func (s MobileDeviceAccessRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NameAvailabilityException

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 WorkMail.

func (*NameAvailabilityException) Code

Code returns the exception type name.

func (*NameAvailabilityException) Error

func (s *NameAvailabilityException) Error() string

func (NameAvailabilityException) GoString

func (s NameAvailabilityException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NameAvailabilityException) Message

func (s *NameAvailabilityException) Message() string

Message returns the exception's message.

func (*NameAvailabilityException) OrigErr

func (s *NameAvailabilityException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NameAvailabilityException) RequestID

func (s *NameAvailabilityException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NameAvailabilityException) StatusCode

func (s *NameAvailabilityException) StatusCode() int

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

func (NameAvailabilityException) String

func (s NameAvailabilityException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OrganizationNotFoundException

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

Code returns the exception type name.

func (*OrganizationNotFoundException) Error

func (OrganizationNotFoundException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OrganizationNotFoundException) Message

Message returns the exception's message.

func (*OrganizationNotFoundException) OrigErr

func (s *OrganizationNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OrganizationNotFoundException) RequestID

func (s *OrganizationNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OrganizationNotFoundException) StatusCode

func (s *OrganizationNotFoundException) StatusCode() int

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

func (OrganizationNotFoundException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OrganizationStateException

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 to perform certain operations on the organization or its members.

func (*OrganizationStateException) Code

Code returns the exception type name.

func (*OrganizationStateException) Error

func (OrganizationStateException) GoString

func (s OrganizationStateException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OrganizationStateException) Message

func (s *OrganizationStateException) Message() string

Message returns the exception's message.

func (*OrganizationStateException) OrigErr

func (s *OrganizationStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OrganizationStateException) RequestID

func (s *OrganizationStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OrganizationStateException) StatusCode

func (s *OrganizationStateException) StatusCode() int

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

func (OrganizationStateException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OrganizationSummary

type OrganizationSummary struct {

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

	// The default email domain associated with the organization.
	DefaultMailDomain *string `min:"3" 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 `min:"34" 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

func (s OrganizationSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OrganizationSummary) SetAlias

SetAlias sets the Alias field's value.

func (*OrganizationSummary) SetDefaultMailDomain

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

SetDefaultMailDomain sets the DefaultMailDomain field's value.

func (*OrganizationSummary) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (*OrganizationSummary) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*OrganizationSummary) SetState

SetState sets the State field's value.

func (OrganizationSummary) String

func (s OrganizationSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Permission

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" enum:"PermissionType"`
	// 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

func (s Permission) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Permission) SetGranteeId

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

SetGranteeId sets the GranteeId field's value.

func (*Permission) SetGranteeType

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

SetGranteeType sets the GranteeType field's value.

func (*Permission) SetPermissionValues

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

SetPermissionValues sets the PermissionValues field's value.

func (Permission) String

func (s Permission) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutAccessControlRuleInput

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"`

	// Impersonation role IDs to include in the rule.
	ImpersonationRoleIds []*string `type:"list"`

	// 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"`

	// Impersonation role IDs to exclude from the rule.
	NotImpersonationRoleIds []*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 `min:"34" type:"string" required:"true"`

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

func (PutAccessControlRuleInput) GoString

func (s PutAccessControlRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessControlRuleInput) SetActions

SetActions sets the Actions field's value.

func (*PutAccessControlRuleInput) SetDescription

SetDescription sets the Description field's value.

func (*PutAccessControlRuleInput) SetEffect

SetEffect sets the Effect field's value.

func (*PutAccessControlRuleInput) SetImpersonationRoleIds

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

SetImpersonationRoleIds sets the ImpersonationRoleIds field's value.

func (*PutAccessControlRuleInput) SetIpRanges

SetIpRanges sets the IpRanges field's value.

func (*PutAccessControlRuleInput) SetName

SetName sets the Name field's value.

func (*PutAccessControlRuleInput) SetNotActions

SetNotActions sets the NotActions field's value.

func (*PutAccessControlRuleInput) SetNotImpersonationRoleIds

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

SetNotImpersonationRoleIds sets the NotImpersonationRoleIds field's value.

func (*PutAccessControlRuleInput) SetNotIpRanges

SetNotIpRanges sets the NotIpRanges field's value.

func (*PutAccessControlRuleInput) SetNotUserIds

SetNotUserIds sets the NotUserIds field's value.

func (*PutAccessControlRuleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*PutAccessControlRuleInput) SetUserIds

SetUserIds sets the UserIds field's value.

func (PutAccessControlRuleInput) String

func (s PutAccessControlRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessControlRuleInput) Validate

func (s *PutAccessControlRuleInput) Validate() error

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

type PutAccessControlRuleOutput

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

func (PutAccessControlRuleOutput) GoString

func (s PutAccessControlRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccessControlRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutEmailMonitoringConfigurationInput

type PutEmailMonitoringConfigurationInput struct {

	// The Amazon Resource Name (ARN) of the CloudWatch Log group associated with
	// the email monitoring configuration.
	//
	// LogGroupArn is a required field
	LogGroupArn *string `min:"47" type:"string" required:"true"`

	// The ID of the organization for which the email monitoring configuration is
	// set.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the IAM Role associated with the email
	// monitoring configuration.
	//
	// RoleArn is a required field
	RoleArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutEmailMonitoringConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutEmailMonitoringConfigurationInput) SetLogGroupArn

SetLogGroupArn sets the LogGroupArn field's value.

func (*PutEmailMonitoringConfigurationInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*PutEmailMonitoringConfigurationInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (PutEmailMonitoringConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutEmailMonitoringConfigurationInput) Validate

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

type PutEmailMonitoringConfigurationOutput

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

func (PutEmailMonitoringConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutEmailMonitoringConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutInboundDmarcSettingsInput

type PutInboundDmarcSettingsInput struct {

	// Enforces or suspends a policy after it's applied.
	//
	// Enforced is a required field
	Enforced *bool `type:"boolean" required:"true"`

	// The ID of the organization that you are applying the DMARC policy to.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutInboundDmarcSettingsInput) GoString

func (s PutInboundDmarcSettingsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutInboundDmarcSettingsInput) SetEnforced

SetEnforced sets the Enforced field's value.

func (*PutInboundDmarcSettingsInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (PutInboundDmarcSettingsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutInboundDmarcSettingsInput) Validate

func (s *PutInboundDmarcSettingsInput) Validate() error

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

type PutInboundDmarcSettingsOutput

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

func (PutInboundDmarcSettingsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutInboundDmarcSettingsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutMailboxPermissionsInput

type PutMailboxPermissionsInput struct {

	// The identifier of the user or resource for which to update mailbox permissions.
	//
	// The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename,
	// or Groupname, or email.
	//
	//    * Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789,
	//    or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: entity@domain.tld
	//
	//    * Entity name: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" type:"string" required:"true"`

	// The identifier of the user, group, or resource to which to grant the permissions.
	//
	// The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename,
	// or Groupname, or email.
	//
	//    * Grantee ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789,
	//    or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: grantee@domain.tld
	//
	//    * Grantee name: grantee
	//
	// GranteeId is a required field
	GranteeId *string `min:"1" type:"string" required:"true"`

	// The identifier of the organization under which the user, group, or resource
	// exists.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" 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" enum:"PermissionType"`
	// contains filtered or unexported fields
}

func (PutMailboxPermissionsInput) GoString

func (s PutMailboxPermissionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMailboxPermissionsInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*PutMailboxPermissionsInput) SetGranteeId

SetGranteeId sets the GranteeId field's value.

func (*PutMailboxPermissionsInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*PutMailboxPermissionsInput) SetPermissionValues

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

SetPermissionValues sets the PermissionValues field's value.

func (PutMailboxPermissionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMailboxPermissionsInput) Validate

func (s *PutMailboxPermissionsInput) Validate() error

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

type PutMailboxPermissionsOutput

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

func (PutMailboxPermissionsOutput) GoString

func (s PutMailboxPermissionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutMailboxPermissionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutMobileDeviceAccessOverrideInput

type PutMobileDeviceAccessOverrideInput struct {

	// A description of the override.
	Description *string `min:"1" type:"string"`

	// The mobile device for which you create the override. DeviceId is case insensitive.
	//
	// DeviceId is a required field
	DeviceId *string `min:"1" type:"string" required:"true"`

	// The effect of the override, ALLOW or DENY.
	//
	// Effect is a required field
	Effect *string `type:"string" required:"true" enum:"MobileDeviceAccessRuleEffect"`

	// Identifies the WorkMail organization for which you create the override.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`

	// The WorkMail user for which you create the override. Accepts the following
	// types of user identities:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: user@domain.tld
	//
	//    * User name: user
	//
	// UserId is a required field
	UserId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutMobileDeviceAccessOverrideInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMobileDeviceAccessOverrideInput) SetDescription

SetDescription sets the Description field's value.

func (*PutMobileDeviceAccessOverrideInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*PutMobileDeviceAccessOverrideInput) SetEffect

SetEffect sets the Effect field's value.

func (*PutMobileDeviceAccessOverrideInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*PutMobileDeviceAccessOverrideInput) SetUserId

SetUserId sets the UserId field's value.

func (PutMobileDeviceAccessOverrideInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMobileDeviceAccessOverrideInput) Validate

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

type PutMobileDeviceAccessOverrideOutput

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

func (PutMobileDeviceAccessOverrideOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutMobileDeviceAccessOverrideOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutRetentionPolicyInput

type PutRetentionPolicyInput struct {

	// The retention policy description.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PutRetentionPolicyInput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// 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 `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutRetentionPolicyInput) GoString

func (s PutRetentionPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRetentionPolicyInput) SetDescription

SetDescription sets the Description field's value.

func (*PutRetentionPolicyInput) SetFolderConfigurations

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

SetFolderConfigurations sets the FolderConfigurations field's value.

func (*PutRetentionPolicyInput) SetId

SetId sets the Id field's value.

func (*PutRetentionPolicyInput) SetName

SetName sets the Name field's value.

func (*PutRetentionPolicyInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (PutRetentionPolicyInput) String

func (s PutRetentionPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRetentionPolicyInput) Validate

func (s *PutRetentionPolicyInput) Validate() error

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

type PutRetentionPolicyOutput

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

func (PutRetentionPolicyOutput) GoString

func (s PutRetentionPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutRetentionPolicyOutput) String

func (s PutRetentionPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RedactedEwsAvailabilityProvider

type RedactedEwsAvailabilityProvider struct {

	// The endpoint of the remote EWS server.
	EwsEndpoint *string `type:"string"`

	// The username used to authenticate the remote EWS server.
	EwsUsername *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an EWS based availability provider when returned from the service. It does not contain the password of the endpoint.

func (RedactedEwsAvailabilityProvider) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RedactedEwsAvailabilityProvider) SetEwsEndpoint

SetEwsEndpoint sets the EwsEndpoint field's value.

func (*RedactedEwsAvailabilityProvider) SetEwsUsername

SetEwsUsername sets the EwsUsername field's value.

func (RedactedEwsAvailabilityProvider) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegisterMailDomainInput

type RegisterMailDomainInput struct {

	// Idempotency token used when retrying requests.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The name of the mail domain to create in WorkMail and SES.
	//
	// DomainName is a required field
	DomainName *string `min:"3" type:"string" required:"true"`

	// The WorkMail organization under which you're creating the domain.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterMailDomainInput) GoString

func (s RegisterMailDomainInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterMailDomainInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*RegisterMailDomainInput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*RegisterMailDomainInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (RegisterMailDomainInput) String

func (s RegisterMailDomainInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterMailDomainInput) Validate

func (s *RegisterMailDomainInput) Validate() error

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

type RegisterMailDomainOutput

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

func (RegisterMailDomainOutput) GoString

func (s RegisterMailDomainOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RegisterMailDomainOutput) String

func (s RegisterMailDomainOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegisterToWorkMailInput

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.
	//
	// The identifier can accept UserId, ResourceId, or GroupId, or Username, Resourcename,
	// or Groupname. The following identity formats are available:
	//
	//    * Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789,
	//    or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Entity name: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" type:"string" required:"true"`

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

func (RegisterToWorkMailInput) GoString

func (s RegisterToWorkMailInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterToWorkMailInput) SetEmail

SetEmail sets the Email field's value.

func (*RegisterToWorkMailInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*RegisterToWorkMailInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (RegisterToWorkMailInput) String

func (s RegisterToWorkMailInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterToWorkMailInput) Validate

func (s *RegisterToWorkMailInput) Validate() error

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

type RegisterToWorkMailOutput

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

func (RegisterToWorkMailOutput) GoString

func (s RegisterToWorkMailOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RegisterToWorkMailOutput) String

func (s RegisterToWorkMailOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReservedNameException

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 WorkMail.

func (*ReservedNameException) Code

func (s *ReservedNameException) Code() string

Code returns the exception type name.

func (*ReservedNameException) Error

func (s *ReservedNameException) Error() string

func (ReservedNameException) GoString

func (s ReservedNameException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReservedNameException) Message

func (s *ReservedNameException) Message() string

Message returns the exception's message.

func (*ReservedNameException) OrigErr

func (s *ReservedNameException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReservedNameException) RequestID

func (s *ReservedNameException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ReservedNameException) StatusCode

func (s *ReservedNameException) StatusCode() int

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

func (ReservedNameException) String

func (s ReservedNameException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResetPasswordInput

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 `min:"34" type:"string" required:"true"`

	// The new password for the user.
	//
	// Password is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ResetPasswordInput's
	// String and GoString methods.
	//
	// 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

func (s ResetPasswordInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResetPasswordInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*ResetPasswordInput) SetPassword

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

SetPassword sets the Password field's value.

func (*ResetPasswordInput) SetUserId

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

SetUserId sets the UserId field's value.

func (ResetPasswordInput) String

func (s ResetPasswordInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResetPasswordInput) Validate

func (s *ResetPasswordInput) Validate() error

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

type ResetPasswordOutput

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

func (ResetPasswordOutput) GoString

func (s ResetPasswordOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (ResetPasswordOutput) String

func (s ResetPasswordOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Resource

type Resource struct {

	// Resource description.
	Description *string `min:"1" type:"string"`

	// The date indicating when the resource was disabled from 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 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

func (s Resource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Resource) SetDescription

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

SetDescription sets the Description field's value.

func (*Resource) SetDisabledDate

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

SetDisabledDate sets the DisabledDate field's value.

func (*Resource) SetEmail

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

SetEmail sets the Email field's value.

func (*Resource) SetEnabledDate

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

SetEnabledDate sets the EnabledDate field's value.

func (*Resource) SetId

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

SetId sets the Id field's value.

func (*Resource) SetName

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

SetName sets the Name field's value.

func (*Resource) SetState

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

SetState sets the State field's value.

func (*Resource) SetType

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

SetType sets the Type field's value.

func (Resource) String

func (s Resource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

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

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartMailboxExportJobInput

type StartMailboxExportJobInput struct {

	// The idempotency token for the client request.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The mailbox export job description.
	Description *string `type:"string"`

	// The identifier of the user or resource associated with the mailbox.
	//
	// The identifier can accept UserId or ResourceId, Username or Resourcename,
	// or email. The following identity formats are available:
	//
	//    * Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789
	//    , or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: entity@domain.tld
	//
	//    * Entity name: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service
	// (AWS KMS) key that encrypts the exported mailbox content.
	//
	// KmsKeyArn is a required field
	KmsKeyArn *string `min:"20" type:"string" required:"true"`

	// The identifier associated with the organization.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`

	// The ARN of the AWS Identity and Access Management (IAM) role that grants
	// write permission to the S3 bucket.
	//
	// RoleArn is a required field
	RoleArn *string `min:"20" type:"string" required:"true"`

	// The name of the S3 bucket.
	//
	// S3BucketName is a required field
	S3BucketName *string `min:"1" type:"string" required:"true"`

	// The S3 bucket prefix.
	//
	// S3Prefix is a required field
	S3Prefix *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartMailboxExportJobInput) GoString

func (s StartMailboxExportJobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartMailboxExportJobInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*StartMailboxExportJobInput) SetDescription

SetDescription sets the Description field's value.

func (*StartMailboxExportJobInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*StartMailboxExportJobInput) SetKmsKeyArn

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*StartMailboxExportJobInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*StartMailboxExportJobInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*StartMailboxExportJobInput) SetS3BucketName

SetS3BucketName sets the S3BucketName field's value.

func (*StartMailboxExportJobInput) SetS3Prefix

SetS3Prefix sets the S3Prefix field's value.

func (StartMailboxExportJobInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartMailboxExportJobInput) Validate

func (s *StartMailboxExportJobInput) Validate() error

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

type StartMailboxExportJobOutput

type StartMailboxExportJobOutput struct {

	// The job ID.
	JobId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (StartMailboxExportJobOutput) GoString

func (s StartMailboxExportJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartMailboxExportJobOutput) SetJobId

SetJobId sets the JobId field's value.

func (StartMailboxExportJobOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag

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

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey

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

SetKey sets the Key field's value.

func (*Tag) SetValue

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

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TagResourceInput

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

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceARN

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

SetResourceARN sets the ResourceARN field's value.

func (*TagResourceInput) SetTags

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

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TestAvailabilityConfigurationInput

type TestAvailabilityConfigurationInput struct {

	// The domain to which the provider applies. If this field is provided, a stored
	// availability provider associated to this domain name will be tested.
	DomainName *string `min:"3" type:"string"`

	// Describes an EWS based availability provider. This is only used as input
	// to the service.
	EwsProvider *EwsAvailabilityProvider `type:"structure"`

	// Describes a Lambda based availability provider.
	LambdaProvider *LambdaAvailabilityProvider `type:"structure"`

	// The WorkMail organization where the availability provider will be tested.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (TestAvailabilityConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestAvailabilityConfigurationInput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*TestAvailabilityConfigurationInput) SetEwsProvider

SetEwsProvider sets the EwsProvider field's value.

func (*TestAvailabilityConfigurationInput) SetLambdaProvider

SetLambdaProvider sets the LambdaProvider field's value.

func (*TestAvailabilityConfigurationInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (TestAvailabilityConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestAvailabilityConfigurationInput) Validate

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

type TestAvailabilityConfigurationOutput

type TestAvailabilityConfigurationOutput struct {

	// String containing the reason for a failed test if TestPassed is false.
	FailureReason *string `type:"string"`

	// Boolean indicating whether the test passed or failed.
	TestPassed *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (TestAvailabilityConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestAvailabilityConfigurationOutput) SetFailureReason

SetFailureReason sets the FailureReason field's value.

func (*TestAvailabilityConfigurationOutput) SetTestPassed

SetTestPassed sets the TestPassed field's value.

func (TestAvailabilityConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TooManyTagsException

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

func (s *TooManyTagsException) Code() string

Code returns the exception type name.

func (*TooManyTagsException) Error

func (s *TooManyTagsException) Error() string

func (TooManyTagsException) GoString

func (s TooManyTagsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TooManyTagsException) Message

func (s *TooManyTagsException) Message() string

Message returns the exception's message.

func (*TooManyTagsException) OrigErr

func (s *TooManyTagsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyTagsException) RequestID

func (s *TooManyTagsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyTagsException) StatusCode

func (s *TooManyTagsException) StatusCode() int

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

func (TooManyTagsException) String

func (s TooManyTagsException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UnsupportedOperationException

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

Code returns the exception type name.

func (*UnsupportedOperationException) Error

func (UnsupportedOperationException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UnsupportedOperationException) Message

Message returns the exception's message.

func (*UnsupportedOperationException) OrigErr

func (s *UnsupportedOperationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnsupportedOperationException) RequestID

func (s *UnsupportedOperationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnsupportedOperationException) StatusCode

func (s *UnsupportedOperationException) StatusCode() int

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

func (UnsupportedOperationException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

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

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceARN

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

SetResourceARN sets the ResourceARN field's value.

func (*UntagResourceInput) SetTagKeys

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateAvailabilityConfigurationInput

type UpdateAvailabilityConfigurationInput struct {

	// The domain to which the provider applies the availability configuration.
	//
	// DomainName is a required field
	DomainName *string `min:"3" type:"string" required:"true"`

	// The EWS availability provider definition. The request must contain exactly
	// one provider definition, either EwsProvider or LambdaProvider. The previously
	// stored provider will be overridden by the one provided.
	EwsProvider *EwsAvailabilityProvider `type:"structure"`

	// The Lambda availability provider definition. The request must contain exactly
	// one provider definition, either EwsProvider or LambdaProvider. The previously
	// stored provider will be overridden by the one provided.
	LambdaProvider *LambdaAvailabilityProvider `type:"structure"`

	// The WorkMail organization for which the AvailabilityConfiguration will be
	// updated.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateAvailabilityConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateAvailabilityConfigurationInput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*UpdateAvailabilityConfigurationInput) SetEwsProvider

SetEwsProvider sets the EwsProvider field's value.

func (*UpdateAvailabilityConfigurationInput) SetLambdaProvider

SetLambdaProvider sets the LambdaProvider field's value.

func (*UpdateAvailabilityConfigurationInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (UpdateAvailabilityConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateAvailabilityConfigurationInput) Validate

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

type UpdateAvailabilityConfigurationOutput

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

func (UpdateAvailabilityConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateAvailabilityConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateDefaultMailDomainInput

type UpdateDefaultMailDomainInput struct {

	// The domain name that will become the default domain.
	//
	// DomainName is a required field
	DomainName *string `min:"3" type:"string" required:"true"`

	// The WorkMail organization for which to list domains.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateDefaultMailDomainInput) GoString

func (s UpdateDefaultMailDomainInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateDefaultMailDomainInput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*UpdateDefaultMailDomainInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (UpdateDefaultMailDomainInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateDefaultMailDomainInput) Validate

func (s *UpdateDefaultMailDomainInput) Validate() error

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

type UpdateDefaultMailDomainOutput

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

func (UpdateDefaultMailDomainOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateDefaultMailDomainOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateGroupInput

type UpdateGroupInput struct {

	// The identifier for the group to be updated.
	//
	// The identifier can accept GroupId, Groupname, or email. The following identity
	// formats are available:
	//
	//    * Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: group@domain.tld
	//
	//    * Group name: group
	//
	// GroupId is a required field
	GroupId *string `min:"1" type:"string" required:"true"`

	// If enabled, the group is hidden from the global address list.
	HiddenFromGlobalAddressList *bool `type:"boolean"`

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

func (UpdateGroupInput) GoString

func (s UpdateGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateGroupInput) SetGroupId

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

SetGroupId sets the GroupId field's value.

func (*UpdateGroupInput) SetHiddenFromGlobalAddressList

func (s *UpdateGroupInput) SetHiddenFromGlobalAddressList(v bool) *UpdateGroupInput

SetHiddenFromGlobalAddressList sets the HiddenFromGlobalAddressList field's value.

func (*UpdateGroupInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (UpdateGroupInput) String

func (s UpdateGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateGroupInput) Validate

func (s *UpdateGroupInput) Validate() error

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

type UpdateGroupOutput

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

func (UpdateGroupOutput) GoString

func (s UpdateGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateGroupOutput) String

func (s UpdateGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateImpersonationRoleInput

type UpdateImpersonationRoleInput struct {

	// The updated impersonation role description.
	Description *string `min:"1" type:"string"`

	// The ID of the impersonation role to update.
	//
	// ImpersonationRoleId is a required field
	ImpersonationRoleId *string `min:"1" type:"string" required:"true"`

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

	// The WorkMail organization that contains the impersonation role to update.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`

	// The updated list of rules.
	//
	// Rules is a required field
	Rules []*ImpersonationRule `type:"list" required:"true"`

	// The updated impersonation role type.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"ImpersonationRoleType"`
	// contains filtered or unexported fields
}

func (UpdateImpersonationRoleInput) GoString

func (s UpdateImpersonationRoleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateImpersonationRoleInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateImpersonationRoleInput) SetImpersonationRoleId

SetImpersonationRoleId sets the ImpersonationRoleId field's value.

func (*UpdateImpersonationRoleInput) SetName

SetName sets the Name field's value.

func (*UpdateImpersonationRoleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (*UpdateImpersonationRoleInput) SetRules

SetRules sets the Rules field's value.

func (*UpdateImpersonationRoleInput) SetType

SetType sets the Type field's value.

func (UpdateImpersonationRoleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateImpersonationRoleInput) Validate

func (s *UpdateImpersonationRoleInput) Validate() error

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

type UpdateImpersonationRoleOutput

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

func (UpdateImpersonationRoleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateImpersonationRoleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateMailboxQuotaInput

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 `min:"34" type:"string" required:"true"`

	// The identifer for the user for whom to update the mailbox quota.
	//
	// The identifier can be the UserId, Username, or email. The following identity
	// formats are available:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: user@domain.tld
	//
	//    * User name: user
	//
	// UserId is a required field
	UserId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateMailboxQuotaInput) GoString

func (s UpdateMailboxQuotaInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateMailboxQuotaInput) SetMailboxQuota

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

SetMailboxQuota sets the MailboxQuota field's value.

func (*UpdateMailboxQuotaInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*UpdateMailboxQuotaInput) SetUserId

SetUserId sets the UserId field's value.

func (UpdateMailboxQuotaInput) String

func (s UpdateMailboxQuotaInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateMailboxQuotaInput) Validate

func (s *UpdateMailboxQuotaInput) Validate() error

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

type UpdateMailboxQuotaOutput

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

func (UpdateMailboxQuotaOutput) GoString

func (s UpdateMailboxQuotaOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateMailboxQuotaOutput) String

func (s UpdateMailboxQuotaOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateMobileDeviceAccessRuleInput

type UpdateMobileDeviceAccessRuleInput struct {

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

	// Device models that the updated rule will match.
	DeviceModels []*string `min:"1" type:"list"`

	// Device operating systems that the updated rule will match.
	DeviceOperatingSystems []*string `min:"1" type:"list"`

	// Device types that the updated rule will match.
	DeviceTypes []*string `min:"1" type:"list"`

	// User agents that the updated rule will match.
	DeviceUserAgents []*string `min:"1" type:"list"`

	// The effect of the rule when it matches. Allowed values are ALLOW or DENY.
	//
	// Effect is a required field
	Effect *string `type:"string" required:"true" enum:"MobileDeviceAccessRuleEffect"`

	// The identifier of the rule to be updated.
	//
	// MobileDeviceAccessRuleId is a required field
	MobileDeviceAccessRuleId *string `min:"1" type:"string" required:"true"`

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

	// Device models that the updated rule will not match. All other device models
	// will match.
	NotDeviceModels []*string `min:"1" type:"list"`

	// Device operating systems that the updated rule will not match. All other
	// device operating systems will match.
	NotDeviceOperatingSystems []*string `min:"1" type:"list"`

	// Device types that the updated rule will not match. All other device types
	// will match.
	NotDeviceTypes []*string `min:"1" type:"list"`

	// User agents that the updated rule will not match. All other user agents will
	// match.
	NotDeviceUserAgents []*string `min:"1" type:"list"`

	// The WorkMail organization under which the rule will be updated.
	//
	// OrganizationId is a required field
	OrganizationId *string `min:"34" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateMobileDeviceAccessRuleInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateMobileDeviceAccessRuleInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetDeviceModels

SetDeviceModels sets the DeviceModels field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetDeviceOperatingSystems

SetDeviceOperatingSystems sets the DeviceOperatingSystems field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetDeviceTypes

SetDeviceTypes sets the DeviceTypes field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetDeviceUserAgents

SetDeviceUserAgents sets the DeviceUserAgents field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetEffect

SetEffect sets the Effect field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetMobileDeviceAccessRuleId

SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetName

SetName sets the Name field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetNotDeviceModels

SetNotDeviceModels sets the NotDeviceModels field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetNotDeviceOperatingSystems

func (s *UpdateMobileDeviceAccessRuleInput) SetNotDeviceOperatingSystems(v []*string) *UpdateMobileDeviceAccessRuleInput

SetNotDeviceOperatingSystems sets the NotDeviceOperatingSystems field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetNotDeviceTypes

SetNotDeviceTypes sets the NotDeviceTypes field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetNotDeviceUserAgents

SetNotDeviceUserAgents sets the NotDeviceUserAgents field's value.

func (*UpdateMobileDeviceAccessRuleInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (UpdateMobileDeviceAccessRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateMobileDeviceAccessRuleInput) Validate

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

type UpdateMobileDeviceAccessRuleOutput

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

func (UpdateMobileDeviceAccessRuleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateMobileDeviceAccessRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePrimaryEmailAddressInput

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.
	//
	// The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename,
	// or Groupname, or email. The following identity formats are available:
	//
	//    * Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789,
	//    or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: entity@domain.tld
	//
	//    * Entity name: entity
	//
	// EntityId is a required field
	EntityId *string `min:"1" type:"string" required:"true"`

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

func (UpdatePrimaryEmailAddressInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePrimaryEmailAddressInput) SetEmail

SetEmail sets the Email field's value.

func (*UpdatePrimaryEmailAddressInput) SetEntityId

SetEntityId sets the EntityId field's value.

func (*UpdatePrimaryEmailAddressInput) SetOrganizationId

SetOrganizationId sets the OrganizationId field's value.

func (UpdatePrimaryEmailAddressInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePrimaryEmailAddressInput) Validate

func (s *UpdatePrimaryEmailAddressInput) Validate() error

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

type UpdatePrimaryEmailAddressOutput

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

func (UpdatePrimaryEmailAddressOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdatePrimaryEmailAddressOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateResourceInput

type UpdateResourceInput struct {

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

	// Updates the resource description.
	Description *string `type:"string"`

	// If enabled, the resource is hidden from the global address list.
	HiddenFromGlobalAddressList *bool `type:"boolean"`

	// 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 `min:"34" type:"string" required:"true"`

	// The identifier of the resource to be updated.
	//
	// The identifier can accept ResourceId, Resourcename, or email. The following
	// identity formats are available:
	//
	//    * Resource ID: r-0123456789a0123456789b0123456789
	//
	//    * Email address: resource@domain.tld
	//
	//    * Resource name: resource
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`

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

func (UpdateResourceInput) GoString

func (s UpdateResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateResourceInput) SetBookingOptions

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

SetBookingOptions sets the BookingOptions field's value.

func (*UpdateResourceInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateResourceInput) SetHiddenFromGlobalAddressList

func (s *UpdateResourceInput) SetHiddenFromGlobalAddressList(v bool) *UpdateResourceInput

SetHiddenFromGlobalAddressList sets the HiddenFromGlobalAddressList field's value.

func (*UpdateResourceInput) SetName

SetName sets the Name field's value.

func (*UpdateResourceInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*UpdateResourceInput) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (*UpdateResourceInput) SetType

SetType sets the Type field's value.

func (UpdateResourceInput) String

func (s UpdateResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateResourceInput) Validate

func (s *UpdateResourceInput) Validate() error

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

type UpdateResourceOutput

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

func (UpdateResourceOutput) GoString

func (s UpdateResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateResourceOutput) String

func (s UpdateResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateUserInput

type UpdateUserInput struct {

	// Updates the user's city.
	//
	// City is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	City *string `type:"string" sensitive:"true"`

	// Updates the user's company.
	//
	// Company is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	Company *string `type:"string" sensitive:"true"`

	// Updates the user's country.
	//
	// Country is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	Country *string `type:"string" sensitive:"true"`

	// Updates the user's department.
	//
	// Department is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	Department *string `type:"string" sensitive:"true"`

	// Updates the display name of the user.
	//
	// DisplayName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	DisplayName *string `type:"string" sensitive:"true"`

	// Updates the user's first name.
	//
	// FirstName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	FirstName *string `type:"string" sensitive:"true"`

	// If enabled, the user is hidden from the global address list.
	HiddenFromGlobalAddressList *bool `type:"boolean"`

	// Updates the user's initials.
	//
	// Initials is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	Initials *string `type:"string" sensitive:"true"`

	// Updates the user's job title.
	//
	// JobTitle is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	JobTitle *string `type:"string" sensitive:"true"`

	// Updates the user's last name.
	//
	// LastName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	LastName *string `type:"string" sensitive:"true"`

	// Updates the user's office.
	//
	// Office is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	Office *string `type:"string" sensitive:"true"`

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

	// Updates the user role.
	//
	// You cannot pass SYSTEM_USER or RESOURCE.
	Role *string `type:"string" enum:"UserRole"`

	// Updates the user's street address.
	//
	// Street is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	Street *string `type:"string" sensitive:"true"`

	// Updates the user's contact details.
	//
	// Telephone is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	Telephone *string `type:"string" sensitive:"true"`

	// The identifier for the user to be updated.
	//
	// The identifier can be the UserId, Username, or email. The following identity
	// formats are available:
	//
	//    * User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
	//
	//    * Email address: user@domain.tld
	//
	//    * User name: user
	//
	// UserId is a required field
	UserId *string `min:"1" type:"string" required:"true"`

	// Updates the user's zipcode.
	//
	// ZipCode is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	ZipCode *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UpdateUserInput) GoString

func (s UpdateUserInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateUserInput) SetCity

func (s *UpdateUserInput) SetCity(v string) *UpdateUserInput

SetCity sets the City field's value.

func (*UpdateUserInput) SetCompany

func (s *UpdateUserInput) SetCompany(v string) *UpdateUserInput

SetCompany sets the Company field's value.

func (*UpdateUserInput) SetCountry

func (s *UpdateUserInput) SetCountry(v string) *UpdateUserInput

SetCountry sets the Country field's value.

func (*UpdateUserInput) SetDepartment

func (s *UpdateUserInput) SetDepartment(v string) *UpdateUserInput

SetDepartment sets the Department field's value.

func (*UpdateUserInput) SetDisplayName

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

SetDisplayName sets the DisplayName field's value.

func (*UpdateUserInput) SetFirstName

func (s *UpdateUserInput) SetFirstName(v string) *UpdateUserInput

SetFirstName sets the FirstName field's value.

func (*UpdateUserInput) SetHiddenFromGlobalAddressList

func (s *UpdateUserInput) SetHiddenFromGlobalAddressList(v bool) *UpdateUserInput

SetHiddenFromGlobalAddressList sets the HiddenFromGlobalAddressList field's value.

func (*UpdateUserInput) SetInitials

func (s *UpdateUserInput) SetInitials(v string) *UpdateUserInput

SetInitials sets the Initials field's value.

func (*UpdateUserInput) SetJobTitle

func (s *UpdateUserInput) SetJobTitle(v string) *UpdateUserInput

SetJobTitle sets the JobTitle field's value.

func (*UpdateUserInput) SetLastName

func (s *UpdateUserInput) SetLastName(v string) *UpdateUserInput

SetLastName sets the LastName field's value.

func (*UpdateUserInput) SetOffice

func (s *UpdateUserInput) SetOffice(v string) *UpdateUserInput

SetOffice sets the Office field's value.

func (*UpdateUserInput) SetOrganizationId

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

SetOrganizationId sets the OrganizationId field's value.

func (*UpdateUserInput) SetRole

func (s *UpdateUserInput) SetRole(v string) *UpdateUserInput

SetRole sets the Role field's value.

func (*UpdateUserInput) SetStreet

func (s *UpdateUserInput) SetStreet(v string) *UpdateUserInput

SetStreet sets the Street field's value.

func (*UpdateUserInput) SetTelephone

func (s *UpdateUserInput) SetTelephone(v string) *UpdateUserInput

SetTelephone sets the Telephone field's value.

func (*UpdateUserInput) SetUserId

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

SetUserId sets the UserId field's value.

func (*UpdateUserInput) SetZipCode

func (s *UpdateUserInput) SetZipCode(v string) *UpdateUserInput

SetZipCode sets the ZipCode field's value.

func (UpdateUserInput) String

func (s UpdateUserInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateUserInput) Validate

func (s *UpdateUserInput) Validate() error

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

type UpdateUserOutput

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

func (UpdateUserOutput) GoString

func (s UpdateUserOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateUserOutput) String

func (s UpdateUserOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type User

type User struct {

	// The date indicating when the user was disabled from 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 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 WorkMail user.

func (User) GoString

func (s User) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*User) SetDisabledDate

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

SetDisabledDate sets the DisabledDate field's value.

func (*User) SetDisplayName

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

SetDisplayName sets the DisplayName field's value.

func (*User) SetEmail

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

SetEmail sets the Email field's value.

func (*User) SetEnabledDate

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

SetEnabledDate sets the EnabledDate field's value.

func (*User) SetId

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

SetId sets the Id field's value.

func (*User) SetName

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

SetName sets the Name field's value.

func (*User) SetState

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

SetState sets the State field's value.

func (*User) SetUserRole

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

SetUserRole sets the UserRole field's value.

func (User) String

func (s User) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type WorkMail

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

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

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 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/AssociateDelegateToResource

func (*WorkMail) AssociateDelegateToResourceRequest

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

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

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 is unavailable. It might be located in another Region or deleted.

  • 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 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

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

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) AssumeImpersonationRole

func (c *WorkMail) AssumeImpersonationRole(input *AssumeImpersonationRoleInput) (*AssumeImpersonationRoleOutput, error)

AssumeImpersonationRole API operation for Amazon WorkMail.

Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token you can use to make impersonated calls.

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 AssumeImpersonationRole 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 to perform certain operations on the organization or its members.

  • ResourceNotFoundException The resource cannot be found.

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

func (*WorkMail) AssumeImpersonationRoleRequest

func (c *WorkMail) AssumeImpersonationRoleRequest(input *AssumeImpersonationRoleInput) (req *request.Request, output *AssumeImpersonationRoleOutput)

AssumeImpersonationRoleRequest generates a "aws/request.Request" representing the client's request for the AssumeImpersonationRole 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 AssumeImpersonationRole for more information on using the AssumeImpersonationRole 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 AssumeImpersonationRoleRequest method.
req, resp := client.AssumeImpersonationRoleRequest(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/AssumeImpersonationRole

func (*WorkMail) AssumeImpersonationRoleWithContext

func (c *WorkMail) AssumeImpersonationRoleWithContext(ctx aws.Context, input *AssumeImpersonationRoleInput, opts ...request.Option) (*AssumeImpersonationRoleOutput, error)

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

See AssumeImpersonationRole 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) CancelMailboxExportJob

func (c *WorkMail) CancelMailboxExportJob(input *CancelMailboxExportJobInput) (*CancelMailboxExportJobOutput, error)

CancelMailboxExportJob API operation for Amazon WorkMail.

Cancels a mailbox export job.

If the mailbox export job is near completion, it might not be possible to cancel it.

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 CancelMailboxExportJob 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 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/CancelMailboxExportJob

func (*WorkMail) CancelMailboxExportJobRequest

func (c *WorkMail) CancelMailboxExportJobRequest(input *CancelMailboxExportJobInput) (req *request.Request, output *CancelMailboxExportJobOutput)

CancelMailboxExportJobRequest generates a "aws/request.Request" representing the client's request for the CancelMailboxExportJob 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 CancelMailboxExportJob for more information on using the CancelMailboxExportJob 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 CancelMailboxExportJobRequest method.
req, resp := client.CancelMailboxExportJobRequest(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/CancelMailboxExportJob

func (*WorkMail) CancelMailboxExportJobWithContext

func (c *WorkMail) CancelMailboxExportJobWithContext(ctx aws.Context, input *CancelMailboxExportJobInput, opts ...request.Option) (*CancelMailboxExportJobOutput, error)

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

See CancelMailboxExportJob 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

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 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 The domain specified is not found in your 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 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

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

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) CreateAvailabilityConfiguration

func (c *WorkMail) CreateAvailabilityConfiguration(input *CreateAvailabilityConfigurationInput) (*CreateAvailabilityConfigurationOutput, error)

CreateAvailabilityConfiguration API operation for Amazon WorkMail.

Creates an AvailabilityConfiguration for the given WorkMail organization and domain.

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 CreateAvailabilityConfiguration 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 to perform certain operations on the organization or its members.

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

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

  • LimitExceededException The request exceeds the limit of the resource.

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

func (*WorkMail) CreateAvailabilityConfigurationRequest

func (c *WorkMail) CreateAvailabilityConfigurationRequest(input *CreateAvailabilityConfigurationInput) (req *request.Request, output *CreateAvailabilityConfigurationOutput)

CreateAvailabilityConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateAvailabilityConfiguration 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 CreateAvailabilityConfiguration for more information on using the CreateAvailabilityConfiguration 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 CreateAvailabilityConfigurationRequest method.
req, resp := client.CreateAvailabilityConfigurationRequest(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/CreateAvailabilityConfiguration

func (*WorkMail) CreateAvailabilityConfigurationWithContext

func (c *WorkMail) CreateAvailabilityConfigurationWithContext(ctx aws.Context, input *CreateAvailabilityConfigurationInput, opts ...request.Option) (*CreateAvailabilityConfigurationOutput, error)

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

See CreateAvailabilityConfiguration 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

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

CreateGroup API operation for Amazon WorkMail.

Creates a group that can be used in 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 is unavailable. It might be located in another Region or deleted.

  • 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 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 to perform certain operations on the organization or its members.

  • ReservedNameException This user, group, or resource name is not allowed in 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

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

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) CreateImpersonationRole

func (c *WorkMail) CreateImpersonationRole(input *CreateImpersonationRoleInput) (*CreateImpersonationRoleOutput, error)

CreateImpersonationRole API operation for Amazon WorkMail.

Creates an impersonation role for the given WorkMail organization.

Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries also complete successfully without performing any further actions.

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 CreateImpersonationRole 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 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.

  • 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.

  • LimitExceededException The request exceeds the limit of the resource.

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

func (*WorkMail) CreateImpersonationRoleRequest

func (c *WorkMail) CreateImpersonationRoleRequest(input *CreateImpersonationRoleInput) (req *request.Request, output *CreateImpersonationRoleOutput)

CreateImpersonationRoleRequest generates a "aws/request.Request" representing the client's request for the CreateImpersonationRole 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 CreateImpersonationRole for more information on using the CreateImpersonationRole 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 CreateImpersonationRoleRequest method.
req, resp := client.CreateImpersonationRoleRequest(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/CreateImpersonationRole

func (*WorkMail) CreateImpersonationRoleWithContext

func (c *WorkMail) CreateImpersonationRoleWithContext(ctx aws.Context, input *CreateImpersonationRoleInput, opts ...request.Option) (*CreateImpersonationRoleOutput, error)

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

See CreateImpersonationRole 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) CreateMobileDeviceAccessRule

func (c *WorkMail) CreateMobileDeviceAccessRule(input *CreateMobileDeviceAccessRuleInput) (*CreateMobileDeviceAccessRuleOutput, error)

CreateMobileDeviceAccessRule API operation for Amazon WorkMail.

Creates a new mobile device access 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 CreateMobileDeviceAccessRule for usage and error information.

Returned Error Types:

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

  • LimitExceededException The request exceeds the limit of the resource.

  • 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) CreateMobileDeviceAccessRuleRequest

func (c *WorkMail) CreateMobileDeviceAccessRuleRequest(input *CreateMobileDeviceAccessRuleInput) (req *request.Request, output *CreateMobileDeviceAccessRuleOutput)

CreateMobileDeviceAccessRuleRequest generates a "aws/request.Request" representing the client's request for the CreateMobileDeviceAccessRule 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 CreateMobileDeviceAccessRule for more information on using the CreateMobileDeviceAccessRule 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 CreateMobileDeviceAccessRuleRequest method.
req, resp := client.CreateMobileDeviceAccessRuleRequest(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/CreateMobileDeviceAccessRule

func (*WorkMail) CreateMobileDeviceAccessRuleWithContext

func (c *WorkMail) CreateMobileDeviceAccessRuleWithContext(ctx aws.Context, input *CreateMobileDeviceAccessRuleInput, opts ...request.Option) (*CreateMobileDeviceAccessRuleOutput, error)

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

See CreateMobileDeviceAccessRule 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) CreateOrganization

func (c *WorkMail) CreateOrganization(input *CreateOrganizationInput) (*CreateOrganizationOutput, error)

CreateOrganization API operation for Amazon WorkMail.

Creates a new WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new WorkMail directory for you. For more information, see Adding an organization (https://docs.aws.amazon.com/workmail/latest/adminguide/add_new_organization.html) in the WorkMail Administrator Guide.

You can associate multiple email domains with an organization, then choose your default email domain from the WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain (https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html) and Choosing the default domain (https://docs.aws.amazon.com/workmail/latest/adminguide/default_domain.html) in the WorkMail Administrator Guide.

Optionally, you can use a customer managed key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail creates a default, AWS managed key for you.

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 CreateOrganization for usage and error information.

Returned Error Types:

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

  • DirectoryInUseException The directory is already in use by another WorkMail organization in the same account and Region.

  • DirectoryUnavailableException The directory is unavailable. It might be located in another Region or deleted.

  • LimitExceededException The request exceeds the limit of the resource.

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

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

func (*WorkMail) CreateOrganizationRequest

func (c *WorkMail) CreateOrganizationRequest(input *CreateOrganizationInput) (req *request.Request, output *CreateOrganizationOutput)

CreateOrganizationRequest generates a "aws/request.Request" representing the client's request for the CreateOrganization 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 CreateOrganization for more information on using the CreateOrganization 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 CreateOrganizationRequest method.
req, resp := client.CreateOrganizationRequest(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/CreateOrganization

func (*WorkMail) CreateOrganizationWithContext

func (c *WorkMail) CreateOrganizationWithContext(ctx aws.Context, input *CreateOrganizationInput, opts ...request.Option) (*CreateOrganizationOutput, error)

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

See CreateOrganization 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

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

CreateResource API operation for Amazon WorkMail.

Creates a new 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 is unavailable. It might be located in another Region or deleted.

  • 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 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 to perform certain operations on the organization or its members.

  • ReservedNameException This user, group, or resource name is not allowed in 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/CreateResource

func (*WorkMail) CreateResourceRequest

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

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

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

CreateUser API operation for Amazon WorkMail.

Creates a user who can be used in 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 is unavailable. It might be located in another Region or deleted.

  • 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 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 to perform certain operations on the organization or its members.

  • ReservedNameException This user, group, or resource name is not allowed in 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

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

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

func (c *WorkMail) DeleteAccessControlRule(input *DeleteAccessControlRuleInput) (*DeleteAccessControlRuleOutput, error)

DeleteAccessControlRule API operation for Amazon WorkMail.

Deletes an access control rule for the specified WorkMail organization.

Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

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 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

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

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

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 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

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

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) DeleteAvailabilityConfiguration

func (c *WorkMail) DeleteAvailabilityConfiguration(input *DeleteAvailabilityConfigurationInput) (*DeleteAvailabilityConfigurationOutput, error)

DeleteAvailabilityConfiguration API operation for Amazon WorkMail.

Deletes the AvailabilityConfiguration for the given WorkMail organization and domain.

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 DeleteAvailabilityConfiguration 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) DeleteAvailabilityConfigurationRequest

func (c *WorkMail) DeleteAvailabilityConfigurationRequest(input *DeleteAvailabilityConfigurationInput) (req *request.Request, output *DeleteAvailabilityConfigurationOutput)

DeleteAvailabilityConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteAvailabilityConfiguration 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 DeleteAvailabilityConfiguration for more information on using the DeleteAvailabilityConfiguration 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 DeleteAvailabilityConfigurationRequest method.
req, resp := client.DeleteAvailabilityConfigurationRequest(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/DeleteAvailabilityConfiguration

func (*WorkMail) DeleteAvailabilityConfigurationWithContext

func (c *WorkMail) DeleteAvailabilityConfigurationWithContext(ctx aws.Context, input *DeleteAvailabilityConfigurationInput, opts ...request.Option) (*DeleteAvailabilityConfigurationOutput, error)

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

See DeleteAvailabilityConfiguration 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) DeleteEmailMonitoringConfiguration

func (c *WorkMail) DeleteEmailMonitoringConfiguration(input *DeleteEmailMonitoringConfigurationInput) (*DeleteEmailMonitoringConfigurationOutput, error)

DeleteEmailMonitoringConfiguration API operation for Amazon WorkMail.

Deletes the email monitoring configuration for a 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 DeleteEmailMonitoringConfiguration 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) DeleteEmailMonitoringConfigurationRequest

func (c *WorkMail) DeleteEmailMonitoringConfigurationRequest(input *DeleteEmailMonitoringConfigurationInput) (req *request.Request, output *DeleteEmailMonitoringConfigurationOutput)

DeleteEmailMonitoringConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteEmailMonitoringConfiguration 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 DeleteEmailMonitoringConfiguration for more information on using the DeleteEmailMonitoringConfiguration 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 DeleteEmailMonitoringConfigurationRequest method.
req, resp := client.DeleteEmailMonitoringConfigurationRequest(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/DeleteEmailMonitoringConfiguration

func (*WorkMail) DeleteEmailMonitoringConfigurationWithContext

func (c *WorkMail) DeleteEmailMonitoringConfigurationWithContext(ctx aws.Context, input *DeleteEmailMonitoringConfigurationInput, opts ...request.Option) (*DeleteEmailMonitoringConfigurationOutput, error)

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

See DeleteEmailMonitoringConfiguration 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

func (c *WorkMail) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error)

DeleteGroup API operation for Amazon WorkMail.

Deletes a group from 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 is unavailable. It might be located in another Region or deleted.

  • 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 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

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

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) DeleteImpersonationRole

func (c *WorkMail) DeleteImpersonationRole(input *DeleteImpersonationRoleInput) (*DeleteImpersonationRoleOutput, error)

DeleteImpersonationRole API operation for Amazon WorkMail.

Deletes an impersonation role for the given 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 DeleteImpersonationRole 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) DeleteImpersonationRoleRequest

func (c *WorkMail) DeleteImpersonationRoleRequest(input *DeleteImpersonationRoleInput) (req *request.Request, output *DeleteImpersonationRoleOutput)

DeleteImpersonationRoleRequest generates a "aws/request.Request" representing the client's request for the DeleteImpersonationRole 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 DeleteImpersonationRole for more information on using the DeleteImpersonationRole 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 DeleteImpersonationRoleRequest method.
req, resp := client.DeleteImpersonationRoleRequest(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/DeleteImpersonationRole

func (*WorkMail) DeleteImpersonationRoleWithContext

func (c *WorkMail) DeleteImpersonationRoleWithContext(ctx aws.Context, input *DeleteImpersonationRoleInput, opts ...request.Option) (*DeleteImpersonationRoleOutput, error)

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

See DeleteImpersonationRole 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

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 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

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

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) DeleteMobileDeviceAccessOverride

func (c *WorkMail) DeleteMobileDeviceAccessOverride(input *DeleteMobileDeviceAccessOverrideInput) (*DeleteMobileDeviceAccessOverrideOutput, error)

DeleteMobileDeviceAccessOverride API operation for Amazon WorkMail.

Deletes the mobile device access override for the given WorkMail organization, user, and device.

Deleting already deleted and non-existing overrides does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

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 DeleteMobileDeviceAccessOverride 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 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/DeleteMobileDeviceAccessOverride

func (*WorkMail) DeleteMobileDeviceAccessOverrideRequest

func (c *WorkMail) DeleteMobileDeviceAccessOverrideRequest(input *DeleteMobileDeviceAccessOverrideInput) (req *request.Request, output *DeleteMobileDeviceAccessOverrideOutput)

DeleteMobileDeviceAccessOverrideRequest generates a "aws/request.Request" representing the client's request for the DeleteMobileDeviceAccessOverride 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 DeleteMobileDeviceAccessOverride for more information on using the DeleteMobileDeviceAccessOverride 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 DeleteMobileDeviceAccessOverrideRequest method.
req, resp := client.DeleteMobileDeviceAccessOverrideRequest(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/DeleteMobileDeviceAccessOverride

func (*WorkMail) DeleteMobileDeviceAccessOverrideWithContext

func (c *WorkMail) DeleteMobileDeviceAccessOverrideWithContext(ctx aws.Context, input *DeleteMobileDeviceAccessOverrideInput, opts ...request.Option) (*DeleteMobileDeviceAccessOverrideOutput, error)

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

See DeleteMobileDeviceAccessOverride 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) DeleteMobileDeviceAccessRule

func (c *WorkMail) DeleteMobileDeviceAccessRule(input *DeleteMobileDeviceAccessRuleInput) (*DeleteMobileDeviceAccessRuleOutput, error)

DeleteMobileDeviceAccessRule API operation for Amazon WorkMail.

Deletes a mobile device access rule for the specified WorkMail organization.

Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

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 DeleteMobileDeviceAccessRule 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) DeleteMobileDeviceAccessRuleRequest

func (c *WorkMail) DeleteMobileDeviceAccessRuleRequest(input *DeleteMobileDeviceAccessRuleInput) (req *request.Request, output *DeleteMobileDeviceAccessRuleOutput)

DeleteMobileDeviceAccessRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteMobileDeviceAccessRule 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 DeleteMobileDeviceAccessRule for more information on using the DeleteMobileDeviceAccessRule 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 DeleteMobileDeviceAccessRuleRequest method.
req, resp := client.DeleteMobileDeviceAccessRuleRequest(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/DeleteMobileDeviceAccessRule

func (*WorkMail) DeleteMobileDeviceAccessRuleWithContext

func (c *WorkMail) DeleteMobileDeviceAccessRuleWithContext(ctx aws.Context, input *DeleteMobileDeviceAccessRuleInput, opts ...request.Option) (*DeleteMobileDeviceAccessRuleOutput, error)

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

See DeleteMobileDeviceAccessRule 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) DeleteOrganization

func (c *WorkMail) DeleteOrganization(input *DeleteOrganizationInput) (*DeleteOrganizationOutput, error)

DeleteOrganization API operation for Amazon WorkMail.

Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization (https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html) in the WorkMail Administrator Guide.

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 DeleteOrganization 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) DeleteOrganizationRequest

func (c *WorkMail) DeleteOrganizationRequest(input *DeleteOrganizationInput) (req *request.Request, output *DeleteOrganizationOutput)

DeleteOrganizationRequest generates a "aws/request.Request" representing the client's request for the DeleteOrganization 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 DeleteOrganization for more information on using the DeleteOrganization 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 DeleteOrganizationRequest method.
req, resp := client.DeleteOrganizationRequest(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/DeleteOrganization

func (*WorkMail) DeleteOrganizationWithContext

func (c *WorkMail) DeleteOrganizationWithContext(ctx aws.Context, input *DeleteOrganizationInput, opts ...request.Option) (*DeleteOrganizationOutput, error)

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

See DeleteOrganization 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

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 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/DeleteResource

func (*WorkMail) DeleteResourceRequest

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

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

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 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

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

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

func (c *WorkMail) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error)

DeleteUser API operation for Amazon WorkMail.

Deletes a user from 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 is unavailable. It might be located in another Region or deleted.

  • 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 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

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

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

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 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 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

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

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) DeregisterMailDomain

func (c *WorkMail) DeregisterMailDomain(input *DeregisterMailDomainInput) (*DeregisterMailDomainOutput, error)

DeregisterMailDomain API operation for Amazon WorkMail.

Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first remove any email address used by WorkMail entities before you remove the domain.

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 DeregisterMailDomain for usage and error information.

Returned Error Types:

  • MailDomainInUseException The domain you're trying to change is in use by another user or organization in your account. See the error message for details.

  • 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 to perform certain operations on the organization or its members.

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

  • InvalidCustomSesConfigurationException You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to CreateReceiptRule (https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html).

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

func (*WorkMail) DeregisterMailDomainRequest

func (c *WorkMail) DeregisterMailDomainRequest(input *DeregisterMailDomainInput) (req *request.Request, output *DeregisterMailDomainOutput)

DeregisterMailDomainRequest generates a "aws/request.Request" representing the client's request for the DeregisterMailDomain 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 DeregisterMailDomain for more information on using the DeregisterMailDomain 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 DeregisterMailDomainRequest method.
req, resp := client.DeregisterMailDomainRequest(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/DeregisterMailDomain

func (*WorkMail) DeregisterMailDomainWithContext

func (c *WorkMail) DeregisterMailDomainWithContext(ctx aws.Context, input *DeregisterMailDomainInput, opts ...request.Option) (*DeregisterMailDomainOutput, error)

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

See DeregisterMailDomain 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) DescribeEmailMonitoringConfiguration

func (c *WorkMail) DescribeEmailMonitoringConfiguration(input *DescribeEmailMonitoringConfigurationInput) (*DescribeEmailMonitoringConfigurationOutput, error)

DescribeEmailMonitoringConfiguration API operation for Amazon WorkMail.

Describes the current email monitoring configuration for a 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 DescribeEmailMonitoringConfiguration for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource cannot be found.

  • 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) DescribeEmailMonitoringConfigurationRequest

func (c *WorkMail) DescribeEmailMonitoringConfigurationRequest(input *DescribeEmailMonitoringConfigurationInput) (req *request.Request, output *DescribeEmailMonitoringConfigurationOutput)

DescribeEmailMonitoringConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeEmailMonitoringConfiguration 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 DescribeEmailMonitoringConfiguration for more information on using the DescribeEmailMonitoringConfiguration 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 DescribeEmailMonitoringConfigurationRequest method.
req, resp := client.DescribeEmailMonitoringConfigurationRequest(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/DescribeEmailMonitoringConfiguration

func (*WorkMail) DescribeEmailMonitoringConfigurationWithContext

func (c *WorkMail) DescribeEmailMonitoringConfigurationWithContext(ctx aws.Context, input *DescribeEmailMonitoringConfigurationInput, opts ...request.Option) (*DescribeEmailMonitoringConfigurationOutput, error)

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

See DescribeEmailMonitoringConfiguration 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) DescribeEntity

func (c *WorkMail) DescribeEntity(input *DescribeEntityInput) (*DescribeEntityOutput, error)

DescribeEntity API operation for Amazon WorkMail.

Returns basic details about an entity in 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 DescribeEntity 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) DescribeEntityRequest

func (c *WorkMail) DescribeEntityRequest(input *DescribeEntityInput) (req *request.Request, output *DescribeEntityOutput)

DescribeEntityRequest generates a "aws/request.Request" representing the client's request for the DescribeEntity 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 DescribeEntity for more information on using the DescribeEntity 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 DescribeEntityRequest method.
req, resp := client.DescribeEntityRequest(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/DescribeEntity

func (*WorkMail) DescribeEntityWithContext

func (c *WorkMail) DescribeEntityWithContext(ctx aws.Context, input *DescribeEntityInput, opts ...request.Option) (*DescribeEntityOutput, error)

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

See DescribeEntity 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

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 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

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

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) DescribeInboundDmarcSettings

func (c *WorkMail) DescribeInboundDmarcSettings(input *DescribeInboundDmarcSettingsInput) (*DescribeInboundDmarcSettingsOutput, error)

DescribeInboundDmarcSettings API operation for Amazon WorkMail.

Lists the settings in a DMARC policy for a 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 DescribeInboundDmarcSettings 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) DescribeInboundDmarcSettingsRequest

func (c *WorkMail) DescribeInboundDmarcSettingsRequest(input *DescribeInboundDmarcSettingsInput) (req *request.Request, output *DescribeInboundDmarcSettingsOutput)

DescribeInboundDmarcSettingsRequest generates a "aws/request.Request" representing the client's request for the DescribeInboundDmarcSettings 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 DescribeInboundDmarcSettings for more information on using the DescribeInboundDmarcSettings 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 DescribeInboundDmarcSettingsRequest method.
req, resp := client.DescribeInboundDmarcSettingsRequest(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/DescribeInboundDmarcSettings

func (*WorkMail) DescribeInboundDmarcSettingsWithContext

func (c *WorkMail) DescribeInboundDmarcSettingsWithContext(ctx aws.Context, input *DescribeInboundDmarcSettingsInput, opts ...request.Option) (*DescribeInboundDmarcSettingsOutput, error)

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

See DescribeInboundDmarcSettings 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) DescribeMailboxExportJob

func (c *WorkMail) DescribeMailboxExportJob(input *DescribeMailboxExportJobInput) (*DescribeMailboxExportJobOutput, error)

DescribeMailboxExportJob API operation for Amazon WorkMail.

Describes the current status of a mailbox export job.

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 DescribeMailboxExportJob 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 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/DescribeMailboxExportJob

func (*WorkMail) DescribeMailboxExportJobRequest

func (c *WorkMail) DescribeMailboxExportJobRequest(input *DescribeMailboxExportJobInput) (req *request.Request, output *DescribeMailboxExportJobOutput)

DescribeMailboxExportJobRequest generates a "aws/request.Request" representing the client's request for the DescribeMailboxExportJob 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 DescribeMailboxExportJob for more information on using the DescribeMailboxExportJob 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 DescribeMailboxExportJobRequest method.
req, resp := client.DescribeMailboxExportJobRequest(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/DescribeMailboxExportJob

func (*WorkMail) DescribeMailboxExportJobWithContext

func (c *WorkMail) DescribeMailboxExportJobWithContext(ctx aws.Context, input *DescribeMailboxExportJobInput, opts ...request.Option) (*DescribeMailboxExportJobOutput, error)

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

See DescribeMailboxExportJob 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

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

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

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

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 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/DescribeResource

func (*WorkMail) DescribeResourceRequest

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

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

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 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

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

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

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 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/DisassociateDelegateFromResource

func (*WorkMail) DisassociateDelegateFromResourceRequest

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

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

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 is unavailable. It might be located in another Region or deleted.

  • 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 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

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

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

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, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.

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.

  • ResourceNotFoundException The resource cannot be found.

  • 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 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

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

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

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 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

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

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) GetImpersonationRole

func (c *WorkMail) GetImpersonationRole(input *GetImpersonationRoleInput) (*GetImpersonationRoleOutput, error)

GetImpersonationRole API operation for Amazon WorkMail.

Gets the impersonation role details for the given 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 GetImpersonationRole 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 to perform certain operations on the organization or its members.

  • ResourceNotFoundException The resource cannot be found.

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

func (*WorkMail) GetImpersonationRoleEffect

func (c *WorkMail) GetImpersonationRoleEffect(input *GetImpersonationRoleEffectInput) (*GetImpersonationRoleEffectOutput, error)

GetImpersonationRoleEffect API operation for Amazon WorkMail.

Tests whether the given impersonation role can impersonate a target 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 GetImpersonationRoleEffect 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 to perform certain operations on the organization or its members.

  • ResourceNotFoundException The resource cannot be found.

  • 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.

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

func (*WorkMail) GetImpersonationRoleEffectRequest

func (c *WorkMail) GetImpersonationRoleEffectRequest(input *GetImpersonationRoleEffectInput) (req *request.Request, output *GetImpersonationRoleEffectOutput)

GetImpersonationRoleEffectRequest generates a "aws/request.Request" representing the client's request for the GetImpersonationRoleEffect 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 GetImpersonationRoleEffect for more information on using the GetImpersonationRoleEffect 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 GetImpersonationRoleEffectRequest method.
req, resp := client.GetImpersonationRoleEffectRequest(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/GetImpersonationRoleEffect

func (*WorkMail) GetImpersonationRoleEffectWithContext

func (c *WorkMail) GetImpersonationRoleEffectWithContext(ctx aws.Context, input *GetImpersonationRoleEffectInput, opts ...request.Option) (*GetImpersonationRoleEffectOutput, error)

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

See GetImpersonationRoleEffect 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) GetImpersonationRoleRequest

func (c *WorkMail) GetImpersonationRoleRequest(input *GetImpersonationRoleInput) (req *request.Request, output *GetImpersonationRoleOutput)

GetImpersonationRoleRequest generates a "aws/request.Request" representing the client's request for the GetImpersonationRole 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 GetImpersonationRole for more information on using the GetImpersonationRole 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 GetImpersonationRoleRequest method.
req, resp := client.GetImpersonationRoleRequest(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/GetImpersonationRole

func (*WorkMail) GetImpersonationRoleWithContext

func (c *WorkMail) GetImpersonationRoleWithContext(ctx aws.Context, input *GetImpersonationRoleInput, opts ...request.Option) (*GetImpersonationRoleOutput, error)

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

See GetImpersonationRole 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) GetMailDomain

func (c *WorkMail) GetMailDomain(input *GetMailDomainInput) (*GetMailDomainOutput, error)

GetMailDomain API operation for Amazon WorkMail.

Gets details for a mail domain, including domain records required to configure your domain with recommended security.

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 GetMailDomain for usage and error information.

Returned Error Types:

  • MailDomainNotFoundException The domain specified is not found in your organization.

  • 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 to perform certain operations on the organization or its members.

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

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

func (*WorkMail) GetMailDomainRequest

func (c *WorkMail) GetMailDomainRequest(input *GetMailDomainInput) (req *request.Request, output *GetMailDomainOutput)

GetMailDomainRequest generates a "aws/request.Request" representing the client's request for the GetMailDomain 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 GetMailDomain for more information on using the GetMailDomain 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 GetMailDomainRequest method.
req, resp := client.GetMailDomainRequest(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/GetMailDomain

func (*WorkMail) GetMailDomainWithContext

func (c *WorkMail) GetMailDomainWithContext(ctx aws.Context, input *GetMailDomainInput, opts ...request.Option) (*GetMailDomainOutput, error)

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

See GetMailDomain 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

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:

  • 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 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

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

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) GetMobileDeviceAccessEffect

func (c *WorkMail) GetMobileDeviceAccessEffect(input *GetMobileDeviceAccessEffectInput) (*GetMobileDeviceAccessEffectOutput, error)

GetMobileDeviceAccessEffect API operation for Amazon WorkMail.

Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the WorkMail organization for a particular user's attributes.

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 GetMobileDeviceAccessEffect 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) GetMobileDeviceAccessEffectRequest

func (c *WorkMail) GetMobileDeviceAccessEffectRequest(input *GetMobileDeviceAccessEffectInput) (req *request.Request, output *GetMobileDeviceAccessEffectOutput)

GetMobileDeviceAccessEffectRequest generates a "aws/request.Request" representing the client's request for the GetMobileDeviceAccessEffect 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 GetMobileDeviceAccessEffect for more information on using the GetMobileDeviceAccessEffect 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 GetMobileDeviceAccessEffectRequest method.
req, resp := client.GetMobileDeviceAccessEffectRequest(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/GetMobileDeviceAccessEffect

func (*WorkMail) GetMobileDeviceAccessEffectWithContext

func (c *WorkMail) GetMobileDeviceAccessEffectWithContext(ctx aws.Context, input *GetMobileDeviceAccessEffectInput, opts ...request.Option) (*GetMobileDeviceAccessEffectOutput, error)

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

See GetMobileDeviceAccessEffect 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) GetMobileDeviceAccessOverride

func (c *WorkMail) GetMobileDeviceAccessOverride(input *GetMobileDeviceAccessOverrideInput) (*GetMobileDeviceAccessOverrideOutput, error)

GetMobileDeviceAccessOverride API operation for Amazon WorkMail.

Gets the mobile device access override for the given WorkMail organization, user, and device.

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 GetMobileDeviceAccessOverride 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 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.

  • ResourceNotFoundException The resource cannot be found.

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

func (*WorkMail) GetMobileDeviceAccessOverrideRequest

func (c *WorkMail) GetMobileDeviceAccessOverrideRequest(input *GetMobileDeviceAccessOverrideInput) (req *request.Request, output *GetMobileDeviceAccessOverrideOutput)

GetMobileDeviceAccessOverrideRequest generates a "aws/request.Request" representing the client's request for the GetMobileDeviceAccessOverride 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 GetMobileDeviceAccessOverride for more information on using the GetMobileDeviceAccessOverride 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 GetMobileDeviceAccessOverrideRequest method.
req, resp := client.GetMobileDeviceAccessOverrideRequest(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/GetMobileDeviceAccessOverride

func (*WorkMail) GetMobileDeviceAccessOverrideWithContext

func (c *WorkMail) GetMobileDeviceAccessOverrideWithContext(ctx aws.Context, input *GetMobileDeviceAccessOverrideInput, opts ...request.Option) (*GetMobileDeviceAccessOverrideOutput, error)

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

See GetMobileDeviceAccessOverride 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

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 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

func (c *WorkMail) ListAccessControlRulesRequest(input *ListAccessControlRulesInput) (req *request.Request, output *ListAccessControlRulesOutput)

ListAccessControlRulesRequest generates a "aws/request.Request" representing the client's request for the ListAccessControlRules 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 ListAccessControlRules for more information on using the ListAccessControlRules 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 ListAccessControlRulesRequest method.
req, resp := client.ListAccessControlRulesRequest(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/ListAccessControlRules

func (*WorkMail) ListAccessControlRulesWithContext

func (c *WorkMail) ListAccessControlRulesWithContext(ctx aws.Context, input *ListAccessControlRulesInput, opts ...request.Option) (*ListAccessControlRulesOutput, error)

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

See ListAccessControlRules 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) ListAliases

func (c *WorkMail) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error)

ListAliases API operation for Amazon WorkMail.

Creates a paginated call to list the aliases associated with a given entity.

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 ListAliases 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListAliasesPages

func (c *WorkMail) ListAliasesPages(input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool) error

ListAliasesPages iterates over the pages of a ListAliases operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAliases method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAliases operation.
pageNum := 0
err := client.ListAliasesPages(params,
    func(page *workmail.ListAliasesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListAliasesPagesWithContext

func (c *WorkMail) ListAliasesPagesWithContext(ctx aws.Context, input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool, opts ...request.Option) error

ListAliasesPagesWithContext same as ListAliasesPages except it takes a Context and allows setting request options on the pages.

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) ListAliasesRequest

func (c *WorkMail) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput)

ListAliasesRequest generates a "aws/request.Request" representing the client's request for the ListAliases 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 ListAliases for more information on using the ListAliases 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 ListAliasesRequest method.
req, resp := client.ListAliasesRequest(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/ListAliases

func (*WorkMail) ListAliasesWithContext

func (c *WorkMail) ListAliasesWithContext(ctx aws.Context, input *ListAliasesInput, opts ...request.Option) (*ListAliasesOutput, error)

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

See ListAliases 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) ListAvailabilityConfigurations

func (c *WorkMail) ListAvailabilityConfigurations(input *ListAvailabilityConfigurationsInput) (*ListAvailabilityConfigurationsOutput, error)

ListAvailabilityConfigurations API operation for Amazon WorkMail.

List all the AvailabilityConfiguration's for the given 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 ListAvailabilityConfigurations 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListAvailabilityConfigurationsPages

func (c *WorkMail) ListAvailabilityConfigurationsPages(input *ListAvailabilityConfigurationsInput, fn func(*ListAvailabilityConfigurationsOutput, bool) bool) error

ListAvailabilityConfigurationsPages iterates over the pages of a ListAvailabilityConfigurations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAvailabilityConfigurations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAvailabilityConfigurations operation.
pageNum := 0
err := client.ListAvailabilityConfigurationsPages(params,
    func(page *workmail.ListAvailabilityConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListAvailabilityConfigurationsPagesWithContext

func (c *WorkMail) ListAvailabilityConfigurationsPagesWithContext(ctx aws.Context, input *ListAvailabilityConfigurationsInput, fn func(*ListAvailabilityConfigurationsOutput, bool) bool, opts ...request.Option) error

ListAvailabilityConfigurationsPagesWithContext same as ListAvailabilityConfigurationsPages except it takes a Context and allows setting request options on the pages.

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) ListAvailabilityConfigurationsRequest

func (c *WorkMail) ListAvailabilityConfigurationsRequest(input *ListAvailabilityConfigurationsInput) (req *request.Request, output *ListAvailabilityConfigurationsOutput)

ListAvailabilityConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListAvailabilityConfigurations 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 ListAvailabilityConfigurations for more information on using the ListAvailabilityConfigurations 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 ListAvailabilityConfigurationsRequest method.
req, resp := client.ListAvailabilityConfigurationsRequest(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/ListAvailabilityConfigurations

func (*WorkMail) ListAvailabilityConfigurationsWithContext

func (c *WorkMail) ListAvailabilityConfigurationsWithContext(ctx aws.Context, input *ListAvailabilityConfigurationsInput, opts ...request.Option) (*ListAvailabilityConfigurationsOutput, error)

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

See ListAvailabilityConfigurations 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) ListGroupMembers

func (c *WorkMail) ListGroupMembers(input *ListGroupMembersInput) (*ListGroupMembersOutput, error)

ListGroupMembers API operation for Amazon WorkMail.

Returns an overview of the members of a group. Users and groups can be members of 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 ListGroupMembers 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListGroupMembersPages

func (c *WorkMail) ListGroupMembersPages(input *ListGroupMembersInput, fn func(*ListGroupMembersOutput, bool) bool) error

ListGroupMembersPages iterates over the pages of a ListGroupMembers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListGroupMembers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListGroupMembers operation.
pageNum := 0
err := client.ListGroupMembersPages(params,
    func(page *workmail.ListGroupMembersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListGroupMembersPagesWithContext

func (c *WorkMail) ListGroupMembersPagesWithContext(ctx aws.Context, input *ListGroupMembersInput, fn func(*ListGroupMembersOutput, bool) bool, opts ...request.Option) error

ListGroupMembersPagesWithContext same as ListGroupMembersPages except it takes a Context and allows setting request options on the pages.

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) ListGroupMembersRequest

func (c *WorkMail) ListGroupMembersRequest(input *ListGroupMembersInput) (req *request.Request, output *ListGroupMembersOutput)

ListGroupMembersRequest generates a "aws/request.Request" representing the client's request for the ListGroupMembers 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 ListGroupMembers for more information on using the ListGroupMembers 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 ListGroupMembersRequest method.
req, resp := client.ListGroupMembersRequest(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/ListGroupMembers

func (*WorkMail) ListGroupMembersWithContext

func (c *WorkMail) ListGroupMembersWithContext(ctx aws.Context, input *ListGroupMembersInput, opts ...request.Option) (*ListGroupMembersOutput, error)

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

See ListGroupMembers 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) ListGroups

func (c *WorkMail) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error)

ListGroups API operation for Amazon WorkMail.

Returns summaries of the organization's groups.

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 ListGroups 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListGroupsForEntity

func (c *WorkMail) ListGroupsForEntity(input *ListGroupsForEntityInput) (*ListGroupsForEntityOutput, error)

ListGroupsForEntity API operation for Amazon WorkMail.

Returns all the groups to which an entity belongs.

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 ListGroupsForEntity 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.

  • 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 to perform certain operations on the organization or its members.

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

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

func (*WorkMail) ListGroupsForEntityPages

func (c *WorkMail) ListGroupsForEntityPages(input *ListGroupsForEntityInput, fn func(*ListGroupsForEntityOutput, bool) bool) error

ListGroupsForEntityPages iterates over the pages of a ListGroupsForEntity operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListGroupsForEntity method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListGroupsForEntity operation.
pageNum := 0
err := client.ListGroupsForEntityPages(params,
    func(page *workmail.ListGroupsForEntityOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListGroupsForEntityPagesWithContext

func (c *WorkMail) ListGroupsForEntityPagesWithContext(ctx aws.Context, input *ListGroupsForEntityInput, fn func(*ListGroupsForEntityOutput, bool) bool, opts ...request.Option) error

ListGroupsForEntityPagesWithContext same as ListGroupsForEntityPages except it takes a Context and allows setting request options on the pages.

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) ListGroupsForEntityRequest

func (c *WorkMail) ListGroupsForEntityRequest(input *ListGroupsForEntityInput) (req *request.Request, output *ListGroupsForEntityOutput)

ListGroupsForEntityRequest generates a "aws/request.Request" representing the client's request for the ListGroupsForEntity 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 ListGroupsForEntity for more information on using the ListGroupsForEntity 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 ListGroupsForEntityRequest method.
req, resp := client.ListGroupsForEntityRequest(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/ListGroupsForEntity

func (*WorkMail) ListGroupsForEntityWithContext

func (c *WorkMail) ListGroupsForEntityWithContext(ctx aws.Context, input *ListGroupsForEntityInput, opts ...request.Option) (*ListGroupsForEntityOutput, error)

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

See ListGroupsForEntity 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) ListGroupsPages

func (c *WorkMail) ListGroupsPages(input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool) error

ListGroupsPages iterates over the pages of a ListGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListGroups operation.
pageNum := 0
err := client.ListGroupsPages(params,
    func(page *workmail.ListGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListGroupsPagesWithContext

func (c *WorkMail) ListGroupsPagesWithContext(ctx aws.Context, input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool, opts ...request.Option) error

ListGroupsPagesWithContext same as ListGroupsPages except it takes a Context and allows setting request options on the pages.

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) ListGroupsRequest

func (c *WorkMail) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput)

ListGroupsRequest generates a "aws/request.Request" representing the client's request for the ListGroups 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 ListGroups for more information on using the ListGroups 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 ListGroupsRequest method.
req, resp := client.ListGroupsRequest(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/ListGroups

func (*WorkMail) ListGroupsWithContext

func (c *WorkMail) ListGroupsWithContext(ctx aws.Context, input *ListGroupsInput, opts ...request.Option) (*ListGroupsOutput, error)

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

See ListGroups 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) ListImpersonationRoles

func (c *WorkMail) ListImpersonationRoles(input *ListImpersonationRolesInput) (*ListImpersonationRolesOutput, error)

ListImpersonationRoles API operation for Amazon WorkMail.

Lists all the impersonation roles for the given 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 ListImpersonationRoles 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListImpersonationRolesPages

func (c *WorkMail) ListImpersonationRolesPages(input *ListImpersonationRolesInput, fn func(*ListImpersonationRolesOutput, bool) bool) error

ListImpersonationRolesPages iterates over the pages of a ListImpersonationRoles operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListImpersonationRoles method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListImpersonationRoles operation.
pageNum := 0
err := client.ListImpersonationRolesPages(params,
    func(page *workmail.ListImpersonationRolesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListImpersonationRolesPagesWithContext

func (c *WorkMail) ListImpersonationRolesPagesWithContext(ctx aws.Context, input *ListImpersonationRolesInput, fn func(*ListImpersonationRolesOutput, bool) bool, opts ...request.Option) error

ListImpersonationRolesPagesWithContext same as ListImpersonationRolesPages except it takes a Context and allows setting request options on the pages.

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) ListImpersonationRolesRequest

func (c *WorkMail) ListImpersonationRolesRequest(input *ListImpersonationRolesInput) (req *request.Request, output *ListImpersonationRolesOutput)

ListImpersonationRolesRequest generates a "aws/request.Request" representing the client's request for the ListImpersonationRoles 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 ListImpersonationRoles for more information on using the ListImpersonationRoles 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 ListImpersonationRolesRequest method.
req, resp := client.ListImpersonationRolesRequest(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/ListImpersonationRoles

func (*WorkMail) ListImpersonationRolesWithContext

func (c *WorkMail) ListImpersonationRolesWithContext(ctx aws.Context, input *ListImpersonationRolesInput, opts ...request.Option) (*ListImpersonationRolesOutput, error)

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

See ListImpersonationRoles 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) ListMailDomains

func (c *WorkMail) ListMailDomains(input *ListMailDomainsInput) (*ListMailDomainsOutput, error)

ListMailDomains API operation for Amazon WorkMail.

Lists the mail domains in a given 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 ListMailDomains 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListMailDomainsPages

func (c *WorkMail) ListMailDomainsPages(input *ListMailDomainsInput, fn func(*ListMailDomainsOutput, bool) bool) error

ListMailDomainsPages iterates over the pages of a ListMailDomains operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMailDomains method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMailDomains operation.
pageNum := 0
err := client.ListMailDomainsPages(params,
    func(page *workmail.ListMailDomainsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListMailDomainsPagesWithContext

func (c *WorkMail) ListMailDomainsPagesWithContext(ctx aws.Context, input *ListMailDomainsInput, fn func(*ListMailDomainsOutput, bool) bool, opts ...request.Option) error

ListMailDomainsPagesWithContext same as ListMailDomainsPages except it takes a Context and allows setting request options on the pages.

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) ListMailDomainsRequest

func (c *WorkMail) ListMailDomainsRequest(input *ListMailDomainsInput) (req *request.Request, output *ListMailDomainsOutput)

ListMailDomainsRequest generates a "aws/request.Request" representing the client's request for the ListMailDomains 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 ListMailDomains for more information on using the ListMailDomains 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 ListMailDomainsRequest method.
req, resp := client.ListMailDomainsRequest(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/ListMailDomains

func (*WorkMail) ListMailDomainsWithContext

func (c *WorkMail) ListMailDomainsWithContext(ctx aws.Context, input *ListMailDomainsInput, opts ...request.Option) (*ListMailDomainsOutput, error)

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

See ListMailDomains 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) ListMailboxExportJobs

func (c *WorkMail) ListMailboxExportJobs(input *ListMailboxExportJobsInput) (*ListMailboxExportJobsOutput, error)

ListMailboxExportJobs API operation for Amazon WorkMail.

Lists the mailbox export jobs started for the specified organization within the last seven days.

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 ListMailboxExportJobs 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListMailboxExportJobsPages

func (c *WorkMail) ListMailboxExportJobsPages(input *ListMailboxExportJobsInput, fn func(*ListMailboxExportJobsOutput, bool) bool) error

ListMailboxExportJobsPages iterates over the pages of a ListMailboxExportJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMailboxExportJobs method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMailboxExportJobs operation.
pageNum := 0
err := client.ListMailboxExportJobsPages(params,
    func(page *workmail.ListMailboxExportJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListMailboxExportJobsPagesWithContext

func (c *WorkMail) ListMailboxExportJobsPagesWithContext(ctx aws.Context, input *ListMailboxExportJobsInput, fn func(*ListMailboxExportJobsOutput, bool) bool, opts ...request.Option) error

ListMailboxExportJobsPagesWithContext same as ListMailboxExportJobsPages except it takes a Context and allows setting request options on the pages.

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) ListMailboxExportJobsRequest

func (c *WorkMail) ListMailboxExportJobsRequest(input *ListMailboxExportJobsInput) (req *request.Request, output *ListMailboxExportJobsOutput)

ListMailboxExportJobsRequest generates a "aws/request.Request" representing the client's request for the ListMailboxExportJobs 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 ListMailboxExportJobs for more information on using the ListMailboxExportJobs 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 ListMailboxExportJobsRequest method.
req, resp := client.ListMailboxExportJobsRequest(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/ListMailboxExportJobs

func (*WorkMail) ListMailboxExportJobsWithContext

func (c *WorkMail) ListMailboxExportJobsWithContext(ctx aws.Context, input *ListMailboxExportJobsInput, opts ...request.Option) (*ListMailboxExportJobsOutput, error)

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

See ListMailboxExportJobs 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) ListMailboxPermissions

func (c *WorkMail) ListMailboxPermissions(input *ListMailboxPermissionsInput) (*ListMailboxPermissionsOutput, error)

ListMailboxPermissions API operation for Amazon WorkMail.

Lists the mailbox permissions associated with a user, group, or resource mailbox.

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 ListMailboxPermissions 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListMailboxPermissionsPages

func (c *WorkMail) ListMailboxPermissionsPages(input *ListMailboxPermissionsInput, fn func(*ListMailboxPermissionsOutput, bool) bool) error

ListMailboxPermissionsPages iterates over the pages of a ListMailboxPermissions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMailboxPermissions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMailboxPermissions operation.
pageNum := 0
err := client.ListMailboxPermissionsPages(params,
    func(page *workmail.ListMailboxPermissionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListMailboxPermissionsPagesWithContext

func (c *WorkMail) ListMailboxPermissionsPagesWithContext(ctx aws.Context, input *ListMailboxPermissionsInput, fn func(*ListMailboxPermissionsOutput, bool) bool, opts ...request.Option) error

ListMailboxPermissionsPagesWithContext same as ListMailboxPermissionsPages except it takes a Context and allows setting request options on the pages.

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) ListMailboxPermissionsRequest

func (c *WorkMail) ListMailboxPermissionsRequest(input *ListMailboxPermissionsInput) (req *request.Request, output *ListMailboxPermissionsOutput)

ListMailboxPermissionsRequest generates a "aws/request.Request" representing the client's request for the ListMailboxPermissions 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 ListMailboxPermissions for more information on using the ListMailboxPermissions 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 ListMailboxPermissionsRequest method.
req, resp := client.ListMailboxPermissionsRequest(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/ListMailboxPermissions

func (*WorkMail) ListMailboxPermissionsWithContext

func (c *WorkMail) ListMailboxPermissionsWithContext(ctx aws.Context, input *ListMailboxPermissionsInput, opts ...request.Option) (*ListMailboxPermissionsOutput, error)

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

See ListMailboxPermissions 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) ListMobileDeviceAccessOverrides

func (c *WorkMail) ListMobileDeviceAccessOverrides(input *ListMobileDeviceAccessOverridesInput) (*ListMobileDeviceAccessOverridesOutput, error)

ListMobileDeviceAccessOverrides API operation for Amazon WorkMail.

Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.

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 ListMobileDeviceAccessOverrides 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 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/ListMobileDeviceAccessOverrides

func (*WorkMail) ListMobileDeviceAccessOverridesPages

func (c *WorkMail) ListMobileDeviceAccessOverridesPages(input *ListMobileDeviceAccessOverridesInput, fn func(*ListMobileDeviceAccessOverridesOutput, bool) bool) error

ListMobileDeviceAccessOverridesPages iterates over the pages of a ListMobileDeviceAccessOverrides operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMobileDeviceAccessOverrides method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMobileDeviceAccessOverrides operation.
pageNum := 0
err := client.ListMobileDeviceAccessOverridesPages(params,
    func(page *workmail.ListMobileDeviceAccessOverridesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListMobileDeviceAccessOverridesPagesWithContext

func (c *WorkMail) ListMobileDeviceAccessOverridesPagesWithContext(ctx aws.Context, input *ListMobileDeviceAccessOverridesInput, fn func(*ListMobileDeviceAccessOverridesOutput, bool) bool, opts ...request.Option) error

ListMobileDeviceAccessOverridesPagesWithContext same as ListMobileDeviceAccessOverridesPages except it takes a Context and allows setting request options on the pages.

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) ListMobileDeviceAccessOverridesRequest

func (c *WorkMail) ListMobileDeviceAccessOverridesRequest(input *ListMobileDeviceAccessOverridesInput) (req *request.Request, output *ListMobileDeviceAccessOverridesOutput)

ListMobileDeviceAccessOverridesRequest generates a "aws/request.Request" representing the client's request for the ListMobileDeviceAccessOverrides 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 ListMobileDeviceAccessOverrides for more information on using the ListMobileDeviceAccessOverrides 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 ListMobileDeviceAccessOverridesRequest method.
req, resp := client.ListMobileDeviceAccessOverridesRequest(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/ListMobileDeviceAccessOverrides

func (*WorkMail) ListMobileDeviceAccessOverridesWithContext

func (c *WorkMail) ListMobileDeviceAccessOverridesWithContext(ctx aws.Context, input *ListMobileDeviceAccessOverridesInput, opts ...request.Option) (*ListMobileDeviceAccessOverridesOutput, error)

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

See ListMobileDeviceAccessOverrides 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) ListMobileDeviceAccessRules

func (c *WorkMail) ListMobileDeviceAccessRules(input *ListMobileDeviceAccessRulesInput) (*ListMobileDeviceAccessRulesOutput, error)

ListMobileDeviceAccessRules API operation for Amazon WorkMail.

Lists the mobile device access rules 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 ListMobileDeviceAccessRules 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListMobileDeviceAccessRulesRequest

func (c *WorkMail) ListMobileDeviceAccessRulesRequest(input *ListMobileDeviceAccessRulesInput) (req *request.Request, output *ListMobileDeviceAccessRulesOutput)

ListMobileDeviceAccessRulesRequest generates a "aws/request.Request" representing the client's request for the ListMobileDeviceAccessRules 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 ListMobileDeviceAccessRules for more information on using the ListMobileDeviceAccessRules 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 ListMobileDeviceAccessRulesRequest method.
req, resp := client.ListMobileDeviceAccessRulesRequest(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/ListMobileDeviceAccessRules

func (*WorkMail) ListMobileDeviceAccessRulesWithContext

func (c *WorkMail) ListMobileDeviceAccessRulesWithContext(ctx aws.Context, input *ListMobileDeviceAccessRulesInput, opts ...request.Option) (*ListMobileDeviceAccessRulesOutput, error)

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

See ListMobileDeviceAccessRules 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) ListOrganizations

func (c *WorkMail) ListOrganizations(input *ListOrganizationsInput) (*ListOrganizationsOutput, error)

ListOrganizations API operation for Amazon WorkMail.

Returns summaries of the customer's organizations.

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 ListOrganizations for usage and error information.

Returned Error Types:

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

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

func (*WorkMail) ListOrganizationsPages

func (c *WorkMail) ListOrganizationsPages(input *ListOrganizationsInput, fn func(*ListOrganizationsOutput, bool) bool) error

ListOrganizationsPages iterates over the pages of a ListOrganizations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListOrganizations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListOrganizations operation.
pageNum := 0
err := client.ListOrganizationsPages(params,
    func(page *workmail.ListOrganizationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListOrganizationsPagesWithContext

func (c *WorkMail) ListOrganizationsPagesWithContext(ctx aws.Context, input *ListOrganizationsInput, fn func(*ListOrganizationsOutput, bool) bool, opts ...request.Option) error

ListOrganizationsPagesWithContext same as ListOrganizationsPages except it takes a Context and allows setting request options on the pages.

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) ListOrganizationsRequest

func (c *WorkMail) ListOrganizationsRequest(input *ListOrganizationsInput) (req *request.Request, output *ListOrganizationsOutput)

ListOrganizationsRequest generates a "aws/request.Request" representing the client's request for the ListOrganizations 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 ListOrganizations for more information on using the ListOrganizations 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 ListOrganizationsRequest method.
req, resp := client.ListOrganizationsRequest(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/ListOrganizations

func (*WorkMail) ListOrganizationsWithContext

func (c *WorkMail) ListOrganizationsWithContext(ctx aws.Context, input *ListOrganizationsInput, opts ...request.Option) (*ListOrganizationsOutput, error)

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

See ListOrganizations 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) ListResourceDelegates

func (c *WorkMail) ListResourceDelegates(input *ListResourceDelegatesInput) (*ListResourceDelegatesOutput, error)

ListResourceDelegates API operation for Amazon WorkMail.

Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of 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 ListResourceDelegates 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 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/ListResourceDelegates

func (*WorkMail) ListResourceDelegatesPages

func (c *WorkMail) ListResourceDelegatesPages(input *ListResourceDelegatesInput, fn func(*ListResourceDelegatesOutput, bool) bool) error

ListResourceDelegatesPages iterates over the pages of a ListResourceDelegates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListResourceDelegates method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListResourceDelegates operation.
pageNum := 0
err := client.ListResourceDelegatesPages(params,
    func(page *workmail.ListResourceDelegatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListResourceDelegatesPagesWithContext

func (c *WorkMail) ListResourceDelegatesPagesWithContext(ctx aws.Context, input *ListResourceDelegatesInput, fn func(*ListResourceDelegatesOutput, bool) bool, opts ...request.Option) error

ListResourceDelegatesPagesWithContext same as ListResourceDelegatesPages except it takes a Context and allows setting request options on the pages.

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) ListResourceDelegatesRequest

func (c *WorkMail) ListResourceDelegatesRequest(input *ListResourceDelegatesInput) (req *request.Request, output *ListResourceDelegatesOutput)

ListResourceDelegatesRequest generates a "aws/request.Request" representing the client's request for the ListResourceDelegates 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 ListResourceDelegates for more information on using the ListResourceDelegates 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 ListResourceDelegatesRequest method.
req, resp := client.ListResourceDelegatesRequest(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/ListResourceDelegates

func (*WorkMail) ListResourceDelegatesWithContext

func (c *WorkMail) ListResourceDelegatesWithContext(ctx aws.Context, input *ListResourceDelegatesInput, opts ...request.Option) (*ListResourceDelegatesOutput, error)

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

See ListResourceDelegates 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) ListResources

func (c *WorkMail) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)

ListResources API operation for Amazon WorkMail.

Returns summaries of the organization's resources.

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 ListResources 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 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/ListResources

func (*WorkMail) ListResourcesPages

func (c *WorkMail) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error

ListResourcesPages iterates over the pages of a ListResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListResources method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListResources operation.
pageNum := 0
err := client.ListResourcesPages(params,
    func(page *workmail.ListResourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListResourcesPagesWithContext

func (c *WorkMail) ListResourcesPagesWithContext(ctx aws.Context, input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool, opts ...request.Option) error

ListResourcesPagesWithContext same as ListResourcesPages except it takes a Context and allows setting request options on the pages.

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) ListResourcesRequest

func (c *WorkMail) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)

ListResourcesRequest generates a "aws/request.Request" representing the client's request for the ListResources 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 ListResources for more information on using the ListResources 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 ListResourcesRequest method.
req, resp := client.ListResourcesRequest(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/ListResources

func (*WorkMail) ListResourcesWithContext

func (c *WorkMail) ListResourcesWithContext(ctx aws.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)

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

See ListResources 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) ListTagsForResource

func (c *WorkMail) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon WorkMail.

Lists the tags applied to an WorkMail organization 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 ListTagsForResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource cannot be found.

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

func (*WorkMail) ListTagsForResourceRequest

func (c *WorkMail) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource 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 ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(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/ListTagsForResource

func (*WorkMail) ListTagsForResourceWithContext

func (c *WorkMail) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

See ListTagsForResource 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) ListUsers

func (c *WorkMail) ListUsers(input *ListUsersInput) (*ListUsersOutput, error)

ListUsers API operation for Amazon WorkMail.

Returns summaries of the organization's users.

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 ListUsers 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) ListUsersPages

func (c *WorkMail) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error

ListUsersPages iterates over the pages of a ListUsers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListUsers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListUsers operation.
pageNum := 0
err := client.ListUsersPages(params,
    func(page *workmail.ListUsersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkMail) ListUsersPagesWithContext

func (c *WorkMail) ListUsersPagesWithContext(ctx aws.Context, input *ListUsersInput, fn func(*ListUsersOutput, bool) bool, opts ...request.Option) error

ListUsersPagesWithContext same as ListUsersPages except it takes a Context and allows setting request options on the pages.

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) ListUsersRequest

func (c *WorkMail) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput)

ListUsersRequest generates a "aws/request.Request" representing the client's request for the ListUsers 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 ListUsers for more information on using the ListUsers 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 ListUsersRequest method.
req, resp := client.ListUsersRequest(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/ListUsers

func (*WorkMail) ListUsersWithContext

func (c *WorkMail) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error)

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

See ListUsers 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) PutAccessControlRule

func (c *WorkMail) PutAccessControlRule(input *PutAccessControlRuleInput) (*PutAccessControlRuleOutput, error)

PutAccessControlRule API operation for Amazon WorkMail.

Adds a new access control rule for the specified organization. The rule allows or denies access to the organization for the specified IPv4 addresses, access protocol actions, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces the older rule.

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 PutAccessControlRule for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeds the limit of the resource.

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

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

  • ResourceNotFoundException The resource cannot be found.

  • 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) PutAccessControlRuleRequest

func (c *WorkMail) PutAccessControlRuleRequest(input *PutAccessControlRuleInput) (req *request.Request, output *PutAccessControlRuleOutput)

PutAccessControlRuleRequest generates a "aws/request.Request" representing the client's request for the PutAccessControlRule 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 PutAccessControlRule for more information on using the PutAccessControlRule 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 PutAccessControlRuleRequest method.
req, resp := client.PutAccessControlRuleRequest(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/PutAccessControlRule

func (*WorkMail) PutAccessControlRuleWithContext

func (c *WorkMail) PutAccessControlRuleWithContext(ctx aws.Context, input *PutAccessControlRuleInput, opts ...request.Option) (*PutAccessControlRuleOutput, error)

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

See PutAccessControlRule 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) PutEmailMonitoringConfiguration

func (c *WorkMail) PutEmailMonitoringConfiguration(input *PutEmailMonitoringConfigurationInput) (*PutEmailMonitoringConfigurationOutput, error)

PutEmailMonitoringConfiguration API operation for Amazon WorkMail.

Creates or updates the email monitoring configuration for a 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 PutEmailMonitoringConfiguration for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource cannot be found.

  • 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) PutEmailMonitoringConfigurationRequest

func (c *WorkMail) PutEmailMonitoringConfigurationRequest(input *PutEmailMonitoringConfigurationInput) (req *request.Request, output *PutEmailMonitoringConfigurationOutput)

PutEmailMonitoringConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutEmailMonitoringConfiguration 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 PutEmailMonitoringConfiguration for more information on using the PutEmailMonitoringConfiguration 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 PutEmailMonitoringConfigurationRequest method.
req, resp := client.PutEmailMonitoringConfigurationRequest(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/PutEmailMonitoringConfiguration

func (*WorkMail) PutEmailMonitoringConfigurationWithContext

func (c *WorkMail) PutEmailMonitoringConfigurationWithContext(ctx aws.Context, input *PutEmailMonitoringConfigurationInput, opts ...request.Option) (*PutEmailMonitoringConfigurationOutput, error)

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

See PutEmailMonitoringConfiguration 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) PutInboundDmarcSettings

func (c *WorkMail) PutInboundDmarcSettings(input *PutInboundDmarcSettingsInput) (*PutInboundDmarcSettingsOutput, error)

PutInboundDmarcSettings API operation for Amazon WorkMail.

Enables or disables a DMARC policy for a given 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 PutInboundDmarcSettings 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) PutInboundDmarcSettingsRequest

func (c *WorkMail) PutInboundDmarcSettingsRequest(input *PutInboundDmarcSettingsInput) (req *request.Request, output *PutInboundDmarcSettingsOutput)

PutInboundDmarcSettingsRequest generates a "aws/request.Request" representing the client's request for the PutInboundDmarcSettings 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 PutInboundDmarcSettings for more information on using the PutInboundDmarcSettings 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 PutInboundDmarcSettingsRequest method.
req, resp := client.PutInboundDmarcSettingsRequest(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/PutInboundDmarcSettings

func (*WorkMail) PutInboundDmarcSettingsWithContext

func (c *WorkMail) PutInboundDmarcSettingsWithContext(ctx aws.Context, input *PutInboundDmarcSettingsInput, opts ...request.Option) (*PutInboundDmarcSettingsOutput, error)

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

See PutInboundDmarcSettings 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) PutMailboxPermissions

func (c *WorkMail) PutMailboxPermissions(input *PutMailboxPermissionsInput) (*PutMailboxPermissionsOutput, error)

PutMailboxPermissions API operation for Amazon WorkMail.

Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.

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 PutMailboxPermissions 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) PutMailboxPermissionsRequest

func (c *WorkMail) PutMailboxPermissionsRequest(input *PutMailboxPermissionsInput) (req *request.Request, output *PutMailboxPermissionsOutput)

PutMailboxPermissionsRequest generates a "aws/request.Request" representing the client's request for the PutMailboxPermissions 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 PutMailboxPermissions for more information on using the PutMailboxPermissions 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 PutMailboxPermissionsRequest method.
req, resp := client.PutMailboxPermissionsRequest(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/PutMailboxPermissions

func (*WorkMail) PutMailboxPermissionsWithContext

func (c *WorkMail) PutMailboxPermissionsWithContext(ctx aws.Context, input *PutMailboxPermissionsInput, opts ...request.Option) (*PutMailboxPermissionsOutput, error)

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

See PutMailboxPermissions 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) PutMobileDeviceAccessOverride

func (c *WorkMail) PutMobileDeviceAccessOverride(input *PutMobileDeviceAccessOverrideInput) (*PutMobileDeviceAccessOverrideOutput, error)

PutMobileDeviceAccessOverride API operation for Amazon WorkMail.

Creates or updates a mobile device access override for the given WorkMail organization, user, and device.

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 PutMobileDeviceAccessOverride 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 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.

  • 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.

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

func (*WorkMail) PutMobileDeviceAccessOverrideRequest

func (c *WorkMail) PutMobileDeviceAccessOverrideRequest(input *PutMobileDeviceAccessOverrideInput) (req *request.Request, output *PutMobileDeviceAccessOverrideOutput)

PutMobileDeviceAccessOverrideRequest generates a "aws/request.Request" representing the client's request for the PutMobileDeviceAccessOverride 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 PutMobileDeviceAccessOverride for more information on using the PutMobileDeviceAccessOverride 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 PutMobileDeviceAccessOverrideRequest method.
req, resp := client.PutMobileDeviceAccessOverrideRequest(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/PutMobileDeviceAccessOverride

func (*WorkMail) PutMobileDeviceAccessOverrideWithContext

func (c *WorkMail) PutMobileDeviceAccessOverrideWithContext(ctx aws.Context, input *PutMobileDeviceAccessOverrideInput, opts ...request.Option) (*PutMobileDeviceAccessOverrideOutput, error)

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

See PutMobileDeviceAccessOverride 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) PutRetentionPolicy

func (c *WorkMail) PutRetentionPolicy(input *PutRetentionPolicyInput) (*PutRetentionPolicyOutput, error)

PutRetentionPolicy API operation for Amazon WorkMail.

Puts a retention policy to 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 PutRetentionPolicy 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 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/PutRetentionPolicy

func (*WorkMail) PutRetentionPolicyRequest

func (c *WorkMail) PutRetentionPolicyRequest(input *PutRetentionPolicyInput) (req *request.Request, output *PutRetentionPolicyOutput)

PutRetentionPolicyRequest generates a "aws/request.Request" representing the client's request for the PutRetentionPolicy 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 PutRetentionPolicy for more information on using the PutRetentionPolicy 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 PutRetentionPolicyRequest method.
req, resp := client.PutRetentionPolicyRequest(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/PutRetentionPolicy

func (*WorkMail) PutRetentionPolicyWithContext

func (c *WorkMail) PutRetentionPolicyWithContext(ctx aws.Context, input *PutRetentionPolicyInput, opts ...request.Option) (*PutRetentionPolicyOutput, error)

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

See PutRetentionPolicy 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) RegisterMailDomain

func (c *WorkMail) RegisterMailDomain(input *RegisterMailDomainInput) (*RegisterMailDomainOutput, error)

RegisterMailDomain API operation for Amazon WorkMail.

Registers a new domain in WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has permanent permission to use the specified domain for sending your users' emails.

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 RegisterMailDomain for usage and error information.

Returned Error Types:

  • MailDomainInUseException The domain you're trying to change is in use by another user or organization in your account. See the error message for details.

  • 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 to perform certain operations on the organization or its members.

  • LimitExceededException The request exceeds the limit of the resource.

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

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

func (*WorkMail) RegisterMailDomainRequest

func (c *WorkMail) RegisterMailDomainRequest(input *RegisterMailDomainInput) (req *request.Request, output *RegisterMailDomainOutput)

RegisterMailDomainRequest generates a "aws/request.Request" representing the client's request for the RegisterMailDomain 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 RegisterMailDomain for more information on using the RegisterMailDomain 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 RegisterMailDomainRequest method.
req, resp := client.RegisterMailDomainRequest(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/RegisterMailDomain

func (*WorkMail) RegisterMailDomainWithContext

func (c *WorkMail) RegisterMailDomainWithContext(ctx aws.Context, input *RegisterMailDomainInput, opts ...request.Option) (*RegisterMailDomainOutput, error)

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

See RegisterMailDomain 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) RegisterToWorkMail

func (c *WorkMail) RegisterToWorkMail(input *RegisterToWorkMailInput) (*RegisterToWorkMailOutput, error)

RegisterToWorkMail API operation for Amazon WorkMail.

Registers an existing and disabled user, group, or resource for WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing (https://aws.amazon.com/workmail/pricing). The equivalent console functionality for this operation is Enable.

Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.

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 RegisterToWorkMail for usage and error information.

Returned Error Types:

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

  • DirectoryUnavailableException The directory is unavailable. It might be located in another Region or deleted.

  • 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.

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

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

  • MailDomainNotFoundException The domain specified is not found in your 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) RegisterToWorkMailRequest

func (c *WorkMail) RegisterToWorkMailRequest(input *RegisterToWorkMailInput) (req *request.Request, output *RegisterToWorkMailOutput)

RegisterToWorkMailRequest generates a "aws/request.Request" representing the client's request for the RegisterToWorkMail 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 RegisterToWorkMail for more information on using the RegisterToWorkMail 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 RegisterToWorkMailRequest method.
req, resp := client.RegisterToWorkMailRequest(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/RegisterToWorkMail

func (*WorkMail) RegisterToWorkMailWithContext

func (c *WorkMail) RegisterToWorkMailWithContext(ctx aws.Context, input *RegisterToWorkMailInput, opts ...request.Option) (*RegisterToWorkMailOutput, error)

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

See RegisterToWorkMail 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) ResetPassword

func (c *WorkMail) ResetPassword(input *ResetPasswordInput) (*ResetPasswordOutput, error)

ResetPassword API operation for Amazon WorkMail.

Allows the administrator to reset the password for a 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 ResetPassword for usage and error information.

Returned Error Types:

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

  • DirectoryUnavailableException The directory is unavailable. It might be located in another Region or deleted.

  • 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.

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

  • 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 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/ResetPassword

func (*WorkMail) ResetPasswordRequest

func (c *WorkMail) ResetPasswordRequest(input *ResetPasswordInput) (req *request.Request, output *ResetPasswordOutput)

ResetPasswordRequest generates a "aws/request.Request" representing the client's request for the ResetPassword 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 ResetPassword for more information on using the ResetPassword 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 ResetPasswordRequest method.
req, resp := client.ResetPasswordRequest(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/ResetPassword

func (*WorkMail) ResetPasswordWithContext

func (c *WorkMail) ResetPasswordWithContext(ctx aws.Context, input *ResetPasswordInput, opts ...request.Option) (*ResetPasswordOutput, error)

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

See ResetPassword 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) StartMailboxExportJob

func (c *WorkMail) StartMailboxExportJob(input *StartMailboxExportJobInput) (*StartMailboxExportJobOutput, error)

StartMailboxExportJob API operation for Amazon WorkMail.

Starts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content (https://docs.aws.amazon.com/workmail/latest/adminguide/mail-export.html) in the WorkMail Administrator Guide.

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 StartMailboxExportJob 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 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.

  • LimitExceededException The request exceeds the limit of the resource.

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

func (*WorkMail) StartMailboxExportJobRequest

func (c *WorkMail) StartMailboxExportJobRequest(input *StartMailboxExportJobInput) (req *request.Request, output *StartMailboxExportJobOutput)

StartMailboxExportJobRequest generates a "aws/request.Request" representing the client's request for the StartMailboxExportJob 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 StartMailboxExportJob for more information on using the StartMailboxExportJob 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 StartMailboxExportJobRequest method.
req, resp := client.StartMailboxExportJobRequest(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/StartMailboxExportJob

func (*WorkMail) StartMailboxExportJobWithContext

func (c *WorkMail) StartMailboxExportJobWithContext(ctx aws.Context, input *StartMailboxExportJobInput, opts ...request.Option) (*StartMailboxExportJobOutput, error)

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

See StartMailboxExportJob 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) TagResource

func (c *WorkMail) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon WorkMail.

Applies the specified tags to the specified WorkMailorganization 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 TagResource for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The resource cannot be found.

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

  • OrganizationStateException The organization must have a valid state to perform certain operations on the organization or its members.

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

func (*WorkMail) TagResourceRequest

func (c *WorkMail) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource 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 TagResource for more information on using the TagResource 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 TagResourceRequest method.
req, resp := client.TagResourceRequest(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/TagResource

func (*WorkMail) TagResourceWithContext

func (c *WorkMail) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

See TagResource 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) TestAvailabilityConfiguration

func (c *WorkMail) TestAvailabilityConfiguration(input *TestAvailabilityConfigurationInput) (*TestAvailabilityConfigurationOutput, error)

TestAvailabilityConfiguration API operation for Amazon WorkMail.

Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header.

The request must contain either one provider definition (EwsProvider or LambdaProvider) or the DomainName parameter. If the DomainName parameter is provided, the configuration stored under the DomainName will be tested.

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 TestAvailabilityConfiguration 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 to perform certain operations on the organization or its members.

  • ResourceNotFoundException The resource cannot be found.

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

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

func (*WorkMail) TestAvailabilityConfigurationRequest

func (c *WorkMail) TestAvailabilityConfigurationRequest(input *TestAvailabilityConfigurationInput) (req *request.Request, output *TestAvailabilityConfigurationOutput)

TestAvailabilityConfigurationRequest generates a "aws/request.Request" representing the client's request for the TestAvailabilityConfiguration 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 TestAvailabilityConfiguration for more information on using the TestAvailabilityConfiguration 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 TestAvailabilityConfigurationRequest method.
req, resp := client.TestAvailabilityConfigurationRequest(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/TestAvailabilityConfiguration

func (*WorkMail) TestAvailabilityConfigurationWithContext

func (c *WorkMail) TestAvailabilityConfigurationWithContext(ctx aws.Context, input *TestAvailabilityConfigurationInput, opts ...request.Option) (*TestAvailabilityConfigurationOutput, error)

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

See TestAvailabilityConfiguration 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) UntagResource

func (c *WorkMail) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon WorkMail.

Untags the specified tags from the specified WorkMail organization 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 UntagResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource cannot be found.

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

func (*WorkMail) UntagResourceRequest

func (c *WorkMail) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource 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 UntagResource for more information on using the UntagResource 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 UntagResourceRequest method.
req, resp := client.UntagResourceRequest(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/UntagResource

func (*WorkMail) UntagResourceWithContext

func (c *WorkMail) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

See UntagResource 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) UpdateAvailabilityConfiguration

func (c *WorkMail) UpdateAvailabilityConfiguration(input *UpdateAvailabilityConfigurationInput) (*UpdateAvailabilityConfigurationOutput, error)

UpdateAvailabilityConfiguration API operation for Amazon WorkMail.

Updates an existing AvailabilityConfiguration for the given WorkMail organization and domain.

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 UpdateAvailabilityConfiguration 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 to perform certain operations on the organization or its members.

  • ResourceNotFoundException The resource cannot be found.

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

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

func (*WorkMail) UpdateAvailabilityConfigurationRequest

func (c *WorkMail) UpdateAvailabilityConfigurationRequest(input *UpdateAvailabilityConfigurationInput) (req *request.Request, output *UpdateAvailabilityConfigurationOutput)

UpdateAvailabilityConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateAvailabilityConfiguration 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 UpdateAvailabilityConfiguration for more information on using the UpdateAvailabilityConfiguration 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 UpdateAvailabilityConfigurationRequest method.
req, resp := client.UpdateAvailabilityConfigurationRequest(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/UpdateAvailabilityConfiguration

func (*WorkMail) UpdateAvailabilityConfigurationWithContext

func (c *WorkMail) UpdateAvailabilityConfigurationWithContext(ctx aws.Context, input *UpdateAvailabilityConfigurationInput, opts ...request.Option) (*UpdateAvailabilityConfigurationOutput, error)

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

See UpdateAvailabilityConfiguration 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) UpdateDefaultMailDomain

func (c *WorkMail) UpdateDefaultMailDomain(input *UpdateDefaultMailDomainInput) (*UpdateDefaultMailDomainOutput, error)

UpdateDefaultMailDomain API operation for Amazon WorkMail.

Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.

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 UpdateDefaultMailDomain for usage and error information.

Returned Error Types:

  • MailDomainNotFoundException The domain specified is not found in your 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 to perform certain operations on the organization or its members.

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

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

func (*WorkMail) UpdateDefaultMailDomainRequest

func (c *WorkMail) UpdateDefaultMailDomainRequest(input *UpdateDefaultMailDomainInput) (req *request.Request, output *UpdateDefaultMailDomainOutput)

UpdateDefaultMailDomainRequest generates a "aws/request.Request" representing the client's request for the UpdateDefaultMailDomain 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 UpdateDefaultMailDomain for more information on using the UpdateDefaultMailDomain 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 UpdateDefaultMailDomainRequest method.
req, resp := client.UpdateDefaultMailDomainRequest(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/UpdateDefaultMailDomain

func (*WorkMail) UpdateDefaultMailDomainWithContext

func (c *WorkMail) UpdateDefaultMailDomainWithContext(ctx aws.Context, input *UpdateDefaultMailDomainInput, opts ...request.Option) (*UpdateDefaultMailDomainOutput, error)

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

See UpdateDefaultMailDomain 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) UpdateGroup

func (c *WorkMail) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error)

UpdateGroup API operation for Amazon WorkMail.

Updates attibutes in 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 UpdateGroup 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.

  • 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 to perform certain operations on the organization or its members.

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

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

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

func (*WorkMail) UpdateGroupRequest

func (c *WorkMail) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput)

UpdateGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateGroup 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 UpdateGroup for more information on using the UpdateGroup 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 UpdateGroupRequest method.
req, resp := client.UpdateGroupRequest(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/UpdateGroup

func (*WorkMail) UpdateGroupWithContext

func (c *WorkMail) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error)

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

See UpdateGroup 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) UpdateImpersonationRole

func (c *WorkMail) UpdateImpersonationRole(input *UpdateImpersonationRoleInput) (*UpdateImpersonationRoleOutput, error)

UpdateImpersonationRole API operation for Amazon WorkMail.

Updates an impersonation role for the given 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 UpdateImpersonationRole 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 to perform certain operations on the organization or its members.

  • ResourceNotFoundException The resource cannot be found.

  • 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.

  • LimitExceededException The request exceeds the limit of the resource.

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

func (*WorkMail) UpdateImpersonationRoleRequest

func (c *WorkMail) UpdateImpersonationRoleRequest(input *UpdateImpersonationRoleInput) (req *request.Request, output *UpdateImpersonationRoleOutput)

UpdateImpersonationRoleRequest generates a "aws/request.Request" representing the client's request for the UpdateImpersonationRole 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 UpdateImpersonationRole for more information on using the UpdateImpersonationRole 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 UpdateImpersonationRoleRequest method.
req, resp := client.UpdateImpersonationRoleRequest(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/UpdateImpersonationRole

func (*WorkMail) UpdateImpersonationRoleWithContext

func (c *WorkMail) UpdateImpersonationRoleWithContext(ctx aws.Context, input *UpdateImpersonationRoleInput, opts ...request.Option) (*UpdateImpersonationRoleOutput, error)

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

See UpdateImpersonationRole 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) UpdateMailboxQuota

func (c *WorkMail) UpdateMailboxQuota(input *UpdateMailboxQuotaInput) (*UpdateMailboxQuotaOutput, error)

UpdateMailboxQuota API operation for Amazon WorkMail.

Updates a user's current mailbox quota 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 UpdateMailboxQuota 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 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.

  • 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.

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

func (*WorkMail) UpdateMailboxQuotaRequest

func (c *WorkMail) UpdateMailboxQuotaRequest(input *UpdateMailboxQuotaInput) (req *request.Request, output *UpdateMailboxQuotaOutput)

UpdateMailboxQuotaRequest generates a "aws/request.Request" representing the client's request for the UpdateMailboxQuota 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 UpdateMailboxQuota for more information on using the UpdateMailboxQuota 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 UpdateMailboxQuotaRequest method.
req, resp := client.UpdateMailboxQuotaRequest(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/UpdateMailboxQuota

func (*WorkMail) UpdateMailboxQuotaWithContext

func (c *WorkMail) UpdateMailboxQuotaWithContext(ctx aws.Context, input *UpdateMailboxQuotaInput, opts ...request.Option) (*UpdateMailboxQuotaOutput, error)

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

See UpdateMailboxQuota 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) UpdateMobileDeviceAccessRule

func (c *WorkMail) UpdateMobileDeviceAccessRule(input *UpdateMobileDeviceAccessRuleInput) (*UpdateMobileDeviceAccessRuleOutput, error)

UpdateMobileDeviceAccessRule API operation for Amazon WorkMail.

Updates a mobile device access 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 UpdateMobileDeviceAccessRule for usage and error information.

Returned Error Types:

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

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

  • 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 to perform certain operations on the organization or its members.

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

func (*WorkMail) UpdateMobileDeviceAccessRuleRequest

func (c *WorkMail) UpdateMobileDeviceAccessRuleRequest(input *UpdateMobileDeviceAccessRuleInput) (req *request.Request, output *UpdateMobileDeviceAccessRuleOutput)

UpdateMobileDeviceAccessRuleRequest generates a "aws/request.Request" representing the client's request for the UpdateMobileDeviceAccessRule 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 UpdateMobileDeviceAccessRule for more information on using the UpdateMobileDeviceAccessRule 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 UpdateMobileDeviceAccessRuleRequest method.
req, resp := client.UpdateMobileDeviceAccessRuleRequest(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/UpdateMobileDeviceAccessRule

func (*WorkMail) UpdateMobileDeviceAccessRuleWithContext

func (c *WorkMail) UpdateMobileDeviceAccessRuleWithContext(ctx aws.Context, input *UpdateMobileDeviceAccessRuleInput, opts ...request.Option) (*UpdateMobileDeviceAccessRuleOutput, error)

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

See UpdateMobileDeviceAccessRule 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) UpdatePrimaryEmailAddress

func (c *WorkMail) UpdatePrimaryEmailAddress(input *UpdatePrimaryEmailAddressInput) (*UpdatePrimaryEmailAddressOutput, error)

UpdatePrimaryEmailAddress API operation for Amazon WorkMail.

Updates the primary email for a user, group, or resource. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email), and the email provided in the input is promoted as the primary.

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 UpdatePrimaryEmailAddress for usage and error information.

Returned Error Types:

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

  • DirectoryUnavailableException The directory is unavailable. It might be located in another Region or deleted.

  • 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 The domain specified is not found in your organization.

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

  • 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 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/UpdatePrimaryEmailAddress

func (*WorkMail) UpdatePrimaryEmailAddressRequest

func (c *WorkMail) UpdatePrimaryEmailAddressRequest(input *UpdatePrimaryEmailAddressInput) (req *request.Request, output *UpdatePrimaryEmailAddressOutput)

UpdatePrimaryEmailAddressRequest generates a "aws/request.Request" representing the client's request for the UpdatePrimaryEmailAddress 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 UpdatePrimaryEmailAddress for more information on using the UpdatePrimaryEmailAddress 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 UpdatePrimaryEmailAddressRequest method.
req, resp := client.UpdatePrimaryEmailAddressRequest(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/UpdatePrimaryEmailAddress

func (*WorkMail) UpdatePrimaryEmailAddressWithContext

func (c *WorkMail) UpdatePrimaryEmailAddressWithContext(ctx aws.Context, input *UpdatePrimaryEmailAddressInput, opts ...request.Option) (*UpdatePrimaryEmailAddressOutput, error)

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

See UpdatePrimaryEmailAddress 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) UpdateResource

func (c *WorkMail) UpdateResource(input *UpdateResourceInput) (*UpdateResourceOutput, error)

UpdateResource API operation for Amazon WorkMail.

Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource call. The dataset in the request should be the one expected when performing another DescribeResource call.

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 UpdateResource for usage and error information.

Returned Error Types:

  • DirectoryUnavailableException The directory is unavailable. It might be located in another Region or deleted.

  • 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.

  • 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.

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

  • MailDomainNotFoundException The domain specified is not found in your organization.

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

  • NameAvailabilityException The user, group, or resource name isn't unique in 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 to perform certain operations on the organization or its members.

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

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

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

func (*WorkMail) UpdateResourceRequest

func (c *WorkMail) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *UpdateResourceOutput)

UpdateResourceRequest generates a "aws/request.Request" representing the client's request for the UpdateResource 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 UpdateResource for more information on using the UpdateResource 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 UpdateResourceRequest method.
req, resp := client.UpdateResourceRequest(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/UpdateResource

func (*WorkMail) UpdateResourceWithContext

func (c *WorkMail) UpdateResourceWithContext(ctx aws.Context, input *UpdateResourceInput, opts ...request.Option) (*UpdateResourceOutput, error)

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

See UpdateResource 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) UpdateUser

func (c *WorkMail) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error)

UpdateUser API operation for Amazon WorkMail.

Updates data for the user. To have the latest information, it must be preceded by a DescribeUser call. The dataset in the request should be the one expected when performing another DescribeUser call.

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 UpdateUser for usage and error information.

Returned Error Types:

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

  • DirectoryUnavailableException The directory is unavailable. It might be located in another Region or deleted.

  • 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 to perform certain operations on the organization or its members.

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

  • 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.

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

func (*WorkMail) UpdateUserRequest

func (c *WorkMail) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput)

UpdateUserRequest generates a "aws/request.Request" representing the client's request for the UpdateUser 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 UpdateUser for more information on using the UpdateUser 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 UpdateUserRequest method.
req, resp := client.UpdateUserRequest(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/UpdateUser

func (*WorkMail) UpdateUserWithContext

func (c *WorkMail) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput, opts ...request.Option) (*UpdateUserOutput, error)

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

See UpdateUser 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.

Directories

Path Synopsis
Package workmailiface provides an interface to enable mocking the Amazon WorkMail service client for testing your code.
Package workmailiface provides an interface to enable mocking the Amazon WorkMail service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL