func AccessControlRuleEffect_Values() []string
AccessControlRuleEffect_Values returns all elements of the AccessControlRuleEffect enum
func AvailabilityProviderType_Values() []string
AvailabilityProviderType_Values returns all elements of the AvailabilityProviderType enum
func DnsRecordVerificationStatus_Values() []string
DnsRecordVerificationStatus_Values returns all elements of the DnsRecordVerificationStatus enum
func EntityState_Values() []string
EntityState_Values returns all elements of the EntityState enum
func FolderName_Values() []string
FolderName_Values returns all elements of the FolderName enum
func MailboxExportJobState_Values() []string
MailboxExportJobState_Values returns all elements of the MailboxExportJobState enum
func MemberType_Values() []string
MemberType_Values returns all elements of the MemberType enum
func MobileDeviceAccessRuleEffect_Values() []string
MobileDeviceAccessRuleEffect_Values returns all elements of the MobileDeviceAccessRuleEffect enum
func PermissionType_Values() []string
PermissionType_Values returns all elements of the PermissionType enum
func ResourceType_Values() []string
ResourceType_Values returns all elements of the ResourceType enum
func RetentionAction_Values() []string
RetentionAction_Values returns all elements of the RetentionAction enum
func UserRole_Values() []string
UserRole_Values returns all elements of the UserRole enum
type AccessControlRule struct { // Access protocol actions to include in the rule. Valid values include ActiveSync, // AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail. Actions []*string `type:"list"` // The date that the rule was created. DateCreated *time.Time `type:"timestamp"` // The date that the rule was modified. DateModified *time.Time `type:"timestamp"` // The rule description. Description *string `type:"string"` // The rule effect. Effect *string `type:"string" enum:"AccessControlRuleEffect"` // IPv4 CIDR ranges to include in the rule. IpRanges []*string `type:"list"` // The rule name. Name *string `min:"1" type:"string"` // Access protocol actions to exclude from the rule. Valid values include ActiveSync, // AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail. NotActions []*string `type:"list"` // IPv4 CIDR ranges to exclude from the rule. NotIpRanges []*string `type:"list"` // User IDs to exclude from the rule. NotUserIds []*string `type:"list"` // User IDs to include in the rule. UserIds []*string `type:"list"` // contains filtered or unexported fields }
A rule that controls access to an Amazon WorkMail organization.
func (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 (s *AccessControlRule) SetActions(v []*string) *AccessControlRule
SetActions sets the Actions field's value.
func (s *AccessControlRule) SetDateCreated(v time.Time) *AccessControlRule
SetDateCreated sets the DateCreated field's value.
func (s *AccessControlRule) SetDateModified(v time.Time) *AccessControlRule
SetDateModified sets the DateModified field's value.
func (s *AccessControlRule) SetDescription(v string) *AccessControlRule
SetDescription sets the Description field's value.
func (s *AccessControlRule) SetEffect(v string) *AccessControlRule
SetEffect sets the Effect field's value.
func (s *AccessControlRule) SetIpRanges(v []*string) *AccessControlRule
SetIpRanges sets the IpRanges field's value.
func (s *AccessControlRule) SetName(v string) *AccessControlRule
SetName sets the Name field's value.
func (s *AccessControlRule) SetNotActions(v []*string) *AccessControlRule
SetNotActions sets the NotActions field's value.
func (s *AccessControlRule) SetNotIpRanges(v []*string) *AccessControlRule
SetNotIpRanges sets the NotIpRanges field's value.
func (s *AccessControlRule) SetNotUserIds(v []*string) *AccessControlRule
SetNotUserIds sets the NotUserIds field's value.
func (s *AccessControlRule) SetUserIds(v []*string) *AccessControlRule
SetUserIds sets the UserIds field's value.
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 struct { // The member (user or group) to associate to the resource. // // EntityId is a required field EntityId *string `min:"12" type:"string" required:"true"` // The organization under which the resource exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // The resource for which members (users or groups) are associated. // // ResourceId is a required field ResourceId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
func (s AssociateDelegateToResourceInput) 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 (s *AssociateDelegateToResourceInput) SetEntityId(v string) *AssociateDelegateToResourceInput
SetEntityId sets the EntityId field's value.
func (s *AssociateDelegateToResourceInput) SetOrganizationId(v string) *AssociateDelegateToResourceInput
SetOrganizationId sets the OrganizationId field's value.
func (s *AssociateDelegateToResourceInput) SetResourceId(v string) *AssociateDelegateToResourceInput
SetResourceId sets the ResourceId field's value.
func (s AssociateDelegateToResourceInput) 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 (s *AssociateDelegateToResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateDelegateToResourceOutput struct {
// contains filtered or unexported fields
}
func (s AssociateDelegateToResourceOutput) 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 (s AssociateDelegateToResourceOutput) 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 AssociateMemberToGroupInput struct { // The group to which the member (user or group) is associated. // // GroupId is a required field GroupId *string `min:"12" type:"string" required:"true"` // The member (user or group) to associate to the group. // // MemberId is a required field MemberId *string `min:"12" type:"string" required:"true"` // The organization under which the group exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *AssociateMemberToGroupInput) SetGroupId(v string) *AssociateMemberToGroupInput
SetGroupId sets the GroupId field's value.
func (s *AssociateMemberToGroupInput) SetMemberId(v string) *AssociateMemberToGroupInput
SetMemberId sets the MemberId field's value.
func (s *AssociateMemberToGroupInput) SetOrganizationId(v string) *AssociateMemberToGroupInput
SetOrganizationId sets the OrganizationId field's value.
func (s AssociateMemberToGroupInput) 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 (s *AssociateMemberToGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateMemberToGroupOutput struct {
// contains filtered or unexported fields
}
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 (s AssociateMemberToGroupOutput) 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 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 requried. 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 (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 (s *AvailabilityConfiguration) SetDateCreated(v time.Time) *AvailabilityConfiguration
SetDateCreated sets the DateCreated field's value.
func (s *AvailabilityConfiguration) SetDateModified(v time.Time) *AvailabilityConfiguration
SetDateModified sets the DateModified field's value.
func (s *AvailabilityConfiguration) SetDomainName(v string) *AvailabilityConfiguration
SetDomainName sets the DomainName field's value.
func (s *AvailabilityConfiguration) SetEwsProvider(v *RedactedEwsAvailabilityProvider) *AvailabilityConfiguration
SetEwsProvider sets the EwsProvider field's value.
func (s *AvailabilityConfiguration) SetLambdaProvider(v *LambdaAvailabilityProvider) *AvailabilityConfiguration
SetLambdaProvider sets the LambdaProvider field's value.
func (s *AvailabilityConfiguration) SetProviderType(v string) *AvailabilityConfiguration
SetProviderType sets the ProviderType field's value.
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 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 (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 (s *BookingOptions) SetAutoAcceptRequests(v bool) *BookingOptions
SetAutoAcceptRequests sets the AutoAcceptRequests field's value.
func (s *BookingOptions) SetAutoDeclineConflictingRequests(v bool) *BookingOptions
SetAutoDeclineConflictingRequests sets the AutoDeclineConflictingRequests field's value.
func (s *BookingOptions) SetAutoDeclineRecurringRequests(v bool) *BookingOptions
SetAutoDeclineRecurringRequests sets the AutoDeclineRecurringRequests field's value.
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 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 (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 (s *CancelMailboxExportJobInput) SetClientToken(v string) *CancelMailboxExportJobInput
SetClientToken sets the ClientToken field's value.
func (s *CancelMailboxExportJobInput) SetJobId(v string) *CancelMailboxExportJobInput
SetJobId sets the JobId field's value.
func (s *CancelMailboxExportJobInput) SetOrganizationId(v string) *CancelMailboxExportJobInput
SetOrganizationId sets the OrganizationId field's value.
func (s CancelMailboxExportJobInput) 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 (s *CancelMailboxExportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelMailboxExportJobOutput struct {
// contains filtered or unexported fields
}
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 (s CancelMailboxExportJobOutput) 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 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 (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 (s *CreateAliasInput) SetAlias(v string) *CreateAliasInput
SetAlias sets the Alias field's value.
func (s *CreateAliasInput) SetEntityId(v string) *CreateAliasInput
SetEntityId sets the EntityId field's value.
func (s *CreateAliasInput) SetOrganizationId(v string) *CreateAliasInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *CreateAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAliasOutput struct {
// contains filtered or unexported fields
}
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 (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 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 Amazon 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 (s CreateAvailabilityConfigurationInput) 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 (s *CreateAvailabilityConfigurationInput) SetClientToken(v string) *CreateAvailabilityConfigurationInput
SetClientToken sets the ClientToken field's value.
func (s *CreateAvailabilityConfigurationInput) SetDomainName(v string) *CreateAvailabilityConfigurationInput
SetDomainName sets the DomainName field's value.
func (s *CreateAvailabilityConfigurationInput) SetEwsProvider(v *EwsAvailabilityProvider) *CreateAvailabilityConfigurationInput
SetEwsProvider sets the EwsProvider field's value.
func (s *CreateAvailabilityConfigurationInput) SetLambdaProvider(v *LambdaAvailabilityProvider) *CreateAvailabilityConfigurationInput
SetLambdaProvider sets the LambdaProvider field's value.
func (s *CreateAvailabilityConfigurationInput) SetOrganizationId(v string) *CreateAvailabilityConfigurationInput
SetOrganizationId sets the OrganizationId field's value.
func (s CreateAvailabilityConfigurationInput) 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 (s *CreateAvailabilityConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAvailabilityConfigurationOutput struct {
// contains filtered or unexported fields
}
func (s CreateAvailabilityConfigurationOutput) 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 (s CreateAvailabilityConfigurationOutput) 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 CreateGroupInput struct { // The name of the group. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The organization under which the group is to be created. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *CreateGroupInput) SetName(v string) *CreateGroupInput
SetName sets the Name field's value.
func (s *CreateGroupInput) SetOrganizationId(v string) *CreateGroupInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *CreateGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateGroupOutput struct { // The identifier of the group. GroupId *string `min:"12" type:"string"` // contains filtered or unexported fields }
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 (s *CreateGroupOutput) SetGroupId(v string) *CreateGroupOutput
SetGroupId sets the GroupId field's value.
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 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 Amazon 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 (s CreateMobileDeviceAccessRuleInput) 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 (s *CreateMobileDeviceAccessRuleInput) SetClientToken(v string) *CreateMobileDeviceAccessRuleInput
SetClientToken sets the ClientToken field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetDescription(v string) *CreateMobileDeviceAccessRuleInput
SetDescription sets the Description field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetDeviceModels(v []*string) *CreateMobileDeviceAccessRuleInput
SetDeviceModels sets the DeviceModels field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetDeviceOperatingSystems(v []*string) *CreateMobileDeviceAccessRuleInput
SetDeviceOperatingSystems sets the DeviceOperatingSystems field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetDeviceTypes(v []*string) *CreateMobileDeviceAccessRuleInput
SetDeviceTypes sets the DeviceTypes field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetDeviceUserAgents(v []*string) *CreateMobileDeviceAccessRuleInput
SetDeviceUserAgents sets the DeviceUserAgents field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetEffect(v string) *CreateMobileDeviceAccessRuleInput
SetEffect sets the Effect field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetName(v string) *CreateMobileDeviceAccessRuleInput
SetName sets the Name field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetNotDeviceModels(v []*string) *CreateMobileDeviceAccessRuleInput
SetNotDeviceModels sets the NotDeviceModels field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetNotDeviceOperatingSystems(v []*string) *CreateMobileDeviceAccessRuleInput
SetNotDeviceOperatingSystems sets the NotDeviceOperatingSystems field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetNotDeviceTypes(v []*string) *CreateMobileDeviceAccessRuleInput
SetNotDeviceTypes sets the NotDeviceTypes field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetNotDeviceUserAgents(v []*string) *CreateMobileDeviceAccessRuleInput
SetNotDeviceUserAgents sets the NotDeviceUserAgents field's value.
func (s *CreateMobileDeviceAccessRuleInput) SetOrganizationId(v string) *CreateMobileDeviceAccessRuleInput
SetOrganizationId sets the OrganizationId field's value.
func (s CreateMobileDeviceAccessRuleInput) 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 (s *CreateMobileDeviceAccessRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateMobileDeviceAccessRuleOutput) 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 (s *CreateMobileDeviceAccessRuleOutput) SetMobileDeviceAccessRuleId(v string) *CreateMobileDeviceAccessRuleOutput
SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.
func (s CreateMobileDeviceAccessRuleOutput) 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 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 Amazon WorkMail and // Microsoft Exchange. Can only be set to true if an AD Connector directory // ID is included in the request. EnableInteroperability *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a customer managed master key from AWS // KMS. KmsKeyArn *string `min:"20" type:"string"` // contains filtered or unexported fields }
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 (s *CreateOrganizationInput) SetAlias(v string) *CreateOrganizationInput
SetAlias sets the Alias field's value.
func (s *CreateOrganizationInput) SetClientToken(v string) *CreateOrganizationInput
SetClientToken sets the ClientToken field's value.
func (s *CreateOrganizationInput) SetDirectoryId(v string) *CreateOrganizationInput
SetDirectoryId sets the DirectoryId field's value.
func (s *CreateOrganizationInput) SetDomains(v []*Domain) *CreateOrganizationInput
SetDomains sets the Domains field's value.
func (s *CreateOrganizationInput) SetEnableInteroperability(v bool) *CreateOrganizationInput
SetEnableInteroperability sets the EnableInteroperability field's value.
func (s *CreateOrganizationInput) SetKmsKeyArn(v string) *CreateOrganizationInput
SetKmsKeyArn sets the KmsKeyArn field's value.
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 (s *CreateOrganizationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateOrganizationOutput struct { // The organization ID. OrganizationId *string `min:"34" type:"string"` // contains filtered or unexported fields }
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 (s *CreateOrganizationOutput) SetOrganizationId(v string) *CreateOrganizationOutput
SetOrganizationId sets the OrganizationId field's value.
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 struct { // The name of the new resource. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The identifier associated with the organization for which the resource is // created. // // OrganizationId is a required field OrganizationId *string `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 (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 (s *CreateResourceInput) SetName(v string) *CreateResourceInput
SetName sets the Name field's value.
func (s *CreateResourceInput) SetOrganizationId(v string) *CreateResourceInput
SetOrganizationId sets the OrganizationId field's value.
func (s *CreateResourceInput) SetType(v string) *CreateResourceInput
SetType sets the Type field's value.
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 (s *CreateResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResourceOutput struct { // The identifier of the new resource. ResourceId *string `min:"34" type:"string"` // contains filtered or unexported fields }
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 (s *CreateResourceOutput) SetResourceId(v string) *CreateResourceOutput
SetResourceId sets the ResourceId field's value.
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 struct { // The display name for the new user. // // DisplayName is a required field DisplayName *string `type:"string" required:"true"` // The name for the new user. 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 is a required field Password *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
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 (s *CreateUserInput) SetDisplayName(v string) *CreateUserInput
SetDisplayName sets the DisplayName field's value.
func (s *CreateUserInput) SetName(v string) *CreateUserInput
SetName sets the Name field's value.
func (s *CreateUserInput) SetOrganizationId(v string) *CreateUserInput
SetOrganizationId sets the OrganizationId field's value.
func (s *CreateUserInput) SetPassword(v string) *CreateUserInput
SetPassword sets the Password field's value.
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 (s *CreateUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateUserOutput struct { // The identifier for the new user. UserId *string `min:"12" type:"string"` // contains filtered or unexported fields }
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 (s *CreateUserOutput) SetUserId(v string) *CreateUserOutput
SetUserId sets the UserId field's value.
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 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 (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 (s *Delegate) SetId(v string) *Delegate
SetId sets the Id field's value.
func (s *Delegate) SetType(v string) *Delegate
SetType sets the Type field's value.
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 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 (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 (s *DeleteAccessControlRuleInput) SetName(v string) *DeleteAccessControlRuleInput
SetName sets the Name field's value.
func (s *DeleteAccessControlRuleInput) SetOrganizationId(v string) *DeleteAccessControlRuleInput
SetOrganizationId sets the OrganizationId field's value.
func (s DeleteAccessControlRuleInput) 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 (s *DeleteAccessControlRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAccessControlRuleOutput struct {
// contains filtered or unexported fields
}
func (s DeleteAccessControlRuleOutput) 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 (s DeleteAccessControlRuleOutput) 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 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 (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 (s *DeleteAliasInput) SetAlias(v string) *DeleteAliasInput
SetAlias sets the Alias field's value.
func (s *DeleteAliasInput) SetEntityId(v string) *DeleteAliasInput
SetEntityId sets the EntityId field's value.
func (s *DeleteAliasInput) SetOrganizationId(v string) *DeleteAliasInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *DeleteAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAliasOutput struct {
// contains filtered or unexported fields
}
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 (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 struct { // The domain for which the AvailabilityConfiguration will be deleted. // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The Amazon 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 (s DeleteAvailabilityConfigurationInput) 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 (s *DeleteAvailabilityConfigurationInput) SetDomainName(v string) *DeleteAvailabilityConfigurationInput
SetDomainName sets the DomainName field's value.
func (s *DeleteAvailabilityConfigurationInput) SetOrganizationId(v string) *DeleteAvailabilityConfigurationInput
SetOrganizationId sets the OrganizationId field's value.
func (s DeleteAvailabilityConfigurationInput) 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 (s *DeleteAvailabilityConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAvailabilityConfigurationOutput struct {
// contains filtered or unexported fields
}
func (s DeleteAvailabilityConfigurationOutput) 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 (s DeleteAvailabilityConfigurationOutput) 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 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 (s DeleteEmailMonitoringConfigurationInput) 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 (s *DeleteEmailMonitoringConfigurationInput) SetOrganizationId(v string) *DeleteEmailMonitoringConfigurationInput
SetOrganizationId sets the OrganizationId field's value.
func (s DeleteEmailMonitoringConfigurationInput) 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 (s *DeleteEmailMonitoringConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEmailMonitoringConfigurationOutput struct {
// contains filtered or unexported fields
}
func (s DeleteEmailMonitoringConfigurationOutput) 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 (s DeleteEmailMonitoringConfigurationOutput) 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 DeleteGroupInput struct { // The identifier of the group to be deleted. // // GroupId is a required field GroupId *string `min:"12" type:"string" required:"true"` // The organization that contains the group. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *DeleteGroupInput) SetGroupId(v string) *DeleteGroupInput
SetGroupId sets the GroupId field's value.
func (s *DeleteGroupInput) SetOrganizationId(v string) *DeleteGroupInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *DeleteGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteGroupOutput struct {
// contains filtered or unexported fields
}
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 (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 DeleteMailboxPermissionsInput struct { // The identifier of the member (user or group) that owns the mailbox. // // EntityId is a required field EntityId *string `min:"12" type:"string" required:"true"` // The identifier of the member (user or group) for which to delete granted // permissions. // // GranteeId is a required field GranteeId *string `min:"12" type:"string" required:"true"` // The identifier of the organization under which the member (user or group) // exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteMailboxPermissionsInput) 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 (s *DeleteMailboxPermissionsInput) SetEntityId(v string) *DeleteMailboxPermissionsInput
SetEntityId sets the EntityId field's value.
func (s *DeleteMailboxPermissionsInput) SetGranteeId(v string) *DeleteMailboxPermissionsInput
SetGranteeId sets the GranteeId field's value.
func (s *DeleteMailboxPermissionsInput) SetOrganizationId(v string) *DeleteMailboxPermissionsInput
SetOrganizationId sets the OrganizationId field's value.
func (s DeleteMailboxPermissionsInput) 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 (s *DeleteMailboxPermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMailboxPermissionsOutput struct {
// contains filtered or unexported fields
}
func (s DeleteMailboxPermissionsOutput) 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 (s DeleteMailboxPermissionsOutput) 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 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 Amazon 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 (s DeleteMobileDeviceAccessOverrideInput) 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 (s *DeleteMobileDeviceAccessOverrideInput) SetDeviceId(v string) *DeleteMobileDeviceAccessOverrideInput
SetDeviceId sets the DeviceId field's value.
func (s *DeleteMobileDeviceAccessOverrideInput) SetOrganizationId(v string) *DeleteMobileDeviceAccessOverrideInput
SetOrganizationId sets the OrganizationId field's value.
func (s *DeleteMobileDeviceAccessOverrideInput) SetUserId(v string) *DeleteMobileDeviceAccessOverrideInput
SetUserId sets the UserId field's value.
func (s DeleteMobileDeviceAccessOverrideInput) 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 (s *DeleteMobileDeviceAccessOverrideInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMobileDeviceAccessOverrideOutput struct {
// contains filtered or unexported fields
}
func (s DeleteMobileDeviceAccessOverrideOutput) 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 (s DeleteMobileDeviceAccessOverrideOutput) 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 DeleteMobileDeviceAccessRuleInput struct { // The identifier of the rule to be deleted. // // MobileDeviceAccessRuleId is a required field MobileDeviceAccessRuleId *string `min:"1" type:"string" required:"true"` // The Amazon 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 (s DeleteMobileDeviceAccessRuleInput) 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 (s *DeleteMobileDeviceAccessRuleInput) SetMobileDeviceAccessRuleId(v string) *DeleteMobileDeviceAccessRuleInput
SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.
func (s *DeleteMobileDeviceAccessRuleInput) SetOrganizationId(v string) *DeleteMobileDeviceAccessRuleInput
SetOrganizationId sets the OrganizationId field's value.
func (s DeleteMobileDeviceAccessRuleInput) 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 (s *DeleteMobileDeviceAccessRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMobileDeviceAccessRuleOutput struct {
// contains filtered or unexported fields
}
func (s DeleteMobileDeviceAccessRuleOutput) 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 (s DeleteMobileDeviceAccessRuleOutput) 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 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"` // The organization ID. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *DeleteOrganizationInput) SetClientToken(v string) *DeleteOrganizationInput
SetClientToken sets the ClientToken field's value.
func (s *DeleteOrganizationInput) SetDeleteDirectory(v bool) *DeleteOrganizationInput
SetDeleteDirectory sets the DeleteDirectory field's value.
func (s *DeleteOrganizationInput) SetOrganizationId(v string) *DeleteOrganizationInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *DeleteOrganizationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteOrganizationOutput) SetOrganizationId(v string) *DeleteOrganizationOutput
SetOrganizationId sets the OrganizationId field's value.
func (s *DeleteOrganizationOutput) SetState(v string) *DeleteOrganizationOutput
SetState sets the State field's value.
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 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. // // ResourceId is a required field ResourceId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *DeleteResourceInput) SetOrganizationId(v string) *DeleteResourceInput
SetOrganizationId sets the OrganizationId field's value.
func (s *DeleteResourceInput) SetResourceId(v string) *DeleteResourceInput
SetResourceId sets the ResourceId field's value.
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 (s *DeleteResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResourceOutput struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *DeleteRetentionPolicyInput) SetId(v string) *DeleteRetentionPolicyInput
SetId sets the Id field's value.
func (s *DeleteRetentionPolicyInput) SetOrganizationId(v string) *DeleteRetentionPolicyInput
SetOrganizationId sets the OrganizationId field's value.
func (s DeleteRetentionPolicyInput) 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 (s *DeleteRetentionPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRetentionPolicyOutput struct {
// contains filtered or unexported fields
}
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 (s DeleteRetentionPolicyOutput) 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 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. // // UserId is a required field UserId *string `min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *DeleteUserInput) SetOrganizationId(v string) *DeleteUserInput
SetOrganizationId sets the OrganizationId field's value.
func (s *DeleteUserInput) SetUserId(v string) *DeleteUserInput
SetUserId sets the UserId field's value.
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 (s *DeleteUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteUserOutput struct {
// contains filtered or unexported fields
}
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 (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 struct { // The identifier for the member (user or group) to be updated. // // EntityId is a required field EntityId *string `min:"12" type:"string" required:"true"` // The identifier for the organization under which the Amazon WorkMail entity // exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *DeregisterFromWorkMailInput) SetEntityId(v string) *DeregisterFromWorkMailInput
SetEntityId sets the EntityId field's value.
func (s *DeregisterFromWorkMailInput) SetOrganizationId(v string) *DeregisterFromWorkMailInput
SetOrganizationId sets the OrganizationId field's value.
func (s DeregisterFromWorkMailInput) 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 (s *DeregisterFromWorkMailInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterFromWorkMailOutput struct {
// contains filtered or unexported fields
}
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 (s DeregisterFromWorkMailOutput) 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 DeregisterMailDomainInput struct { // The domain to deregister in WorkMail and SES. // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The Amazon 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 (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 (s *DeregisterMailDomainInput) SetDomainName(v string) *DeregisterMailDomainInput
SetDomainName sets the DomainName field's value.
func (s *DeregisterMailDomainInput) SetOrganizationId(v string) *DeregisterMailDomainInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *DeregisterMailDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterMailDomainOutput struct {
// contains filtered or unexported fields
}
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 (s DeregisterMailDomainOutput) 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 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 (s DescribeEmailMonitoringConfigurationInput) 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 (s *DescribeEmailMonitoringConfigurationInput) SetOrganizationId(v string) *DescribeEmailMonitoringConfigurationInput
SetOrganizationId sets the OrganizationId field's value.
func (s DescribeEmailMonitoringConfigurationInput) 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 (s *DescribeEmailMonitoringConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeEmailMonitoringConfigurationOutput) 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 (s *DescribeEmailMonitoringConfigurationOutput) SetLogGroupArn(v string) *DescribeEmailMonitoringConfigurationOutput
SetLogGroupArn sets the LogGroupArn field's value.
func (s *DescribeEmailMonitoringConfigurationOutput) SetRoleArn(v string) *DescribeEmailMonitoringConfigurationOutput
SetRoleArn sets the RoleArn field's value.
func (s DescribeEmailMonitoringConfigurationOutput) 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 struct { // The identifier for the group to be described. // // GroupId is a required field GroupId *string `min:"12" type:"string" required:"true"` // The identifier for the organization under which the group exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *DescribeGroupInput) SetGroupId(v string) *DescribeGroupInput
SetGroupId sets the GroupId field's value.
func (s *DescribeGroupInput) SetOrganizationId(v string) *DescribeGroupInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *DescribeGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeGroupOutput struct { // The date and time when a user was deregistered from WorkMail, in UNIX epoch // time format. DisabledDate *time.Time `type:"timestamp"` // The email of the described group. Email *string `min:"1" type:"string"` // The date and time when a user was registered to WorkMail, in UNIX epoch time // format. EnabledDate *time.Time `type:"timestamp"` // The identifier of the described group. GroupId *string `min:"12" type:"string"` // The name of the described group. Name *string `min:"1" type:"string"` // The state of the user: enabled (registered to Amazon WorkMail) or disabled // (deregistered or never registered to WorkMail). State *string `type:"string" enum:"EntityState"` // contains filtered or unexported fields }
func (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 (s *DescribeGroupOutput) SetDisabledDate(v time.Time) *DescribeGroupOutput
SetDisabledDate sets the DisabledDate field's value.
func (s *DescribeGroupOutput) SetEmail(v string) *DescribeGroupOutput
SetEmail sets the Email field's value.
func (s *DescribeGroupOutput) SetEnabledDate(v time.Time) *DescribeGroupOutput
SetEnabledDate sets the EnabledDate field's value.
func (s *DescribeGroupOutput) SetGroupId(v string) *DescribeGroupOutput
SetGroupId sets the GroupId field's value.
func (s *DescribeGroupOutput) SetName(v string) *DescribeGroupOutput
SetName sets the Name field's value.
func (s *DescribeGroupOutput) SetState(v string) *DescribeGroupOutput
SetState sets the State field's value.
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 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 (s DescribeInboundDmarcSettingsInput) 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 (s *DescribeInboundDmarcSettingsInput) SetOrganizationId(v string) *DescribeInboundDmarcSettingsInput
SetOrganizationId sets the OrganizationId field's value.
func (s DescribeInboundDmarcSettingsInput) 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 (s *DescribeInboundDmarcSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeInboundDmarcSettingsOutput struct { // Lists the enforcement setting of the applied policy. Enforced *bool `type:"boolean"` // contains filtered or unexported fields }
func (s DescribeInboundDmarcSettingsOutput) 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 (s *DescribeInboundDmarcSettingsOutput) SetEnforced(v bool) *DescribeInboundDmarcSettingsOutput
SetEnforced sets the Enforced field's value.
func (s DescribeInboundDmarcSettingsOutput) 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 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 (s DescribeMailboxExportJobInput) 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 (s *DescribeMailboxExportJobInput) SetJobId(v string) *DescribeMailboxExportJobInput
SetJobId sets the JobId field's value.
func (s *DescribeMailboxExportJobInput) SetOrganizationId(v string) *DescribeMailboxExportJobInput
SetOrganizationId sets the OrganizationId field's value.
func (s DescribeMailboxExportJobInput) 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 (s *DescribeMailboxExportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeMailboxExportJobOutput) 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 (s *DescribeMailboxExportJobOutput) SetDescription(v string) *DescribeMailboxExportJobOutput
SetDescription sets the Description field's value.
func (s *DescribeMailboxExportJobOutput) SetEndTime(v time.Time) *DescribeMailboxExportJobOutput
SetEndTime sets the EndTime field's value.
func (s *DescribeMailboxExportJobOutput) SetEntityId(v string) *DescribeMailboxExportJobOutput
SetEntityId sets the EntityId field's value.
func (s *DescribeMailboxExportJobOutput) SetErrorInfo(v string) *DescribeMailboxExportJobOutput
SetErrorInfo sets the ErrorInfo field's value.
func (s *DescribeMailboxExportJobOutput) SetEstimatedProgress(v int64) *DescribeMailboxExportJobOutput
SetEstimatedProgress sets the EstimatedProgress field's value.
func (s *DescribeMailboxExportJobOutput) SetKmsKeyArn(v string) *DescribeMailboxExportJobOutput
SetKmsKeyArn sets the KmsKeyArn field's value.
func (s *DescribeMailboxExportJobOutput) SetRoleArn(v string) *DescribeMailboxExportJobOutput
SetRoleArn sets the RoleArn field's value.
func (s *DescribeMailboxExportJobOutput) SetS3BucketName(v string) *DescribeMailboxExportJobOutput
SetS3BucketName sets the S3BucketName field's value.
func (s *DescribeMailboxExportJobOutput) SetS3Path(v string) *DescribeMailboxExportJobOutput
SetS3Path sets the S3Path field's value.
func (s *DescribeMailboxExportJobOutput) SetS3Prefix(v string) *DescribeMailboxExportJobOutput
SetS3Prefix sets the S3Prefix field's value.
func (s *DescribeMailboxExportJobOutput) SetStartTime(v time.Time) *DescribeMailboxExportJobOutput
SetStartTime sets the StartTime field's value.
func (s *DescribeMailboxExportJobOutput) SetState(v string) *DescribeMailboxExportJobOutput
SetState sets the State field's value.
func (s DescribeMailboxExportJobOutput) 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 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 (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 (s *DescribeOrganizationInput) SetOrganizationId(v string) *DescribeOrganizationInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *DescribeOrganizationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeOrganizationOutput struct { // The Amazon Resource Name (ARN) of the organization. ARN *string `min:"1" type:"string"` // The alias for an organization. Alias *string `min:"1" type:"string"` // The date at which the organization became usable in the WorkMail context, // in UNIX epoch time format. CompletedDate *time.Time `type:"timestamp"` // The default mail domain associated with the organization. DefaultMailDomain *string `type:"string"` // The identifier for the directory associated with an Amazon WorkMail organization. DirectoryId *string `type:"string"` // The type of directory associated with the WorkMail organization. DirectoryType *string `type:"string"` // (Optional) The error message indicating if unexpected behavior was encountered // with regards to the organization. ErrorMessage *string `type:"string"` // The identifier of an organization. OrganizationId *string `min:"34" type:"string"` // The state of an organization. State *string `type:"string"` // contains filtered or unexported fields }
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 (s *DescribeOrganizationOutput) SetARN(v string) *DescribeOrganizationOutput
SetARN sets the ARN field's value.
func (s *DescribeOrganizationOutput) SetAlias(v string) *DescribeOrganizationOutput
SetAlias sets the Alias field's value.
func (s *DescribeOrganizationOutput) SetCompletedDate(v time.Time) *DescribeOrganizationOutput
SetCompletedDate sets the CompletedDate field's value.
func (s *DescribeOrganizationOutput) SetDefaultMailDomain(v string) *DescribeOrganizationOutput
SetDefaultMailDomain sets the DefaultMailDomain field's value.
func (s *DescribeOrganizationOutput) SetDirectoryId(v string) *DescribeOrganizationOutput
SetDirectoryId sets the DirectoryId field's value.
func (s *DescribeOrganizationOutput) SetDirectoryType(v string) *DescribeOrganizationOutput
SetDirectoryType sets the DirectoryType field's value.
func (s *DescribeOrganizationOutput) SetErrorMessage(v string) *DescribeOrganizationOutput
SetErrorMessage sets the ErrorMessage field's value.
func (s *DescribeOrganizationOutput) SetOrganizationId(v string) *DescribeOrganizationOutput
SetOrganizationId sets the OrganizationId field's value.
func (s *DescribeOrganizationOutput) SetState(v string) *DescribeOrganizationOutput
SetState sets the State field's value.
func (s DescribeOrganizationOutput) 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 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. // // ResourceId is a required field ResourceId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *DescribeResourceInput) SetOrganizationId(v string) *DescribeResourceInput
SetOrganizationId sets the OrganizationId field's value.
func (s *DescribeResourceInput) SetResourceId(v string) *DescribeResourceInput
SetResourceId sets the ResourceId field's value.
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 (s *DescribeResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeResourceOutput struct { // The booking options for the described resource. BookingOptions *BookingOptions `type:"structure"` // The date and time when a resource was disabled from WorkMail, in UNIX epoch // time format. DisabledDate *time.Time `type:"timestamp"` // The email of the described resource. Email *string `min:"1" type:"string"` // The date and time when a resource was enabled for WorkMail, in UNIX epoch // time format. EnabledDate *time.Time `type:"timestamp"` // The name of the described resource. Name *string `min:"1" type:"string"` // The identifier of the described resource. ResourceId *string `min:"34" type:"string"` // The state of the resource: enabled (registered to Amazon WorkMail), disabled // (deregistered or never registered to WorkMail), or deleted. State *string `type:"string" enum:"EntityState"` // The type of the described resource. Type *string `type:"string" enum:"ResourceType"` // contains filtered or unexported fields }
func (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 (s *DescribeResourceOutput) SetBookingOptions(v *BookingOptions) *DescribeResourceOutput
SetBookingOptions sets the BookingOptions field's value.
func (s *DescribeResourceOutput) SetDisabledDate(v time.Time) *DescribeResourceOutput
SetDisabledDate sets the DisabledDate field's value.
func (s *DescribeResourceOutput) SetEmail(v string) *DescribeResourceOutput
SetEmail sets the Email field's value.
func (s *DescribeResourceOutput) SetEnabledDate(v time.Time) *DescribeResourceOutput
SetEnabledDate sets the EnabledDate field's value.
func (s *DescribeResourceOutput) SetName(v string) *DescribeResourceOutput
SetName sets the Name field's value.
func (s *DescribeResourceOutput) SetResourceId(v string) *DescribeResourceOutput
SetResourceId sets the ResourceId field's value.
func (s *DescribeResourceOutput) SetState(v string) *DescribeResourceOutput
SetState sets the State field's value.
func (s *DescribeResourceOutput) SetType(v string) *DescribeResourceOutput
SetType sets the Type field's value.
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 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. // // UserId is a required field UserId *string `min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *DescribeUserInput) SetOrganizationId(v string) *DescribeUserInput
SetOrganizationId sets the OrganizationId field's value.
func (s *DescribeUserInput) SetUserId(v string) *DescribeUserInput
SetUserId sets the UserId field's value.
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 (s *DescribeUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserOutput struct { // The date and time at which the user was disabled for Amazon WorkMail usage, // in UNIX epoch time format. DisabledDate *time.Time `type:"timestamp"` // The display name of the user. DisplayName *string `type:"string"` // The email of the user. Email *string `min:"1" type:"string"` // The date and time at which the user was enabled for Amazon WorkMail usage, // in UNIX epoch time format. EnabledDate *time.Time `type:"timestamp"` // The name for the user. Name *string `min:"1" type:"string"` // The state of a user: enabled (registered to Amazon WorkMail) or disabled // (deregistered or never registered to WorkMail). State *string `type:"string" enum:"EntityState"` // The identifier for the described user. UserId *string `min:"12" type:"string"` // In certain cases, other entities are modeled as users. If interoperability // is enabled, resources are imported into Amazon WorkMail as users. Because // different WorkMail organizations rely on different directory types, administrators // can distinguish between an unregistered user (account is disabled and has // a user role) and the directory administrators. The values are USER, RESOURCE, // and SYSTEM_USER. UserRole *string `type:"string" enum:"UserRole"` // contains filtered or unexported fields }
func (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 (s *DescribeUserOutput) SetDisabledDate(v time.Time) *DescribeUserOutput
SetDisabledDate sets the DisabledDate field's value.
func (s *DescribeUserOutput) SetDisplayName(v string) *DescribeUserOutput
SetDisplayName sets the DisplayName field's value.
func (s *DescribeUserOutput) SetEmail(v string) *DescribeUserOutput
SetEmail sets the Email field's value.
func (s *DescribeUserOutput) SetEnabledDate(v time.Time) *DescribeUserOutput
SetEnabledDate sets the EnabledDate field's value.
func (s *DescribeUserOutput) SetName(v string) *DescribeUserOutput
SetName sets the Name field's value.
func (s *DescribeUserOutput) SetState(v string) *DescribeUserOutput
SetState sets the State field's value.
func (s *DescribeUserOutput) SetUserId(v string) *DescribeUserOutput
SetUserId sets the UserId field's value.
func (s *DescribeUserOutput) SetUserRole(v string) *DescribeUserOutput
SetUserRole sets the UserRole field's value.
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 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 (s *DirectoryInUseException) Code() string
Code returns the exception type name.
func (s *DirectoryInUseException) Error() string
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 (s *DirectoryInUseException) Message() string
Message returns the exception's message.
func (s *DirectoryInUseException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *DirectoryInUseException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *DirectoryInUseException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (s *DirectoryServiceAuthenticationFailedException) Code() string
Code returns the exception type name.
func (s *DirectoryServiceAuthenticationFailedException) Error() string
func (s DirectoryServiceAuthenticationFailedException) 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 (s *DirectoryServiceAuthenticationFailedException) Message() string
Message returns the exception's message.
func (s *DirectoryServiceAuthenticationFailedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *DirectoryServiceAuthenticationFailedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *DirectoryServiceAuthenticationFailedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s DirectoryServiceAuthenticationFailedException) 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 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 (s *DirectoryUnavailableException) Code() string
Code returns the exception type name.
func (s *DirectoryUnavailableException) Error() string
func (s DirectoryUnavailableException) 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 (s *DirectoryUnavailableException) Message() string
Message returns the exception's message.
func (s *DirectoryUnavailableException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *DirectoryUnavailableException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *DirectoryUnavailableException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s DirectoryUnavailableException) 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 DisassociateDelegateFromResourceInput struct { // The identifier for the member (user, group) to be removed from the resource's // delegates. // // EntityId is a required field EntityId *string `min:"12" type:"string" required:"true"` // The identifier for the organization under which the resource exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // The identifier of the resource from which delegates' set members are removed. // // ResourceId is a required field ResourceId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DisassociateDelegateFromResourceInput) 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 (s *DisassociateDelegateFromResourceInput) SetEntityId(v string) *DisassociateDelegateFromResourceInput
SetEntityId sets the EntityId field's value.
func (s *DisassociateDelegateFromResourceInput) SetOrganizationId(v string) *DisassociateDelegateFromResourceInput
SetOrganizationId sets the OrganizationId field's value.
func (s *DisassociateDelegateFromResourceInput) SetResourceId(v string) *DisassociateDelegateFromResourceInput
SetResourceId sets the ResourceId field's value.
func (s DisassociateDelegateFromResourceInput) 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 (s *DisassociateDelegateFromResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateDelegateFromResourceOutput struct {
// contains filtered or unexported fields
}
func (s DisassociateDelegateFromResourceOutput) 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 (s DisassociateDelegateFromResourceOutput) 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 DisassociateMemberFromGroupInput struct { // The identifier for the group from which members are removed. // // GroupId is a required field GroupId *string `min:"12" type:"string" required:"true"` // The identifier for the member to be removed to the group. // // MemberId is a required field MemberId *string `min:"12" type:"string" required:"true"` // The identifier for the organization under which the group exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DisassociateMemberFromGroupInput) 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 (s *DisassociateMemberFromGroupInput) SetGroupId(v string) *DisassociateMemberFromGroupInput
SetGroupId sets the GroupId field's value.
func (s *DisassociateMemberFromGroupInput) SetMemberId(v string) *DisassociateMemberFromGroupInput
SetMemberId sets the MemberId field's value.
func (s *DisassociateMemberFromGroupInput) SetOrganizationId(v string) *DisassociateMemberFromGroupInput
SetOrganizationId sets the OrganizationId field's value.
func (s DisassociateMemberFromGroupInput) 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 (s *DisassociateMemberFromGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateMemberFromGroupOutput struct {
// contains filtered or unexported fields
}
func (s DisassociateMemberFromGroupOutput) 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 (s DisassociateMemberFromGroupOutput) 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 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 (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 (s *DnsRecord) SetHostname(v string) *DnsRecord
SetHostname sets the Hostname field's value.
func (s *DnsRecord) SetType(v string) *DnsRecord
SetType sets the Type field's value.
func (s *DnsRecord) SetValue(v string) *DnsRecord
SetValue sets the Value field's value.
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 struct { // The fully qualified domain name. DomainName *string `min:"3" type:"string"` // 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 Amazon 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 Amazon WorkMail Administrator Guide.
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 (s *Domain) SetDomainName(v string) *Domain
SetDomainName sets the DomainName field's value.
func (s *Domain) SetHostedZoneId(v string) *Domain
SetHostedZoneId sets the HostedZoneId field's value.
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 (s *Domain) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s *EmailAddressInUseException) Code() string
Code returns the exception type name.
func (s *EmailAddressInUseException) Error() string
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 (s *EmailAddressInUseException) Message() string
Message returns the exception's message.
func (s *EmailAddressInUseException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *EmailAddressInUseException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *EmailAddressInUseException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s EmailAddressInUseException) 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 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 (s *EntityAlreadyRegisteredException) Code() string
Code returns the exception type name.
func (s *EntityAlreadyRegisteredException) Error() string
func (s EntityAlreadyRegisteredException) 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 (s *EntityAlreadyRegisteredException) Message() string
Message returns the exception's message.
func (s *EntityAlreadyRegisteredException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *EntityAlreadyRegisteredException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *EntityAlreadyRegisteredException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s EntityAlreadyRegisteredException) 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 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 (s *EntityNotFoundException) Code() string
Code returns the exception type name.
func (s *EntityNotFoundException) Error() string
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 (s *EntityNotFoundException) Message() string
Message returns the exception's message.
func (s *EntityNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *EntityNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *EntityNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (s *EntityStateException) Code() string
Code returns the exception type name.
func (s *EntityStateException) Error() string
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 (s *EntityStateException) Message() string
Message returns the exception's message.
func (s *EntityStateException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *EntityStateException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *EntityStateException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *EwsAvailabilityProvider) SetEwsEndpoint(v string) *EwsAvailabilityProvider
SetEwsEndpoint sets the EwsEndpoint field's value.
func (s *EwsAvailabilityProvider) SetEwsPassword(v string) *EwsAvailabilityProvider
SetEwsPassword sets the EwsPassword field's value.
func (s *EwsAvailabilityProvider) SetEwsUsername(v string) *EwsAvailabilityProvider
SetEwsUsername sets the EwsUsername field's value.
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 (s *EwsAvailabilityProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *FolderConfiguration) SetAction(v string) *FolderConfiguration
SetAction sets the Action field's value.
func (s *FolderConfiguration) SetName(v string) *FolderConfiguration
SetName sets the Name field's value.
func (s *FolderConfiguration) SetPeriod(v int64) *FolderConfiguration
SetPeriod sets the Period field's value.
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 (s *FolderConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAccessControlEffectInput struct { // The access protocol action. Valid values include ActiveSync, AutoDiscover, // EWS, IMAP, SMTP, WindowsOutlook, and WebMail. // // Action is a required field Action *string `min:"1" type:"string" required:"true"` // The IPv4 address. // // IpAddress is a required field IpAddress *string `min:"1" type:"string" required:"true"` // The identifier for the organization. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // The user ID. // // UserId is a required field UserId *string `min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
func (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 (s *GetAccessControlEffectInput) SetAction(v string) *GetAccessControlEffectInput
SetAction sets the Action field's value.
func (s *GetAccessControlEffectInput) SetIpAddress(v string) *GetAccessControlEffectInput
SetIpAddress sets the IpAddress field's value.
func (s *GetAccessControlEffectInput) SetOrganizationId(v string) *GetAccessControlEffectInput
SetOrganizationId sets the OrganizationId field's value.
func (s *GetAccessControlEffectInput) SetUserId(v string) *GetAccessControlEffectInput
SetUserId sets the UserId field's value.
func (s GetAccessControlEffectInput) 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 (s *GetAccessControlEffectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *GetAccessControlEffectOutput) SetEffect(v string) *GetAccessControlEffectOutput
SetEffect sets the Effect field's value.
func (s *GetAccessControlEffectOutput) SetMatchedRules(v []*string) *GetAccessControlEffectOutput
SetMatchedRules sets the MatchedRules field's value.
func (s GetAccessControlEffectOutput) 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 GetDefaultRetentionPolicyInput struct { // The organization ID. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetDefaultRetentionPolicyInput) 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 (s *GetDefaultRetentionPolicyInput) SetOrganizationId(v string) *GetDefaultRetentionPolicyInput
SetOrganizationId sets the OrganizationId field's value.
func (s GetDefaultRetentionPolicyInput) 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 (s *GetDefaultRetentionPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s GetDefaultRetentionPolicyOutput) 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 (s *GetDefaultRetentionPolicyOutput) SetDescription(v string) *GetDefaultRetentionPolicyOutput
SetDescription sets the Description field's value.
func (s *GetDefaultRetentionPolicyOutput) SetFolderConfigurations(v []*FolderConfiguration) *GetDefaultRetentionPolicyOutput
SetFolderConfigurations sets the FolderConfigurations field's value.
func (s *GetDefaultRetentionPolicyOutput) SetId(v string) *GetDefaultRetentionPolicyOutput
SetId sets the Id field's value.
func (s *GetDefaultRetentionPolicyOutput) SetName(v string) *GetDefaultRetentionPolicyOutput
SetName sets the Name field's value.
func (s GetDefaultRetentionPolicyOutput) 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 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 Amazon 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 (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 (s *GetMailDomainInput) SetDomainName(v string) *GetMailDomainInput
SetDomainName sets the DomainName field's value.
func (s *GetMailDomainInput) SetOrganizationId(v string) *GetMailDomainInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *GetMailDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 Amazon 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 (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 (s *GetMailDomainOutput) SetDkimVerificationStatus(v string) *GetMailDomainOutput
SetDkimVerificationStatus sets the DkimVerificationStatus field's value.
func (s *GetMailDomainOutput) SetIsDefault(v bool) *GetMailDomainOutput
SetIsDefault sets the IsDefault field's value.
func (s *GetMailDomainOutput) SetIsTestDomain(v bool) *GetMailDomainOutput
SetIsTestDomain sets the IsTestDomain field's value.
func (s *GetMailDomainOutput) SetOwnershipVerificationStatus(v string) *GetMailDomainOutput
SetOwnershipVerificationStatus sets the OwnershipVerificationStatus field's value.
func (s *GetMailDomainOutput) SetRecords(v []*DnsRecord) *GetMailDomainOutput
SetRecords sets the Records field's value.
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 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. // // UserId is a required field UserId *string `min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *GetMailboxDetailsInput) SetOrganizationId(v string) *GetMailboxDetailsInput
SetOrganizationId sets the OrganizationId field's value.
func (s *GetMailboxDetailsInput) SetUserId(v string) *GetMailboxDetailsInput
SetUserId sets the UserId field's value.
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 (s *GetMailboxDetailsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *GetMailboxDetailsOutput) SetMailboxQuota(v int64) *GetMailboxDetailsOutput
SetMailboxQuota sets the MailboxQuota field's value.
func (s *GetMailboxDetailsOutput) SetMailboxSize(v float64) *GetMailboxDetailsOutput
SetMailboxSize sets the MailboxSize field's value.
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 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 Amazon 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 (s GetMobileDeviceAccessEffectInput) 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 (s *GetMobileDeviceAccessEffectInput) SetDeviceModel(v string) *GetMobileDeviceAccessEffectInput
SetDeviceModel sets the DeviceModel field's value.
func (s *GetMobileDeviceAccessEffectInput) SetDeviceOperatingSystem(v string) *GetMobileDeviceAccessEffectInput
SetDeviceOperatingSystem sets the DeviceOperatingSystem field's value.
func (s *GetMobileDeviceAccessEffectInput) SetDeviceType(v string) *GetMobileDeviceAccessEffectInput
SetDeviceType sets the DeviceType field's value.
func (s *GetMobileDeviceAccessEffectInput) SetDeviceUserAgent(v string) *GetMobileDeviceAccessEffectInput
SetDeviceUserAgent sets the DeviceUserAgent field's value.
func (s *GetMobileDeviceAccessEffectInput) SetOrganizationId(v string) *GetMobileDeviceAccessEffectInput
SetOrganizationId sets the OrganizationId field's value.
func (s GetMobileDeviceAccessEffectInput) 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 (s *GetMobileDeviceAccessEffectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMobileDeviceAccessEffectOutput struct { // The effect of the simulated access, ALLOW or DENY, after evaluating mobile // device access rules in the Amazon 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 (s GetMobileDeviceAccessEffectOutput) 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 (s *GetMobileDeviceAccessEffectOutput) SetEffect(v string) *GetMobileDeviceAccessEffectOutput
SetEffect sets the Effect field's value.
func (s *GetMobileDeviceAccessEffectOutput) SetMatchedRules(v []*MobileDeviceAccessMatchedRule) *GetMobileDeviceAccessEffectOutput
SetMatchedRules sets the MatchedRules field's value.
func (s GetMobileDeviceAccessEffectOutput) 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 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 Amazon 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 (s GetMobileDeviceAccessOverrideInput) 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 (s *GetMobileDeviceAccessOverrideInput) SetDeviceId(v string) *GetMobileDeviceAccessOverrideInput
SetDeviceId sets the DeviceId field's value.
func (s *GetMobileDeviceAccessOverrideInput) SetOrganizationId(v string) *GetMobileDeviceAccessOverrideInput
SetOrganizationId sets the OrganizationId field's value.
func (s *GetMobileDeviceAccessOverrideInput) SetUserId(v string) *GetMobileDeviceAccessOverrideInput
SetUserId sets the UserId field's value.
func (s GetMobileDeviceAccessOverrideInput) 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 (s *GetMobileDeviceAccessOverrideInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s GetMobileDeviceAccessOverrideOutput) 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 (s *GetMobileDeviceAccessOverrideOutput) SetDateCreated(v time.Time) *GetMobileDeviceAccessOverrideOutput
SetDateCreated sets the DateCreated field's value.
func (s *GetMobileDeviceAccessOverrideOutput) SetDateModified(v time.Time) *GetMobileDeviceAccessOverrideOutput
SetDateModified sets the DateModified field's value.
func (s *GetMobileDeviceAccessOverrideOutput) SetDescription(v string) *GetMobileDeviceAccessOverrideOutput
SetDescription sets the Description field's value.
func (s *GetMobileDeviceAccessOverrideOutput) SetDeviceId(v string) *GetMobileDeviceAccessOverrideOutput
SetDeviceId sets the DeviceId field's value.
func (s *GetMobileDeviceAccessOverrideOutput) SetEffect(v string) *GetMobileDeviceAccessOverrideOutput
SetEffect sets the Effect field's value.
func (s *GetMobileDeviceAccessOverrideOutput) SetUserId(v string) *GetMobileDeviceAccessOverrideOutput
SetUserId sets the UserId field's value.
func (s GetMobileDeviceAccessOverrideOutput) 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 Group struct { // The date indicating when the group was disabled from Amazon WorkMail use. DisabledDate *time.Time `type:"timestamp"` // The email of the group. Email *string `min:"1" type:"string"` // The date indicating when the group was enabled for Amazon WorkMail use. EnabledDate *time.Time `type:"timestamp"` // The identifier of the group. Id *string `min:"12" type:"string"` // The name of the group. Name *string `min:"1" type:"string"` // The state of the group, which can be ENABLED, DISABLED, or DELETED. State *string `type:"string" enum:"EntityState"` // contains filtered or unexported fields }
The representation of an Amazon WorkMail group.
func (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 (s *Group) SetDisabledDate(v time.Time) *Group
SetDisabledDate sets the DisabledDate field's value.
func (s *Group) SetEmail(v string) *Group
SetEmail sets the Email field's value.
func (s *Group) SetEnabledDate(v time.Time) *Group
SetEnabledDate sets the EnabledDate field's value.
func (s *Group) SetId(v string) *Group
SetId sets the Id field's value.
func (s *Group) SetName(v string) *Group
SetName sets the Name field's value.
func (s *Group) SetState(v string) *Group
SetState sets the State field's value.
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 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 (s *InvalidConfigurationException) Code() string
Code returns the exception type name.
func (s *InvalidConfigurationException) Error() string
func (s InvalidConfigurationException) 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 (s *InvalidConfigurationException) Message() string
Message returns the exception's message.
func (s *InvalidConfigurationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidConfigurationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidConfigurationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InvalidConfigurationException) 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 InvalidCustomSesConfigurationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
You SES configuration has customizations that Amazon 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 (s *InvalidCustomSesConfigurationException) Code() string
Code returns the exception type name.
func (s *InvalidCustomSesConfigurationException) Error() string
func (s InvalidCustomSesConfigurationException) 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 (s *InvalidCustomSesConfigurationException) Message() string
Message returns the exception's message.
func (s *InvalidCustomSesConfigurationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidCustomSesConfigurationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidCustomSesConfigurationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InvalidCustomSesConfigurationException) 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 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 (s *InvalidParameterException) Code() string
Code returns the exception type name.
func (s *InvalidParameterException) Error() string
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 (s *InvalidParameterException) Message() string
Message returns the exception's message.
func (s *InvalidParameterException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidParameterException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidParameterException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (s *InvalidPasswordException) Code() string
Code returns the exception type name.
func (s *InvalidPasswordException) Error() string
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 (s *InvalidPasswordException) Message() string
Message returns the exception's message.
func (s *InvalidPasswordException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidPasswordException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidPasswordException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *LambdaAvailabilityProvider) SetLambdaArn(v string) *LambdaAvailabilityProvider
SetLambdaArn sets the LambdaArn field's value.
func (s LambdaAvailabilityProvider) 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 (s *LambdaAvailabilityProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s *LimitExceededException) Code() string
Code returns the exception type name.
func (s *LimitExceededException) Error() string
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 (s *LimitExceededException) Message() string
Message returns the exception's message.
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *ListAccessControlRulesInput) SetOrganizationId(v string) *ListAccessControlRulesInput
SetOrganizationId sets the OrganizationId field's value.
func (s ListAccessControlRulesInput) 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 (s *ListAccessControlRulesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAccessControlRulesOutput struct { // The access control rules. Rules []*AccessControlRule `type:"list"` // contains filtered or unexported fields }
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 (s *ListAccessControlRulesOutput) SetRules(v []*AccessControlRule) *ListAccessControlRulesOutput
SetRules sets the Rules field's value.
func (s ListAccessControlRulesOutput) 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 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 (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 (s *ListAliasesInput) SetEntityId(v string) *ListAliasesInput
SetEntityId sets the EntityId field's value.
func (s *ListAliasesInput) SetMaxResults(v int64) *ListAliasesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAliasesInput) SetNextToken(v string) *ListAliasesInput
SetNextToken sets the NextToken field's value.
func (s *ListAliasesInput) SetOrganizationId(v string) *ListAliasesInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *ListAliasesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListAliasesOutput) SetAliases(v []*string) *ListAliasesOutput
SetAliases sets the Aliases field's value.
func (s *ListAliasesOutput) SetNextToken(v string) *ListAliasesOutput
SetNextToken sets the NextToken field's value.
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 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 Amazon 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 (s ListAvailabilityConfigurationsInput) 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 (s *ListAvailabilityConfigurationsInput) SetMaxResults(v int64) *ListAvailabilityConfigurationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAvailabilityConfigurationsInput) SetNextToken(v string) *ListAvailabilityConfigurationsInput
SetNextToken sets the NextToken field's value.
func (s *ListAvailabilityConfigurationsInput) SetOrganizationId(v string) *ListAvailabilityConfigurationsInput
SetOrganizationId sets the OrganizationId field's value.
func (s ListAvailabilityConfigurationsInput) 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 (s *ListAvailabilityConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAvailabilityConfigurationsOutput struct { // The list of AvailabilityConfiguration's that exist for the specified Amazon // 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 (s ListAvailabilityConfigurationsOutput) 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 (s *ListAvailabilityConfigurationsOutput) SetAvailabilityConfigurations(v []*AvailabilityConfiguration) *ListAvailabilityConfigurationsOutput
SetAvailabilityConfigurations sets the AvailabilityConfigurations field's value.
func (s *ListAvailabilityConfigurationsOutput) SetNextToken(v string) *ListAvailabilityConfigurationsOutput
SetNextToken sets the NextToken field's value.
func (s ListAvailabilityConfigurationsOutput) 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 ListGroupMembersInput struct { // The identifier for the group to which the members (users or groups) are associated. // // GroupId is a required field GroupId *string `min:"12" type:"string" required:"true"` // The maximum number of results to return in a single call. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next page of results. The first call does // not contain any tokens. NextToken *string `min:"1" type:"string"` // The identifier for the organization under which the group exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *ListGroupMembersInput) SetGroupId(v string) *ListGroupMembersInput
SetGroupId sets the GroupId field's value.
func (s *ListGroupMembersInput) SetMaxResults(v int64) *ListGroupMembersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListGroupMembersInput) SetNextToken(v string) *ListGroupMembersInput
SetNextToken sets the NextToken field's value.
func (s *ListGroupMembersInput) SetOrganizationId(v string) *ListGroupMembersInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *ListGroupMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListGroupMembersOutput) SetMembers(v []*Member) *ListGroupMembersOutput
SetMembers sets the Members field's value.
func (s *ListGroupMembersOutput) SetNextToken(v string) *ListGroupMembersOutput
SetNextToken sets the NextToken field's value.
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 ListGroupsInput struct { // The maximum number of results to return in a single call. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next page of results. The first call does // not contain any tokens. NextToken *string `min:"1" type:"string"` // The identifier for the organization under which the groups exist. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput
SetNextToken sets the NextToken field's value.
func (s *ListGroupsInput) SetOrganizationId(v string) *ListGroupsInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *ListGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListGroupsOutput) SetGroups(v []*Group) *ListGroupsOutput
SetGroups sets the Groups field's value.
func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput
SetNextToken sets the NextToken field's value.
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 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 Amazon 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 (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 (s *ListMailDomainsInput) SetMaxResults(v int64) *ListMailDomainsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMailDomainsInput) SetNextToken(v string) *ListMailDomainsInput
SetNextToken sets the NextToken field's value.
func (s *ListMailDomainsInput) SetOrganizationId(v string) *ListMailDomainsInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *ListMailDomainsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMailDomainsOutput struct { // The list of mail domain summaries, specifying domains that exist in the specified // Amazon 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 (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 (s *ListMailDomainsOutput) SetMailDomains(v []*MailDomainSummary) *ListMailDomainsOutput
SetMailDomains sets the MailDomains field's value.
func (s *ListMailDomainsOutput) SetNextToken(v string) *ListMailDomainsOutput
SetNextToken sets the NextToken field's value.
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 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 (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 (s *ListMailboxExportJobsInput) SetMaxResults(v int64) *ListMailboxExportJobsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMailboxExportJobsInput) SetNextToken(v string) *ListMailboxExportJobsInput
SetNextToken sets the NextToken field's value.
func (s *ListMailboxExportJobsInput) SetOrganizationId(v string) *ListMailboxExportJobsInput
SetOrganizationId sets the OrganizationId field's value.
func (s ListMailboxExportJobsInput) 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 (s *ListMailboxExportJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListMailboxExportJobsOutput) SetJobs(v []*MailboxExportJob) *ListMailboxExportJobsOutput
SetJobs sets the Jobs field's value.
func (s *ListMailboxExportJobsOutput) SetNextToken(v string) *ListMailboxExportJobsOutput
SetNextToken sets the NextToken field's value.
func (s ListMailboxExportJobsOutput) 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 ListMailboxPermissionsInput struct { // The identifier of the user, group, or resource for which to list mailbox // permissions. // // EntityId is a required field EntityId *string `min:"12" type:"string" required:"true"` // The maximum number of results to return in a single call. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next page of results. The first call does // not contain any tokens. NextToken *string `min:"1" type:"string"` // The identifier of the organization under which the user, group, or resource // exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *ListMailboxPermissionsInput) SetEntityId(v string) *ListMailboxPermissionsInput
SetEntityId sets the EntityId field's value.
func (s *ListMailboxPermissionsInput) SetMaxResults(v int64) *ListMailboxPermissionsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMailboxPermissionsInput) SetNextToken(v string) *ListMailboxPermissionsInput
SetNextToken sets the NextToken field's value.
func (s *ListMailboxPermissionsInput) SetOrganizationId(v string) *ListMailboxPermissionsInput
SetOrganizationId sets the OrganizationId field's value.
func (s ListMailboxPermissionsInput) 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 (s *ListMailboxPermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListMailboxPermissionsOutput) SetNextToken(v string) *ListMailboxPermissionsOutput
SetNextToken sets the NextToken field's value.
func (s *ListMailboxPermissionsOutput) SetPermissions(v []*Permission) *ListMailboxPermissionsOutput
SetPermissions sets the Permissions field's value.
func (s ListMailboxPermissionsOutput) 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 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 Amazon 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 (s ListMobileDeviceAccessOverridesInput) 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 (s *ListMobileDeviceAccessOverridesInput) SetDeviceId(v string) *ListMobileDeviceAccessOverridesInput
SetDeviceId sets the DeviceId field's value.
func (s *ListMobileDeviceAccessOverridesInput) SetMaxResults(v int64) *ListMobileDeviceAccessOverridesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMobileDeviceAccessOverridesInput) SetNextToken(v string) *ListMobileDeviceAccessOverridesInput
SetNextToken sets the NextToken field's value.
func (s *ListMobileDeviceAccessOverridesInput) SetOrganizationId(v string) *ListMobileDeviceAccessOverridesInput
SetOrganizationId sets the OrganizationId field's value.
func (s *ListMobileDeviceAccessOverridesInput) SetUserId(v string) *ListMobileDeviceAccessOverridesInput
SetUserId sets the UserId field's value.
func (s ListMobileDeviceAccessOverridesInput) 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 (s *ListMobileDeviceAccessOverridesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 Amazon // WorkMail organization and user. Overrides []*MobileDeviceAccessOverride `type:"list"` // contains filtered or unexported fields }
func (s ListMobileDeviceAccessOverridesOutput) 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 (s *ListMobileDeviceAccessOverridesOutput) SetNextToken(v string) *ListMobileDeviceAccessOverridesOutput
SetNextToken sets the NextToken field's value.
func (s *ListMobileDeviceAccessOverridesOutput) SetOverrides(v []*MobileDeviceAccessOverride) *ListMobileDeviceAccessOverridesOutput
SetOverrides sets the Overrides field's value.
func (s ListMobileDeviceAccessOverridesOutput) 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 ListMobileDeviceAccessRulesInput struct { // The Amazon 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 (s ListMobileDeviceAccessRulesInput) 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 (s *ListMobileDeviceAccessRulesInput) SetOrganizationId(v string) *ListMobileDeviceAccessRulesInput
SetOrganizationId sets the OrganizationId field's value.
func (s ListMobileDeviceAccessRulesInput) 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 (s *ListMobileDeviceAccessRulesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMobileDeviceAccessRulesOutput struct { // The list of mobile device access rules that exist under the specified Amazon // WorkMail organization. Rules []*MobileDeviceAccessRule `type:"list"` // contains filtered or unexported fields }
func (s ListMobileDeviceAccessRulesOutput) 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 (s *ListMobileDeviceAccessRulesOutput) SetRules(v []*MobileDeviceAccessRule) *ListMobileDeviceAccessRulesOutput
SetRules sets the Rules field's value.
func (s ListMobileDeviceAccessRulesOutput) 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 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 (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 (s *ListOrganizationsInput) SetMaxResults(v int64) *ListOrganizationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListOrganizationsInput) SetNextToken(v string) *ListOrganizationsInput
SetNextToken sets the NextToken field's value.
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 (s *ListOrganizationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListOrganizationsOutput) SetNextToken(v string) *ListOrganizationsOutput
SetNextToken sets the NextToken field's value.
func (s *ListOrganizationsOutput) SetOrganizationSummaries(v []*OrganizationSummary) *ListOrganizationsOutput
SetOrganizationSummaries sets the OrganizationSummaries field's value.
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 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. // // ResourceId is a required field ResourceId *string `min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *ListResourceDelegatesInput) SetMaxResults(v int64) *ListResourceDelegatesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListResourceDelegatesInput) SetNextToken(v string) *ListResourceDelegatesInput
SetNextToken sets the NextToken field's value.
func (s *ListResourceDelegatesInput) SetOrganizationId(v string) *ListResourceDelegatesInput
SetOrganizationId sets the OrganizationId field's value.
func (s *ListResourceDelegatesInput) SetResourceId(v string) *ListResourceDelegatesInput
SetResourceId sets the ResourceId field's value.
func (s ListResourceDelegatesInput) 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 (s *ListResourceDelegatesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListResourceDelegatesOutput) SetDelegates(v []*Delegate) *ListResourceDelegatesOutput
SetDelegates sets the Delegates field's value.
func (s *ListResourceDelegatesOutput) SetNextToken(v string) *ListResourceDelegatesOutput
SetNextToken sets the NextToken field's value.
func (s ListResourceDelegatesOutput) 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 struct { // The maximum number of results to return in a single call. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next page of results. The first call does // not contain any tokens. NextToken *string `min:"1" type:"string"` // The identifier for the organization under which the resources exist. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput
SetNextToken sets the NextToken field's value.
func (s *ListResourcesInput) SetOrganizationId(v string) *ListResourcesInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *ListResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput
SetNextToken sets the NextToken field's value.
func (s *ListResourcesOutput) SetResources(v []*Resource) *ListResourcesOutput
SetResources sets the Resources field's value.
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 struct { // The resource ARN. // // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput
SetResourceARN sets the ResourceARN field's value.
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 (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // A list of tag key-value pairs. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
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 (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
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 ListUsersInput struct { // The maximum number of results to return in a single call. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next page of results. The first call does // not contain any tokens. NextToken *string `min:"1" type:"string"` // The identifier for the organization under which the users exist. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput
SetNextToken sets the NextToken field's value.
func (s *ListUsersInput) SetOrganizationId(v string) *ListUsersInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *ListUsersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput
SetNextToken sets the NextToken field's value.
func (s *ListUsersOutput) SetUsers(v []*User) *ListUsersOutput
SetUsers sets the Users field's value.
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 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 (s *MailDomainInUseException) Code() string
Code returns the exception type name.
func (s *MailDomainInUseException) Error() string
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 (s *MailDomainInUseException) Message() string
Message returns the exception's message.
func (s *MailDomainInUseException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *MailDomainInUseException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *MailDomainInUseException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (s *MailDomainNotFoundException) Code() string
Code returns the exception type name.
func (s *MailDomainNotFoundException) Error() string
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 (s *MailDomainNotFoundException) Message() string
Message returns the exception's message.
func (s *MailDomainNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *MailDomainNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *MailDomainNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s MailDomainNotFoundException) 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 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 (s *MailDomainStateException) Code() string
Code returns the exception type name.
func (s *MailDomainStateException) Error() string
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 (s *MailDomainStateException) Message() string
Message returns the exception's message.
func (s *MailDomainStateException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *MailDomainStateException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *MailDomainStateException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *MailDomainSummary) SetDefaultDomain(v bool) *MailDomainSummary
SetDefaultDomain sets the DefaultDomain field's value.
func (s *MailDomainSummary) SetDomainName(v string) *MailDomainSummary
SetDomainName sets the DomainName field's value.
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 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 (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 (s *MailboxExportJob) SetDescription(v string) *MailboxExportJob
SetDescription sets the Description field's value.
func (s *MailboxExportJob) SetEndTime(v time.Time) *MailboxExportJob
SetEndTime sets the EndTime field's value.
func (s *MailboxExportJob) SetEntityId(v string) *MailboxExportJob
SetEntityId sets the EntityId field's value.
func (s *MailboxExportJob) SetEstimatedProgress(v int64) *MailboxExportJob
SetEstimatedProgress sets the EstimatedProgress field's value.
func (s *MailboxExportJob) SetJobId(v string) *MailboxExportJob
SetJobId sets the JobId field's value.
func (s *MailboxExportJob) SetS3BucketName(v string) *MailboxExportJob
SetS3BucketName sets the S3BucketName field's value.
func (s *MailboxExportJob) SetS3Path(v string) *MailboxExportJob
SetS3Path sets the S3Path field's value.
func (s *MailboxExportJob) SetStartTime(v time.Time) *MailboxExportJob
SetStartTime sets the StartTime field's value.
func (s *MailboxExportJob) SetState(v string) *MailboxExportJob
SetState sets the State field's value.
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 struct { // The date indicating when the member was disabled from Amazon WorkMail use. DisabledDate *time.Time `type:"timestamp"` // The date indicating when the member was enabled for Amazon WorkMail use. EnabledDate *time.Time `type:"timestamp"` // The identifier of the member. Id *string `type:"string"` // The name of the member. Name *string `type:"string"` // The state of the member, which can be ENABLED, DISABLED, or DELETED. State *string `type:"string" enum:"EntityState"` // A member can be a user or group. Type *string `type:"string" enum:"MemberType"` // contains filtered or unexported fields }
The representation of a user or group.
func (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 (s *Member) SetDisabledDate(v time.Time) *Member
SetDisabledDate sets the DisabledDate field's value.
func (s *Member) SetEnabledDate(v time.Time) *Member
SetEnabledDate sets the EnabledDate field's value.
func (s *Member) SetId(v string) *Member
SetId sets the Id field's value.
func (s *Member) SetName(v string) *Member
SetName sets the Name field's value.
func (s *Member) SetState(v string) *Member
SetState sets the State field's value.
func (s *Member) SetType(v string) *Member
SetType sets the Type field's value.
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 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 (s MobileDeviceAccessMatchedRule) 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 (s *MobileDeviceAccessMatchedRule) SetMobileDeviceAccessRuleId(v string) *MobileDeviceAccessMatchedRule
SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.
func (s *MobileDeviceAccessMatchedRule) SetName(v string) *MobileDeviceAccessMatchedRule
SetName sets the Name field's value.
func (s MobileDeviceAccessMatchedRule) 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 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 (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 (s *MobileDeviceAccessOverride) SetDateCreated(v time.Time) *MobileDeviceAccessOverride
SetDateCreated sets the DateCreated field's value.
func (s *MobileDeviceAccessOverride) SetDateModified(v time.Time) *MobileDeviceAccessOverride
SetDateModified sets the DateModified field's value.
func (s *MobileDeviceAccessOverride) SetDescription(v string) *MobileDeviceAccessOverride
SetDescription sets the Description field's value.
func (s *MobileDeviceAccessOverride) SetDeviceId(v string) *MobileDeviceAccessOverride
SetDeviceId sets the DeviceId field's value.
func (s *MobileDeviceAccessOverride) SetEffect(v string) *MobileDeviceAccessOverride
SetEffect sets the Effect field's value.
func (s *MobileDeviceAccessOverride) SetUserId(v string) *MobileDeviceAccessOverride
SetUserId sets the UserId field's value.
func (s MobileDeviceAccessOverride) 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 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 Amazon WorkMail group.
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 (s *MobileDeviceAccessRule) SetDateCreated(v time.Time) *MobileDeviceAccessRule
SetDateCreated sets the DateCreated field's value.
func (s *MobileDeviceAccessRule) SetDateModified(v time.Time) *MobileDeviceAccessRule
SetDateModified sets the DateModified field's value.
func (s *MobileDeviceAccessRule) SetDescription(v string) *MobileDeviceAccessRule
SetDescription sets the Description field's value.
func (s *MobileDeviceAccessRule) SetDeviceModels(v []*string) *MobileDeviceAccessRule
SetDeviceModels sets the DeviceModels field's value.
func (s *MobileDeviceAccessRule) SetDeviceOperatingSystems(v []*string) *MobileDeviceAccessRule
SetDeviceOperatingSystems sets the DeviceOperatingSystems field's value.
func (s *MobileDeviceAccessRule) SetDeviceTypes(v []*string) *MobileDeviceAccessRule
SetDeviceTypes sets the DeviceTypes field's value.
func (s *MobileDeviceAccessRule) SetDeviceUserAgents(v []*string) *MobileDeviceAccessRule
SetDeviceUserAgents sets the DeviceUserAgents field's value.
func (s *MobileDeviceAccessRule) SetEffect(v string) *MobileDeviceAccessRule
SetEffect sets the Effect field's value.
func (s *MobileDeviceAccessRule) SetMobileDeviceAccessRuleId(v string) *MobileDeviceAccessRule
SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.
func (s *MobileDeviceAccessRule) SetName(v string) *MobileDeviceAccessRule
SetName sets the Name field's value.
func (s *MobileDeviceAccessRule) SetNotDeviceModels(v []*string) *MobileDeviceAccessRule
SetNotDeviceModels sets the NotDeviceModels field's value.
func (s *MobileDeviceAccessRule) SetNotDeviceOperatingSystems(v []*string) *MobileDeviceAccessRule
SetNotDeviceOperatingSystems sets the NotDeviceOperatingSystems field's value.
func (s *MobileDeviceAccessRule) SetNotDeviceTypes(v []*string) *MobileDeviceAccessRule
SetNotDeviceTypes sets the NotDeviceTypes field's value.
func (s *MobileDeviceAccessRule) SetNotDeviceUserAgents(v []*string) *MobileDeviceAccessRule
SetNotDeviceUserAgents sets the NotDeviceUserAgents field's value.
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 struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The user, group, or resource name isn't unique in Amazon WorkMail.
func (s *NameAvailabilityException) Code() string
Code returns the exception type name.
func (s *NameAvailabilityException) Error() string
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 (s *NameAvailabilityException) Message() string
Message returns the exception's message.
func (s *NameAvailabilityException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *NameAvailabilityException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *NameAvailabilityException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (s *OrganizationNotFoundException) Code() string
Code returns the exception type name.
func (s *OrganizationNotFoundException) Error() string
func (s OrganizationNotFoundException) 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 (s *OrganizationNotFoundException) Message() string
Message returns the exception's message.
func (s *OrganizationNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *OrganizationNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *OrganizationNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s OrganizationNotFoundException) 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 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 (s *OrganizationStateException) Code() string
Code returns the exception type name.
func (s *OrganizationStateException) Error() string
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 (s *OrganizationStateException) Message() string
Message returns the exception's message.
func (s *OrganizationStateException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *OrganizationStateException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *OrganizationStateException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s OrganizationStateException) 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 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 (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 (s *OrganizationSummary) SetAlias(v string) *OrganizationSummary
SetAlias sets the Alias field's value.
func (s *OrganizationSummary) SetDefaultMailDomain(v string) *OrganizationSummary
SetDefaultMailDomain sets the DefaultMailDomain field's value.
func (s *OrganizationSummary) SetErrorMessage(v string) *OrganizationSummary
SetErrorMessage sets the ErrorMessage field's value.
func (s *OrganizationSummary) SetOrganizationId(v string) *OrganizationSummary
SetOrganizationId sets the OrganizationId field's value.
func (s *OrganizationSummary) SetState(v string) *OrganizationSummary
SetState sets the State field's value.
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 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 (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 (s *Permission) SetGranteeId(v string) *Permission
SetGranteeId sets the GranteeId field's value.
func (s *Permission) SetGranteeType(v string) *Permission
SetGranteeType sets the GranteeType field's value.
func (s *Permission) SetPermissionValues(v []*string) *Permission
SetPermissionValues sets the PermissionValues field's value.
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 struct { // Access protocol actions to include in the rule. Valid values include ActiveSync, // AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail. Actions []*string `type:"list"` // The rule description. // // Description is a required field Description *string `type:"string" required:"true"` // The rule effect. // // Effect is a required field Effect *string `type:"string" required:"true" enum:"AccessControlRuleEffect"` // IPv4 CIDR ranges to include in the rule. IpRanges []*string `type:"list"` // The rule name. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // Access protocol actions to exclude from the rule. Valid values include ActiveSync, // AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail. NotActions []*string `type:"list"` // IPv4 CIDR ranges to exclude from the rule. NotIpRanges []*string `type:"list"` // User IDs to exclude from the rule. NotUserIds []*string `type:"list"` // The identifier of the organization. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // User IDs to include in the rule. UserIds []*string `type:"list"` // contains filtered or unexported fields }
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 (s *PutAccessControlRuleInput) SetActions(v []*string) *PutAccessControlRuleInput
SetActions sets the Actions field's value.
func (s *PutAccessControlRuleInput) SetDescription(v string) *PutAccessControlRuleInput
SetDescription sets the Description field's value.
func (s *PutAccessControlRuleInput) SetEffect(v string) *PutAccessControlRuleInput
SetEffect sets the Effect field's value.
func (s *PutAccessControlRuleInput) SetIpRanges(v []*string) *PutAccessControlRuleInput
SetIpRanges sets the IpRanges field's value.
func (s *PutAccessControlRuleInput) SetName(v string) *PutAccessControlRuleInput
SetName sets the Name field's value.
func (s *PutAccessControlRuleInput) SetNotActions(v []*string) *PutAccessControlRuleInput
SetNotActions sets the NotActions field's value.
func (s *PutAccessControlRuleInput) SetNotIpRanges(v []*string) *PutAccessControlRuleInput
SetNotIpRanges sets the NotIpRanges field's value.
func (s *PutAccessControlRuleInput) SetNotUserIds(v []*string) *PutAccessControlRuleInput
SetNotUserIds sets the NotUserIds field's value.
func (s *PutAccessControlRuleInput) SetOrganizationId(v string) *PutAccessControlRuleInput
SetOrganizationId sets the OrganizationId field's value.
func (s *PutAccessControlRuleInput) SetUserIds(v []*string) *PutAccessControlRuleInput
SetUserIds sets the UserIds field's value.
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 (s *PutAccessControlRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutAccessControlRuleOutput struct {
// contains filtered or unexported fields
}
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 (s PutAccessControlRuleOutput) 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 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 (s PutEmailMonitoringConfigurationInput) 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 (s *PutEmailMonitoringConfigurationInput) SetLogGroupArn(v string) *PutEmailMonitoringConfigurationInput
SetLogGroupArn sets the LogGroupArn field's value.
func (s *PutEmailMonitoringConfigurationInput) SetOrganizationId(v string) *PutEmailMonitoringConfigurationInput
SetOrganizationId sets the OrganizationId field's value.
func (s *PutEmailMonitoringConfigurationInput) SetRoleArn(v string) *PutEmailMonitoringConfigurationInput
SetRoleArn sets the RoleArn field's value.
func (s PutEmailMonitoringConfigurationInput) 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 (s *PutEmailMonitoringConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutEmailMonitoringConfigurationOutput struct {
// contains filtered or unexported fields
}
func (s PutEmailMonitoringConfigurationOutput) 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 (s PutEmailMonitoringConfigurationOutput) 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 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 (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 (s *PutInboundDmarcSettingsInput) SetEnforced(v bool) *PutInboundDmarcSettingsInput
SetEnforced sets the Enforced field's value.
func (s *PutInboundDmarcSettingsInput) SetOrganizationId(v string) *PutInboundDmarcSettingsInput
SetOrganizationId sets the OrganizationId field's value.
func (s PutInboundDmarcSettingsInput) 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 (s *PutInboundDmarcSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutInboundDmarcSettingsOutput struct {
// contains filtered or unexported fields
}
func (s PutInboundDmarcSettingsOutput) 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 (s PutInboundDmarcSettingsOutput) 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 PutMailboxPermissionsInput struct { // The identifier of the user, group, or resource for which to update mailbox // permissions. // // EntityId is a required field EntityId *string `min:"12" type:"string" required:"true"` // The identifier of the user, group, or resource to which to grant the permissions. // // GranteeId is a required field GranteeId *string `min:"12" type:"string" required:"true"` // The identifier of the organization under which the user, group, or resource // exists. // // OrganizationId is a required field OrganizationId *string `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 (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 (s *PutMailboxPermissionsInput) SetEntityId(v string) *PutMailboxPermissionsInput
SetEntityId sets the EntityId field's value.
func (s *PutMailboxPermissionsInput) SetGranteeId(v string) *PutMailboxPermissionsInput
SetGranteeId sets the GranteeId field's value.
func (s *PutMailboxPermissionsInput) SetOrganizationId(v string) *PutMailboxPermissionsInput
SetOrganizationId sets the OrganizationId field's value.
func (s *PutMailboxPermissionsInput) SetPermissionValues(v []*string) *PutMailboxPermissionsInput
SetPermissionValues sets the PermissionValues field's value.
func (s PutMailboxPermissionsInput) 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 (s *PutMailboxPermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutMailboxPermissionsOutput struct {
// contains filtered or unexported fields
}
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 (s PutMailboxPermissionsOutput) 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 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 Amazon 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 (s PutMobileDeviceAccessOverrideInput) 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 (s *PutMobileDeviceAccessOverrideInput) SetDescription(v string) *PutMobileDeviceAccessOverrideInput
SetDescription sets the Description field's value.
func (s *PutMobileDeviceAccessOverrideInput) SetDeviceId(v string) *PutMobileDeviceAccessOverrideInput
SetDeviceId sets the DeviceId field's value.
func (s *PutMobileDeviceAccessOverrideInput) SetEffect(v string) *PutMobileDeviceAccessOverrideInput
SetEffect sets the Effect field's value.
func (s *PutMobileDeviceAccessOverrideInput) SetOrganizationId(v string) *PutMobileDeviceAccessOverrideInput
SetOrganizationId sets the OrganizationId field's value.
func (s *PutMobileDeviceAccessOverrideInput) SetUserId(v string) *PutMobileDeviceAccessOverrideInput
SetUserId sets the UserId field's value.
func (s PutMobileDeviceAccessOverrideInput) 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 (s *PutMobileDeviceAccessOverrideInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutMobileDeviceAccessOverrideOutput struct {
// contains filtered or unexported fields
}
func (s PutMobileDeviceAccessOverrideOutput) 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 (s PutMobileDeviceAccessOverrideOutput) 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 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 (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 (s *PutRetentionPolicyInput) SetDescription(v string) *PutRetentionPolicyInput
SetDescription sets the Description field's value.
func (s *PutRetentionPolicyInput) SetFolderConfigurations(v []*FolderConfiguration) *PutRetentionPolicyInput
SetFolderConfigurations sets the FolderConfigurations field's value.
func (s *PutRetentionPolicyInput) SetId(v string) *PutRetentionPolicyInput
SetId sets the Id field's value.
func (s *PutRetentionPolicyInput) SetName(v string) *PutRetentionPolicyInput
SetName sets the Name field's value.
func (s *PutRetentionPolicyInput) SetOrganizationId(v string) *PutRetentionPolicyInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *PutRetentionPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutRetentionPolicyOutput struct {
// contains filtered or unexported fields
}
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 (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 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 (s RedactedEwsAvailabilityProvider) 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 (s *RedactedEwsAvailabilityProvider) SetEwsEndpoint(v string) *RedactedEwsAvailabilityProvider
SetEwsEndpoint sets the EwsEndpoint field's value.
func (s *RedactedEwsAvailabilityProvider) SetEwsUsername(v string) *RedactedEwsAvailabilityProvider
SetEwsUsername sets the EwsUsername field's value.
func (s RedactedEwsAvailabilityProvider) 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 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 Amazon WorkMail and SES. // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The Amazon 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 (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 (s *RegisterMailDomainInput) SetClientToken(v string) *RegisterMailDomainInput
SetClientToken sets the ClientToken field's value.
func (s *RegisterMailDomainInput) SetDomainName(v string) *RegisterMailDomainInput
SetDomainName sets the DomainName field's value.
func (s *RegisterMailDomainInput) SetOrganizationId(v string) *RegisterMailDomainInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *RegisterMailDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterMailDomainOutput struct {
// contains filtered or unexported fields
}
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 (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 struct { // The email for the user, group, or resource to be updated. // // Email is a required field Email *string `min:"1" type:"string" required:"true"` // The identifier for the user, group, or resource to be updated. // // EntityId is a required field EntityId *string `min:"12" type:"string" required:"true"` // The identifier for the organization under which the user, group, or resource // exists. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *RegisterToWorkMailInput) SetEmail(v string) *RegisterToWorkMailInput
SetEmail sets the Email field's value.
func (s *RegisterToWorkMailInput) SetEntityId(v string) *RegisterToWorkMailInput
SetEntityId sets the EntityId field's value.
func (s *RegisterToWorkMailInput) SetOrganizationId(v string) *RegisterToWorkMailInput
SetOrganizationId sets the OrganizationId field's value.
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 (s *RegisterToWorkMailInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterToWorkMailOutput struct {
// contains filtered or unexported fields
}
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 (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 struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
This user, group, or resource name is not allowed in Amazon WorkMail.
func (s *ReservedNameException) Code() string
Code returns the exception type name.
func (s *ReservedNameException) Error() string
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 (s *ReservedNameException) Message() string
Message returns the exception's message.
func (s *ReservedNameException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ReservedNameException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ReservedNameException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *ResetPasswordInput) SetOrganizationId(v string) *ResetPasswordInput
SetOrganizationId sets the OrganizationId field's value.
func (s *ResetPasswordInput) SetPassword(v string) *ResetPasswordInput
SetPassword sets the Password field's value.
func (s *ResetPasswordInput) SetUserId(v string) *ResetPasswordInput
SetUserId sets the UserId field's value.
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 (s *ResetPasswordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResetPasswordOutput struct {
// contains filtered or unexported fields
}
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 (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 struct { // The date indicating when the resource was disabled from Amazon WorkMail use. DisabledDate *time.Time `type:"timestamp"` // The email of the resource. Email *string `min:"1" type:"string"` // The date indicating when the resource was enabled for Amazon WorkMail use. EnabledDate *time.Time `type:"timestamp"` // The identifier of the resource. Id *string `min:"12" type:"string"` // The name of the resource. Name *string `min:"1" type:"string"` // The state of the resource, which can be ENABLED, DISABLED, or DELETED. State *string `type:"string" enum:"EntityState"` // The type of the resource: equipment or room. Type *string `type:"string" enum:"ResourceType"` // contains filtered or unexported fields }
The representation of a resource.
func (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 (s *Resource) SetDisabledDate(v time.Time) *Resource
SetDisabledDate sets the DisabledDate field's value.
func (s *Resource) SetEmail(v string) *Resource
SetEmail sets the Email field's value.
func (s *Resource) SetEnabledDate(v time.Time) *Resource
SetEnabledDate sets the EnabledDate field's value.
func (s *Resource) SetId(v string) *Resource
SetId sets the Id field's value.
func (s *Resource) SetName(v string) *Resource
SetName sets the Name field's value.
func (s *Resource) SetState(v string) *Resource
SetState sets the State field's value.
func (s *Resource) SetType(v string) *Resource
SetType sets the Type field's value.
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 struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The resource cannot be found.
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
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 (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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. // // EntityId is a required field EntityId *string `min:"12" 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 (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 (s *StartMailboxExportJobInput) SetClientToken(v string) *StartMailboxExportJobInput
SetClientToken sets the ClientToken field's value.
func (s *StartMailboxExportJobInput) SetDescription(v string) *StartMailboxExportJobInput
SetDescription sets the Description field's value.
func (s *StartMailboxExportJobInput) SetEntityId(v string) *StartMailboxExportJobInput
SetEntityId sets the EntityId field's value.
func (s *StartMailboxExportJobInput) SetKmsKeyArn(v string) *StartMailboxExportJobInput
SetKmsKeyArn sets the KmsKeyArn field's value.
func (s *StartMailboxExportJobInput) SetOrganizationId(v string) *StartMailboxExportJobInput
SetOrganizationId sets the OrganizationId field's value.
func (s *StartMailboxExportJobInput) SetRoleArn(v string) *StartMailboxExportJobInput
SetRoleArn sets the RoleArn field's value.
func (s *StartMailboxExportJobInput) SetS3BucketName(v string) *StartMailboxExportJobInput
SetS3BucketName sets the S3BucketName field's value.
func (s *StartMailboxExportJobInput) SetS3Prefix(v string) *StartMailboxExportJobInput
SetS3Prefix sets the S3Prefix field's value.
func (s StartMailboxExportJobInput) 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 (s *StartMailboxExportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartMailboxExportJobOutput struct { // The job ID. JobId *string `min:"1" type:"string"` // contains filtered or unexported fields }
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 (s *StartMailboxExportJobOutput) SetJobId(v string) *StartMailboxExportJobOutput
SetJobId sets the JobId field's value.
func (s StartMailboxExportJobOutput) 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 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 (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 (s *Tag) SetKey(v string) *Tag
SetKey sets the Key field's value.
func (s *Tag) SetValue(v string) *Tag
SetValue sets the Value field's value.
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 (s *Tag) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput
SetResourceARN sets the ResourceARN field's value.
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
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 (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
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 (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 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 Amazon 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 (s TestAvailabilityConfigurationInput) 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 (s *TestAvailabilityConfigurationInput) SetDomainName(v string) *TestAvailabilityConfigurationInput
SetDomainName sets the DomainName field's value.
func (s *TestAvailabilityConfigurationInput) SetEwsProvider(v *EwsAvailabilityProvider) *TestAvailabilityConfigurationInput
SetEwsProvider sets the EwsProvider field's value.
func (s *TestAvailabilityConfigurationInput) SetLambdaProvider(v *LambdaAvailabilityProvider) *TestAvailabilityConfigurationInput
SetLambdaProvider sets the LambdaProvider field's value.
func (s *TestAvailabilityConfigurationInput) SetOrganizationId(v string) *TestAvailabilityConfigurationInput
SetOrganizationId sets the OrganizationId field's value.
func (s TestAvailabilityConfigurationInput) 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 (s *TestAvailabilityConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s TestAvailabilityConfigurationOutput) 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 (s *TestAvailabilityConfigurationOutput) SetFailureReason(v string) *TestAvailabilityConfigurationOutput
SetFailureReason sets the FailureReason field's value.
func (s *TestAvailabilityConfigurationOutput) SetTestPassed(v bool) *TestAvailabilityConfigurationOutput
SetTestPassed sets the TestPassed field's value.
func (s TestAvailabilityConfigurationOutput) 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 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 (s *TooManyTagsException) Code() string
Code returns the exception type name.
func (s *TooManyTagsException) Error() string
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 (s *TooManyTagsException) Message() string
Message returns the exception's message.
func (s *TooManyTagsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *TooManyTagsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *TooManyTagsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (s *UnsupportedOperationException) Code() string
Code returns the exception type name.
func (s *UnsupportedOperationException) Error() string
func (s UnsupportedOperationException) 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 (s *UnsupportedOperationException) Message() string
Message returns the exception's message.
func (s *UnsupportedOperationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *UnsupportedOperationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *UnsupportedOperationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s UnsupportedOperationException) 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 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 (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 (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput
SetResourceARN sets the ResourceARN field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
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 (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
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 (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 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 Amazon 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 (s UpdateAvailabilityConfigurationInput) 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 (s *UpdateAvailabilityConfigurationInput) SetDomainName(v string) *UpdateAvailabilityConfigurationInput
SetDomainName sets the DomainName field's value.
func (s *UpdateAvailabilityConfigurationInput) SetEwsProvider(v *EwsAvailabilityProvider) *UpdateAvailabilityConfigurationInput
SetEwsProvider sets the EwsProvider field's value.
func (s *UpdateAvailabilityConfigurationInput) SetLambdaProvider(v *LambdaAvailabilityProvider) *UpdateAvailabilityConfigurationInput
SetLambdaProvider sets the LambdaProvider field's value.
func (s *UpdateAvailabilityConfigurationInput) SetOrganizationId(v string) *UpdateAvailabilityConfigurationInput
SetOrganizationId sets the OrganizationId field's value.
func (s UpdateAvailabilityConfigurationInput) 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 (s *UpdateAvailabilityConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAvailabilityConfigurationOutput struct {
// contains filtered or unexported fields
}
func (s UpdateAvailabilityConfigurationOutput) 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 (s UpdateAvailabilityConfigurationOutput) 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 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 Amazon 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 (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 (s *UpdateDefaultMailDomainInput) SetDomainName(v string) *UpdateDefaultMailDomainInput
SetDomainName sets the DomainName field's value.
func (s *UpdateDefaultMailDomainInput) SetOrganizationId(v string) *UpdateDefaultMailDomainInput
SetOrganizationId sets the OrganizationId field's value.
func (s UpdateDefaultMailDomainInput) 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 (s *UpdateDefaultMailDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDefaultMailDomainOutput struct {
// contains filtered or unexported fields
}
func (s UpdateDefaultMailDomainOutput) 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 (s UpdateDefaultMailDomainOutput) 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 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. // // UserId is a required field UserId *string `min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *UpdateMailboxQuotaInput) SetMailboxQuota(v int64) *UpdateMailboxQuotaInput
SetMailboxQuota sets the MailboxQuota field's value.
func (s *UpdateMailboxQuotaInput) SetOrganizationId(v string) *UpdateMailboxQuotaInput
SetOrganizationId sets the OrganizationId field's value.
func (s *UpdateMailboxQuotaInput) SetUserId(v string) *UpdateMailboxQuotaInput
SetUserId sets the UserId field's value.
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 (s *UpdateMailboxQuotaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateMailboxQuotaOutput struct {
// contains filtered or unexported fields
}
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 (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 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 Amazon 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 (s UpdateMobileDeviceAccessRuleInput) 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 (s *UpdateMobileDeviceAccessRuleInput) SetDescription(v string) *UpdateMobileDeviceAccessRuleInput
SetDescription sets the Description field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetDeviceModels(v []*string) *UpdateMobileDeviceAccessRuleInput
SetDeviceModels sets the DeviceModels field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetDeviceOperatingSystems(v []*string) *UpdateMobileDeviceAccessRuleInput
SetDeviceOperatingSystems sets the DeviceOperatingSystems field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetDeviceTypes(v []*string) *UpdateMobileDeviceAccessRuleInput
SetDeviceTypes sets the DeviceTypes field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetDeviceUserAgents(v []*string) *UpdateMobileDeviceAccessRuleInput
SetDeviceUserAgents sets the DeviceUserAgents field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetEffect(v string) *UpdateMobileDeviceAccessRuleInput
SetEffect sets the Effect field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetMobileDeviceAccessRuleId(v string) *UpdateMobileDeviceAccessRuleInput
SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetName(v string) *UpdateMobileDeviceAccessRuleInput
SetName sets the Name field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetNotDeviceModels(v []*string) *UpdateMobileDeviceAccessRuleInput
SetNotDeviceModels sets the NotDeviceModels field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetNotDeviceOperatingSystems(v []*string) *UpdateMobileDeviceAccessRuleInput
SetNotDeviceOperatingSystems sets the NotDeviceOperatingSystems field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetNotDeviceTypes(v []*string) *UpdateMobileDeviceAccessRuleInput
SetNotDeviceTypes sets the NotDeviceTypes field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetNotDeviceUserAgents(v []*string) *UpdateMobileDeviceAccessRuleInput
SetNotDeviceUserAgents sets the NotDeviceUserAgents field's value.
func (s *UpdateMobileDeviceAccessRuleInput) SetOrganizationId(v string) *UpdateMobileDeviceAccessRuleInput
SetOrganizationId sets the OrganizationId field's value.
func (s UpdateMobileDeviceAccessRuleInput) 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 (s *UpdateMobileDeviceAccessRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateMobileDeviceAccessRuleOutput struct {
// contains filtered or unexported fields
}
func (s UpdateMobileDeviceAccessRuleOutput) 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 (s UpdateMobileDeviceAccessRuleOutput) 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 UpdatePrimaryEmailAddressInput struct { // The value of the email to be updated as primary. // // Email is a required field Email *string `min:"1" type:"string" required:"true"` // The user, group, or resource to update. // // EntityId is a required field EntityId *string `min:"12" type:"string" required:"true"` // The organization that contains the user, group, or resource to update. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
func (s UpdatePrimaryEmailAddressInput) 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 (s *UpdatePrimaryEmailAddressInput) SetEmail(v string) *UpdatePrimaryEmailAddressInput
SetEmail sets the Email field's value.
func (s *UpdatePrimaryEmailAddressInput) SetEntityId(v string) *UpdatePrimaryEmailAddressInput
SetEntityId sets the EntityId field's value.
func (s *UpdatePrimaryEmailAddressInput) SetOrganizationId(v string) *UpdatePrimaryEmailAddressInput
SetOrganizationId sets the OrganizationId field's value.
func (s UpdatePrimaryEmailAddressInput) 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 (s *UpdatePrimaryEmailAddressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdatePrimaryEmailAddressOutput struct {
// contains filtered or unexported fields
}
func (s UpdatePrimaryEmailAddressOutput) 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 (s UpdatePrimaryEmailAddressOutput) 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 UpdateResourceInput struct { // The resource's booking options to be updated. BookingOptions *BookingOptions `type:"structure"` // The name of the resource to be updated. Name *string `min:"1" type:"string"` // The identifier associated with the organization for which the resource is // updated. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` // The identifier of the resource to be updated. // // ResourceId is a required field ResourceId *string `min:"34" type:"string" required:"true"` // contains filtered or unexported fields }
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 (s *UpdateResourceInput) SetBookingOptions(v *BookingOptions) *UpdateResourceInput
SetBookingOptions sets the BookingOptions field's value.
func (s *UpdateResourceInput) SetName(v string) *UpdateResourceInput
SetName sets the Name field's value.
func (s *UpdateResourceInput) SetOrganizationId(v string) *UpdateResourceInput
SetOrganizationId sets the OrganizationId field's value.
func (s *UpdateResourceInput) SetResourceId(v string) *UpdateResourceInput
SetResourceId sets the ResourceId field's value.
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 (s *UpdateResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResourceOutput struct {
// contains filtered or unexported fields
}
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 (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 User struct { // The date indicating when the user was disabled from Amazon WorkMail use. DisabledDate *time.Time `type:"timestamp"` // The display name of the user. DisplayName *string `type:"string"` // The email of the user. Email *string `min:"1" type:"string"` // The date indicating when the user was enabled for Amazon WorkMail use. EnabledDate *time.Time `type:"timestamp"` // The identifier of the user. Id *string `min:"12" type:"string"` // The name of the user. Name *string `min:"1" type:"string"` // The state of the user, which can be ENABLED, DISABLED, or DELETED. State *string `type:"string" enum:"EntityState"` // The role of the user. UserRole *string `type:"string" enum:"UserRole"` // contains filtered or unexported fields }
The representation of an Amazon WorkMail user.
func (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 (s *User) SetDisabledDate(v time.Time) *User
SetDisabledDate sets the DisabledDate field's value.
func (s *User) SetDisplayName(v string) *User
SetDisplayName sets the DisplayName field's value.
func (s *User) SetEmail(v string) *User
SetEmail sets the Email field's value.
func (s *User) SetEnabledDate(v time.Time) *User
SetEnabledDate sets the EnabledDate field's value.
func (s *User) SetId(v string) *User
SetId sets the Id field's value.
func (s *User) SetName(v string) *User
SetName sets the Name field's value.
func (s *User) SetState(v string) *User
SetState sets the State field's value.
func (s *User) SetUserRole(v string) *User
SetUserRole sets the UserRole field's value.
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 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(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 (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.
See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateDelegateToResource
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 (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 (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 (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 (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 (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 (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 (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 (c *WorkMail) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error)
CreateAlias API operation for Amazon WorkMail.
Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon WorkMail's API operation CreateAlias for usage and error information.
Returned Error Types:
EmailAddressInUseException The email address that you're trying to assign is already created for a different user, group, or resource.
EntityNotFoundException The identifier supplied for the user, group, or resource does not exist in your organization.
EntityStateException You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.
InvalidParameterException One or more of the input parameters don't match the service's restrictions.
MailDomainNotFoundException 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 (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 (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 (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 Amazon 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 (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 (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 (c *WorkMail) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error)
CreateGroup API operation for Amazon WorkMail.
Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon WorkMail's API operation CreateGroup for usage and error information.
Returned Error Types:
DirectoryServiceAuthenticationFailedException The directory service doesn't recognize the credentials supplied by WorkMail.
DirectoryUnavailableException The directory 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 Amazon WorkMail.
OrganizationNotFoundException An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationStateException The organization must have a valid state to perform certain operations on the organization or its members.
ReservedNameException This user, group, or resource name is not allowed in Amazon WorkMail.
UnsupportedOperationException You can't perform a write operation against a read-only directory.
See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateGroup
func (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 (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 (c *WorkMail) CreateMobileDeviceAccessRule(input *CreateMobileDeviceAccessRuleInput) (*CreateMobileDeviceAccessRuleOutput, error)
CreateMobileDeviceAccessRule API operation for Amazon WorkMail.
Creates a new mobile device access rule for the specified Amazon 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 (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 (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 (c *WorkMail) CreateOrganization(input *CreateOrganizationInput) (*CreateOrganizationOutput, error)
CreateOrganization API operation for Amazon WorkMail.
Creates a new Amazon 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 Amazon 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 Amazon WorkMail Administrator Guide.
You can associate multiple email domains with an organization, then set your default email domain from the Amazon 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 Amazon WorkMail Administrator Guide.
Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed master 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 Amazon WorkMail.
See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateOrganization
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 (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 (c *WorkMail) CreateResource(input *CreateResourceInput) (*CreateResourceOutput, error)
CreateResource API operation for Amazon WorkMail.
Creates a new Amazon WorkMail resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon WorkMail's API operation CreateResource for usage and error information.
Returned Error Types:
DirectoryServiceAuthenticationFailedException The directory service doesn't recognize the credentials supplied by WorkMail.
DirectoryUnavailableException The directory 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 Amazon WorkMail.
OrganizationNotFoundException An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationStateException The organization must have a valid state to perform certain operations on the organization or its members.
ReservedNameException This user, group, or resource name is not allowed in Amazon WorkMail.
See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateResource
func (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 (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 (c *WorkMail) CreateUser(input *CreateUserInput) (*CreateUserOutput, error)
CreateUser API operation for Amazon WorkMail.
Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon WorkMail's API operation CreateUser for usage and error information.
Returned Error Types:
DirectoryServiceAuthenticationFailedException The directory service doesn't recognize the credentials supplied by WorkMail.
DirectoryUnavailableException The directory 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 Amazon WorkMail.
OrganizationNotFoundException An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationStateException The organization must have a valid state to perform certain operations on the organization or its members.
ReservedNameException This user, group, or resource name is not allowed in Amazon WorkMail.
UnsupportedOperationException You can't perform a write operation against a read-only directory.
See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateUser
func (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (c *WorkMail) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error)
DeleteGroup API operation for Amazon WorkMail.
Deletes a group from Amazon WorkMail.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon WorkMail's API operation DeleteGroup for usage and error information.
Returned Error Types:
DirectoryServiceAuthenticationFailedException The directory service doesn't recognize the credentials supplied by WorkMail.
DirectoryUnavailableException The directory 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 (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 (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 (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 (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 (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 (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 (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 (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 (c *WorkMail) DeleteMobileDeviceAccessRule(input *DeleteMobileDeviceAccessRuleInput) (*DeleteMobileDeviceAccessRuleOutput, error)
DeleteMobileDeviceAccessRule API operation for Amazon WorkMail.
Deletes a mobile device access rule for the specified Amazon 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 (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 (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 (c *WorkMail) DeleteOrganization(input *DeleteOrganizationInput) (*DeleteOrganizationOutput, error)
DeleteOrganization API operation for Amazon WorkMail.
Deletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon 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 Amazon 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 (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 (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 (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.
See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteResource
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 (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 (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 (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 (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 (c *WorkMail) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error)
DeleteUser API operation for Amazon WorkMail.
Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must be DISABLED. Use the DescribeUser action to confirm the user state.
Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon WorkMail's API operation DeleteUser for usage and error information.
Returned Error Types:
DirectoryServiceAuthenticationFailedException The directory service doesn't recognize the credentials supplied by WorkMail.
DirectoryUnavailableException The directory 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 (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 (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 (c *WorkMail) DeregisterFromWorkMail(input *DeregisterFromWorkMailInput) (*DeregisterFromWorkMailOutput, error)
DeregisterFromWorkMail API operation for Amazon WorkMail.
Mark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon WorkMail's API operation DeregisterFromWorkMail for usage and error information.
Returned Error Types:
EntityNotFoundException The identifier supplied for the user, group, or resource does not exist in your organization.
EntityStateException You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.
InvalidParameterException One or more of the input parameters don't match the service's restrictions.
OrganizationNotFoundException An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationStateException The organization must have a valid state 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 (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 (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 (c *WorkMail) DeregisterMailDomain(input *DeregisterMailDomainInput) (*DeregisterMailDomainOutput, error)
DeregisterMailDomain API operation for Amazon WorkMail.
Removes a domain from Amazon 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 Amazon 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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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.
See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeResource
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 (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 (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 (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 (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 (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.
See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateDelegateFromResource
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 (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 (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 (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 (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 (c *WorkMail) GetAccessControlEffect(input *GetAccessControlEffectInput) (*GetAccessControlEffectOutput, error)
GetAccessControlEffect API operation for Amazon WorkMail.
Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon WorkMail's API operation GetAccessControlEffect for usage and error information.
Returned Error Types:
EntityNotFoundException The identifier supplied for the user, group, or resource does not exist in your organization.
InvalidParameterException One or more of the input parameters don't match the service's restrictions.
OrganizationNotFoundException An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationStateException The organization must have a valid state 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 (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 (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 (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 (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 (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 (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 (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 (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 (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: