{ "smithy": "2.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.workmail#AccessControlRule": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.workmail#AccessControlRuleName", "traits": { "smithy.api#documentation": "

The rule name.

" } }, "Effect": { "target": "com.amazonaws.workmail#AccessControlRuleEffect", "traits": { "smithy.api#documentation": "

The rule effect.

" } }, "Description": { "target": "com.amazonaws.workmail#AccessControlRuleDescription", "traits": { "smithy.api#documentation": "

The rule description.

" } }, "IpRanges": { "target": "com.amazonaws.workmail#IpRangeList", "traits": { "smithy.api#documentation": "

IPv4 CIDR ranges to include in the rule.

" } }, "NotIpRanges": { "target": "com.amazonaws.workmail#IpRangeList", "traits": { "smithy.api#documentation": "

IPv4 CIDR ranges to exclude from the rule.

" } }, "Actions": { "target": "com.amazonaws.workmail#ActionsList", "traits": { "smithy.api#documentation": "

Access protocol actions to include in the rule. Valid values include\n ActiveSync, AutoDiscover, EWS, IMAP,\n SMTP, WindowsOutlook, and WebMail.

" } }, "NotActions": { "target": "com.amazonaws.workmail#ActionsList", "traits": { "smithy.api#documentation": "

Access protocol actions to exclude from the rule. Valid values include\n ActiveSync, AutoDiscover, EWS, IMAP,\n SMTP, WindowsOutlook, and WebMail.

" } }, "UserIds": { "target": "com.amazonaws.workmail#UserIdList", "traits": { "smithy.api#documentation": "

User IDs to include in the rule.

" } }, "NotUserIds": { "target": "com.amazonaws.workmail#UserIdList", "traits": { "smithy.api#documentation": "

User IDs to exclude from the rule.

" } }, "DateCreated": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date that the rule was created.

" } }, "DateModified": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date that the rule was modified.

" } }, "ImpersonationRoleIds": { "target": "com.amazonaws.workmail#ImpersonationRoleIdList", "traits": { "smithy.api#documentation": "

Impersonation role IDs to include in the rule.

" } }, "NotImpersonationRoleIds": { "target": "com.amazonaws.workmail#ImpersonationRoleIdList", "traits": { "smithy.api#documentation": "

Impersonation role IDs to exclude from the rule.

" } } }, "traits": { "smithy.api#documentation": "

A rule that controls access to an WorkMail organization.

" } }, "com.amazonaws.workmail#AccessControlRuleAction": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z]+$" } }, "com.amazonaws.workmail#AccessControlRuleDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" } }, "com.amazonaws.workmail#AccessControlRuleEffect": { "type": "enum", "members": { "ALLOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ALLOW" } }, "DENY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DENY" } } } }, "com.amazonaws.workmail#AccessControlRuleName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.workmail#AccessControlRuleNameList": { "type": "list", "member": { "target": "com.amazonaws.workmail#AccessControlRuleName" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.workmail#AccessControlRulesList": { "type": "list", "member": { "target": "com.amazonaws.workmail#AccessControlRule" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.workmail#AccessEffect": { "type": "enum", "members": { "ALLOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ALLOW" } }, "DENY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DENY" } } } }, "com.amazonaws.workmail#ActionsList": { "type": "list", "member": { "target": "com.amazonaws.workmail#AccessControlRuleAction" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.workmail#Aliases": { "type": "list", "member": { "target": "com.amazonaws.workmail#EmailAddress" } }, "com.amazonaws.workmail#AmazonResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:aws:workmail:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$" } }, "com.amazonaws.workmail#ApplicationArn": { "type": "string", "traits": { "smithy.api#length": { "min": 10, "max": 1224 }, "smithy.api#pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::\\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}$" } }, "com.amazonaws.workmail#AssociateDelegateToResource": { "type": "operation", "input": { "target": "com.amazonaws.workmail#AssociateDelegateToResourceRequest" }, "output": { "target": "com.amazonaws.workmail#AssociateDelegateToResourceResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#AssociateDelegateToResourceRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization under which the resource exists.

", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The resource for which members (users or groups) are associated.

\n

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The member (user or group) to associate to the resource.

\n

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#AssociateDelegateToResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#AssociateMemberToGroup": { "type": "operation", "input": { "target": "com.amazonaws.workmail#AssociateMemberToGroupRequest" }, "output": { "target": "com.amazonaws.workmail#AssociateMemberToGroupResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#AssociateMemberToGroupRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization under which the group exists.

", "smithy.api#required": {} } }, "GroupId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The group to which the member (user or group) is associated.

\n

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "MemberId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The member (user or group) to associate to the group.

\n

The member ID can accept UserID or GroupId, Username or Groupname, or email.

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#AssociateMemberToGroupResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#AssumeImpersonationRole": { "type": "operation", "input": { "target": "com.amazonaws.workmail#AssumeImpersonationRoleRequest" }, "output": { "target": "com.amazonaws.workmail#AssumeImpersonationRoleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Assumes an impersonation role for the given WorkMail organization. This method returns an\n authentication token you can use to make impersonated calls.

" } }, "com.amazonaws.workmail#AssumeImpersonationRoleRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization under which the impersonation role will be assumed.

", "smithy.api#required": {} } }, "ImpersonationRoleId": { "target": "com.amazonaws.workmail#ImpersonationRoleId", "traits": { "smithy.api#documentation": "

The impersonation role ID to assume.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#AssumeImpersonationRoleResponse": { "type": "structure", "members": { "Token": { "target": "com.amazonaws.workmail#ImpersonationToken", "traits": { "smithy.api#documentation": "

The authentication token for the impersonation role.

" } }, "ExpiresIn": { "target": "com.amazonaws.workmail#ExpiresIn", "traits": { "smithy.api#documentation": "

The authentication token's validity, in seconds.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#AvailabilityConfiguration": { "type": "structure", "members": { "DomainName": { "target": "com.amazonaws.workmail#DomainName", "traits": { "smithy.api#documentation": "

Displays the domain to which the provider applies.

" } }, "ProviderType": { "target": "com.amazonaws.workmail#AvailabilityProviderType", "traits": { "smithy.api#documentation": "

Displays the provider type that applies to this domain.

" } }, "EwsProvider": { "target": "com.amazonaws.workmail#RedactedEwsAvailabilityProvider", "traits": { "smithy.api#documentation": "

If ProviderType is EWS, then this field contains\n RedactedEwsAvailabilityProvider. Otherwise, it is not required.

" } }, "LambdaProvider": { "target": "com.amazonaws.workmail#LambdaAvailabilityProvider", "traits": { "smithy.api#documentation": "

If ProviderType is LAMBDA then this field contains\n LambdaAvailabilityProvider. Otherwise, it is not required.

" } }, "DateCreated": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time at which the availability configuration was created.

" } }, "DateModified": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time at which the availability configuration was last modified.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#AvailabilityConfigurationList": { "type": "list", "member": { "target": "com.amazonaws.workmail#AvailabilityConfiguration" } }, "com.amazonaws.workmail#AvailabilityProviderType": { "type": "enum", "members": { "EWS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EWS" } }, "LAMBDA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LAMBDA" } } } }, "com.amazonaws.workmail#BookingOptions": { "type": "structure", "members": { "AutoAcceptRequests": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

The resource's ability to automatically reply to requests. If disabled, delegates\n must be associated to the resource.

" } }, "AutoDeclineRecurringRequests": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

The resource's ability to automatically decline any recurring requests.

" } }, "AutoDeclineConflictingRequests": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

The resource's ability to automatically decline any conflicting requests.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#Boolean": { "type": "boolean", "traits": { "smithy.api#default": false } }, "com.amazonaws.workmail#BooleanObject": { "type": "boolean" }, "com.amazonaws.workmail#CancelMailboxExportJob": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CancelMailboxExportJobRequest" }, "output": { "target": "com.amazonaws.workmail#CancelMailboxExportJobResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Cancels a mailbox export job.

\n \n

If the mailbox export job is near completion, it might not be possible to cancel\n it.

\n
", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#CancelMailboxExportJobRequest": { "type": "structure", "members": { "ClientToken": { "target": "com.amazonaws.workmail#IdempotencyClientToken", "traits": { "smithy.api#documentation": "

The idempotency token for the client request.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } }, "JobId": { "target": "com.amazonaws.workmail#MailboxExportJobId", "traits": { "smithy.api#documentation": "

The job ID.

", "smithy.api#required": {} } }, "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization ID.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CancelMailboxExportJobResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateAlias": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CreateAliasRequest" }, "output": { "target": "com.amazonaws.workmail#CreateAliasResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EmailAddressInUseException" }, { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#MailDomainNotFoundException" }, { "target": "com.amazonaws.workmail#MailDomainStateException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#CreateAliasRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization under which the member (user or group) exists.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The member (user or group) to which this alias is added.

", "smithy.api#required": {} } }, "Alias": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The alias to add to the member set.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateAliasResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateAvailabilityConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CreateAvailabilityConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#CreateAvailabilityConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#NameAvailabilityException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Creates an AvailabilityConfiguration for the given WorkMail organization and domain.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#CreateAvailabilityConfigurationRequest": { "type": "structure", "members": { "ClientToken": { "target": "com.amazonaws.workmail#IdempotencyClientToken", "traits": { "smithy.api#documentation": "

An idempotent token that ensures that an API request is executed only once.

", "smithy.api#idempotencyToken": {} } }, "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which the AvailabilityConfiguration will be created.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#DomainName", "traits": { "smithy.api#documentation": "

The domain to which the provider applies.

", "smithy.api#required": {} } }, "EwsProvider": { "target": "com.amazonaws.workmail#EwsAvailabilityProvider", "traits": { "smithy.api#documentation": "

Exchange Web Services (EWS) availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider.

" } }, "LambdaProvider": { "target": "com.amazonaws.workmail#LambdaAvailabilityProvider", "traits": { "smithy.api#documentation": "

Lambda availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateAvailabilityConfigurationResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateGroup": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CreateGroupRequest" }, "output": { "target": "com.amazonaws.workmail#CreateGroupResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#NameAvailabilityException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ReservedNameException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#CreateGroupRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization under which the group is to be created.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.workmail#GroupName", "traits": { "smithy.api#documentation": "

The name of the group.

", "smithy.api#required": {} } }, "HiddenFromGlobalAddressList": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

If this parameter is enabled, the group will be hidden from the address book.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateGroupResponse": { "type": "structure", "members": { "GroupId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the group.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateIdentityCenterApplication": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CreateIdentityCenterApplicationRequest" }, "output": { "target": "com.amazonaws.workmail#CreateIdentityCenterApplicationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" } ], "traits": { "smithy.api#documentation": "

\n Creates the WorkMail application in IAM Identity Center that can be used later in the WorkMail - IdC integration. For more information, see PutIdentityProviderConfiguration. This action does not affect the authentication settings for any WorkMail organizations.\n

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#CreateIdentityCenterApplicationRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.workmail#IdentityCenterApplicationName", "traits": { "smithy.api#documentation": "

\n The name of the IAM Identity Center application.\n \n \n

", "smithy.api#required": {} } }, "InstanceArn": { "target": "com.amazonaws.workmail#InstanceArn", "traits": { "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the instance.\n

", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.workmail#IdempotencyClientToken", "traits": { "smithy.api#documentation": "

\n The idempotency token associated with the request.\n \n \n

", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateIdentityCenterApplicationResponse": { "type": "structure", "members": { "ApplicationArn": { "target": "com.amazonaws.workmail#ApplicationArn", "traits": { "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the application.\n

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateImpersonationRole": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CreateImpersonationRoleRequest" }, "output": { "target": "com.amazonaws.workmail#CreateImpersonationRoleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Creates an impersonation role for the given WorkMail organization.

\n

\n Idempotency ensures that an API request completes no more than one\n time. With an idempotent request, if the original request completes successfully, any\n subsequent retries also complete successfully without performing any further\n actions.

" } }, "com.amazonaws.workmail#CreateImpersonationRoleRequest": { "type": "structure", "members": { "ClientToken": { "target": "com.amazonaws.workmail#IdempotencyClientToken", "traits": { "smithy.api#documentation": "

The idempotency token for the client request.

", "smithy.api#idempotencyToken": {} } }, "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization to create the new impersonation role within.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.workmail#ImpersonationRoleName", "traits": { "smithy.api#documentation": "

The name of the new impersonation role.

", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.workmail#ImpersonationRoleType", "traits": { "smithy.api#documentation": "

The impersonation role's type. The available impersonation role types are\n READ_ONLY or FULL_ACCESS.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.workmail#ImpersonationRoleDescription", "traits": { "smithy.api#documentation": "

The description of the new impersonation role.

" } }, "Rules": { "target": "com.amazonaws.workmail#ImpersonationRuleList", "traits": { "smithy.api#documentation": "

The list of rules for the impersonation role.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateImpersonationRoleResponse": { "type": "structure", "members": { "ImpersonationRoleId": { "target": "com.amazonaws.workmail#ImpersonationRoleId", "traits": { "smithy.api#documentation": "

The new impersonation role ID.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateMobileDeviceAccessRule": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CreateMobileDeviceAccessRuleRequest" }, "output": { "target": "com.amazonaws.workmail#CreateMobileDeviceAccessRuleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Creates a new mobile device access rule for the specified WorkMail organization.

" } }, "com.amazonaws.workmail#CreateMobileDeviceAccessRuleRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization under which the rule will be created.

", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.workmail#IdempotencyClientToken", "traits": { "smithy.api#documentation": "

The idempotency token for the client request.

", "smithy.api#idempotencyToken": {} } }, "Name": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleName", "traits": { "smithy.api#documentation": "

The rule name.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleDescription", "traits": { "smithy.api#documentation": "

The rule description.

" } }, "Effect": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", "traits": { "smithy.api#documentation": "

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

", "smithy.api#required": {} } }, "DeviceTypes": { "target": "com.amazonaws.workmail#DeviceTypeList", "traits": { "smithy.api#documentation": "

Device types that the rule will match.

" } }, "NotDeviceTypes": { "target": "com.amazonaws.workmail#DeviceTypeList", "traits": { "smithy.api#documentation": "

Device types that the rule will not match. All other device types will match.

" } }, "DeviceModels": { "target": "com.amazonaws.workmail#DeviceModelList", "traits": { "smithy.api#documentation": "

Device models that the rule will match.

" } }, "NotDeviceModels": { "target": "com.amazonaws.workmail#DeviceModelList", "traits": { "smithy.api#documentation": "

Device models that the rule will not match. All other device models will match.

" } }, "DeviceOperatingSystems": { "target": "com.amazonaws.workmail#DeviceOperatingSystemList", "traits": { "smithy.api#documentation": "

Device operating systems that the rule will match.

" } }, "NotDeviceOperatingSystems": { "target": "com.amazonaws.workmail#DeviceOperatingSystemList", "traits": { "smithy.api#documentation": "

Device operating systems that the rule will not match. All other device operating systems will match.

" } }, "DeviceUserAgents": { "target": "com.amazonaws.workmail#DeviceUserAgentList", "traits": { "smithy.api#documentation": "

Device user agents that the rule will match.

" } }, "NotDeviceUserAgents": { "target": "com.amazonaws.workmail#DeviceUserAgentList", "traits": { "smithy.api#documentation": "

Device user agents that the rule will not match. All other device user agents will match.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateMobileDeviceAccessRuleResponse": { "type": "structure", "members": { "MobileDeviceAccessRuleId": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleId", "traits": { "smithy.api#documentation": "

The identifier for the newly created mobile device access rule.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateOrganization": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CreateOrganizationRequest" }, "output": { "target": "com.amazonaws.workmail#CreateOrganizationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryInUseException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#NameAvailabilityException" } ], "traits": { "smithy.api#documentation": "

Creates a new WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new WorkMail directory for you. For more information, see Adding an organization in the WorkMail Administrator Guide.

\n

You can associate multiple email domains with an organization, then choose your\n default email domain from the WorkMail console. You can also associate a domain that is managed\n in an Amazon Route 53 public hosted zone. For more information, see Adding a\n domain and Choosing the default domain\n in the WorkMail Administrator Guide.

\n

Optionally, you can use a customer managed key from AWS Key Management Service (AWS\n KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail\n creates a default, AWS managed key for you.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#CreateOrganizationRequest": { "type": "structure", "members": { "DirectoryId": { "target": "com.amazonaws.workmail#DirectoryId", "traits": { "smithy.api#documentation": "

The AWS Directory Service directory ID.

" } }, "Alias": { "target": "com.amazonaws.workmail#OrganizationName", "traits": { "smithy.api#documentation": "

The organization alias.

", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.workmail#IdempotencyClientToken", "traits": { "smithy.api#documentation": "

The idempotency token associated with the request.

", "smithy.api#idempotencyToken": {} } }, "Domains": { "target": "com.amazonaws.workmail#Domains", "traits": { "smithy.api#documentation": "

The email domains to associate with the organization.

" } }, "KmsKeyArn": { "target": "com.amazonaws.workmail#KmsKeyArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.

" } }, "EnableInteroperability": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

When true, allows organization interoperability between WorkMail and\n Microsoft Exchange. If true, you must include a AD Connector directory ID in\n the request.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateOrganizationResponse": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization ID.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateResource": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CreateResourceRequest" }, "output": { "target": "com.amazonaws.workmail#CreateResourceResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#NameAvailabilityException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ReservedNameException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Creates a new WorkMail resource.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#CreateResourceRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier associated with the organization for which the resource is\n created.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.workmail#ResourceName", "traits": { "smithy.api#documentation": "

The name of the new resource.

", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.workmail#ResourceType", "traits": { "smithy.api#documentation": "

The type of the new resource. The available types are equipment and\n room.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.workmail#ResourceDescription", "traits": { "smithy.api#documentation": "

Resource description.

" } }, "HiddenFromGlobalAddressList": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

If this parameter is enabled, the resource will be hidden from the address book.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateResourceResponse": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.workmail#ResourceId", "traits": { "smithy.api#documentation": "

The identifier of the new resource.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateUser": { "type": "operation", "input": { "target": "com.amazonaws.workmail#CreateUserRequest" }, "output": { "target": "com.amazonaws.workmail#CreateUserResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#InvalidPasswordException" }, { "target": "com.amazonaws.workmail#NameAvailabilityException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ReservedNameException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#CreateUserRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier of the organization for which the user is created.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.workmail#UserName", "traits": { "smithy.api#documentation": "

The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.

", "smithy.api#required": {} } }, "DisplayName": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

The display name for the new user.

", "smithy.api#required": {} } }, "Password": { "target": "com.amazonaws.workmail#Password", "traits": { "smithy.api#documentation": "

The password for the new user.

" } }, "Role": { "target": "com.amazonaws.workmail#UserRole", "traits": { "smithy.api#documentation": "

The role of the new user.

\n

You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.

" } }, "FirstName": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

The first name of the new user.

" } }, "LastName": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

The last name of the new user.

" } }, "HiddenFromGlobalAddressList": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

If this parameter is enabled, the user will be hidden from the address book.

" } }, "IdentityProviderUserId": { "target": "com.amazonaws.workmail#IdentityProviderUserId", "traits": { "smithy.api#documentation": "

User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateUserResponse": { "type": "structure", "members": { "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the new user.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#Delegate": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The identifier for the user or group associated as the resource's delegate.

", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.workmail#MemberType", "traits": { "smithy.api#documentation": "

The type of the delegate: user or group.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#DeleteAccessControlRule": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteAccessControlRuleRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteAccessControlRuleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Deletes an access control rule for the specified WorkMail organization.

\n \n

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.

\n
" } }, "com.amazonaws.workmail#DeleteAccessControlRuleRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.workmail#AccessControlRuleName", "traits": { "smithy.api#documentation": "

The name of the access control rule.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteAccessControlRuleResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteAlias": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteAliasRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteAliasResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Remove one or more specified aliases from a set of aliases for a given\n user.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteAliasRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the user exists.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the member (user or group) from which to have the aliases\n removed.

", "smithy.api#required": {} } }, "Alias": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The aliases to be removed from the user's set of aliases. Duplicate entries in the\n list are collapsed into single entries (the list is transformed into a set).

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteAliasResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteAvailabilityConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteAvailabilityConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteAvailabilityConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Deletes the AvailabilityConfiguration for the given WorkMail organization and domain.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteAvailabilityConfigurationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which the AvailabilityConfiguration will be deleted.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#DomainName", "traits": { "smithy.api#documentation": "

The domain for which the AvailabilityConfiguration will be deleted.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteAvailabilityConfigurationResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteEmailMonitoringConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteEmailMonitoringConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteEmailMonitoringConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Deletes the email monitoring configuration for a specified organization.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteEmailMonitoringConfigurationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The ID of the organization from which the email monitoring configuration is deleted.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteEmailMonitoringConfigurationResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteGroup": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteGroupRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteGroupResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Deletes a group from WorkMail.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteGroupRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization that contains the group.

", "smithy.api#required": {} } }, "GroupId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the group to be deleted.

\n

The identifier can be the GroupId, or Groupname. The following identity formats are available:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteGroupResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteIdentityCenterApplication": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteIdentityCenterApplicationRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteIdentityCenterApplicationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

\n Deletes the IAM Identity Center application from WorkMail. This action does not affect the authentication settings for any WorkMail organizations.\n

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteIdentityCenterApplicationRequest": { "type": "structure", "members": { "ApplicationArn": { "target": "com.amazonaws.workmail#ApplicationArn", "traits": { "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the application.\n

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteIdentityCenterApplicationResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteIdentityProviderConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteIdentityProviderConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteIdentityProviderConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

\n Disables the integration between IdC and WorkMail. Authentication will continue with the directory as it was before the IdC integration. You might have to reset your directory passwords and reconfigure your desktop and mobile email clients.\n

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteIdentityProviderConfigurationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

\nThe Organization ID.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteIdentityProviderConfigurationResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteImpersonationRole": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteImpersonationRoleRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteImpersonationRoleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Deletes an impersonation role for the given WorkMail organization.

" } }, "com.amazonaws.workmail#DeleteImpersonationRoleRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization from which to delete the impersonation role.

", "smithy.api#required": {} } }, "ImpersonationRoleId": { "target": "com.amazonaws.workmail#ImpersonationRoleId", "traits": { "smithy.api#documentation": "

The ID of the impersonation role to delete.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteImpersonationRoleResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteMailboxPermissions": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteMailboxPermissionsRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteMailboxPermissionsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Deletes permissions granted to a member (user or group).

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteMailboxPermissionsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier of the organization under which the member (user or group)\n exists.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the entity that owns the mailbox.

\n

The identifier can be UserId or Group Id, Username or Groupname, or email.

\n ", "smithy.api#required": {} } }, "GranteeId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the entity for which to delete granted permissions.

\n

The identifier can be UserId, ResourceID, or Group Id, Username or Groupname, or email.

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteMailboxPermissionsResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessOverride": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessOverrideRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessOverrideResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Deletes the mobile device access override for the given WorkMail organization, user, and device.

\n \n

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.

\n
" } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessOverrideRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which the access override will be deleted.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The WorkMail user for which you want to delete the override. Accepts the following types of user identities:

\n ", "smithy.api#required": {} } }, "DeviceId": { "target": "com.amazonaws.workmail#DeviceId", "traits": { "smithy.api#documentation": "

The mobile device for which you delete the override. DeviceId is case insensitive.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessOverrideResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessRule": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessRuleRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessRuleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Deletes a mobile device access rule for the specified WorkMail organization.

\n \n

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.

\n
" } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessRuleRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization under which the rule will be deleted.

", "smithy.api#required": {} } }, "MobileDeviceAccessRuleId": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleId", "traits": { "smithy.api#documentation": "

The identifier of the rule to be deleted.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessRuleResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteOrganization": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteOrganizationRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteOrganizationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the WorkMail Administrator Guide.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteOrganizationRequest": { "type": "structure", "members": { "ClientToken": { "target": "com.amazonaws.workmail#IdempotencyClientToken", "traits": { "smithy.api#documentation": "

The idempotency token associated with the request.

", "smithy.api#idempotencyToken": {} } }, "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization ID.

", "smithy.api#required": {} } }, "DeleteDirectory": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

If true, deletes the AWS Directory Service directory associated with the organization.

", "smithy.api#required": {} } }, "ForceDelete": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

Deletes a WorkMail organization even if the organization has enabled users.

" } }, "DeleteIdentityCenterApplication": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

Deletes IAM Identity Center application for WorkMail. This action does not affect authentication settings for any organization.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteOrganizationResponse": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization ID.

" } }, "State": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The state of the organization.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeletePersonalAccessToken": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeletePersonalAccessTokenRequest" }, "output": { "target": "com.amazonaws.workmail#DeletePersonalAccessTokenResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

\n Deletes the Personal Access Token from the provided WorkMail Organization.\n

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeletePersonalAccessTokenRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

\n The Organization ID.

", "smithy.api#required": {} } }, "PersonalAccessTokenId": { "target": "com.amazonaws.workmail#PersonalAccessTokenId", "traits": { "smithy.api#documentation": "

\n The Personal Access Token ID.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeletePersonalAccessTokenResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteResource": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteResourceRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteResourceResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Deletes the specified resource.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteResourceRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier associated with the organization from which the resource is\n deleted.

", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the resource to be deleted.

\n

The identifier can accept ResourceId, or Resourcename. The following identity formats are available:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteRetentionPolicy": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteRetentionPolicyRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteRetentionPolicyResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Deletes the specified retention policy from the specified organization.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteRetentionPolicyRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization ID.

", "smithy.api#required": {} } }, "Id": { "target": "com.amazonaws.workmail#ShortString", "traits": { "smithy.api#documentation": "

The retention policy ID.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteRetentionPolicyResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteUser": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeleteUserRequest" }, "output": { "target": "com.amazonaws.workmail#DeleteUserResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Deletes a user from WorkMail and all subsequent systems. Before you can delete a\n user, the user state must be DISABLED. Use the DescribeUser\n action to confirm the user state.

\n

Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for\n 30 days before they are permanently removed.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeleteUserRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization that contains the user to be deleted.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user to be deleted.

\n

The identifier can be the UserId or Username. The following identity formats are available:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteUserResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeregisterFromWorkMail": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeregisterFromWorkMailRequest" }, "output": { "target": "com.amazonaws.workmail#DeregisterFromWorkMailResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Mark a user, group, or resource as no longer used in WorkMail. This action\n disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days\n before they are permanently removed. The functionality in the console is\n Disable.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeregisterFromWorkMailRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the WorkMail entity exists.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the member to be updated.

\n

The identifier can be UserId, ResourceId, or Group Id, Username, Resourcename, or Groupname, or email.

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeregisterFromWorkMailResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DeregisterMailDomain": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DeregisterMailDomainRequest" }, "output": { "target": "com.amazonaws.workmail#DeregisterMailDomainResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidCustomSesConfigurationException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#MailDomainInUseException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first \n remove any email address used by WorkMail entities before you remove the domain.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DeregisterMailDomainRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which the domain will be deregistered.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#WorkMailDomainName", "traits": { "smithy.api#documentation": "

The domain to deregister in WorkMail and SES.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DeregisterMailDomainResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeEmailMonitoringConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DescribeEmailMonitoringConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#DescribeEmailMonitoringConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Describes the current email monitoring configuration for a specified organization.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DescribeEmailMonitoringConfigurationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The ID of the organization for which the email monitoring configuration is described.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeEmailMonitoringConfigurationResponse": { "type": "structure", "members": { "RoleArn": { "target": "com.amazonaws.workmail#RoleArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration.

" } }, "LogGroupArn": { "target": "com.amazonaws.workmail#LogGroupArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeEntity": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DescribeEntityRequest" }, "output": { "target": "com.amazonaws.workmail#DescribeEntityResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Returns basic details about an entity in WorkMail.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DescribeEntityRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the entity exists.

", "smithy.api#required": {} } }, "Email": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The email under which the entity exists.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeEntityResponse": { "type": "structure", "members": { "EntityId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The entity ID under which the entity exists.

" } }, "Name": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

Username, GroupName, or ResourceName based on entity type.

" } }, "Type": { "target": "com.amazonaws.workmail#EntityType", "traits": { "smithy.api#documentation": "

Entity type.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeGroup": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DescribeGroupRequest" }, "output": { "target": "com.amazonaws.workmail#DescribeGroupResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Returns the data available for the group.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DescribeGroupRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the group exists.

", "smithy.api#required": {} } }, "GroupId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the group to be described.

\n

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeGroupResponse": { "type": "structure", "members": { "GroupId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the described group.

" } }, "Name": { "target": "com.amazonaws.workmail#GroupName", "traits": { "smithy.api#documentation": "

The name of the described group.

" } }, "Email": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The email of the described group.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

The state of the user: enabled (registered to WorkMail) or disabled (deregistered or\n never registered to WorkMail).

" } }, "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when a user was registered to WorkMail, in UNIX epoch time\n format.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when a user was deregistered from WorkMail, in UNIX epoch time\n format.

" } }, "HiddenFromGlobalAddressList": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

If the value is set to true, the group is hidden from the address book.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeIdentityProviderConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DescribeIdentityProviderConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#DescribeIdentityProviderConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

\n Returns detailed information on the current IdC setup for the WorkMail organization.\n

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DescribeIdentityProviderConfigurationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

\n The Organization ID.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeIdentityProviderConfigurationResponse": { "type": "structure", "members": { "AuthenticationMode": { "target": "com.amazonaws.workmail#IdentityProviderAuthenticationMode", "traits": { "smithy.api#documentation": "

\nThe authentication mode used in WorkMail.

" } }, "IdentityCenterConfiguration": { "target": "com.amazonaws.workmail#IdentityCenterConfiguration", "traits": { "smithy.api#documentation": "

\n The details of the IAM Identity Center configuration. \n

" } }, "PersonalAccessTokenConfiguration": { "target": "com.amazonaws.workmail#PersonalAccessTokenConfiguration", "traits": { "smithy.api#documentation": "

\n The details of the Personal Access Token configuration.\n

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeInboundDmarcSettings": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DescribeInboundDmarcSettingsRequest" }, "output": { "target": "com.amazonaws.workmail#DescribeInboundDmarcSettingsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Lists the settings in a DMARC policy for a specified organization.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DescribeInboundDmarcSettingsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

Lists the ID of the given organization.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeInboundDmarcSettingsResponse": { "type": "structure", "members": { "Enforced": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

Lists the enforcement setting of the applied policy.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeMailboxExportJob": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DescribeMailboxExportJobRequest" }, "output": { "target": "com.amazonaws.workmail#DescribeMailboxExportJobResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Describes the current status of a mailbox export job.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DescribeMailboxExportJobRequest": { "type": "structure", "members": { "JobId": { "target": "com.amazonaws.workmail#MailboxExportJobId", "traits": { "smithy.api#documentation": "

The mailbox export job ID.

", "smithy.api#required": {} } }, "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization ID.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeMailboxExportJobResponse": { "type": "structure", "members": { "EntityId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user or resource associated with the mailbox.

" } }, "Description": { "target": "com.amazonaws.workmail#Description", "traits": { "smithy.api#documentation": "

The mailbox export job description.

" } }, "RoleArn": { "target": "com.amazonaws.workmail#RoleArn", "traits": { "smithy.api#documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the Amazon Simple\n Storage Service (Amazon S3) bucket.

" } }, "KmsKeyArn": { "target": "com.amazonaws.workmail#KmsKeyArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS)\n key that encrypts the exported mailbox content.

" } }, "S3BucketName": { "target": "com.amazonaws.workmail#S3BucketName", "traits": { "smithy.api#documentation": "

The name of the S3 bucket.

" } }, "S3Prefix": { "target": "com.amazonaws.workmail#S3ObjectKey", "traits": { "smithy.api#documentation": "

The S3 bucket prefix.

" } }, "S3Path": { "target": "com.amazonaws.workmail#S3ObjectKey", "traits": { "smithy.api#documentation": "

The path to the S3 bucket and file that the mailbox export job is exporting\n to.

" } }, "EstimatedProgress": { "target": "com.amazonaws.workmail#Percentage", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The estimated progress of the mailbox export job, in percentage points.

" } }, "State": { "target": "com.amazonaws.workmail#MailboxExportJobState", "traits": { "smithy.api#documentation": "

The state of the mailbox export job.

" } }, "ErrorInfo": { "target": "com.amazonaws.workmail#MailboxExportErrorInfo", "traits": { "smithy.api#documentation": "

Error information for failed mailbox export jobs.

" } }, "StartTime": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The mailbox export job start timestamp.

" } }, "EndTime": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The mailbox export job end timestamp.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeOrganization": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DescribeOrganizationRequest" }, "output": { "target": "com.amazonaws.workmail#DescribeOrganizationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" } ], "traits": { "smithy.api#documentation": "

Provides more information regarding a given organization based on its\n identifier.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DescribeOrganizationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization to be described.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeOrganizationResponse": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier of an organization.

" } }, "Alias": { "target": "com.amazonaws.workmail#OrganizationName", "traits": { "smithy.api#documentation": "

The alias for an organization.

" } }, "State": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The state of an organization.

" } }, "DirectoryId": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The identifier for the directory associated with an WorkMail organization.

" } }, "DirectoryType": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The type of directory associated with the WorkMail organization.

" } }, "DefaultMailDomain": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The default mail domain associated with the organization.

" } }, "CompletedDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

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

" } }, "ErrorMessage": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

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

" } }, "ARN": { "target": "com.amazonaws.workmail#AmazonResourceName", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the organization.

" } }, "MigrationAdmin": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The user ID of the migration admin if migration is enabled for the organization.

" } }, "InteroperabilityEnabled": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

Indicates if interoperability is enabled for this organization.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeResource": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DescribeResourceRequest" }, "output": { "target": "com.amazonaws.workmail#DescribeResourceResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Returns the data available for the resource.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DescribeResourceRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier associated with the organization for which the resource is\n described.

", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the resource to be described.

\n

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeResourceResponse": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.workmail#ResourceId", "traits": { "smithy.api#documentation": "

The identifier of the described resource.

" } }, "Email": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The email of the described resource.

" } }, "Name": { "target": "com.amazonaws.workmail#ResourceName", "traits": { "smithy.api#documentation": "

The name of the described resource.

" } }, "Type": { "target": "com.amazonaws.workmail#ResourceType", "traits": { "smithy.api#documentation": "

The type of the described resource.

" } }, "BookingOptions": { "target": "com.amazonaws.workmail#BookingOptions", "traits": { "smithy.api#documentation": "

The booking options for the described resource.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

The state of the resource: enabled (registered to WorkMail), disabled (deregistered\n or never registered to WorkMail), or deleted.

" } }, "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when a resource was enabled for WorkMail, in UNIX epoch time\n format.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when a resource was disabled from WorkMail, in UNIX epoch time\n format.

" } }, "Description": { "target": "com.amazonaws.workmail#ResourceDescription", "traits": { "smithy.api#documentation": "

Description of the resource.

" } }, "HiddenFromGlobalAddressList": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

If enabled, the resource is hidden from the global address list.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeUser": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DescribeUserRequest" }, "output": { "target": "com.amazonaws.workmail#DescribeUserResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Provides information regarding the user.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DescribeUserRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the user exists.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the user to be described.

\n

The identifier can be the UserId, Username, or email. The following identity formats are available:

\n \n

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeUserResponse": { "type": "structure", "members": { "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the described user.

" } }, "Name": { "target": "com.amazonaws.workmail#UserName", "traits": { "smithy.api#documentation": "

The name for the user.

" } }, "Email": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The email of the user.

" } }, "DisplayName": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

The display name of the user.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

The state of a user: enabled (registered to WorkMail) or disabled (deregistered or\n never registered to WorkMail).

" } }, "UserRole": { "target": "com.amazonaws.workmail#UserRole", "traits": { "smithy.api#documentation": "

In certain cases, other entities are modeled as users. If interoperability is\n enabled, resources are imported into WorkMail as users. Because different WorkMail\n organizations rely on different directory types, administrators can distinguish between an\n unregistered user (account is disabled and has a user role) and the directory\n administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.

" } }, "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time at which the user was enabled for WorkMailusage, in UNIX epoch\n time format.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time at which the user was disabled for WorkMail usage, in UNIX epoch\n time format.

" } }, "MailboxProvisionedDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date when the mailbox was created for the user.

" } }, "MailboxDeprovisionedDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date when the mailbox was removed for the user.

" } }, "FirstName": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

First name of the user.

" } }, "LastName": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Last name of the user.

" } }, "HiddenFromGlobalAddressList": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

If enabled, the user is hidden from the global address list.

" } }, "Initials": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Initials of the user.

" } }, "Telephone": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

User's contact number.

" } }, "Street": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Street where the user is located.

" } }, "JobTitle": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Job title of the user.

" } }, "City": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

City where the user is located.

" } }, "Company": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Company of the user.

" } }, "ZipCode": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Zip code of the user.

" } }, "Department": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Department of the user.

" } }, "Country": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Country where the user is located.

" } }, "Office": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Office where the user is located.

" } }, "IdentityProviderUserId": { "target": "com.amazonaws.workmail#IdentityProviderUserId", "traits": { "smithy.api#documentation": "

User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.

" } }, "IdentityProviderIdentityStoreId": { "target": "com.amazonaws.workmail#IdentityProviderIdentityStoreId", "traits": { "smithy.api#documentation": "

\n Identity Store ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.\n

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#Description": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1023 }, "smithy.api#pattern": "^[\\S\\s]*$" } }, "com.amazonaws.workmail#DeviceId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 32 }, "smithy.api#pattern": "^[A-Za-z0-9]+$" } }, "com.amazonaws.workmail#DeviceModel": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" } }, "com.amazonaws.workmail#DeviceModelList": { "type": "list", "member": { "target": "com.amazonaws.workmail#DeviceModel" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.workmail#DeviceOperatingSystem": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" } }, "com.amazonaws.workmail#DeviceOperatingSystemList": { "type": "list", "member": { "target": "com.amazonaws.workmail#DeviceOperatingSystem" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.workmail#DeviceType": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" } }, "com.amazonaws.workmail#DeviceTypeList": { "type": "list", "member": { "target": "com.amazonaws.workmail#DeviceType" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.workmail#DeviceUserAgent": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" } }, "com.amazonaws.workmail#DeviceUserAgentList": { "type": "list", "member": { "target": "com.amazonaws.workmail#DeviceUserAgent" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.workmail#DirectoryId": { "type": "string", "traits": { "smithy.api#length": { "min": 12, "max": 12 }, "smithy.api#pattern": "^d-[0-9a-f]{10}$" } }, "com.amazonaws.workmail#DirectoryInUseException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#DirectoryUnavailableException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#DisassociateDelegateFromResource": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DisassociateDelegateFromResourceRequest" }, "output": { "target": "com.amazonaws.workmail#DisassociateDelegateFromResourceResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Removes a member from the resource's set of delegates.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DisassociateDelegateFromResourceRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the resource exists.

", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the resource from which delegates' set members are removed.\n

\n

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the member (user, group) to be removed from the resource's\n delegates.

\n

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DisassociateDelegateFromResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DisassociateMemberFromGroup": { "type": "operation", "input": { "target": "com.amazonaws.workmail#DisassociateMemberFromGroupRequest" }, "output": { "target": "com.amazonaws.workmail#DisassociateMemberFromGroupResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Removes a member from a group.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#DisassociateMemberFromGroupRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the group exists.

", "smithy.api#required": {} } }, "GroupId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the group from which members are removed.

\n

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "MemberId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the member to be removed from the group.

\n

The member ID can accept UserID or GroupId, Username or Groupname, or email.

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#DisassociateMemberFromGroupResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#DnsRecord": { "type": "structure", "members": { "Type": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The RFC 1035 record type. Possible values: CNAME, A, MX.

" } }, "Hostname": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The DNS hostname.- For example, domain.example.com.

" } }, "Value": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The value returned by the DNS for a query to that hostname and record type.

" } } }, "traits": { "smithy.api#documentation": "

A DNS record uploaded to your DNS provider.

" } }, "com.amazonaws.workmail#DnsRecordVerificationStatus": { "type": "enum", "members": { "PENDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PENDING" } }, "VERIFIED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VERIFIED" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FAILED" } } } }, "com.amazonaws.workmail#DnsRecords": { "type": "list", "member": { "target": "com.amazonaws.workmail#DnsRecord" } }, "com.amazonaws.workmail#Domain": { "type": "structure", "members": { "DomainName": { "target": "com.amazonaws.workmail#DomainName", "traits": { "smithy.api#documentation": "

The fully qualified domain name.

", "smithy.api#required": {} } }, "HostedZoneId": { "target": "com.amazonaws.workmail#HostedZoneId", "traits": { "smithy.api#documentation": "

The hosted zone ID for a domain hosted in Route 53. Required when configuring a domain hosted in Route 53.

" } } }, "traits": { "smithy.api#documentation": "

The domain to associate with an WorkMail organization.

\n

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 in the WorkMail Administrator Guide.

" } }, "com.amazonaws.workmail#DomainName": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 255 }, "smithy.api#pattern": "^[a-zA-Z0-9.-]+$" } }, "com.amazonaws.workmail#Domains": { "type": "list", "member": { "target": "com.amazonaws.workmail#Domain" }, "traits": { "smithy.api#length": { "min": 0, "max": 5 } } }, "com.amazonaws.workmail#EmailAddress": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 254 }, "smithy.api#pattern": "^[a-zA-Z0-9._%+-]{1,64}@[a-zA-Z0-9.-]+\\.[a-zA-Z-]{2,}$" } }, "com.amazonaws.workmail#EmailAddressInUseException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#EntityAlreadyRegisteredException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#EntityIdentifier": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[a-zA-Z0-9._%+@-]+$" } }, "com.amazonaws.workmail#EntityNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#EntityState": { "type": "enum", "members": { "ENABLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ENABLED" } }, "DISABLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DISABLED" } }, "DELETED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DELETED" } } } }, "com.amazonaws.workmail#EntityStateException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#EntityType": { "type": "enum", "members": { "GROUP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GROUP" } }, "USER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "USER" } }, "RESOURCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RESOURCE" } } } }, "com.amazonaws.workmail#EwsAvailabilityProvider": { "type": "structure", "members": { "EwsEndpoint": { "target": "com.amazonaws.workmail#Url", "traits": { "smithy.api#documentation": "

The endpoint of the remote EWS server.

", "smithy.api#required": {} } }, "EwsUsername": { "target": "com.amazonaws.workmail#ExternalUserName", "traits": { "smithy.api#documentation": "

The username used to authenticate the remote EWS server.

", "smithy.api#required": {} } }, "EwsPassword": { "target": "com.amazonaws.workmail#Password", "traits": { "smithy.api#documentation": "

The password used to authenticate the remote EWS server.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#ExpiresIn": { "type": "long" }, "com.amazonaws.workmail#ExternalUserName": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" } }, "com.amazonaws.workmail#FolderConfiguration": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.workmail#FolderName", "traits": { "smithy.api#documentation": "

The folder name.

", "smithy.api#required": {} } }, "Action": { "target": "com.amazonaws.workmail#RetentionAction", "traits": { "smithy.api#documentation": "

The action to take on the folder contents at the end of the folder configuration\n period.

", "smithy.api#required": {} } }, "Period": { "target": "com.amazonaws.workmail#RetentionPeriod", "traits": { "smithy.api#documentation": "

The number of days for which the folder-configuration action applies.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#FolderConfigurations": { "type": "list", "member": { "target": "com.amazonaws.workmail#FolderConfiguration" } }, "com.amazonaws.workmail#FolderName": { "type": "enum", "members": { "INBOX": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INBOX" } }, "DELETED_ITEMS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DELETED_ITEMS" } }, "SENT_ITEMS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SENT_ITEMS" } }, "DRAFTS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DRAFTS" } }, "JUNK_EMAIL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "JUNK_EMAIL" } } } }, "com.amazonaws.workmail#GetAccessControlEffect": { "type": "operation", "input": { "target": "com.amazonaws.workmail#GetAccessControlEffectRequest" }, "output": { "target": "com.amazonaws.workmail#GetAccessControlEffectResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Gets the effects of an organization's access control rules as they apply to a\n specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.

" } }, "com.amazonaws.workmail#GetAccessControlEffectRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization.

", "smithy.api#required": {} } }, "IpAddress": { "target": "com.amazonaws.workmail#IpAddress", "traits": { "smithy.api#documentation": "

The IPv4 address.

", "smithy.api#required": {} } }, "Action": { "target": "com.amazonaws.workmail#AccessControlRuleAction", "traits": { "smithy.api#documentation": "

The access protocol action. Valid values include ActiveSync,\n AutoDiscover, EWS, IMAP, SMTP,\n WindowsOutlook, and WebMail.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The user ID.

" } }, "ImpersonationRoleId": { "target": "com.amazonaws.workmail#ImpersonationRoleId", "traits": { "smithy.api#documentation": "

The impersonation role ID.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#GetAccessControlEffectResponse": { "type": "structure", "members": { "Effect": { "target": "com.amazonaws.workmail#AccessControlRuleEffect", "traits": { "smithy.api#documentation": "

The rule effect.

" } }, "MatchedRules": { "target": "com.amazonaws.workmail#AccessControlRuleNameList", "traits": { "smithy.api#documentation": "

The rules that match the given parameters, resulting in an effect.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#GetDefaultRetentionPolicy": { "type": "operation", "input": { "target": "com.amazonaws.workmail#GetDefaultRetentionPolicyRequest" }, "output": { "target": "com.amazonaws.workmail#GetDefaultRetentionPolicyResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Gets the default retention policy details for the specified organization.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#GetDefaultRetentionPolicyRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization ID.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#GetDefaultRetentionPolicyResponse": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.workmail#ShortString", "traits": { "smithy.api#documentation": "

The retention policy ID.

" } }, "Name": { "target": "com.amazonaws.workmail#ShortString", "traits": { "smithy.api#documentation": "

The retention policy name.

" } }, "Description": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The retention policy description.

" } }, "FolderConfigurations": { "target": "com.amazonaws.workmail#FolderConfigurations", "traits": { "smithy.api#documentation": "

The retention policy folder configurations.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#GetImpersonationRole": { "type": "operation", "input": { "target": "com.amazonaws.workmail#GetImpersonationRoleRequest" }, "output": { "target": "com.amazonaws.workmail#GetImpersonationRoleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Gets the impersonation role details for the given WorkMail organization.

" } }, "com.amazonaws.workmail#GetImpersonationRoleEffect": { "type": "operation", "input": { "target": "com.amazonaws.workmail#GetImpersonationRoleEffectRequest" }, "output": { "target": "com.amazonaws.workmail#GetImpersonationRoleEffectResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Tests whether the given impersonation role can impersonate a target user.

" } }, "com.amazonaws.workmail#GetImpersonationRoleEffectRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization where the impersonation role is defined.

", "smithy.api#required": {} } }, "ImpersonationRoleId": { "target": "com.amazonaws.workmail#ImpersonationRoleId", "traits": { "smithy.api#documentation": "

The impersonation role ID to test.

", "smithy.api#required": {} } }, "TargetUser": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The WorkMail organization user chosen to test the impersonation role. The following identity\n formats are available:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#GetImpersonationRoleEffectResponse": { "type": "structure", "members": { "Type": { "target": "com.amazonaws.workmail#ImpersonationRoleType", "traits": { "smithy.api#documentation": "

The impersonation role type.

" } }, "Effect": { "target": "com.amazonaws.workmail#AccessEffect", "traits": { "smithy.api#documentation": "

\n Effect of the impersonation role on the target user based on its rules. Available\n effects are ALLOW or DENY.

" } }, "MatchedRules": { "target": "com.amazonaws.workmail#ImpersonationMatchedRuleList", "traits": { "smithy.api#documentation": "

A list of the rules that match the input and produce the configured effect.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#GetImpersonationRoleRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization from which to retrieve the impersonation role.

", "smithy.api#required": {} } }, "ImpersonationRoleId": { "target": "com.amazonaws.workmail#ImpersonationRoleId", "traits": { "smithy.api#documentation": "

The impersonation role ID to retrieve.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#GetImpersonationRoleResponse": { "type": "structure", "members": { "ImpersonationRoleId": { "target": "com.amazonaws.workmail#ImpersonationRoleId", "traits": { "smithy.api#documentation": "

The impersonation role ID.

" } }, "Name": { "target": "com.amazonaws.workmail#ImpersonationRoleName", "traits": { "smithy.api#documentation": "

The impersonation role name.

" } }, "Type": { "target": "com.amazonaws.workmail#ImpersonationRoleType", "traits": { "smithy.api#documentation": "

The impersonation role type.

" } }, "Description": { "target": "com.amazonaws.workmail#ImpersonationRoleDescription", "traits": { "smithy.api#documentation": "

The impersonation role description.

" } }, "Rules": { "target": "com.amazonaws.workmail#ImpersonationRuleList", "traits": { "smithy.api#documentation": "

The list of rules for the given impersonation role.

" } }, "DateCreated": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date when the impersonation role was created.

" } }, "DateModified": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date when the impersonation role was last modified.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#GetMailDomain": { "type": "operation", "input": { "target": "com.amazonaws.workmail#GetMailDomainRequest" }, "output": { "target": "com.amazonaws.workmail#GetMailDomainResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#MailDomainNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Gets details for a mail domain, including domain records required to configure your domain with recommended security.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#GetMailDomainRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which the domain is retrieved.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#WorkMailDomainName", "traits": { "smithy.api#documentation": "

The domain from which you want to retrieve details.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#GetMailDomainResponse": { "type": "structure", "members": { "Records": { "target": "com.amazonaws.workmail#DnsRecords", "traits": { "smithy.api#documentation": "

A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming \n email traffic to SES. See admin guide for more details.

" } }, "IsTestDomain": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.

" } }, "IsDefault": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the domain is the default domain for your organization.

" } }, "OwnershipVerificationStatus": { "target": "com.amazonaws.workmail#DnsRecordVerificationStatus", "traits": { "smithy.api#documentation": "

Indicates the status of the domain ownership verification.

" } }, "DkimVerificationStatus": { "target": "com.amazonaws.workmail#DnsRecordVerificationStatus", "traits": { "smithy.api#documentation": "

Indicates the status of a DKIM verification.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#GetMailboxDetails": { "type": "operation", "input": { "target": "com.amazonaws.workmail#GetMailboxDetailsRequest" }, "output": { "target": "com.amazonaws.workmail#GetMailboxDetailsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Requests a user's mailbox details for a specified organization and user.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#GetMailboxDetailsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization that contains the user whose mailbox details are\n being requested.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the user whose mailbox details are being requested.

\n

The identifier can be the UserId, Username, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#GetMailboxDetailsResponse": { "type": "structure", "members": { "MailboxQuota": { "target": "com.amazonaws.workmail#MailboxQuota", "traits": { "smithy.api#documentation": "

The maximum allowed mailbox size, in MB, for the specified user.

" } }, "MailboxSize": { "target": "com.amazonaws.workmail#MailboxSize", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The current mailbox size, in MB, for the specified user.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#GetMobileDeviceAccessEffect": { "type": "operation", "input": { "target": "com.amazonaws.workmail#GetMobileDeviceAccessEffectRequest" }, "output": { "target": "com.amazonaws.workmail#GetMobileDeviceAccessEffectResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access \n rules for the WorkMail organization for a particular user's attributes.

" } }, "com.amazonaws.workmail#GetMobileDeviceAccessEffectRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization to simulate the access effect for.

", "smithy.api#required": {} } }, "DeviceType": { "target": "com.amazonaws.workmail#DeviceType", "traits": { "smithy.api#documentation": "

Device type the simulated user will report.

" } }, "DeviceModel": { "target": "com.amazonaws.workmail#DeviceModel", "traits": { "smithy.api#documentation": "

Device model the simulated user will report.

" } }, "DeviceOperatingSystem": { "target": "com.amazonaws.workmail#DeviceOperatingSystem", "traits": { "smithy.api#documentation": "

Device operating system the simulated user will report.

" } }, "DeviceUserAgent": { "target": "com.amazonaws.workmail#DeviceUserAgent", "traits": { "smithy.api#documentation": "

Device user agent the simulated user will report.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#GetMobileDeviceAccessEffectResponse": { "type": "structure", "members": { "Effect": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", "traits": { "smithy.api#documentation": "

The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the WorkMail organization for the simulated \n user parameters.

" } }, "MatchedRules": { "target": "com.amazonaws.workmail#MobileDeviceAccessMatchedRuleList", "traits": { "smithy.api#documentation": "

A list of the rules which matched the simulated user input and produced the effect.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#GetMobileDeviceAccessOverride": { "type": "operation", "input": { "target": "com.amazonaws.workmail#GetMobileDeviceAccessOverrideRequest" }, "output": { "target": "com.amazonaws.workmail#GetMobileDeviceAccessOverrideResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Gets the mobile device access override for the given WorkMail organization, user, and device.

" } }, "com.amazonaws.workmail#GetMobileDeviceAccessOverrideRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization to which you want to apply the override.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

Identifies the WorkMail user for the override. Accepts the following types of user identities:

\n ", "smithy.api#required": {} } }, "DeviceId": { "target": "com.amazonaws.workmail#DeviceId", "traits": { "smithy.api#documentation": "

The mobile device to which the override applies. DeviceId is case insensitive.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#GetMobileDeviceAccessOverrideResponse": { "type": "structure", "members": { "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The WorkMail user to which the access override applies.

" } }, "DeviceId": { "target": "com.amazonaws.workmail#DeviceId", "traits": { "smithy.api#documentation": "

The device to which the access override applies.

" } }, "Effect": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", "traits": { "smithy.api#documentation": "

The effect of the override, ALLOW or DENY.

" } }, "Description": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleDescription", "traits": { "smithy.api#documentation": "

A description of the override.

" } }, "DateCreated": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date the override was first created.

" } }, "DateModified": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date the description was last modified.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#GetPersonalAccessTokenMetadata": { "type": "operation", "input": { "target": "com.amazonaws.workmail#GetPersonalAccessTokenMetadataRequest" }, "output": { "target": "com.amazonaws.workmail#GetPersonalAccessTokenMetadataResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

\n Requests details of a specific Personal Access Token within the WorkMail organization.\n

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#GetPersonalAccessTokenMetadataRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

\n The Organization ID.

", "smithy.api#required": {} } }, "PersonalAccessTokenId": { "target": "com.amazonaws.workmail#PersonalAccessTokenId", "traits": { "smithy.api#documentation": "

\n The Personal Access Token ID.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#GetPersonalAccessTokenMetadataResponse": { "type": "structure", "members": { "PersonalAccessTokenId": { "target": "com.amazonaws.workmail#PersonalAccessTokenId", "traits": { "smithy.api#documentation": "

\n The Personal Access Token ID.

" } }, "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

\n The WorkMail User ID. \n

" } }, "Name": { "target": "com.amazonaws.workmail#PersonalAccessTokenName", "traits": { "smithy.api#documentation": "

\n The Personal Access Token name.\n

" } }, "DateCreated": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

\n The date when the Personal Access Token ID was created.\n

" } }, "DateLastUsed": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

\n The date when the Personal Access Token ID was last used.\n

" } }, "ExpiresTime": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

\n The time when the Personal Access Token ID will expire.\n

" } }, "Scopes": { "target": "com.amazonaws.workmail#PersonalAccessTokenScopeList", "traits": { "smithy.api#documentation": "

\n Lists all the Personal Access Token permissions for a mailbox.\n

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#Group": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the group.

" } }, "Email": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The email of the group.

" } }, "Name": { "target": "com.amazonaws.workmail#GroupName", "traits": { "smithy.api#documentation": "

The name of the group.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

The state of the group, which can be ENABLED, DISABLED, or DELETED.

" } }, "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date indicating when the group was enabled for WorkMail use.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date indicating when the group was disabled from WorkMail use.

" } } }, "traits": { "smithy.api#documentation": "

The representation of an WorkMail group.

" } }, "com.amazonaws.workmail#GroupIdentifier": { "type": "structure", "members": { "GroupId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

Group ID that matched the group.

" } }, "GroupName": { "target": "com.amazonaws.workmail#GroupName", "traits": { "smithy.api#documentation": "

Group name that matched the group.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#GroupIdentifiers": { "type": "list", "member": { "target": "com.amazonaws.workmail#GroupIdentifier" } }, "com.amazonaws.workmail#GroupName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" } }, "com.amazonaws.workmail#Groups": { "type": "list", "member": { "target": "com.amazonaws.workmail#Group" } }, "com.amazonaws.workmail#HostedZoneId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 32 }, "smithy.api#pattern": "^[^/\\\\]*$" } }, "com.amazonaws.workmail#IdempotencyClientToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[\\x21-\\x7e]+$" } }, "com.amazonaws.workmail#IdentityCenterApplicationName": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": "^[\\w+=,.@-]+$" } }, "com.amazonaws.workmail#IdentityCenterConfiguration": { "type": "structure", "members": { "InstanceArn": { "target": "com.amazonaws.workmail#InstanceArn", "traits": { "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the of IAM Identity Center instance. Must be in the same AWS account and region as WorkMail organization.

", "smithy.api#required": {} } }, "ApplicationArn": { "target": "com.amazonaws.workmail#ApplicationArn", "traits": { "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of IAMIdentity Center Application for WorkMail. Must be created by the WorkMail API, see CreateIdentityCenterApplication.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

\n The IAM Identity Center configuration.\n

" } }, "com.amazonaws.workmail#IdentityProviderAuthenticationMode": { "type": "enum", "members": { "IDENTITY_PROVIDER_ONLY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IDENTITY_PROVIDER_ONLY" } }, "IDENTITY_PROVIDER_AND_DIRECTORY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IDENTITY_PROVIDER_AND_DIRECTORY" } } } }, "com.amazonaws.workmail#IdentityProviderIdentityStoreId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 36 }, "smithy.api#pattern": "^d-[0-9a-f]{10}$|^[0-9a-f]{8}\\\\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\\\\b[0-9a-f]{12}$" } }, "com.amazonaws.workmail#IdentityProviderUserId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 47 }, "smithy.api#pattern": "^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$" } }, "com.amazonaws.workmail#IdentityProviderUserIdForUpdate": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 47 }, "smithy.api#pattern": "^$|^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$" } }, "com.amazonaws.workmail#IdentityProviderUserIdPrefix": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 47 }, "smithy.api#pattern": "^[A-Fa-f0-9-]+$" } }, "com.amazonaws.workmail#ImpersonationMatchedRule": { "type": "structure", "members": { "ImpersonationRuleId": { "target": "com.amazonaws.workmail#ImpersonationRuleId", "traits": { "smithy.api#documentation": "

The ID of the rule that matched the input

" } }, "Name": { "target": "com.amazonaws.workmail#ImpersonationRuleName", "traits": { "smithy.api#documentation": "

The name of the rule that matched the input.

" } } }, "traits": { "smithy.api#documentation": "

The impersonation rule that matched the input.

" } }, "com.amazonaws.workmail#ImpersonationMatchedRuleList": { "type": "list", "member": { "target": "com.amazonaws.workmail#ImpersonationMatchedRule" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.workmail#ImpersonationRole": { "type": "structure", "members": { "ImpersonationRoleId": { "target": "com.amazonaws.workmail#ImpersonationRoleId", "traits": { "smithy.api#documentation": "

The identifier of the impersonation role.

" } }, "Name": { "target": "com.amazonaws.workmail#ImpersonationRoleName", "traits": { "smithy.api#documentation": "

The impersonation role name.

" } }, "Type": { "target": "com.amazonaws.workmail#ImpersonationRoleType", "traits": { "smithy.api#documentation": "

The impersonation role type.

" } }, "DateCreated": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date when the impersonation role was created.

" } }, "DateModified": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date when the impersonation role was last modified.

" } } }, "traits": { "smithy.api#documentation": "

An impersonation role for the given WorkMail organization.

" } }, "com.amazonaws.workmail#ImpersonationRoleDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" } }, "com.amazonaws.workmail#ImpersonationRoleId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.workmail#ImpersonationRoleIdList": { "type": "list", "member": { "target": "com.amazonaws.workmail#ImpersonationRoleId" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.workmail#ImpersonationRoleList": { "type": "list", "member": { "target": "com.amazonaws.workmail#ImpersonationRole" }, "traits": { "smithy.api#length": { "min": 0, "max": 20 } } }, "com.amazonaws.workmail#ImpersonationRoleName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" } }, "com.amazonaws.workmail#ImpersonationRoleType": { "type": "enum", "members": { "FULL_ACCESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FULL_ACCESS" } }, "READ_ONLY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "READ_ONLY" } } } }, "com.amazonaws.workmail#ImpersonationRule": { "type": "structure", "members": { "ImpersonationRuleId": { "target": "com.amazonaws.workmail#ImpersonationRuleId", "traits": { "smithy.api#documentation": "

The identifier of the rule.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.workmail#ImpersonationRuleName", "traits": { "smithy.api#documentation": "

The rule name.

" } }, "Description": { "target": "com.amazonaws.workmail#ImpersonationRuleDescription", "traits": { "smithy.api#documentation": "

The rule description.

" } }, "Effect": { "target": "com.amazonaws.workmail#AccessEffect", "traits": { "smithy.api#documentation": "

The effect of the rule when it matches the input. Allowed effect values are\n ALLOW or DENY.

", "smithy.api#required": {} } }, "TargetUsers": { "target": "com.amazonaws.workmail#TargetUsers", "traits": { "smithy.api#documentation": "

A list of user IDs that match the rule.

" } }, "NotTargetUsers": { "target": "com.amazonaws.workmail#TargetUsers", "traits": { "smithy.api#documentation": "

A list of user IDs that don't match the rule.

" } } }, "traits": { "smithy.api#documentation": "

The rules for the given impersonation role.

" } }, "com.amazonaws.workmail#ImpersonationRuleDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" } }, "com.amazonaws.workmail#ImpersonationRuleId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.workmail#ImpersonationRuleList": { "type": "list", "member": { "target": "com.amazonaws.workmail#ImpersonationRule" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.workmail#ImpersonationRuleName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" } }, "com.amazonaws.workmail#ImpersonationToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[\\x21-\\x7e]+$" } }, "com.amazonaws.workmail#InstanceArn": { "type": "string", "traits": { "smithy.api#length": { "min": 10, "max": 1124 }, "smithy.api#pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$" } }, "com.amazonaws.workmail#InvalidConfigurationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#InvalidCustomSesConfigurationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to \n CreateReceiptRule.

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#InvalidParameterException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#InvalidPasswordException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#IpAddress": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 15 }, "smithy.api#pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" } }, "com.amazonaws.workmail#IpRange": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 18 }, "smithy.api#pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$" } }, "com.amazonaws.workmail#IpRangeList": { "type": "list", "member": { "target": "com.amazonaws.workmail#IpRange" }, "traits": { "smithy.api#length": { "min": 0, "max": 1024 } } }, "com.amazonaws.workmail#Jobs": { "type": "list", "member": { "target": "com.amazonaws.workmail#MailboxExportJob" } }, "com.amazonaws.workmail#KmsKeyArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "^arn:aws:kms:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$" } }, "com.amazonaws.workmail#LambdaArn": { "type": "string", "traits": { "smithy.api#length": { "min": 49, "max": 256 }, "smithy.api#pattern": "^arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9\\-_\\.]+(:(\\$LATEST|[a-zA-Z0-9\\-_]+))?$" } }, "com.amazonaws.workmail#LambdaAvailabilityProvider": { "type": "structure", "members": { "LambdaArn": { "target": "com.amazonaws.workmail#LambdaArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Lambda that acts as the availability provider.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Describes a Lambda based availability provider.

" } }, "com.amazonaws.workmail#LimitExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

The request exceeds the limit of the resource.

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#ListAccessControlRules": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListAccessControlRulesRequest" }, "output": { "target": "com.amazonaws.workmail#ListAccessControlRulesResponse" }, "errors": [ { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Lists the access control rules for the specified organization.

" } }, "com.amazonaws.workmail#ListAccessControlRulesRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListAccessControlRulesResponse": { "type": "structure", "members": { "Rules": { "target": "com.amazonaws.workmail#AccessControlRulesList", "traits": { "smithy.api#documentation": "

The access control rules.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListAliases": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListAliasesRequest" }, "output": { "target": "com.amazonaws.workmail#ListAliasesResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Creates a paginated call to list the aliases associated with a given\n entity.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListAliasesRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the entity exists.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the entity for which to list the aliases.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListAliasesResponse": { "type": "structure", "members": { "Aliases": { "target": "com.amazonaws.workmail#Aliases", "traits": { "smithy.api#documentation": "

The entity's paginated aliases.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListAvailabilityConfigurations": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListAvailabilityConfigurationsRequest" }, "output": { "target": "com.amazonaws.workmail#ListAvailabilityConfigurationsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "AvailabilityConfigurations", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListAvailabilityConfigurationsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which the AvailabilityConfiguration's will be\n listed.

", "smithy.api#required": {} } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not require a token.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListAvailabilityConfigurationsResponse": { "type": "structure", "members": { "AvailabilityConfigurations": { "target": "com.amazonaws.workmail#AvailabilityConfigurationList", "traits": { "smithy.api#documentation": "

The list of AvailabilityConfiguration's that exist for the specified WorkMail organization.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is null when there are no further results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListGroupMembers": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListGroupMembersRequest" }, "output": { "target": "com.amazonaws.workmail#ListGroupMembersResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Returns an overview of the members of a group. Users and groups can be members of a\n group.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListGroupMembersRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the group exists.

", "smithy.api#required": {} } }, "GroupId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the group to which the members (users or groups) are\n associated.

\n

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListGroupMembersResponse": { "type": "structure", "members": { "Members": { "target": "com.amazonaws.workmail#Members", "traits": { "smithy.api#documentation": "

The members associated to the group.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListGroups": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListGroupsRequest" }, "output": { "target": "com.amazonaws.workmail#ListGroupsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Returns summaries of the organization's groups.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListGroupsFilters": { "type": "structure", "members": { "NamePrefix": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

Filters only groups with the provided name prefix.

" } }, "PrimaryEmailPrefix": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

Filters only groups with the provided primary email prefix.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

Filters only groups with the provided state.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#ListGroupsForEntity": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListGroupsForEntityRequest" }, "output": { "target": "com.amazonaws.workmail#ListGroupsForEntityResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Returns all the groups to which an entity belongs.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListGroupsForEntityFilters": { "type": "structure", "members": { "GroupNamePrefix": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

Filters only group names that start with the provided name prefix.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#ListGroupsForEntityRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the entity exists.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the entity.

\n

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

\n ", "smithy.api#required": {} } }, "Filters": { "target": "com.amazonaws.workmail#ListGroupsForEntityFilters", "traits": { "smithy.api#documentation": "

Limit the search results based on the filter criteria.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListGroupsForEntityResponse": { "type": "structure", "members": { "Groups": { "target": "com.amazonaws.workmail#GroupIdentifiers", "traits": { "smithy.api#documentation": "

The overview of groups in an organization.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListGroupsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the groups exist.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } }, "Filters": { "target": "com.amazonaws.workmail#ListGroupsFilters", "traits": { "smithy.api#documentation": "

Limit the search results based on the filter criteria. Only one filter per request is supported.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListGroupsResponse": { "type": "structure", "members": { "Groups": { "target": "com.amazonaws.workmail#Groups", "traits": { "smithy.api#documentation": "

The overview of groups for an organization.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListImpersonationRoles": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListImpersonationRolesRequest" }, "output": { "target": "com.amazonaws.workmail#ListImpersonationRolesResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Lists all the impersonation roles for the given WorkMail organization.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListImpersonationRolesRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization to which the listed impersonation roles belong.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token used to retrieve the next page of results. The first call doesn't require a\n token.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results returned in a single call.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListImpersonationRolesResponse": { "type": "structure", "members": { "Roles": { "target": "com.amazonaws.workmail#ImpersonationRoleList", "traits": { "smithy.api#documentation": "

The list of impersonation roles under the given WorkMail organization.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to retrieve the next page of results. The value is null when\n there are no results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListMailDomains": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListMailDomainsRequest" }, "output": { "target": "com.amazonaws.workmail#ListMailDomainsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Lists the mail domains in a given WorkMail organization.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListMailDomainsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which to list domains.

", "smithy.api#required": {} } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not require a token.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMailDomainsResponse": { "type": "structure", "members": { "MailDomains": { "target": "com.amazonaws.workmail#MailDomains", "traits": { "smithy.api#documentation": "

The list of mail domain summaries, specifying domains that exist in the specified WorkMail organization, along with the information about whether the domain is or isn't the default.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value becomes null when there are no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListMailboxExportJobs": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListMailboxExportJobsRequest" }, "output": { "target": "com.amazonaws.workmail#ListMailboxExportJobsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Lists the mailbox export jobs started for the specified organization within the last\n seven days.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListMailboxExportJobsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization ID.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMailboxExportJobsResponse": { "type": "structure", "members": { "Jobs": { "target": "com.amazonaws.workmail#Jobs", "traits": { "smithy.api#documentation": "

The mailbox export job details.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListMailboxPermissions": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListMailboxPermissionsRequest" }, "output": { "target": "com.amazonaws.workmail#ListMailboxPermissionsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Lists the mailbox permissions associated with a user, group, or resource\n mailbox.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListMailboxPermissionsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier of the organization under which the user, group, or resource\n exists.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user, or resource for which to list mailbox\n permissions.

\n

The entity ID can accept UserId or ResourceId, Username or Resourcename, or email.

\n ", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMailboxPermissionsResponse": { "type": "structure", "members": { "Permissions": { "target": "com.amazonaws.workmail#Permissions", "traits": { "smithy.api#documentation": "

One page of the user, group, or resource mailbox permissions.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListMobileDeviceAccessOverrides": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListMobileDeviceAccessOverridesRequest" }, "output": { "target": "com.amazonaws.workmail#ListMobileDeviceAccessOverridesResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListMobileDeviceAccessOverridesRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization under which to list mobile device access overrides.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The WorkMail user under which you list the mobile device access overrides. Accepts the following types of user identities:

\n " } }, "DeviceId": { "target": "com.amazonaws.workmail#DeviceId", "traits": { "smithy.api#documentation": "

The mobile device to which the access override applies.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not require a token.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMobileDeviceAccessOverridesResponse": { "type": "structure", "members": { "Overrides": { "target": "com.amazonaws.workmail#MobileDeviceAccessOverridesList", "traits": { "smithy.api#documentation": "

The list of mobile device access overrides that exist for the specified WorkMail organization and user.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is \u201cnull\u201d when there are no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListMobileDeviceAccessRules": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListMobileDeviceAccessRulesRequest" }, "output": { "target": "com.amazonaws.workmail#ListMobileDeviceAccessRulesResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Lists the mobile device access rules for the specified WorkMail organization.

" } }, "com.amazonaws.workmail#ListMobileDeviceAccessRulesRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which to list the rules.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMobileDeviceAccessRulesResponse": { "type": "structure", "members": { "Rules": { "target": "com.amazonaws.workmail#MobileDeviceAccessRulesList", "traits": { "smithy.api#documentation": "

The list of mobile device access rules that exist under the specified WorkMail organization.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListOrganizations": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListOrganizationsRequest" }, "output": { "target": "com.amazonaws.workmail#ListOrganizationsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" } ], "traits": { "smithy.api#documentation": "

Returns summaries of the customer's organizations.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListOrganizationsRequest": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListOrganizationsResponse": { "type": "structure", "members": { "OrganizationSummaries": { "target": "com.amazonaws.workmail#OrganizationSummaries", "traits": { "smithy.api#documentation": "

The overview of owned organizations presented as a list of organization\n summaries.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListPersonalAccessTokens": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListPersonalAccessTokensRequest" }, "output": { "target": "com.amazonaws.workmail#ListPersonalAccessTokensResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

\n Returns a summary of your Personal Access Tokens.\n

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "PersonalAccessTokenSummaries", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListPersonalAccessTokensRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

\n The Organization ID.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

\n The WorkMail User ID. \n

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

\n The token from the previous response to query the next page.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

\n The maximum amount of items that should be returned in a response.\n

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListPersonalAccessTokensResponse": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

\n The token from the previous response to query the next page.

" } }, "PersonalAccessTokenSummaries": { "target": "com.amazonaws.workmail#PersonalAccessTokenSummaryList", "traits": { "smithy.api#documentation": "

\n Lists all the personal tokens in an organization or user, if user ID is provided. \n

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListResourceDelegates": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListResourceDelegatesRequest" }, "output": { "target": "com.amazonaws.workmail#ListResourceDelegatesResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Lists the delegates associated with a resource. Users and groups can be resource\n delegates and answer requests on behalf of the resource.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListResourceDelegatesRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization that contains the resource for which delegates\n are listed.

", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the resource whose delegates are listed.

\n

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token used to paginate through the delegates associated with a\n resource.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The number of maximum results in a page.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListResourceDelegatesResponse": { "type": "structure", "members": { "Delegates": { "target": "com.amazonaws.workmail#ResourceDelegates", "traits": { "smithy.api#documentation": "

One page of the resource's delegates.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token used to paginate through the delegates associated with a resource. While\n results are still available, it has an associated value. When the last page is reached, the\n token is empty.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListResources": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListResourcesRequest" }, "output": { "target": "com.amazonaws.workmail#ListResourcesResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Returns summaries of the organization's resources.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListResourcesFilters": { "type": "structure", "members": { "NamePrefix": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

Filters only resource that start with the entered name prefix .

" } }, "PrimaryEmailPrefix": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

Filters only resource with the provided primary email prefix.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

Filters only resource with the provided state.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#ListResourcesRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the resources exist.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } }, "Filters": { "target": "com.amazonaws.workmail#ListResourcesFilters", "traits": { "smithy.api#documentation": "

Limit the resource search results based on the filter criteria. You can only use one filter per request.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListResourcesResponse": { "type": "structure", "members": { "Resources": { "target": "com.amazonaws.workmail#Resources", "traits": { "smithy.api#documentation": "

One page of the organization's resource representation.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token used to paginate through all the organization's resources. While results\n are still available, it has an associated value. When the last page is reached, the token\n is empty.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.workmail#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Lists the tags applied to an WorkMail organization resource.

" } }, "com.amazonaws.workmail#ListTagsForResourceRequest": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.workmail#AmazonResourceName", "traits": { "smithy.api#documentation": "

The resource ARN.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListTagsForResourceResponse": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.workmail#TagList", "traits": { "smithy.api#documentation": "

A list of tag key-value pairs.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ListUsers": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ListUsersRequest" }, "output": { "target": "com.amazonaws.workmail#ListUsersResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Returns summaries of the organization's users.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.workmail#ListUsersFilters": { "type": "structure", "members": { "UsernamePrefix": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

Filters only users with the provided username prefix.

" } }, "DisplayNamePrefix": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Filters only users with the provided display name prefix.

" } }, "PrimaryEmailPrefix": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

Filters only users with the provided email prefix.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

Filters only users with the provided state.

" } }, "IdentityProviderUserIdPrefix": { "target": "com.amazonaws.workmail#IdentityProviderUserIdPrefix", "traits": { "smithy.api#documentation": "

Filters only users with the ID from the IAM Identity Center.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#ListUsersRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the users exist.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } }, "Filters": { "target": "com.amazonaws.workmail#ListUsersFilters", "traits": { "smithy.api#documentation": "

Limit the user search results based on the filter criteria. You can only use one filter per request.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ListUsersResponse": { "type": "structure", "members": { "Users": { "target": "com.amazonaws.workmail#Users", "traits": { "smithy.api#documentation": "

The overview of users for an organization.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { "smithy.api#documentation": "

The token to use to retrieve the next page of results. This value is `null` when\n there are no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#LogGroupArn": { "type": "string", "traits": { "smithy.api#length": { "min": 47, "max": 562 }, "smithy.api#pattern": "^arn:aws:logs:[a-z\\-0-9]*:[0-9]{12}:log-group:([\\.\\-_/#A-Za-z0-9]+):\\*$" } }, "com.amazonaws.workmail#MailDomainInUseException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

The domain you're trying to change is in use by another user or organization in your account. See the error message for details.

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#MailDomainNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

The domain specified is not found in your organization.

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#MailDomainStateException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#MailDomainSummary": { "type": "structure", "members": { "DomainName": { "target": "com.amazonaws.workmail#DomainName", "traits": { "smithy.api#documentation": "

The domain name.

" } }, "DefaultDomain": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

Whether the domain is default or not.

" } } }, "traits": { "smithy.api#documentation": "

The data for a given domain.

" } }, "com.amazonaws.workmail#MailDomains": { "type": "list", "member": { "target": "com.amazonaws.workmail#MailDomainSummary" } }, "com.amazonaws.workmail#MailboxExportErrorInfo": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "^[\\S\\s]*$" } }, "com.amazonaws.workmail#MailboxExportJob": { "type": "structure", "members": { "JobId": { "target": "com.amazonaws.workmail#MailboxExportJobId", "traits": { "smithy.api#documentation": "

The identifier of the mailbox export job.

" } }, "EntityId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user or resource associated with the mailbox.

" } }, "Description": { "target": "com.amazonaws.workmail#Description", "traits": { "smithy.api#documentation": "

The mailbox export job description.

" } }, "S3BucketName": { "target": "com.amazonaws.workmail#S3BucketName", "traits": { "smithy.api#documentation": "

The name of the S3 bucket.

" } }, "S3Path": { "target": "com.amazonaws.workmail#S3ObjectKey", "traits": { "smithy.api#documentation": "

The path to the S3 bucket and file that the mailbox export job exports to.

" } }, "EstimatedProgress": { "target": "com.amazonaws.workmail#Percentage", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The estimated progress of the mailbox export job, in percentage points.

" } }, "State": { "target": "com.amazonaws.workmail#MailboxExportJobState", "traits": { "smithy.api#documentation": "

The state of the mailbox export job.

" } }, "StartTime": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The mailbox export job start timestamp.

" } }, "EndTime": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The mailbox export job end timestamp.

" } } }, "traits": { "smithy.api#documentation": "

The details of a mailbox export job, including the user or resource ID associated\n with the mailbox and the S3 bucket that the mailbox contents are exported to.

" } }, "com.amazonaws.workmail#MailboxExportJobId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 63 }, "smithy.api#pattern": "^[A-Za-z0-9-]+$" } }, "com.amazonaws.workmail#MailboxExportJobState": { "type": "enum", "members": { "RUNNING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RUNNING" } }, "COMPLETED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "COMPLETED" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FAILED" } }, "CANCELLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CANCELLED" } } } }, "com.amazonaws.workmail#MailboxQuota": { "type": "integer", "traits": { "smithy.api#range": { "min": 1 } } }, "com.amazonaws.workmail#MailboxSize": { "type": "double", "traits": { "smithy.api#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.workmail#MaxResults": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.workmail#Member": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The identifier of the member.

" } }, "Name": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The name of the member.

" } }, "Type": { "target": "com.amazonaws.workmail#MemberType", "traits": { "smithy.api#documentation": "

A member can be a user or group.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

The state of the member, which can be ENABLED, DISABLED, or DELETED.

" } }, "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date indicating when the member was enabled for WorkMail use.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date indicating when the member was disabled from WorkMail use.

" } } }, "traits": { "smithy.api#documentation": "

The representation of a user or group.

" } }, "com.amazonaws.workmail#MemberType": { "type": "enum", "members": { "GROUP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GROUP" } }, "USER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "USER" } } } }, "com.amazonaws.workmail#Members": { "type": "list", "member": { "target": "com.amazonaws.workmail#Member" } }, "com.amazonaws.workmail#MobileDeviceAccessMatchedRule": { "type": "structure", "members": { "MobileDeviceAccessRuleId": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleId", "traits": { "smithy.api#documentation": "

Identifier of the rule that a simulated user matches.

" } }, "Name": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleName", "traits": { "smithy.api#documentation": "

Name of a rule that a simulated user matches.

" } } }, "traits": { "smithy.api#documentation": "

The rule that a simulated user matches.

" } }, "com.amazonaws.workmail#MobileDeviceAccessMatchedRuleList": { "type": "list", "member": { "target": "com.amazonaws.workmail#MobileDeviceAccessMatchedRule" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.workmail#MobileDeviceAccessOverride": { "type": "structure", "members": { "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The WorkMail user to which the access override applies.

" } }, "DeviceId": { "target": "com.amazonaws.workmail#DeviceId", "traits": { "smithy.api#documentation": "

The device to which the override applies.

" } }, "Effect": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", "traits": { "smithy.api#documentation": "

The effect of the override, ALLOW or DENY.

" } }, "Description": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleDescription", "traits": { "smithy.api#documentation": "

A description of the override.

" } }, "DateCreated": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date the override was first created.

" } }, "DateModified": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date the override was last modified.

" } } }, "traits": { "smithy.api#documentation": "

The override object.

" } }, "com.amazonaws.workmail#MobileDeviceAccessOverridesList": { "type": "list", "member": { "target": "com.amazonaws.workmail#MobileDeviceAccessOverride" } }, "com.amazonaws.workmail#MobileDeviceAccessRule": { "type": "structure", "members": { "MobileDeviceAccessRuleId": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleId", "traits": { "smithy.api#documentation": "

The ID assigned to a mobile access rule.

" } }, "Name": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleName", "traits": { "smithy.api#documentation": "

The name of a mobile access rule.

" } }, "Description": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleDescription", "traits": { "smithy.api#documentation": "

The description of a mobile access rule.

" } }, "Effect": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", "traits": { "smithy.api#documentation": "

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

" } }, "DeviceTypes": { "target": "com.amazonaws.workmail#DeviceTypeList", "traits": { "smithy.api#documentation": "

Device types that a rule will match.

" } }, "NotDeviceTypes": { "target": "com.amazonaws.workmail#DeviceTypeList", "traits": { "smithy.api#documentation": "

Device types that a rule will not match. All other device types will match.

" } }, "DeviceModels": { "target": "com.amazonaws.workmail#DeviceModelList", "traits": { "smithy.api#documentation": "

Device models that a rule will match.

" } }, "NotDeviceModels": { "target": "com.amazonaws.workmail#DeviceModelList", "traits": { "smithy.api#documentation": "

Device models that a rule will not match. All other device models will match.

" } }, "DeviceOperatingSystems": { "target": "com.amazonaws.workmail#DeviceOperatingSystemList", "traits": { "smithy.api#documentation": "

Device operating systems that a rule will match.

" } }, "NotDeviceOperatingSystems": { "target": "com.amazonaws.workmail#DeviceOperatingSystemList", "traits": { "smithy.api#documentation": "

Device operating systems that a rule will not match. All other device types will match.

" } }, "DeviceUserAgents": { "target": "com.amazonaws.workmail#DeviceUserAgentList", "traits": { "smithy.api#documentation": "

Device user agents that a rule will match.

" } }, "NotDeviceUserAgents": { "target": "com.amazonaws.workmail#DeviceUserAgentList", "traits": { "smithy.api#documentation": "

Device user agents that a rule will not match. All other device user agents will match.

" } }, "DateCreated": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time at which an access rule was created.

" } }, "DateModified": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date and time at which an access rule was modified.

" } } }, "traits": { "smithy.api#documentation": "

A rule that controls access to mobile devices for an WorkMail group.

" } }, "com.amazonaws.workmail#MobileDeviceAccessRuleDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[\\S\\s]+$" } }, "com.amazonaws.workmail#MobileDeviceAccessRuleEffect": { "type": "enum", "members": { "ALLOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ALLOW" } }, "DENY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DENY" } } } }, "com.amazonaws.workmail#MobileDeviceAccessRuleId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.workmail#MobileDeviceAccessRuleName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[\\S\\s]+$" } }, "com.amazonaws.workmail#MobileDeviceAccessRulesList": { "type": "list", "member": { "target": "com.amazonaws.workmail#MobileDeviceAccessRule" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.workmail#NameAvailabilityException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#NewResourceDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 64 }, "smithy.api#sensitive": {} } }, "com.amazonaws.workmail#NextToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "^[\\S\\s]*|[a-zA-Z0-9/+=]{1,1024}$" } }, "com.amazonaws.workmail#OrganizationId": { "type": "string", "traits": { "smithy.api#length": { "min": 34, "max": 34 }, "smithy.api#pattern": "^m-[0-9a-f]{32}$" } }, "com.amazonaws.workmail#OrganizationName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 62 }, "smithy.api#pattern": "^(?!d-)([\\da-zA-Z]+)([-][\\da-zA-Z]+)*$" } }, "com.amazonaws.workmail#OrganizationNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#OrganizationStateException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

The organization must have a valid state to perform certain\n operations on the organization or its members.

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#OrganizationSummaries": { "type": "list", "member": { "target": "com.amazonaws.workmail#OrganizationSummary" } }, "com.amazonaws.workmail#OrganizationSummary": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier associated with the organization.

" } }, "Alias": { "target": "com.amazonaws.workmail#OrganizationName", "traits": { "smithy.api#documentation": "

The alias associated with the organization.

" } }, "DefaultMailDomain": { "target": "com.amazonaws.workmail#DomainName", "traits": { "smithy.api#documentation": "

The default email domain associated with the organization.

" } }, "ErrorMessage": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The error message associated with the organization. It is only present if unexpected\n behavior has occurred with regards to the organization. It provides insight or solutions\n regarding unexpected behavior.

" } }, "State": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The state associated with the organization.

" } } }, "traits": { "smithy.api#documentation": "

The representation of an organization.

" } }, "com.amazonaws.workmail#Password": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^[\\u0020-\\u00FF]+$", "smithy.api#sensitive": {} } }, "com.amazonaws.workmail#Percentage": { "type": "integer", "traits": { "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 } } }, "com.amazonaws.workmail#Permission": { "type": "structure", "members": { "GranteeId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user, group, or resource to which the permissions are\n granted.

", "smithy.api#required": {} } }, "GranteeType": { "target": "com.amazonaws.workmail#MemberType", "traits": { "smithy.api#documentation": "

The type of user, group, or resource referred to in GranteeId.

", "smithy.api#required": {} } }, "PermissionValues": { "target": "com.amazonaws.workmail#PermissionValues", "traits": { "smithy.api#documentation": "

The permissions granted to the grantee. SEND_AS allows the grantee to send email as\n the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF\n allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not\n mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full\n access to the mailbox, irrespective of other folder-level permissions set on the\n mailbox.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.workmail#PermissionType": { "type": "enum", "members": { "FULL_ACCESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FULL_ACCESS" } }, "SEND_AS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SEND_AS" } }, "SEND_ON_BEHALF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SEND_ON_BEHALF" } } } }, "com.amazonaws.workmail#PermissionValues": { "type": "list", "member": { "target": "com.amazonaws.workmail#PermissionType" } }, "com.amazonaws.workmail#Permissions": { "type": "list", "member": { "target": "com.amazonaws.workmail#Permission" } }, "com.amazonaws.workmail#PersonalAccessTokenConfiguration": { "type": "structure", "members": { "Status": { "target": "com.amazonaws.workmail#PersonalAccessTokenConfigurationStatus", "traits": { "smithy.api#documentation": "

\n The status of the Personal Access Token allowed for the organization.\n

\n ", "smithy.api#required": {} } }, "LifetimeInDays": { "target": "com.amazonaws.workmail#PersonalAccessTokenLifetimeInDays", "traits": { "smithy.api#documentation": "

\n The validity of the Personal Access Token status in days.\n

" } } }, "traits": { "smithy.api#documentation": "

\n Displays the Personal Access Token status.\n

" } }, "com.amazonaws.workmail#PersonalAccessTokenConfigurationStatus": { "type": "enum", "members": { "ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ACTIVE" } }, "INACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INACTIVE" } } } }, "com.amazonaws.workmail#PersonalAccessTokenId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.workmail#PersonalAccessTokenLifetimeInDays": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 3653 } } }, "com.amazonaws.workmail#PersonalAccessTokenName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" } }, "com.amazonaws.workmail#PersonalAccessTokenScope": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" } }, "com.amazonaws.workmail#PersonalAccessTokenScopeList": { "type": "list", "member": { "target": "com.amazonaws.workmail#PersonalAccessTokenScope" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.workmail#PersonalAccessTokenSummary": { "type": "structure", "members": { "PersonalAccessTokenId": { "target": "com.amazonaws.workmail#PersonalAccessTokenId", "traits": { "smithy.api#documentation": "

\n The ID of the Personal Access Token.\n

" } }, "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

\n The user ID of the WorkMail user associated with the Personal Access Token.\n

" } }, "Name": { "target": "com.amazonaws.workmail#PersonalAccessTokenName", "traits": { "smithy.api#documentation": "

\n The name of the Personal Access Token.\n

" } }, "DateCreated": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

\n The date when the Personal Access Token was created.\n

" } }, "DateLastUsed": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

\n The date when the Personal Access Token was last used.\n

" } }, "ExpiresTime": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

\n The date when the Personal Access Token will expire.\n

" } }, "Scopes": { "target": "com.amazonaws.workmail#PersonalAccessTokenScopeList", "traits": { "smithy.api#documentation": "

\n Lists all the Personal Access Token permissions for a mailbox.\n

" } } }, "traits": { "smithy.api#documentation": "

\n The summary of the Personal Access Token.\n

" } }, "com.amazonaws.workmail#PersonalAccessTokenSummaryList": { "type": "list", "member": { "target": "com.amazonaws.workmail#PersonalAccessTokenSummary" } }, "com.amazonaws.workmail#PolicyDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^[\\w\\d\\s\\S\\-!?=,.;:'_]+$", "smithy.api#sensitive": {} } }, "com.amazonaws.workmail#PutAccessControlRule": { "type": "operation", "input": { "target": "com.amazonaws.workmail#PutAccessControlRuleRequest" }, "output": { "target": "com.amazonaws.workmail#PutAccessControlRuleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Adds a new access control rule for the specified organization. The rule allows or\n denies access to the organization for the specified IPv4 addresses, access protocol\n actions, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces\n the older rule.

" } }, "com.amazonaws.workmail#PutAccessControlRuleRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.workmail#AccessControlRuleName", "traits": { "smithy.api#documentation": "

The rule name.

", "smithy.api#required": {} } }, "Effect": { "target": "com.amazonaws.workmail#AccessControlRuleEffect", "traits": { "smithy.api#documentation": "

The rule effect.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.workmail#AccessControlRuleDescription", "traits": { "smithy.api#documentation": "

The rule description.

", "smithy.api#required": {} } }, "IpRanges": { "target": "com.amazonaws.workmail#IpRangeList", "traits": { "smithy.api#documentation": "

IPv4 CIDR ranges to include in the rule.

" } }, "NotIpRanges": { "target": "com.amazonaws.workmail#IpRangeList", "traits": { "smithy.api#documentation": "

IPv4 CIDR ranges to exclude from the rule.

" } }, "Actions": { "target": "com.amazonaws.workmail#ActionsList", "traits": { "smithy.api#documentation": "

Access protocol actions to include in the rule. Valid values include\n ActiveSync, AutoDiscover, EWS, IMAP,\n SMTP, WindowsOutlook, and WebMail.

" } }, "NotActions": { "target": "com.amazonaws.workmail#ActionsList", "traits": { "smithy.api#documentation": "

Access protocol actions to exclude from the rule. Valid values include\n ActiveSync, AutoDiscover, EWS, IMAP,\n SMTP, WindowsOutlook, and WebMail.

" } }, "UserIds": { "target": "com.amazonaws.workmail#UserIdList", "traits": { "smithy.api#documentation": "

User IDs to include in the rule.

" } }, "NotUserIds": { "target": "com.amazonaws.workmail#UserIdList", "traits": { "smithy.api#documentation": "

User IDs to exclude from the rule.

" } }, "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier of the organization.

", "smithy.api#required": {} } }, "ImpersonationRoleIds": { "target": "com.amazonaws.workmail#ImpersonationRoleIdList", "traits": { "smithy.api#documentation": "

Impersonation role IDs to include in the rule.

" } }, "NotImpersonationRoleIds": { "target": "com.amazonaws.workmail#ImpersonationRoleIdList", "traits": { "smithy.api#documentation": "

Impersonation role IDs to exclude from the rule.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#PutAccessControlRuleResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#PutEmailMonitoringConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#PutEmailMonitoringConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#PutEmailMonitoringConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Creates or updates the email monitoring configuration for a specified organization.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#PutEmailMonitoringConfigurationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The ID of the organization for which the email monitoring configuration is set.

", "smithy.api#required": {} } }, "RoleArn": { "target": "com.amazonaws.workmail#RoleArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration. If absent, the IAM Role Arn of AWSServiceRoleForAmazonWorkMailEvents will be used.

" } }, "LogGroupArn": { "target": "com.amazonaws.workmail#LogGroupArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#PutEmailMonitoringConfigurationResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#PutIdentityProviderConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#PutIdentityProviderConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#PutIdentityProviderConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

\n Enables integration between IAM Identity Center (IdC) and WorkMail to proxy authentication requests for mailbox users. You can connect your IdC directory or your external directory to WorkMail through \n IdC and manage access to WorkMail mailboxes in a single place. For enhanced protection, you could enable Multifactor Authentication (MFA) and Personal Access Tokens.\n \n

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#PutIdentityProviderConfigurationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

\n The ID of the WorkMail Organization.

", "smithy.api#required": {} } }, "AuthenticationMode": { "target": "com.amazonaws.workmail#IdentityProviderAuthenticationMode", "traits": { "smithy.api#documentation": "

\n The authentication mode used in WorkMail.

", "smithy.api#required": {} } }, "IdentityCenterConfiguration": { "target": "com.amazonaws.workmail#IdentityCenterConfiguration", "traits": { "smithy.api#documentation": "

\n The details of the IAM Identity Center configuration.

", "smithy.api#required": {} } }, "PersonalAccessTokenConfiguration": { "target": "com.amazonaws.workmail#PersonalAccessTokenConfiguration", "traits": { "smithy.api#documentation": "

\n The details of the Personal Access Token configuration. \n

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#PutIdentityProviderConfigurationResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#PutInboundDmarcSettings": { "type": "operation", "input": { "target": "com.amazonaws.workmail#PutInboundDmarcSettingsRequest" }, "output": { "target": "com.amazonaws.workmail#PutInboundDmarcSettingsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Enables or disables a DMARC policy for a given organization.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#PutInboundDmarcSettingsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The ID of the organization that you are applying the DMARC policy to.

", "smithy.api#required": {} } }, "Enforced": { "target": "com.amazonaws.workmail#BooleanObject", "traits": { "smithy.api#documentation": "

Enforces or suspends a policy after it's applied.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#PutInboundDmarcSettingsResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#PutMailboxPermissions": { "type": "operation", "input": { "target": "com.amazonaws.workmail#PutMailboxPermissionsRequest" }, "output": { "target": "com.amazonaws.workmail#PutMailboxPermissionsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Sets permissions for a user, group, or resource. This replaces any pre-existing\n permissions.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#PutMailboxPermissionsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier of the organization under which the user, group, or resource\n exists.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user or resource for which to update mailbox\n permissions.

\n

The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email.

\n ", "smithy.api#required": {} } }, "GranteeId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user, group, or resource to which to grant the\n permissions.

\n

The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email.

\n ", "smithy.api#required": {} } }, "PermissionValues": { "target": "com.amazonaws.workmail#PermissionValues", "traits": { "smithy.api#documentation": "

The permissions granted to the grantee. SEND_AS allows the grantee to send email as\n the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF\n allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not\n mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full\n access to the mailbox, irrespective of other folder-level permissions set on the\n mailbox.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#PutMailboxPermissionsResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#PutMobileDeviceAccessOverride": { "type": "operation", "input": { "target": "com.amazonaws.workmail#PutMobileDeviceAccessOverrideRequest" }, "output": { "target": "com.amazonaws.workmail#PutMobileDeviceAccessOverrideResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Creates or updates a mobile device access override for the given WorkMail organization, user, and device.

" } }, "com.amazonaws.workmail#PutMobileDeviceAccessOverrideRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

Identifies the WorkMail organization for which you create the override.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The WorkMail user for which you create the override. Accepts the following types of user identities:

\n ", "smithy.api#required": {} } }, "DeviceId": { "target": "com.amazonaws.workmail#DeviceId", "traits": { "smithy.api#documentation": "

The mobile device for which you create the override. DeviceId is case insensitive.

", "smithy.api#required": {} } }, "Effect": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", "traits": { "smithy.api#documentation": "

The effect of the override, ALLOW or DENY.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleDescription", "traits": { "smithy.api#documentation": "

A description of the override.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#PutMobileDeviceAccessOverrideResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#PutRetentionPolicy": { "type": "operation", "input": { "target": "com.amazonaws.workmail#PutRetentionPolicyRequest" }, "output": { "target": "com.amazonaws.workmail#PutRetentionPolicyResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Puts a retention policy to the specified organization.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#PutRetentionPolicyRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization ID.

", "smithy.api#required": {} } }, "Id": { "target": "com.amazonaws.workmail#ShortString", "traits": { "smithy.api#documentation": "

The retention policy ID.

" } }, "Name": { "target": "com.amazonaws.workmail#ShortString", "traits": { "smithy.api#documentation": "

The retention policy name.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.workmail#PolicyDescription", "traits": { "smithy.api#documentation": "

The retention policy description.

" } }, "FolderConfigurations": { "target": "com.amazonaws.workmail#FolderConfigurations", "traits": { "smithy.api#documentation": "

The retention policy folder configurations.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#PutRetentionPolicyResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#RedactedEwsAvailabilityProvider": { "type": "structure", "members": { "EwsEndpoint": { "target": "com.amazonaws.workmail#Url", "traits": { "smithy.api#documentation": "

The endpoint of the remote EWS server.

" } }, "EwsUsername": { "target": "com.amazonaws.workmail#ExternalUserName", "traits": { "smithy.api#documentation": "

The username used to authenticate the remote EWS server.

" } } }, "traits": { "smithy.api#documentation": "

Describes an EWS based availability provider when returned from the service. It does not\n contain the password of the endpoint.

" } }, "com.amazonaws.workmail#RegisterMailDomain": { "type": "operation", "input": { "target": "com.amazonaws.workmail#RegisterMailDomainRequest" }, "output": { "target": "com.amazonaws.workmail#RegisterMailDomainResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#MailDomainInUseException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Registers a new domain in WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has \n permanent permission to use the specified domain for sending your users' emails.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#RegisterMailDomainRequest": { "type": "structure", "members": { "ClientToken": { "target": "com.amazonaws.workmail#IdempotencyClientToken", "traits": { "smithy.api#documentation": "

Idempotency token used when retrying requests.

", "smithy.api#idempotencyToken": {} } }, "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization under which you're creating the domain.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#WorkMailDomainName", "traits": { "smithy.api#documentation": "

The name of the mail domain to create in WorkMail and SES.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#RegisterMailDomainResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#RegisterToWorkMail": { "type": "operation", "input": { "target": "com.amazonaws.workmail#RegisterToWorkMailRequest" }, "output": { "target": "com.amazonaws.workmail#RegisterToWorkMailResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EmailAddressInUseException" }, { "target": "com.amazonaws.workmail#EntityAlreadyRegisteredException" }, { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#MailDomainNotFoundException" }, { "target": "com.amazonaws.workmail#MailDomainStateException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Registers an existing and disabled user, group, or resource for WorkMail use by\n associating a mailbox and calendaring capabilities. It performs no change if the user,\n group, or resource is enabled and fails if the user, group, or resource is deleted. This\n operation results in the accumulation of costs. For more information, see Pricing. The equivalent console\n functionality for this operation is Enable.

\n

Users can either be created by calling the CreateUser API operation\n or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#RegisterToWorkMailRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the user, group, or resource\n exists.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the user, group, or resource to be updated.

\n

The identifier can accept UserId, ResourceId, or GroupId, or Username, Resourcename, or Groupname. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "Email": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The email for the user, group, or resource to be updated.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#RegisterToWorkMailResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#ReservedNameException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#ResetPassword": { "type": "operation", "input": { "target": "com.amazonaws.workmail#ResetPasswordRequest" }, "output": { "target": "com.amazonaws.workmail#ResetPasswordResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#InvalidPasswordException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Allows the administrator to reset the password for a user.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#ResetPasswordRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier of the organization that contains the user for which the password is\n reset.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user for whom the password is reset.

", "smithy.api#required": {} } }, "Password": { "target": "com.amazonaws.workmail#Password", "traits": { "smithy.api#documentation": "

The new password for the user.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#ResetPasswordResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#Resource": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the resource.

" } }, "Email": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The email of the resource.

" } }, "Name": { "target": "com.amazonaws.workmail#ResourceName", "traits": { "smithy.api#documentation": "

The name of the resource.

" } }, "Type": { "target": "com.amazonaws.workmail#ResourceType", "traits": { "smithy.api#documentation": "

The type of the resource: equipment or room.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

The state of the resource, which can be ENABLED, DISABLED, or DELETED.

" } }, "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date indicating when the resource was enabled for WorkMail use.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date indicating when the resource was disabled from WorkMail use.

" } }, "Description": { "target": "com.amazonaws.workmail#ResourceDescription", "traits": { "smithy.api#documentation": "

Resource description.

" } } }, "traits": { "smithy.api#documentation": "

The representation of a resource.

" } }, "com.amazonaws.workmail#ResourceDelegates": { "type": "list", "member": { "target": "com.amazonaws.workmail#Delegate" } }, "com.amazonaws.workmail#ResourceDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#sensitive": {} } }, "com.amazonaws.workmail#ResourceId": { "type": "string", "traits": { "smithy.api#length": { "min": 34, "max": 34 }, "smithy.api#pattern": "^r-[0-9a-f]{32}$" } }, "com.amazonaws.workmail#ResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 20 }, "smithy.api#pattern": "^[\\w\\-.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z0-9-]{2,})?$" } }, "com.amazonaws.workmail#ResourceNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

The resource cannot be found.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.workmail#ResourceType": { "type": "enum", "members": { "ROOM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ROOM" } }, "EQUIPMENT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EQUIPMENT" } } } }, "com.amazonaws.workmail#Resources": { "type": "list", "member": { "target": "com.amazonaws.workmail#Resource" } }, "com.amazonaws.workmail#RetentionAction": { "type": "enum", "members": { "NONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NONE" } }, "DELETE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DELETE" } }, "PERMANENTLY_DELETE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PERMANENTLY_DELETE" } } } }, "com.amazonaws.workmail#RetentionPeriod": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 730 } } }, "com.amazonaws.workmail#RoleArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "^arn:aws:iam:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$" } }, "com.amazonaws.workmail#S3BucketName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 63 }, "smithy.api#pattern": "^[A-Za-z0-9.-]+$" } }, "com.amazonaws.workmail#S3ObjectKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1023 }, "smithy.api#pattern": "^[A-Za-z0-9!_.*'()/-]+$" } }, "com.amazonaws.workmail#ShortString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.workmail#StartMailboxExportJob": { "type": "operation", "input": { "target": "com.amazonaws.workmail#StartMailboxExportJobRequest" }, "output": { "target": "com.amazonaws.workmail#StartMailboxExportJobResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Starts a mailbox export job to export MIME-format email messages and calendar items\n from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3)\n bucket. For more information, see Exporting mailbox content in\n the WorkMail Administrator Guide.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#StartMailboxExportJobRequest": { "type": "structure", "members": { "ClientToken": { "target": "com.amazonaws.workmail#IdempotencyClientToken", "traits": { "smithy.api#documentation": "

The idempotency token for the client request.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } }, "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier associated with the organization.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user or resource associated with the mailbox.

\n

The identifier can accept UserId or ResourceId, Username or Resourcename, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.workmail#Description", "traits": { "smithy.api#documentation": "

The mailbox export job description.

" } }, "RoleArn": { "target": "com.amazonaws.workmail#RoleArn", "traits": { "smithy.api#documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the S3\n bucket.

", "smithy.api#required": {} } }, "KmsKeyArn": { "target": "com.amazonaws.workmail#KmsKeyArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS)\n key that encrypts the exported mailbox content.

", "smithy.api#required": {} } }, "S3BucketName": { "target": "com.amazonaws.workmail#S3BucketName", "traits": { "smithy.api#documentation": "

The name of the S3 bucket.

", "smithy.api#required": {} } }, "S3Prefix": { "target": "com.amazonaws.workmail#S3ObjectKey", "traits": { "smithy.api#documentation": "

The S3 bucket prefix.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#StartMailboxExportJobResponse": { "type": "structure", "members": { "JobId": { "target": "com.amazonaws.workmail#MailboxExportJobId", "traits": { "smithy.api#documentation": "

The job ID.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#String": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.workmail#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.workmail#TagKey", "traits": { "smithy.api#documentation": "

The key of the tag.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.workmail#TagValue", "traits": { "smithy.api#documentation": "

The value of the tag.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Describes a tag applied to a resource.

" } }, "com.amazonaws.workmail#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.workmail#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.workmail#TagKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.workmail#TagList": { "type": "list", "member": { "target": "com.amazonaws.workmail#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.workmail#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.workmail#TagResourceRequest" }, "output": { "target": "com.amazonaws.workmail#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" }, { "target": "com.amazonaws.workmail#TooManyTagsException" } ], "traits": { "smithy.api#documentation": "

Applies the specified tags to the specified WorkMailorganization\n resource.

" } }, "com.amazonaws.workmail#TagResourceRequest": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.workmail#AmazonResourceName", "traits": { "smithy.api#documentation": "

The resource ARN.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.workmail#TagList", "traits": { "smithy.api#documentation": "

The tag key-value pairs.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#TagResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.workmail#TargetUsers": { "type": "list", "member": { "target": "com.amazonaws.workmail#EntityIdentifier" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.workmail#TestAvailabilityConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#TestAvailabilityConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#TestAvailabilityConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access\n policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header.

\n \n

The request must contain either one provider definition (EwsProvider or\n LambdaProvider) or the DomainName parameter. If the\n DomainName parameter is provided, the configuration stored under the\n DomainName will be tested.

\n
" } }, "com.amazonaws.workmail#TestAvailabilityConfigurationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization where the availability provider will be tested.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#DomainName", "traits": { "smithy.api#documentation": "

The domain to which the provider applies. If this field is provided, a stored availability provider associated to this domain name will be tested.

" } }, "EwsProvider": { "target": "com.amazonaws.workmail#EwsAvailabilityProvider" }, "LambdaProvider": { "target": "com.amazonaws.workmail#LambdaAvailabilityProvider" } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#TestAvailabilityConfigurationResponse": { "type": "structure", "members": { "TestPassed": { "target": "com.amazonaws.workmail#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "

Boolean indicating whether the test passed or failed.

" } }, "FailureReason": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

String containing the reason for a failed test if TestPassed is false.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#Timestamp": { "type": "timestamp" }, "com.amazonaws.workmail#TooManyTagsException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.workmail#UnsupportedOperationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.workmail#String" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client" } }, "com.amazonaws.workmail#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UntagResourceRequest" }, "output": { "target": "com.amazonaws.workmail#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Untags the specified tags from the specified WorkMail organization\n resource.

" } }, "com.amazonaws.workmail#UntagResourceRequest": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.workmail#AmazonResourceName", "traits": { "smithy.api#documentation": "

The resource ARN.

", "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.workmail#TagKeyList", "traits": { "smithy.api#documentation": "

The tag keys.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UntagResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#UpdateAvailabilityConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UpdateAvailabilityConfigurationRequest" }, "output": { "target": "com.amazonaws.workmail#UpdateAvailabilityConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Updates an existing AvailabilityConfiguration for the given WorkMail\n organization and domain.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#UpdateAvailabilityConfigurationRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which the AvailabilityConfiguration will be\n updated.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#DomainName", "traits": { "smithy.api#documentation": "

The domain to which the provider applies the availability configuration.

", "smithy.api#required": {} } }, "EwsProvider": { "target": "com.amazonaws.workmail#EwsAvailabilityProvider", "traits": { "smithy.api#documentation": "

The EWS availability provider definition. The request must contain exactly one provider\n definition, either EwsProvider or LambdaProvider. The previously\n stored provider will be overridden by the one provided.

" } }, "LambdaProvider": { "target": "com.amazonaws.workmail#LambdaAvailabilityProvider", "traits": { "smithy.api#documentation": "

The Lambda availability provider definition. The request must contain exactly one\n provider definition, either EwsProvider or LambdaProvider. The\n previously stored provider will be overridden by the one provided.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateAvailabilityConfigurationResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#UpdateDefaultMailDomain": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UpdateDefaultMailDomainRequest" }, "output": { "target": "com.amazonaws.workmail#UpdateDefaultMailDomainResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#MailDomainNotFoundException" }, { "target": "com.amazonaws.workmail#MailDomainStateException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#UpdateDefaultMailDomainRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization for which to list domains.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#WorkMailDomainName", "traits": { "smithy.api#documentation": "

The domain name that will become the default domain.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateDefaultMailDomainResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#UpdateGroup": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UpdateGroupRequest" }, "output": { "target": "com.amazonaws.workmail#UpdateGroupResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Updates attributes in a group.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#UpdateGroupRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the group exists.

", "smithy.api#required": {} } }, "GroupId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the group to be updated.

\n

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "HiddenFromGlobalAddressList": { "target": "com.amazonaws.workmail#BooleanObject", "traits": { "smithy.api#documentation": "

If enabled, the group is hidden from the global address list.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateGroupResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#UpdateImpersonationRole": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UpdateImpersonationRoleRequest" }, "output": { "target": "com.amazonaws.workmail#UpdateImpersonationRoleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#LimitExceededException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Updates an impersonation role for the given WorkMail organization.

" } }, "com.amazonaws.workmail#UpdateImpersonationRoleRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization that contains the impersonation role to update.

", "smithy.api#required": {} } }, "ImpersonationRoleId": { "target": "com.amazonaws.workmail#ImpersonationRoleId", "traits": { "smithy.api#documentation": "

The ID of the impersonation role to update.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.workmail#ImpersonationRoleName", "traits": { "smithy.api#documentation": "

The updated impersonation role name.

", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.workmail#ImpersonationRoleType", "traits": { "smithy.api#documentation": "

The updated impersonation role type.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.workmail#ImpersonationRoleDescription", "traits": { "smithy.api#documentation": "

The updated impersonation role description.

" } }, "Rules": { "target": "com.amazonaws.workmail#ImpersonationRuleList", "traits": { "smithy.api#documentation": "

The updated list of rules.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateImpersonationRoleResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#UpdateMailboxQuota": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UpdateMailboxQuotaRequest" }, "output": { "target": "com.amazonaws.workmail#UpdateMailboxQuotaResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Updates a user's current mailbox quota for a specified organization and\n user.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#UpdateMailboxQuotaRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization that contains the user for whom to update the\n mailbox quota.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifer for the user for whom to update the mailbox quota.

\n

The identifier can be the UserId, Username, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "MailboxQuota": { "target": "com.amazonaws.workmail#MailboxQuota", "traits": { "smithy.api#documentation": "

The updated mailbox quota, in MB, for the specified user.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateMailboxQuotaResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#UpdateMobileDeviceAccessRule": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UpdateMobileDeviceAccessRuleRequest" }, "output": { "target": "com.amazonaws.workmail#UpdateMobileDeviceAccessRuleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" } ], "traits": { "smithy.api#documentation": "

Updates a mobile device access rule for the specified WorkMail organization.

" } }, "com.amazonaws.workmail#UpdateMobileDeviceAccessRuleRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The WorkMail organization under which the rule will be updated.

", "smithy.api#required": {} } }, "MobileDeviceAccessRuleId": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleId", "traits": { "smithy.api#documentation": "

The identifier of the rule to be updated.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleName", "traits": { "smithy.api#documentation": "

The updated rule name.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleDescription", "traits": { "smithy.api#documentation": "

The updated rule description.

" } }, "Effect": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", "traits": { "smithy.api#documentation": "

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

", "smithy.api#required": {} } }, "DeviceTypes": { "target": "com.amazonaws.workmail#DeviceTypeList", "traits": { "smithy.api#documentation": "

Device types that the updated rule will match.

" } }, "NotDeviceTypes": { "target": "com.amazonaws.workmail#DeviceTypeList", "traits": { "smithy.api#documentation": "

Device types that the updated rule will not match. All other device types will match.

" } }, "DeviceModels": { "target": "com.amazonaws.workmail#DeviceModelList", "traits": { "smithy.api#documentation": "

Device models that the updated rule will match.

" } }, "NotDeviceModels": { "target": "com.amazonaws.workmail#DeviceModelList", "traits": { "smithy.api#documentation": "

Device models that the updated rule will not match. All other device models will match.

" } }, "DeviceOperatingSystems": { "target": "com.amazonaws.workmail#DeviceOperatingSystemList", "traits": { "smithy.api#documentation": "

Device operating systems that the updated rule will match.

" } }, "NotDeviceOperatingSystems": { "target": "com.amazonaws.workmail#DeviceOperatingSystemList", "traits": { "smithy.api#documentation": "

Device operating systems that the updated rule will not match. All other device operating systems will match.

" } }, "DeviceUserAgents": { "target": "com.amazonaws.workmail#DeviceUserAgentList", "traits": { "smithy.api#documentation": "

User agents that the updated rule will match.

" } }, "NotDeviceUserAgents": { "target": "com.amazonaws.workmail#DeviceUserAgentList", "traits": { "smithy.api#documentation": "

User agents that the updated rule will not match. All other user agents will match.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateMobileDeviceAccessRuleResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#UpdatePrimaryEmailAddress": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UpdatePrimaryEmailAddressRequest" }, "output": { "target": "com.amazonaws.workmail#UpdatePrimaryEmailAddressResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EmailAddressInUseException" }, { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#MailDomainNotFoundException" }, { "target": "com.amazonaws.workmail#MailDomainStateException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Updates the primary email for a user, group, or resource. The current email is moved\n into the list of aliases (or swapped between an existing alias and the current primary\n email), and the email provided in the input is promoted as the primary.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#UpdatePrimaryEmailAddressRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The organization that contains the user, group, or resource to update.

", "smithy.api#required": {} } }, "EntityId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The user, group, or resource to update.

\n

The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "Email": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The value of the email to be updated as primary.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdatePrimaryEmailAddressResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#UpdateResource": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UpdateResourceRequest" }, "output": { "target": "com.amazonaws.workmail#UpdateResourceResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EmailAddressInUseException" }, { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidConfigurationException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#MailDomainNotFoundException" }, { "target": "com.amazonaws.workmail#MailDomainStateException" }, { "target": "com.amazonaws.workmail#NameAvailabilityException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Updates data for the resource. To have the latest information, it must be preceded by\n a DescribeResource call. The dataset in the request should be the one\n expected when performing another DescribeResource call.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#UpdateResourceRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier associated with the organization for which the resource is\n updated.

", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the resource to be updated.

\n

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.workmail#ResourceName", "traits": { "smithy.api#documentation": "

The name of the resource to be updated.

" } }, "BookingOptions": { "target": "com.amazonaws.workmail#BookingOptions", "traits": { "smithy.api#documentation": "

The resource's booking options to be updated.

" } }, "Description": { "target": "com.amazonaws.workmail#NewResourceDescription", "traits": { "smithy.api#documentation": "

Updates the resource description.

" } }, "Type": { "target": "com.amazonaws.workmail#ResourceType", "traits": { "smithy.api#documentation": "

Updates the resource type.

" } }, "HiddenFromGlobalAddressList": { "target": "com.amazonaws.workmail#BooleanObject", "traits": { "smithy.api#documentation": "

If enabled, the resource is hidden from the global address list.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#UpdateUser": { "type": "operation", "input": { "target": "com.amazonaws.workmail#UpdateUserRequest" }, "output": { "target": "com.amazonaws.workmail#UpdateUserResponse" }, "errors": [ { "target": "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException" }, { "target": "com.amazonaws.workmail#DirectoryUnavailableException" }, { "target": "com.amazonaws.workmail#EntityNotFoundException" }, { "target": "com.amazonaws.workmail#EntityStateException" }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" }, { "target": "com.amazonaws.workmail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Updates data for the user. To have the latest information, it must be preceded by a\n DescribeUser call. The dataset in the request should be the one\n expected when performing another DescribeUser call.

", "smithy.api#idempotent": {} } }, "com.amazonaws.workmail#UpdateUserRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { "smithy.api#documentation": "

The identifier for the organization under which the user exists.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { "smithy.api#documentation": "

The identifier for the user to be updated.

\n

The identifier can be the UserId, Username, or email. The following identity formats are available:

\n ", "smithy.api#required": {} } }, "Role": { "target": "com.amazonaws.workmail#UserRole", "traits": { "smithy.api#documentation": "

Updates the user role.

\n

You cannot pass SYSTEM_USER or RESOURCE.

" } }, "DisplayName": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the display name of the user.

" } }, "FirstName": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's first name.

" } }, "LastName": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's last name.

" } }, "HiddenFromGlobalAddressList": { "target": "com.amazonaws.workmail#BooleanObject", "traits": { "smithy.api#documentation": "

If enabled, the user is hidden from the global address list.

" } }, "Initials": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's initials.

" } }, "Telephone": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's contact details.

" } }, "Street": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's street address.

" } }, "JobTitle": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's job title.

" } }, "City": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's city.

" } }, "Company": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's company.

" } }, "ZipCode": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's zip code.

" } }, "Department": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's department.

" } }, "Country": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's country.

" } }, "Office": { "target": "com.amazonaws.workmail#UserAttribute", "traits": { "smithy.api#documentation": "

Updates the user's office.

" } }, "IdentityProviderUserId": { "target": "com.amazonaws.workmail#IdentityProviderUserIdForUpdate", "traits": { "smithy.api#documentation": "

User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateUserResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.workmail#Url": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^https?://[A-Za-z0-9.-]+(:[0-9]+)?/" } }, "com.amazonaws.workmail#User": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { "smithy.api#documentation": "

The identifier of the user.

" } }, "Email": { "target": "com.amazonaws.workmail#EmailAddress", "traits": { "smithy.api#documentation": "

The email of the user.

" } }, "Name": { "target": "com.amazonaws.workmail#UserName", "traits": { "smithy.api#documentation": "

The name of the user.

" } }, "DisplayName": { "target": "com.amazonaws.workmail#String", "traits": { "smithy.api#documentation": "

The display name of the user.

" } }, "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { "smithy.api#documentation": "

The state of the user, which can be ENABLED, DISABLED, or DELETED.

" } }, "UserRole": { "target": "com.amazonaws.workmail#UserRole", "traits": { "smithy.api#documentation": "

The role of the user.

" } }, "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date indicating when the user was enabled for WorkMail use.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { "smithy.api#documentation": "

The date indicating when the user was disabled from WorkMail use.

" } }, "IdentityProviderUserId": { "target": "com.amazonaws.workmail#IdentityProviderUserId", "traits": { "smithy.api#documentation": "

User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.

" } }, "IdentityProviderIdentityStoreId": { "target": "com.amazonaws.workmail#IdentityProviderIdentityStoreId", "traits": { "smithy.api#documentation": "

Identity store ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.

" } } }, "traits": { "smithy.api#documentation": "

The representation of an WorkMail user.

" } }, "com.amazonaws.workmail#UserAttribute": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#sensitive": {} } }, "com.amazonaws.workmail#UserIdList": { "type": "list", "member": { "target": "com.amazonaws.workmail#WorkMailIdentifier" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.workmail#UserName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[\\w\\-.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z0-9-]{2,})?$" } }, "com.amazonaws.workmail#UserRole": { "type": "enum", "members": { "USER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "USER" } }, "RESOURCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RESOURCE" } }, "SYSTEM_USER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SYSTEM_USER" } }, "REMOTE_USER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REMOTE_USER" } } } }, "com.amazonaws.workmail#Users": { "type": "list", "member": { "target": "com.amazonaws.workmail#User" } }, "com.amazonaws.workmail#WorkMailDomainName": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 209 }, "smithy.api#pattern": "^[a-zA-Z0-9.-]+$" } }, "com.amazonaws.workmail#WorkMailIdentifier": { "type": "string", "traits": { "smithy.api#length": { "min": 12, "max": 256 } } }, "com.amazonaws.workmail#WorkMailService": { "type": "service", "version": "2017-10-01", "operations": [ { "target": "com.amazonaws.workmail#AssociateDelegateToResource" }, { "target": "com.amazonaws.workmail#AssociateMemberToGroup" }, { "target": "com.amazonaws.workmail#AssumeImpersonationRole" }, { "target": "com.amazonaws.workmail#CancelMailboxExportJob" }, { "target": "com.amazonaws.workmail#CreateAlias" }, { "target": "com.amazonaws.workmail#CreateAvailabilityConfiguration" }, { "target": "com.amazonaws.workmail#CreateGroup" }, { "target": "com.amazonaws.workmail#CreateIdentityCenterApplication" }, { "target": "com.amazonaws.workmail#CreateImpersonationRole" }, { "target": "com.amazonaws.workmail#CreateMobileDeviceAccessRule" }, { "target": "com.amazonaws.workmail#CreateOrganization" }, { "target": "com.amazonaws.workmail#CreateResource" }, { "target": "com.amazonaws.workmail#CreateUser" }, { "target": "com.amazonaws.workmail#DeleteAccessControlRule" }, { "target": "com.amazonaws.workmail#DeleteAlias" }, { "target": "com.amazonaws.workmail#DeleteAvailabilityConfiguration" }, { "target": "com.amazonaws.workmail#DeleteEmailMonitoringConfiguration" }, { "target": "com.amazonaws.workmail#DeleteGroup" }, { "target": "com.amazonaws.workmail#DeleteIdentityCenterApplication" }, { "target": "com.amazonaws.workmail#DeleteIdentityProviderConfiguration" }, { "target": "com.amazonaws.workmail#DeleteImpersonationRole" }, { "target": "com.amazonaws.workmail#DeleteMailboxPermissions" }, { "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessOverride" }, { "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessRule" }, { "target": "com.amazonaws.workmail#DeleteOrganization" }, { "target": "com.amazonaws.workmail#DeletePersonalAccessToken" }, { "target": "com.amazonaws.workmail#DeleteResource" }, { "target": "com.amazonaws.workmail#DeleteRetentionPolicy" }, { "target": "com.amazonaws.workmail#DeleteUser" }, { "target": "com.amazonaws.workmail#DeregisterFromWorkMail" }, { "target": "com.amazonaws.workmail#DeregisterMailDomain" }, { "target": "com.amazonaws.workmail#DescribeEmailMonitoringConfiguration" }, { "target": "com.amazonaws.workmail#DescribeEntity" }, { "target": "com.amazonaws.workmail#DescribeGroup" }, { "target": "com.amazonaws.workmail#DescribeIdentityProviderConfiguration" }, { "target": "com.amazonaws.workmail#DescribeInboundDmarcSettings" }, { "target": "com.amazonaws.workmail#DescribeMailboxExportJob" }, { "target": "com.amazonaws.workmail#DescribeOrganization" }, { "target": "com.amazonaws.workmail#DescribeResource" }, { "target": "com.amazonaws.workmail#DescribeUser" }, { "target": "com.amazonaws.workmail#DisassociateDelegateFromResource" }, { "target": "com.amazonaws.workmail#DisassociateMemberFromGroup" }, { "target": "com.amazonaws.workmail#GetAccessControlEffect" }, { "target": "com.amazonaws.workmail#GetDefaultRetentionPolicy" }, { "target": "com.amazonaws.workmail#GetImpersonationRole" }, { "target": "com.amazonaws.workmail#GetImpersonationRoleEffect" }, { "target": "com.amazonaws.workmail#GetMailboxDetails" }, { "target": "com.amazonaws.workmail#GetMailDomain" }, { "target": "com.amazonaws.workmail#GetMobileDeviceAccessEffect" }, { "target": "com.amazonaws.workmail#GetMobileDeviceAccessOverride" }, { "target": "com.amazonaws.workmail#GetPersonalAccessTokenMetadata" }, { "target": "com.amazonaws.workmail#ListAccessControlRules" }, { "target": "com.amazonaws.workmail#ListAliases" }, { "target": "com.amazonaws.workmail#ListAvailabilityConfigurations" }, { "target": "com.amazonaws.workmail#ListGroupMembers" }, { "target": "com.amazonaws.workmail#ListGroups" }, { "target": "com.amazonaws.workmail#ListGroupsForEntity" }, { "target": "com.amazonaws.workmail#ListImpersonationRoles" }, { "target": "com.amazonaws.workmail#ListMailboxExportJobs" }, { "target": "com.amazonaws.workmail#ListMailboxPermissions" }, { "target": "com.amazonaws.workmail#ListMailDomains" }, { "target": "com.amazonaws.workmail#ListMobileDeviceAccessOverrides" }, { "target": "com.amazonaws.workmail#ListMobileDeviceAccessRules" }, { "target": "com.amazonaws.workmail#ListOrganizations" }, { "target": "com.amazonaws.workmail#ListPersonalAccessTokens" }, { "target": "com.amazonaws.workmail#ListResourceDelegates" }, { "target": "com.amazonaws.workmail#ListResources" }, { "target": "com.amazonaws.workmail#ListTagsForResource" }, { "target": "com.amazonaws.workmail#ListUsers" }, { "target": "com.amazonaws.workmail#PutAccessControlRule" }, { "target": "com.amazonaws.workmail#PutEmailMonitoringConfiguration" }, { "target": "com.amazonaws.workmail#PutIdentityProviderConfiguration" }, { "target": "com.amazonaws.workmail#PutInboundDmarcSettings" }, { "target": "com.amazonaws.workmail#PutMailboxPermissions" }, { "target": "com.amazonaws.workmail#PutMobileDeviceAccessOverride" }, { "target": "com.amazonaws.workmail#PutRetentionPolicy" }, { "target": "com.amazonaws.workmail#RegisterMailDomain" }, { "target": "com.amazonaws.workmail#RegisterToWorkMail" }, { "target": "com.amazonaws.workmail#ResetPassword" }, { "target": "com.amazonaws.workmail#StartMailboxExportJob" }, { "target": "com.amazonaws.workmail#TagResource" }, { "target": "com.amazonaws.workmail#TestAvailabilityConfiguration" }, { "target": "com.amazonaws.workmail#UntagResource" }, { "target": "com.amazonaws.workmail#UpdateAvailabilityConfiguration" }, { "target": "com.amazonaws.workmail#UpdateDefaultMailDomain" }, { "target": "com.amazonaws.workmail#UpdateGroup" }, { "target": "com.amazonaws.workmail#UpdateImpersonationRole" }, { "target": "com.amazonaws.workmail#UpdateMailboxQuota" }, { "target": "com.amazonaws.workmail#UpdateMobileDeviceAccessRule" }, { "target": "com.amazonaws.workmail#UpdatePrimaryEmailAddress" }, { "target": "com.amazonaws.workmail#UpdateResource" }, { "target": "com.amazonaws.workmail#UpdateUser" } ], "traits": { "aws.api#service": { "sdkId": "WorkMail", "arnNamespace": "workmail", "cloudFormationName": "WorkMail", "cloudTrailEventSource": "workmail.amazonaws.com", "endpointPrefix": "workmail" }, "aws.auth#sigv4": { "name": "workmail" }, "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "

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

\n

The WorkMail API is designed for the following scenarios:

\n \n \n \n \n

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

", "smithy.api#title": "Amazon WorkMail", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "results": [ { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://workmail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://workmail-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://workmail.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://workmail.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 13, "nodes": "/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] } ] }, { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://workmail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://workmail-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://workmail.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://workmail.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail.eu-west-1.amazonaws.com" } }, "params": { "Region": "eu-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail.us-west-2.amazonaws.com" } }, "params": { "Region": "us-west-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://workmail-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail-fips.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://workmail.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://workmail-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://workmail.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://workmail-fips.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail-fips.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://workmail.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://workmail.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips disabled and dualstack enabled", "expect": { "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } } ], "version": "1.0" } } } } }