aws-sdk-for-zig/codegen/models/workmail.2017-10-01.json

5801 lines
240 KiB
JSON

{
"smithy": "1.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": "<p>The rule name.</p>"
}
},
"Effect": {
"target": "com.amazonaws.workmail#AccessControlRuleEffect",
"traits": {
"smithy.api#documentation": "<p>The rule effect.</p>"
}
},
"Description": {
"target": "com.amazonaws.workmail#AccessControlRuleDescription",
"traits": {
"smithy.api#documentation": "<p>The rule description.</p>"
}
},
"IpRanges": {
"target": "com.amazonaws.workmail#IpRangeList",
"traits": {
"smithy.api#documentation": "<p>IPv4 CIDR ranges to include in the rule.</p>"
}
},
"NotIpRanges": {
"target": "com.amazonaws.workmail#IpRangeList",
"traits": {
"smithy.api#documentation": "<p>IPv4 CIDR ranges to exclude from the rule.</p>"
}
},
"Actions": {
"target": "com.amazonaws.workmail#ActionsList",
"traits": {
"smithy.api#documentation": "<p>Access protocol actions to include in the rule. Valid values include\n <code>ActiveSync</code>, <code>AutoDiscover</code>, <code>EWS</code>, <code>IMAP</code>,\n <code>SMTP</code>, <code>WindowsOutlook</code>, and <code>WebMail</code>.</p>"
}
},
"NotActions": {
"target": "com.amazonaws.workmail#ActionsList",
"traits": {
"smithy.api#documentation": "<p>Access protocol actions to exclude from the rule. Valid values include\n <code>ActiveSync</code>, <code>AutoDiscover</code>, <code>EWS</code>, <code>IMAP</code>,\n <code>SMTP</code>, <code>WindowsOutlook</code>, and <code>WebMail</code>.</p>"
}
},
"UserIds": {
"target": "com.amazonaws.workmail#UserIdList",
"traits": {
"smithy.api#documentation": "<p>User IDs to include in the rule.</p>"
}
},
"NotUserIds": {
"target": "com.amazonaws.workmail#UserIdList",
"traits": {
"smithy.api#documentation": "<p>User IDs to exclude from the rule.</p>"
}
},
"DateCreated": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the rule was created.</p>"
}
},
"DateModified": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the rule was modified.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule that controls access to an Amazon WorkMail organization.</p>"
}
},
"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": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALLOW",
"name": "ALLOW"
},
{
"value": "DENY",
"name": "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#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
}
}
},
"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"
}
],
"traits": {
"smithy.api#documentation": "<p>Adds a member (user or group) to the resource's set of delegates.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#AssociateDelegateToResourceRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization under which the resource exists.</p>",
"smithy.api#required": {}
}
},
"ResourceId": {
"target": "com.amazonaws.workmail#ResourceId",
"traits": {
"smithy.api#documentation": "<p>The resource for which members (users or groups) are associated.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The member (user or group) to associate to the resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#AssociateDelegateToResourceResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Adds a member (user or group) to the group's set.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#AssociateMemberToGroupRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization under which the group exists.</p>",
"smithy.api#required": {}
}
},
"GroupId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The group to which the member (user or group) is associated.</p>",
"smithy.api#required": {}
}
},
"MemberId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The member (user or group) to associate to the group.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#AssociateMemberToGroupResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.workmail#BookingOptions": {
"type": "structure",
"members": {
"AutoAcceptRequests": {
"target": "com.amazonaws.workmail#Boolean",
"traits": {
"smithy.api#documentation": "<p>The resource's ability to automatically reply to requests. If disabled, delegates\n must be associated to the resource.</p>"
}
},
"AutoDeclineRecurringRequests": {
"target": "com.amazonaws.workmail#Boolean",
"traits": {
"smithy.api#documentation": "<p>The resource's ability to automatically decline any recurring requests.</p>"
}
},
"AutoDeclineConflictingRequests": {
"target": "com.amazonaws.workmail#Boolean",
"traits": {
"smithy.api#documentation": "<p>The resource's ability to automatically decline any conflicting requests.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>At least one delegate must be associated to the resource to disable automatic replies\n from the resource.</p>"
}
},
"com.amazonaws.workmail#Boolean": {
"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": "<p>Cancels a mailbox export job.</p>\n <note>\n <p>If the mailbox export job is near completion, it might not be possible to cancel\n it.</p>\n </note>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#CancelMailboxExportJobRequest": {
"type": "structure",
"members": {
"ClientToken": {
"target": "com.amazonaws.workmail#IdempotencyClientToken",
"traits": {
"smithy.api#documentation": "<p>The idempotency token for the client request.</p>",
"smithy.api#idempotencyToken": {},
"smithy.api#required": {}
}
},
"JobId": {
"target": "com.amazonaws.workmail#MailboxExportJobId",
"traits": {
"smithy.api#documentation": "<p>The job ID.</p>",
"smithy.api#required": {}
}
},
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization ID.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#CancelMailboxExportJobResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Adds an alias to the set of a given member (user or group) of Amazon WorkMail.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#CreateAliasRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization under which the member (user or group) exists.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The member (user or group) to which this alias is added.</p>",
"smithy.api#required": {}
}
},
"Alias": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The alias to add to the member set.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#CreateAliasResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Creates a group that can be used in Amazon WorkMail by calling the <a>RegisterToWorkMail</a> operation.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#CreateGroupRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization under which the group is to be created.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.workmail#GroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the group.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#CreateGroupResponse": {
"type": "structure",
"members": {
"GroupId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the group.</p>"
}
}
}
},
"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": "<p>Creates a new mobile device access rule for the specified Amazon WorkMail organization.</p>"
}
},
"com.amazonaws.workmail#CreateMobileDeviceAccessRuleRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The Amazon WorkMail organization under which the rule will be created.</p>",
"smithy.api#required": {}
}
},
"ClientToken": {
"target": "com.amazonaws.workmail#IdempotencyClientToken",
"traits": {
"smithy.api#documentation": "<p>The idempotency token for the client request.</p>",
"smithy.api#idempotencyToken": {}
}
},
"Name": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleName",
"traits": {
"smithy.api#documentation": "<p>The rule name.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleDescription",
"traits": {
"smithy.api#documentation": "<p>The rule description.</p>"
}
},
"Effect": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect",
"traits": {
"smithy.api#documentation": "<p>The effect of the rule when it matches. Allowed values are <code>ALLOW</code> or <code>DENY</code>.</p>",
"smithy.api#required": {}
}
},
"DeviceTypes": {
"target": "com.amazonaws.workmail#DeviceTypeList",
"traits": {
"smithy.api#documentation": "<p>Device types that the rule will match.</p>"
}
},
"NotDeviceTypes": {
"target": "com.amazonaws.workmail#DeviceTypeList",
"traits": {
"smithy.api#documentation": "<p>Device types that the rule <b>will not</b> match. All other device types will match.</p>"
}
},
"DeviceModels": {
"target": "com.amazonaws.workmail#DeviceModelList",
"traits": {
"smithy.api#documentation": "<p>Device models that the rule will match.</p>"
}
},
"NotDeviceModels": {
"target": "com.amazonaws.workmail#DeviceModelList",
"traits": {
"smithy.api#documentation": "<p>Device models that the rule <b>will not</b> match. All other device models will match.</p>"
}
},
"DeviceOperatingSystems": {
"target": "com.amazonaws.workmail#DeviceOperatingSystemList",
"traits": {
"smithy.api#documentation": "<p>Device operating systems that the rule will match.</p>"
}
},
"NotDeviceOperatingSystems": {
"target": "com.amazonaws.workmail#DeviceOperatingSystemList",
"traits": {
"smithy.api#documentation": "<p>Device operating systems that the rule <b>will not</b> match. All other device operating systems will match.</p>"
}
},
"DeviceUserAgents": {
"target": "com.amazonaws.workmail#DeviceUserAgentList",
"traits": {
"smithy.api#documentation": "<p>Device user agents that the rule will match.</p>"
}
},
"NotDeviceUserAgents": {
"target": "com.amazonaws.workmail#DeviceUserAgentList",
"traits": {
"smithy.api#documentation": "<p>Device user agents that the rule <b>will not</b> match. All other device user agents will match.</p>"
}
}
}
},
"com.amazonaws.workmail#CreateMobileDeviceAccessRuleResponse": {
"type": "structure",
"members": {
"MobileDeviceAccessRuleId": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the newly created mobile device access rule.</p>"
}
}
}
},
"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": "<p>Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/add_new_organization.html\">Adding an organization</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>\n <p>You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html\">Adding a domain</a> and <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/default_domain.html\">Choosing the default domain</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>\n <p>Optionally, you can use a customer managed master key from AWS Key Management Service\n (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a\n default AWS managed master key for you.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#CreateOrganizationRequest": {
"type": "structure",
"members": {
"DirectoryId": {
"target": "com.amazonaws.workmail#DirectoryId",
"traits": {
"smithy.api#documentation": "<p>The AWS Directory Service directory ID.</p>"
}
},
"Alias": {
"target": "com.amazonaws.workmail#OrganizationName",
"traits": {
"smithy.api#documentation": "<p>The organization alias.</p>",
"smithy.api#required": {}
}
},
"ClientToken": {
"target": "com.amazonaws.workmail#IdempotencyClientToken",
"traits": {
"smithy.api#documentation": "<p>The idempotency token associated with the request.</p>",
"smithy.api#idempotencyToken": {}
}
},
"Domains": {
"target": "com.amazonaws.workmail#Domains",
"traits": {
"smithy.api#documentation": "<p>The email domains to associate with the organization.</p>"
}
},
"KmsKeyArn": {
"target": "com.amazonaws.workmail#KmsKeyArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of a customer managed master key from AWS\n KMS.</p>"
}
},
"EnableInteroperability": {
"target": "com.amazonaws.workmail#Boolean",
"traits": {
"smithy.api#documentation": "<p>When <code>true</code>, allows organization interoperability between Amazon WorkMail and Microsoft Exchange. Can only be set to <code>true</code> if an AD Connector directory ID is included in the request.</p>"
}
}
}
},
"com.amazonaws.workmail#CreateOrganizationResponse": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization ID.</p>"
}
}
}
},
"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"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new Amazon WorkMail resource. </p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#CreateResourceRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier associated with the organization for which the resource is\n created.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.workmail#ResourceName",
"traits": {
"smithy.api#documentation": "<p>The name of the new resource.</p>",
"smithy.api#required": {}
}
},
"Type": {
"target": "com.amazonaws.workmail#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of the new resource. The available types are <code>equipment</code> and\n <code>room</code>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#CreateResourceResponse": {
"type": "structure",
"members": {
"ResourceId": {
"target": "com.amazonaws.workmail#ResourceId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the new resource.</p>"
}
}
}
},
"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": "<p>Creates a user who can be used in Amazon WorkMail by calling the <a>RegisterToWorkMail</a> operation.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#CreateUserRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the organization for which the user is created.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.workmail#UserName",
"traits": {
"smithy.api#documentation": "<p>The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.</p>",
"smithy.api#required": {}
}
},
"DisplayName": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The display name for the new user.</p>",
"smithy.api#required": {}
}
},
"Password": {
"target": "com.amazonaws.workmail#Password",
"traits": {
"smithy.api#documentation": "<p>The password for the new user.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#CreateUserResponse": {
"type": "structure",
"members": {
"UserId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the new user.</p>"
}
}
}
},
"com.amazonaws.workmail#Delegate": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The identifier for the user or group associated as the resource's delegate.</p>",
"smithy.api#required": {}
}
},
"Type": {
"target": "com.amazonaws.workmail#MemberType",
"traits": {
"smithy.api#documentation": "<p>The type of the delegate: user or group.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The name of the attribute, which is one of the values defined in the UserAttribute\n enumeration.</p>"
}
},
"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": "<p>Deletes an access control rule for the specified WorkMail organization.</p>"
}
},
"com.amazonaws.workmail#DeleteAccessControlRuleRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.workmail#AccessControlRuleName",
"traits": {
"smithy.api#documentation": "<p>The name of the access control rule.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeleteAccessControlRuleResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Remove one or more specified aliases from a set of aliases for a given\n user.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DeleteAliasRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the user exists.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the member (user or group) from which to have the aliases\n removed.</p>",
"smithy.api#required": {}
}
},
"Alias": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>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).</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeleteAliasResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Deletes a group from Amazon WorkMail.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DeleteGroupRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization that contains the group.</p>",
"smithy.api#required": {}
}
},
"GroupId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the group to be deleted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeleteGroupResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Deletes permissions granted to a member (user or group).</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DeleteMailboxPermissionsRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the organization under which the member (user or group)\n exists.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the member (user or group) that owns the mailbox.</p>",
"smithy.api#required": {}
}
},
"GranteeId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the member (user or group) for which to delete granted\n permissions.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeleteMailboxPermissionsResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Deletes a mobile device access rule for the specified Amazon WorkMail organization.</p>"
}
},
"com.amazonaws.workmail#DeleteMobileDeviceAccessRuleRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The Amazon WorkMail organization under which the rule will be deleted.</p>",
"smithy.api#required": {}
}
},
"MobileDeviceAccessRuleId": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the rule to be deleted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeleteMobileDeviceAccessRuleResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Deletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html\">Removing an organization</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DeleteOrganizationRequest": {
"type": "structure",
"members": {
"ClientToken": {
"target": "com.amazonaws.workmail#IdempotencyClientToken",
"traits": {
"smithy.api#documentation": "<p>The idempotency token associated with the request.</p>",
"smithy.api#idempotencyToken": {}
}
},
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization ID.</p>",
"smithy.api#required": {}
}
},
"DeleteDirectory": {
"target": "com.amazonaws.workmail#Boolean",
"traits": {
"smithy.api#documentation": "<p>If true, deletes the AWS Directory Service directory associated with the organization.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeleteOrganizationResponse": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization ID.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The state of the organization.</p>"
}
}
}
},
"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"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified resource. </p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DeleteResourceRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier associated with the organization from which the resource is\n deleted.</p>",
"smithy.api#required": {}
}
},
"ResourceId": {
"target": "com.amazonaws.workmail#ResourceId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the resource to be deleted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeleteResourceResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Deletes the specified retention policy from the specified organization.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DeleteRetentionPolicyRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization ID.</p>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.workmail#ShortString",
"traits": {
"smithy.api#documentation": "<p>The retention policy ID.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeleteRetentionPolicyResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a\n user, the user state must be <code>DISABLED</code>. Use the <a>DescribeUser</a>\n action to confirm the user state.</p>\n <p>Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for\n 30 days before they are permanently removed.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DeleteUserRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization that contains the user to be deleted.</p>",
"smithy.api#required": {}
}
},
"UserId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user to be deleted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeleteUserResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Mark a user, group, or resource as no longer used in Amazon 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 <i>Disable</i>.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DeregisterFromWorkMailRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the Amazon WorkMail entity exists.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the member (user or group) to be updated.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DeregisterFromWorkMailResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Returns the data available for the group.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DescribeGroupRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the group exists.</p>",
"smithy.api#required": {}
}
},
"GroupId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the group to be described.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DescribeGroupResponse": {
"type": "structure",
"members": {
"GroupId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the described group.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#GroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the described group.</p>"
}
},
"Email": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The email of the described group.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#EntityState",
"traits": {
"smithy.api#documentation": "<p>The state of the user: enabled (registered to Amazon WorkMail) or disabled (deregistered or\n never registered to WorkMail).</p>"
}
},
"EnabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time when a user was registered to WorkMail, in UNIX epoch time\n format.</p>"
}
},
"DisabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time when a user was deregistered from WorkMail, in UNIX epoch time\n format.</p>"
}
}
}
},
"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": "<p>Describes the current status of a mailbox export job.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DescribeMailboxExportJobRequest": {
"type": "structure",
"members": {
"JobId": {
"target": "com.amazonaws.workmail#MailboxExportJobId",
"traits": {
"smithy.api#documentation": "<p>The mailbox export job ID.</p>",
"smithy.api#required": {}
}
},
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization ID.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DescribeMailboxExportJobResponse": {
"type": "structure",
"members": {
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user or resource associated with the mailbox.</p>"
}
},
"Description": {
"target": "com.amazonaws.workmail#Description",
"traits": {
"smithy.api#documentation": "<p>The mailbox export job description.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.workmail#RoleArn",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"KmsKeyArn": {
"target": "com.amazonaws.workmail#KmsKeyArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS)\n key that encrypts the exported mailbox content.</p>"
}
},
"S3BucketName": {
"target": "com.amazonaws.workmail#S3BucketName",
"traits": {
"smithy.api#documentation": "<p>The name of the S3 bucket.</p>"
}
},
"S3Prefix": {
"target": "com.amazonaws.workmail#S3ObjectKey",
"traits": {
"smithy.api#documentation": "<p>The S3 bucket prefix.</p>"
}
},
"S3Path": {
"target": "com.amazonaws.workmail#S3ObjectKey",
"traits": {
"smithy.api#documentation": "<p>The path to the S3 bucket and file that the mailbox export job is exporting\n to.</p>"
}
},
"EstimatedProgress": {
"target": "com.amazonaws.workmail#Percentage",
"traits": {
"smithy.api#documentation": "<p>The estimated progress of the mailbox export job, in percentage points.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#MailboxExportJobState",
"traits": {
"smithy.api#documentation": "<p>The state of the mailbox export job.</p>"
}
},
"ErrorInfo": {
"target": "com.amazonaws.workmail#MailboxExportErrorInfo",
"traits": {
"smithy.api#documentation": "<p>Error information for failed mailbox export jobs.</p>"
}
},
"StartTime": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The mailbox export job start timestamp.</p>"
}
},
"EndTime": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The mailbox export job end timestamp.</p>"
}
}
}
},
"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": "<p>Provides more information regarding a given organization based on its\n identifier.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DescribeOrganizationRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization to be described.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DescribeOrganizationResponse": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier of an organization.</p>"
}
},
"Alias": {
"target": "com.amazonaws.workmail#OrganizationName",
"traits": {
"smithy.api#documentation": "<p>The alias for an organization.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The state of an organization.</p>"
}
},
"DirectoryId": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The identifier for the directory associated with an Amazon WorkMail organization.</p>"
}
},
"DirectoryType": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The type of directory associated with the WorkMail organization.</p>"
}
},
"DefaultMailDomain": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The default mail domain associated with the organization.</p>"
}
},
"CompletedDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date at which the organization became usable in the WorkMail context, in UNIX epoch\n time format.</p>"
}
},
"ErrorMessage": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>(Optional) The error message indicating if unexpected behavior was encountered with\n regards to the organization.</p>"
}
},
"ARN": {
"target": "com.amazonaws.workmail#AmazonResourceName",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the organization.</p>"
}
}
}
},
"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"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the data available for the resource.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DescribeResourceRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier associated with the organization for which the resource is\n described.</p>",
"smithy.api#required": {}
}
},
"ResourceId": {
"target": "com.amazonaws.workmail#ResourceId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the resource to be described.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DescribeResourceResponse": {
"type": "structure",
"members": {
"ResourceId": {
"target": "com.amazonaws.workmail#ResourceId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the described resource.</p>"
}
},
"Email": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The email of the described resource.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#ResourceName",
"traits": {
"smithy.api#documentation": "<p>The name of the described resource.</p>"
}
},
"Type": {
"target": "com.amazonaws.workmail#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of the described resource.</p>"
}
},
"BookingOptions": {
"target": "com.amazonaws.workmail#BookingOptions",
"traits": {
"smithy.api#documentation": "<p>The booking options for the described resource.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#EntityState",
"traits": {
"smithy.api#documentation": "<p>The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered\n or never registered to WorkMail), or deleted.</p>"
}
},
"EnabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time when a resource was enabled for WorkMail, in UNIX epoch time\n format.</p>"
}
},
"DisabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time when a resource was disabled from WorkMail, in UNIX epoch time\n format.</p>"
}
}
}
},
"com.amazonaws.workmail#DescribeUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.workmail#DescribeUserRequest"
},
"output": {
"target": "com.amazonaws.workmail#DescribeUserResponse"
},
"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": "<p>Provides information regarding the user.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DescribeUserRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the user exists.</p>",
"smithy.api#required": {}
}
},
"UserId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the user to be described.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DescribeUserResponse": {
"type": "structure",
"members": {
"UserId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the described user.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#UserName",
"traits": {
"smithy.api#documentation": "<p>The name for the user.</p>"
}
},
"Email": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The email of the user.</p>"
}
},
"DisplayName": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The display name of the user.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#EntityState",
"traits": {
"smithy.api#documentation": "<p>The state of a user: enabled (registered to Amazon WorkMail) or disabled (deregistered or\n never registered to WorkMail).</p>"
}
},
"UserRole": {
"target": "com.amazonaws.workmail#UserRole",
"traits": {
"smithy.api#documentation": "<p>In certain cases, other entities are modeled as users. If interoperability is\n enabled, resources are imported into Amazon 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, and SYSTEM_USER.</p>"
}
},
"EnabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time at which the user was enabled for Amazon WorkMail usage, in UNIX epoch\n time format.</p>"
}
},
"DisabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time at which the user was disabled for Amazon WorkMail usage, in UNIX epoch\n time format.</p>"
}
}
}
},
"com.amazonaws.workmail#Description": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 1023
},
"smithy.api#pattern": "[\\S\\s]*"
}
},
"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": "<p>The directory is already in use by another WorkMail organization in the same account and Region.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The directory service doesn't recognize the credentials supplied by WorkMail.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#DirectoryUnavailableException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The directory is unavailable. It might be located in another Region or deleted.</p>",
"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"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes a member from the resource's set of delegates.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DisassociateDelegateFromResourceRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the resource exists.</p>",
"smithy.api#required": {}
}
},
"ResourceId": {
"target": "com.amazonaws.workmail#ResourceId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the resource from which delegates' set members are removed.\n </p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the member (user, group) to be removed from the resource's\n delegates.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DisassociateDelegateFromResourceResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Removes a member from a group.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#DisassociateMemberFromGroupRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the group exists.</p>",
"smithy.api#required": {}
}
},
"GroupId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the group from which members are removed.</p>",
"smithy.api#required": {}
}
},
"MemberId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the member to be removed to the group.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#DisassociateMemberFromGroupResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.workmail#Domain": {
"type": "structure",
"members": {
"DomainName": {
"target": "com.amazonaws.workmail#DomainName",
"traits": {
"smithy.api#documentation": "<p>The fully qualified domain name.</p>"
}
},
"HostedZoneId": {
"target": "com.amazonaws.workmail#HostedZoneId",
"traits": {
"smithy.api#documentation": "<p>The hosted zone ID for a domain hosted in Route 53. Required when configuring a domain hosted in Route 53.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The domain to associate with an Amazon WorkMail organization.</p>\n <p>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 <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html\">Adding a domain</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>"
}
},
"com.amazonaws.workmail#DomainName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 3,
"max": 255
},
"smithy.api#pattern": "[a-zA-Z0-9.-]+\\.[a-zA-Z-]{2,}"
}
},
"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": "<p>The email address that you're trying to assign is already created for a different\n user, group, or resource.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#EntityAlreadyRegisteredException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The user, group, or resource that you're trying to register is already\n registered.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#EntityNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The identifier supplied for the user, group, or resource does not exist in your\n organization.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#EntityState": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLED",
"name": "ENABLED"
},
{
"value": "DISABLED",
"name": "DISABLED"
},
{
"value": "DELETED",
"name": "DELETED"
}
]
}
},
"com.amazonaws.workmail#EntityStateException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#FolderConfiguration": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.workmail#FolderName",
"traits": {
"smithy.api#documentation": "<p>The folder name.</p>",
"smithy.api#required": {}
}
},
"Action": {
"target": "com.amazonaws.workmail#RetentionAction",
"traits": {
"smithy.api#documentation": "<p>The action to take on the folder contents at the end of the folder configuration\n period.</p>",
"smithy.api#required": {}
}
},
"Period": {
"target": "com.amazonaws.workmail#RetentionPeriod",
"traits": {
"smithy.api#documentation": "<p>The period of time at which the folder configuration action is applied.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The configuration applied to an organization's folders by its retention\n policy.</p>"
}
},
"com.amazonaws.workmail#FolderConfigurations": {
"type": "list",
"member": {
"target": "com.amazonaws.workmail#FolderConfiguration"
}
},
"com.amazonaws.workmail#FolderName": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "INBOX",
"name": "INBOX"
},
{
"value": "DELETED_ITEMS",
"name": "DELETED_ITEMS"
},
{
"value": "SENT_ITEMS",
"name": "SENT_ITEMS"
},
{
"value": "DRAFTS",
"name": "DRAFTS"
},
{
"value": "JUNK_EMAIL",
"name": "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"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the effects of an organization's access control rules as they apply to a\n specified IPv4 address, access protocol action, or user ID. </p>"
}
},
"com.amazonaws.workmail#GetAccessControlEffectRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization.</p>",
"smithy.api#required": {}
}
},
"IpAddress": {
"target": "com.amazonaws.workmail#IpAddress",
"traits": {
"smithy.api#documentation": "<p>The IPv4 address.</p>",
"smithy.api#required": {}
}
},
"Action": {
"target": "com.amazonaws.workmail#AccessControlRuleAction",
"traits": {
"smithy.api#documentation": "<p>The access protocol action. Valid values include <code>ActiveSync</code>,\n <code>AutoDiscover</code>, <code>EWS</code>, <code>IMAP</code>, <code>SMTP</code>,\n <code>WindowsOutlook</code>, and <code>WebMail</code>.</p>",
"smithy.api#required": {}
}
},
"UserId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The user ID.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#GetAccessControlEffectResponse": {
"type": "structure",
"members": {
"Effect": {
"target": "com.amazonaws.workmail#AccessControlRuleEffect",
"traits": {
"smithy.api#documentation": "<p>The rule effect.</p>"
}
},
"MatchedRules": {
"target": "com.amazonaws.workmail#AccessControlRuleNameList",
"traits": {
"smithy.api#documentation": "<p>The rules that match the given parameters, resulting in an effect.</p>"
}
}
}
},
"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": "<p>Gets the default retention policy details for the specified organization.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#GetDefaultRetentionPolicyRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization ID.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#GetDefaultRetentionPolicyResponse": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.workmail#ShortString",
"traits": {
"smithy.api#documentation": "<p>The retention policy ID.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#ShortString",
"traits": {
"smithy.api#documentation": "<p>The retention policy name.</p>"
}
},
"Description": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The retention policy description.</p>"
}
},
"FolderConfigurations": {
"target": "com.amazonaws.workmail#FolderConfigurations",
"traits": {
"smithy.api#documentation": "<p>The retention policy folder configurations.</p>"
}
}
}
},
"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#OrganizationNotFoundException"
},
{
"target": "com.amazonaws.workmail#OrganizationStateException"
}
],
"traits": {
"smithy.api#documentation": "<p>Requests a user's mailbox details for a specified organization and user.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#GetMailboxDetailsRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization that contains the user whose mailbox details are\n being requested.</p>",
"smithy.api#required": {}
}
},
"UserId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the user whose mailbox details are being requested.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#GetMailboxDetailsResponse": {
"type": "structure",
"members": {
"MailboxQuota": {
"target": "com.amazonaws.workmail#MailboxQuota",
"traits": {
"smithy.api#documentation": "<p>The maximum allowed mailbox size, in MB, for the specified user.</p>"
}
},
"MailboxSize": {
"target": "com.amazonaws.workmail#MailboxSize",
"traits": {
"smithy.api#documentation": "<p>The current mailbox size, in MB, for the specified user.</p>"
}
}
}
},
"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": "<p>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 Amazon WorkMail organization for a particular user's attributes.</p>"
}
},
"com.amazonaws.workmail#GetMobileDeviceAccessEffectRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The Amazon WorkMail organization to simulate the access effect for.</p>",
"smithy.api#required": {}
}
},
"DeviceType": {
"target": "com.amazonaws.workmail#DeviceType",
"traits": {
"smithy.api#documentation": "<p>Device type the simulated user will report.</p>"
}
},
"DeviceModel": {
"target": "com.amazonaws.workmail#DeviceModel",
"traits": {
"smithy.api#documentation": "<p>Device model the simulated user will report.</p>"
}
},
"DeviceOperatingSystem": {
"target": "com.amazonaws.workmail#DeviceOperatingSystem",
"traits": {
"smithy.api#documentation": "<p>Device operating system the simulated user will report.</p>"
}
},
"DeviceUserAgent": {
"target": "com.amazonaws.workmail#DeviceUserAgent",
"traits": {
"smithy.api#documentation": "<p>Device user agent the simulated user will report.</p>"
}
}
}
},
"com.amazonaws.workmail#GetMobileDeviceAccessEffectResponse": {
"type": "structure",
"members": {
"Effect": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect",
"traits": {
"smithy.api#documentation": "<p>The effect of the simulated access, <code>ALLOW</code> or <code>DENY</code>, after evaluating mobile device access rules in the Amazon WorkMail organization for the simulated \n user parameters.</p>"
}
},
"MatchedRules": {
"target": "com.amazonaws.workmail#MobileDeviceAccessMatchedRuleList",
"traits": {
"smithy.api#documentation": "<p>A list of the rules which matched the simulated user input and produced the effect.</p>"
}
}
}
},
"com.amazonaws.workmail#Group": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the group.</p>"
}
},
"Email": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The email of the group.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#GroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the group.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#EntityState",
"traits": {
"smithy.api#documentation": "<p>The state of the group, which can be ENABLED, DISABLED, or DELETED.</p>"
}
},
"EnabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date indicating when the group was enabled for Amazon WorkMail use.</p>"
}
},
"DisabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date indicating when the group was disabled from Amazon WorkMail use.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The representation of an Amazon WorkMail group.</p>"
}
},
"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": "[\\S\\s]*"
}
},
"com.amazonaws.workmail#IdempotencyClientToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\x21-\\x7e]+"
}
},
"com.amazonaws.workmail#InvalidConfigurationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#InvalidParameterException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>One or more of the input parameters don't match the service's restrictions.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#InvalidPasswordException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The supplied password doesn't match the minimum security constraints, such as length\n or use of special characters.</p>",
"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#LimitExceededException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The request exceeds the limit of the resource.</p>",
"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": "<p>Lists the access control rules for the specified organization.</p>"
}
},
"com.amazonaws.workmail#ListAccessControlRulesRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#ListAccessControlRulesResponse": {
"type": "structure",
"members": {
"Rules": {
"target": "com.amazonaws.workmail#AccessControlRulesList",
"traits": {
"smithy.api#documentation": "<p>The access control rules.</p>"
}
}
}
},
"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": "<p>Creates a paginated call to list the aliases associated with a given\n entity.</p>",
"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": "<p>The identifier for the organization under which the entity exists.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the entity for which to list the aliases.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The first call does not\n contain any tokens.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.workmail#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return in a single call.</p>"
}
}
}
},
"com.amazonaws.workmail#ListAliasesResponse": {
"type": "structure",
"members": {
"Aliases": {
"target": "com.amazonaws.workmail#Aliases",
"traits": {
"smithy.api#documentation": "<p>The entity's paginated aliases.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.</p>"
}
}
}
},
"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": "<p>Returns an overview of the members of a group. Users and groups can be members of a\n group.</p>",
"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": "<p>The identifier for the organization under which the group exists.</p>",
"smithy.api#required": {}
}
},
"GroupId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the group to which the members (users or groups) are\n associated.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p> The token to use to retrieve the next page of results. The first call does not\n contain any tokens.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.workmail#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return in a single call.</p>"
}
}
}
},
"com.amazonaws.workmail#ListGroupMembersResponse": {
"type": "structure",
"members": {
"Members": {
"target": "com.amazonaws.workmail#Members",
"traits": {
"smithy.api#documentation": "<p>The members associated to the group.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The first call does not\n contain any tokens.</p>"
}
}
}
},
"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": "<p>Returns summaries of the organization's groups.</p>",
"smithy.api#idempotent": {},
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.workmail#ListGroupsRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the groups exist.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The first call does not\n contain any tokens.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.workmail#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return in a single call.</p>"
}
}
}
},
"com.amazonaws.workmail#ListGroupsResponse": {
"type": "structure",
"members": {
"Groups": {
"target": "com.amazonaws.workmail#Groups",
"traits": {
"smithy.api#documentation": "<p>The overview of groups for an organization.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.</p>"
}
}
}
},
"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": "<p>Lists the mailbox export jobs started for the specified organization within the last\n seven days.</p>",
"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": "<p>The organization ID.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.workmail#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return in a single call.</p>"
}
}
}
},
"com.amazonaws.workmail#ListMailboxExportJobsResponse": {
"type": "structure",
"members": {
"Jobs": {
"target": "com.amazonaws.workmail#Jobs",
"traits": {
"smithy.api#documentation": "<p>The mailbox export job details.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results.</p>"
}
}
}
},
"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": "<p>Lists the mailbox permissions associated with a user, group, or resource\n mailbox.</p>",
"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": "<p>The identifier of the organization under which the user, group, or resource\n exists.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user, group, or resource for which to list mailbox\n permissions.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The first call does not\n contain any tokens.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.workmail#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return in a single call.</p>"
}
}
}
},
"com.amazonaws.workmail#ListMailboxPermissionsResponse": {
"type": "structure",
"members": {
"Permissions": {
"target": "com.amazonaws.workmail#Permissions",
"traits": {
"smithy.api#documentation": "<p>One page of the user, group, or resource mailbox permissions.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.</p>"
}
}
}
},
"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": "<p>Lists the mobile device access rules for the specified Amazon WorkMail organization.</p>"
}
},
"com.amazonaws.workmail#ListMobileDeviceAccessRulesRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The Amazon WorkMail organization for which to list the rules.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#ListMobileDeviceAccessRulesResponse": {
"type": "structure",
"members": {
"Rules": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRulesList",
"traits": {
"smithy.api#documentation": "<p>The list of mobile device access rules that exist under the specified Amazon WorkMail organization.</p>"
}
}
}
},
"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": "<p>Returns summaries of the customer's organizations.</p>",
"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": "<p>The token to use to retrieve the next page of results. The first call does not\n contain any tokens.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.workmail#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return in a single call.</p>"
}
}
}
},
"com.amazonaws.workmail#ListOrganizationsResponse": {
"type": "structure",
"members": {
"OrganizationSummaries": {
"target": "com.amazonaws.workmail#OrganizationSummaries",
"traits": {
"smithy.api#documentation": "<p>The overview of owned organizations presented as a list of organization\n summaries.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.</p>"
}
}
}
},
"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"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the delegates associated with a resource. Users and groups can be resource\n delegates and answer requests on behalf of the resource.</p>",
"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": "<p>The identifier for the organization that contains the resource for which delegates\n are listed.</p>",
"smithy.api#required": {}
}
},
"ResourceId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the resource whose delegates are listed.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token used to paginate through the delegates associated with a\n resource.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.workmail#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The number of maximum results in a page.</p>"
}
}
}
},
"com.amazonaws.workmail#ListResourceDelegatesResponse": {
"type": "structure",
"members": {
"Delegates": {
"target": "com.amazonaws.workmail#ResourceDelegates",
"traits": {
"smithy.api#documentation": "<p>One page of the resource's delegates.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>"
}
}
}
},
"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"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns summaries of the organization's resources.</p>",
"smithy.api#idempotent": {},
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.workmail#ListResourcesRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the resources exist.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The first call does not\n contain any tokens.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.workmail#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return in a single call.</p>"
}
}
}
},
"com.amazonaws.workmail#ListResourcesResponse": {
"type": "structure",
"members": {
"Resources": {
"target": "com.amazonaws.workmail#Resources",
"traits": {
"smithy.api#documentation": "<p>One page of the organization's resource representation.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p> 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.</p>"
}
}
}
},
"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": "<p>Lists the tags applied to an Amazon WorkMail organization resource.</p>"
}
},
"com.amazonaws.workmail#ListTagsForResourceRequest": {
"type": "structure",
"members": {
"ResourceARN": {
"target": "com.amazonaws.workmail#AmazonResourceName",
"traits": {
"smithy.api#documentation": "<p>The resource ARN.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#ListTagsForResourceResponse": {
"type": "structure",
"members": {
"Tags": {
"target": "com.amazonaws.workmail#TagList",
"traits": {
"smithy.api#documentation": "<p>A list of tag key-value pairs.</p>"
}
}
}
},
"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": "<p>Returns summaries of the organization's users.</p>",
"smithy.api#idempotent": {},
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.workmail#ListUsersRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the users exist.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use to retrieve the next page of results. The first call does not\n contain any tokens.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.workmail#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return in a single call.</p>"
}
}
}
},
"com.amazonaws.workmail#ListUsersResponse": {
"type": "structure",
"members": {
"Users": {
"target": "com.amazonaws.workmail#Users",
"traits": {
"smithy.api#documentation": "<p>The overview of users for an organization.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.workmail#NextToken",
"traits": {
"smithy.api#documentation": "<p> The token to use to retrieve the next page of results. This value is `null` when\n there are no more results to return.</p>"
}
}
}
},
"com.amazonaws.workmail#MailDomainNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>For an email or alias to be created in Amazon WorkMail, the included domain must be defined\n in the organization.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#MailDomainStateException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>After a domain has been added to the organization, it must be verified. The domain is\n not yet verified.</p>",
"smithy.api#error": "client"
}
},
"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": "<p>The identifier of the mailbox export job.</p>"
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user or resource associated with the mailbox.</p>"
}
},
"Description": {
"target": "com.amazonaws.workmail#Description",
"traits": {
"smithy.api#documentation": "<p>The mailbox export job description.</p>"
}
},
"S3BucketName": {
"target": "com.amazonaws.workmail#S3BucketName",
"traits": {
"smithy.api#documentation": "<p>The name of the S3 bucket.</p>"
}
},
"S3Path": {
"target": "com.amazonaws.workmail#S3ObjectKey",
"traits": {
"smithy.api#documentation": "<p>The path to the S3 bucket and file that the mailbox export job exports to.</p>"
}
},
"EstimatedProgress": {
"target": "com.amazonaws.workmail#Percentage",
"traits": {
"smithy.api#documentation": "<p>The estimated progress of the mailbox export job, in percentage points.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#MailboxExportJobState",
"traits": {
"smithy.api#documentation": "<p>The state of the mailbox export job.</p>"
}
},
"StartTime": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The mailbox export job start timestamp.</p>"
}
},
"EndTime": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The mailbox export job end timestamp.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"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": "string",
"traits": {
"smithy.api#enum": [
{
"value": "RUNNING",
"name": "RUNNING"
},
{
"value": "COMPLETED",
"name": "COMPLETED"
},
{
"value": "FAILED",
"name": "FAILED"
},
{
"value": "CANCELLED",
"name": "CANCELLED"
}
]
}
},
"com.amazonaws.workmail#MailboxQuota": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1
}
}
},
"com.amazonaws.workmail#MailboxSize": {
"type": "double",
"traits": {
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.workmail#MaxResults": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.workmail#Member": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The identifier of the member.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The name of the member.</p>"
}
},
"Type": {
"target": "com.amazonaws.workmail#MemberType",
"traits": {
"smithy.api#documentation": "<p>A member can be a user or group.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#EntityState",
"traits": {
"smithy.api#documentation": "<p>The state of the member, which can be ENABLED, DISABLED, or DELETED.</p>"
}
},
"EnabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date indicating when the member was enabled for Amazon WorkMail use.</p>"
}
},
"DisabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date indicating when the member was disabled from Amazon WorkMail use.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The representation of a user or group.</p>"
}
},
"com.amazonaws.workmail#MemberType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "GROUP",
"name": "GROUP"
},
{
"value": "USER",
"name": "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": "<p>Identifier of the rule that a simulated user matches.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleName",
"traits": {
"smithy.api#documentation": "<p>Name of a rule that a simulated user matches.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The rule that a simulated user matches.</p>"
}
},
"com.amazonaws.workmail#MobileDeviceAccessMatchedRuleList": {
"type": "list",
"member": {
"target": "com.amazonaws.workmail#MobileDeviceAccessMatchedRule"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 10
}
}
},
"com.amazonaws.workmail#MobileDeviceAccessRule": {
"type": "structure",
"members": {
"MobileDeviceAccessRuleId": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleId",
"traits": {
"smithy.api#documentation": "<p>The ID assigned to a mobile access rule. </p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleName",
"traits": {
"smithy.api#documentation": "<p>The name of a mobile access rule.</p>"
}
},
"Description": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleDescription",
"traits": {
"smithy.api#documentation": "<p>The description of a mobile access rule.</p>"
}
},
"Effect": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect",
"traits": {
"smithy.api#documentation": "<p>The effect of the rule when it matches. Allowed values are <code>ALLOW</code> or <code>DENY</code>.</p>"
}
},
"DeviceTypes": {
"target": "com.amazonaws.workmail#DeviceTypeList",
"traits": {
"smithy.api#documentation": "<p>Device types that a rule will match. </p>"
}
},
"NotDeviceTypes": {
"target": "com.amazonaws.workmail#DeviceTypeList",
"traits": {
"smithy.api#documentation": "<p>Device types that a rule <b>will not</b> match. All other device types will match.</p>"
}
},
"DeviceModels": {
"target": "com.amazonaws.workmail#DeviceModelList",
"traits": {
"smithy.api#documentation": "<p>Device models that a rule will match.</p>"
}
},
"NotDeviceModels": {
"target": "com.amazonaws.workmail#DeviceModelList",
"traits": {
"smithy.api#documentation": "<p>Device models that a rule <b>will not</b> match. All other device models will match.</p>"
}
},
"DeviceOperatingSystems": {
"target": "com.amazonaws.workmail#DeviceOperatingSystemList",
"traits": {
"smithy.api#documentation": "<p>Device operating systems that a rule will match.</p>"
}
},
"NotDeviceOperatingSystems": {
"target": "com.amazonaws.workmail#DeviceOperatingSystemList",
"traits": {
"smithy.api#documentation": "<p>Device operating systems that a rule <b>will not</b> match. All other device types will match.</p>"
}
},
"DeviceUserAgents": {
"target": "com.amazonaws.workmail#DeviceUserAgentList",
"traits": {
"smithy.api#documentation": "<p>Device user agents that a rule will match.</p>"
}
},
"NotDeviceUserAgents": {
"target": "com.amazonaws.workmail#DeviceUserAgentList",
"traits": {
"smithy.api#documentation": "<p>Device user agents that a rule <b>will not</b> match. All other device user agents will match.</p>"
}
},
"DateCreated": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time at which an access rule was created.</p>"
}
},
"DateModified": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time at which an access rule was modified.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule that controls access to mobile devices for an Amazon WorkMail group.</p>"
}
},
"com.amazonaws.workmail#MobileDeviceAccessRuleDescription": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
},
"smithy.api#pattern": "[\\S\\s]+"
}
},
"com.amazonaws.workmail#MobileDeviceAccessRuleEffect": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALLOW",
"name": "ALLOW"
},
{
"value": "DENY",
"name": "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": "<p>The user, group, or resource name isn't unique in Amazon WorkMail.</p>",
"smithy.api#error": "client"
}
},
"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": "<p>An operation received a valid organization identifier that either doesn't belong or\n exist in the system.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.workmail#OrganizationStateException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The organization must have a valid state to perform certain\n operations on the organization or its members.</p>",
"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": "<p>The identifier associated with the organization.</p>"
}
},
"Alias": {
"target": "com.amazonaws.workmail#OrganizationName",
"traits": {
"smithy.api#documentation": "<p>The alias associated with the organization.</p>"
}
},
"DefaultMailDomain": {
"target": "com.amazonaws.workmail#DomainName",
"traits": {
"smithy.api#documentation": "<p>The default email domain associated with the organization.</p>"
}
},
"ErrorMessage": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The state associated with the organization.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The representation of an organization.</p>"
}
},
"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#range": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.workmail#Permission": {
"type": "structure",
"members": {
"GranteeId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user, group, or resource to which the permissions are\n granted.</p>",
"smithy.api#required": {}
}
},
"GranteeType": {
"target": "com.amazonaws.workmail#MemberType",
"traits": {
"smithy.api#documentation": "<p>The type of user, group, or resource referred to in GranteeId.</p>",
"smithy.api#required": {}
}
},
"PermissionValues": {
"target": "com.amazonaws.workmail#PermissionValues",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Permission granted to a user, group, or resource to access a certain aspect of\n another user, group, or resource mailbox.</p>"
}
},
"com.amazonaws.workmail#PermissionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "FULL_ACCESS",
"name": "FULL_ACCESS"
},
{
"value": "SEND_AS",
"name": "SEND_AS"
},
{
"value": "SEND_ON_BEHALF",
"name": "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#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"
}
],
"traits": {
"smithy.api#documentation": "<p>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, and user IDs. Adding a new rule with the same name as an existing rule replaces\n the older rule.</p>"
}
},
"com.amazonaws.workmail#PutAccessControlRuleRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.workmail#AccessControlRuleName",
"traits": {
"smithy.api#documentation": "<p>The rule name.</p>",
"smithy.api#required": {}
}
},
"Effect": {
"target": "com.amazonaws.workmail#AccessControlRuleEffect",
"traits": {
"smithy.api#documentation": "<p>The rule effect.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.workmail#AccessControlRuleDescription",
"traits": {
"smithy.api#documentation": "<p>The rule description.</p>",
"smithy.api#required": {}
}
},
"IpRanges": {
"target": "com.amazonaws.workmail#IpRangeList",
"traits": {
"smithy.api#documentation": "<p>IPv4 CIDR ranges to include in the rule.</p>"
}
},
"NotIpRanges": {
"target": "com.amazonaws.workmail#IpRangeList",
"traits": {
"smithy.api#documentation": "<p>IPv4 CIDR ranges to exclude from the rule.</p>"
}
},
"Actions": {
"target": "com.amazonaws.workmail#ActionsList",
"traits": {
"smithy.api#documentation": "<p>Access protocol actions to include in the rule. Valid values include\n <code>ActiveSync</code>, <code>AutoDiscover</code>, <code>EWS</code>, <code>IMAP</code>,\n <code>SMTP</code>, <code>WindowsOutlook</code>, and <code>WebMail</code>.</p>"
}
},
"NotActions": {
"target": "com.amazonaws.workmail#ActionsList",
"traits": {
"smithy.api#documentation": "<p>Access protocol actions to exclude from the rule. Valid values include\n <code>ActiveSync</code>, <code>AutoDiscover</code>, <code>EWS</code>, <code>IMAP</code>,\n <code>SMTP</code>, <code>WindowsOutlook</code>, and <code>WebMail</code>.</p>"
}
},
"UserIds": {
"target": "com.amazonaws.workmail#UserIdList",
"traits": {
"smithy.api#documentation": "<p>User IDs to include in the rule.</p>"
}
},
"NotUserIds": {
"target": "com.amazonaws.workmail#UserIdList",
"traits": {
"smithy.api#documentation": "<p>User IDs to exclude from the rule.</p>"
}
},
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the organization.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#PutAccessControlRuleResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Sets permissions for a user, group, or resource. This replaces any pre-existing\n permissions.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#PutMailboxPermissionsRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the organization under which the user, group, or resource\n exists.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user, group, or resource for which to update mailbox\n permissions.</p>",
"smithy.api#required": {}
}
},
"GranteeId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user, group, or resource to which to grant the\n permissions.</p>",
"smithy.api#required": {}
}
},
"PermissionValues": {
"target": "com.amazonaws.workmail#PermissionValues",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#PutMailboxPermissionsResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Puts a retention policy to the specified organization.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#PutRetentionPolicyRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization ID.</p>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.workmail#ShortString",
"traits": {
"smithy.api#documentation": "<p>The retention policy ID.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#ShortString",
"traits": {
"smithy.api#documentation": "<p>The retention policy name.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.workmail#PolicyDescription",
"traits": {
"smithy.api#documentation": "<p>The retention policy description.</p>"
}
},
"FolderConfigurations": {
"target": "com.amazonaws.workmail#FolderConfigurations",
"traits": {
"smithy.api#documentation": "<p>The retention policy folder configurations.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#PutRetentionPolicyResponse": {
"type": "structure",
"members": {}
},
"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"
}
],
"traits": {
"smithy.api#documentation": "<p>Registers an existing and disabled user, group, or resource for Amazon 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 <a href=\"https://aws.amazon.com/workmail/pricing\">Pricing</a>. The equivalent console\n functionality for this operation is <i>Enable</i>. </p>\n <p>Users can either be created by calling the <a>CreateUser</a> API operation\n or they can be synchronized from your directory. For more information, see <a>DeregisterFromWorkMail</a>.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#RegisterToWorkMailRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization under which the user, group, or resource\n exists.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the user, group, or resource to be updated.</p>",
"smithy.api#required": {}
}
},
"Email": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The email for the user, group, or resource to be updated.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#RegisterToWorkMailResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.workmail#ReservedNameException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>This user, group, or resource name is not allowed in Amazon WorkMail.</p>",
"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": "<p>Allows the administrator to reset the password for a user.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#ResetPasswordRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the organization that contains the user for which the password is\n reset.</p>",
"smithy.api#required": {}
}
},
"UserId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user for whom the password is reset.</p>",
"smithy.api#required": {}
}
},
"Password": {
"target": "com.amazonaws.workmail#Password",
"traits": {
"smithy.api#documentation": "<p>The new password for the user.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#ResetPasswordResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.workmail#Resource": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the resource.</p>"
}
},
"Email": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The email of the resource.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#ResourceName",
"traits": {
"smithy.api#documentation": "<p>The name of the resource.</p>"
}
},
"Type": {
"target": "com.amazonaws.workmail#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of the resource: equipment or room.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#EntityState",
"traits": {
"smithy.api#documentation": "<p>The state of the resource, which can be ENABLED, DISABLED, or DELETED.</p>"
}
},
"EnabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date indicating when the resource was enabled for Amazon WorkMail use.</p>"
}
},
"DisabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date indicating when the resource was disabled from Amazon WorkMail use.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The representation of a resource.</p>"
}
},
"com.amazonaws.workmail#ResourceDelegates": {
"type": "list",
"member": {
"target": "com.amazonaws.workmail#Delegate"
}
},
"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": "<p>The resource cannot be found.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.workmail#ResourceType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ROOM",
"name": "ROOM"
},
{
"value": "EQUIPMENT",
"name": "EQUIPMENT"
}
]
}
},
"com.amazonaws.workmail#Resources": {
"type": "list",
"member": {
"target": "com.amazonaws.workmail#Resource"
}
},
"com.amazonaws.workmail#RetentionAction": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NONE",
"name": "NONE"
},
{
"value": "DELETE",
"name": "DELETE"
},
{
"value": "PERMANENTLY_DELETE",
"name": "PERMANENTLY_DELETE"
}
]
}
},
"com.amazonaws.workmail#RetentionPeriod": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 730
}
}
},
"com.amazonaws.workmail#RoleArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 20,
"max": 2048
}
}
},
"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": "<p>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 <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/mail-export.html\">Exporting mailbox content</a> in\n the <i>Amazon WorkMail Administrator Guide</i>.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#StartMailboxExportJobRequest": {
"type": "structure",
"members": {
"ClientToken": {
"target": "com.amazonaws.workmail#IdempotencyClientToken",
"traits": {
"smithy.api#documentation": "<p>The idempotency token for the client request.</p>",
"smithy.api#idempotencyToken": {},
"smithy.api#required": {}
}
},
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier associated with the organization.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user or resource associated with the mailbox.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.workmail#Description",
"traits": {
"smithy.api#documentation": "<p>The mailbox export job description.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.workmail#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the S3\n bucket.</p>",
"smithy.api#required": {}
}
},
"KmsKeyArn": {
"target": "com.amazonaws.workmail#KmsKeyArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS)\n key that encrypts the exported mailbox content.</p>",
"smithy.api#required": {}
}
},
"S3BucketName": {
"target": "com.amazonaws.workmail#S3BucketName",
"traits": {
"smithy.api#documentation": "<p>The name of the S3 bucket.</p>",
"smithy.api#required": {}
}
},
"S3Prefix": {
"target": "com.amazonaws.workmail#S3ObjectKey",
"traits": {
"smithy.api#documentation": "<p>The S3 bucket prefix.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#StartMailboxExportJobResponse": {
"type": "structure",
"members": {
"JobId": {
"target": "com.amazonaws.workmail#MailboxExportJobId",
"traits": {
"smithy.api#documentation": "<p>The job ID.</p>"
}
}
}
},
"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": "<p>The key of the tag.</p>",
"smithy.api#required": {}
}
},
"Value": {
"target": "com.amazonaws.workmail#TagValue",
"traits": {
"smithy.api#documentation": "<p>The value of the tag.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Describes a tag applied to a resource.</p>"
}
},
"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#OrganizationStateException"
},
{
"target": "com.amazonaws.workmail#ResourceNotFoundException"
},
{
"target": "com.amazonaws.workmail#TooManyTagsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Applies the specified tags to the specified Amazon WorkMail organization\n resource.</p>"
}
},
"com.amazonaws.workmail#TagResourceRequest": {
"type": "structure",
"members": {
"ResourceARN": {
"target": "com.amazonaws.workmail#AmazonResourceName",
"traits": {
"smithy.api#documentation": "<p>The resource ARN.</p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.workmail#TagList",
"traits": {
"smithy.api#documentation": "<p>The tag key-value pairs.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#TagResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.workmail#TagValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
}
}
},
"com.amazonaws.workmail#Timestamp": {
"type": "timestamp"
},
"com.amazonaws.workmail#TooManyTagsException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.workmail#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The resource can have up to 50 user-applied tags.</p>",
"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": "<p>You can't perform a write operation against a read-only directory.</p>",
"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": "<p>Untags the specified tags from the specified Amazon WorkMail organization\n resource.</p>"
}
},
"com.amazonaws.workmail#UntagResourceRequest": {
"type": "structure",
"members": {
"ResourceARN": {
"target": "com.amazonaws.workmail#AmazonResourceName",
"traits": {
"smithy.api#documentation": "<p>The resource ARN.</p>",
"smithy.api#required": {}
}
},
"TagKeys": {
"target": "com.amazonaws.workmail#TagKeyList",
"traits": {
"smithy.api#documentation": "<p>The tag keys.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#UntagResourceResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Updates a user's current mailbox quota for a specified organization and\n user.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#UpdateMailboxQuotaRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier for the organization that contains the user for whom to update the\n mailbox quota.</p>",
"smithy.api#required": {}
}
},
"UserId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifer for the user for whom to update the mailbox quota.</p>",
"smithy.api#required": {}
}
},
"MailboxQuota": {
"target": "com.amazonaws.workmail#MailboxQuota",
"traits": {
"smithy.api#documentation": "<p>The updated mailbox quota, in MB, for the specified user.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#UpdateMailboxQuotaResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Updates a mobile device access rule for the specified Amazon WorkMail organization.</p>"
}
},
"com.amazonaws.workmail#UpdateMobileDeviceAccessRuleRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The Amazon WorkMail organization under which the rule will be updated.</p>",
"smithy.api#required": {}
}
},
"MobileDeviceAccessRuleId": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the rule to be updated.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleName",
"traits": {
"smithy.api#documentation": "<p>The updated rule name.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleDescription",
"traits": {
"smithy.api#documentation": "<p>The updated rule description.</p>"
}
},
"Effect": {
"target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect",
"traits": {
"smithy.api#documentation": "<p>The effect of the rule when it matches. Allowed values are <code>ALLOW</code> or <code>DENY</code>.</p>",
"smithy.api#required": {}
}
},
"DeviceTypes": {
"target": "com.amazonaws.workmail#DeviceTypeList",
"traits": {
"smithy.api#documentation": "<p>Device types that the updated rule will match.</p>"
}
},
"NotDeviceTypes": {
"target": "com.amazonaws.workmail#DeviceTypeList",
"traits": {
"smithy.api#documentation": "<p>Device types that the updated rule <b>will not</b> match. All other device types will match.</p>"
}
},
"DeviceModels": {
"target": "com.amazonaws.workmail#DeviceModelList",
"traits": {
"smithy.api#documentation": "<p>Device models that the updated rule will match.</p>"
}
},
"NotDeviceModels": {
"target": "com.amazonaws.workmail#DeviceModelList",
"traits": {
"smithy.api#documentation": "<p>Device models that the updated rule <b>will not</b> match. All other device models will match.</p>"
}
},
"DeviceOperatingSystems": {
"target": "com.amazonaws.workmail#DeviceOperatingSystemList",
"traits": {
"smithy.api#documentation": "<p>Device operating systems that the updated rule will match.</p>"
}
},
"NotDeviceOperatingSystems": {
"target": "com.amazonaws.workmail#DeviceOperatingSystemList",
"traits": {
"smithy.api#documentation": "<p>Device operating systems that the updated rule <b>will not</b> match. All other device operating systems will match.</p>"
}
},
"DeviceUserAgents": {
"target": "com.amazonaws.workmail#DeviceUserAgentList",
"traits": {
"smithy.api#documentation": "<p>User agents that the updated rule will match.</p>"
}
},
"NotDeviceUserAgents": {
"target": "com.amazonaws.workmail#DeviceUserAgentList",
"traits": {
"smithy.api#documentation": "<p>User agents that the updated rule <b>will not</b> match. All other user agents will match.</p>"
}
}
}
},
"com.amazonaws.workmail#UpdateMobileDeviceAccessRuleResponse": {
"type": "structure",
"members": {}
},
"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": "<p>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.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#UpdatePrimaryEmailAddressRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The organization that contains the user, group, or resource to update.</p>",
"smithy.api#required": {}
}
},
"EntityId": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The user, group, or resource to update.</p>",
"smithy.api#required": {}
}
},
"Email": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The value of the email to be updated as primary.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.workmail#UpdatePrimaryEmailAddressResponse": {
"type": "structure",
"members": {}
},
"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#MailDomainNotFoundException"
},
{
"target": "com.amazonaws.workmail#MailDomainStateException"
},
{
"target": "com.amazonaws.workmail#NameAvailabilityException"
},
{
"target": "com.amazonaws.workmail#OrganizationNotFoundException"
},
{
"target": "com.amazonaws.workmail#OrganizationStateException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates data for the resource. To have the latest information, it must be preceded by\n a <a>DescribeResource</a> call. The dataset in the request should be the one\n expected when performing another <code>DescribeResource</code> call.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.workmail#UpdateResourceRequest": {
"type": "structure",
"members": {
"OrganizationId": {
"target": "com.amazonaws.workmail#OrganizationId",
"traits": {
"smithy.api#documentation": "<p>The identifier associated with the organization for which the resource is\n updated.</p>",
"smithy.api#required": {}
}
},
"ResourceId": {
"target": "com.amazonaws.workmail#ResourceId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the resource to be updated.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.workmail#ResourceName",
"traits": {
"smithy.api#documentation": "<p>The name of the resource to be updated.</p>"
}
},
"BookingOptions": {
"target": "com.amazonaws.workmail#BookingOptions",
"traits": {
"smithy.api#documentation": "<p>The resource's booking options to be updated.</p>"
}
}
}
},
"com.amazonaws.workmail#UpdateResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.workmail#User": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.workmail#WorkMailIdentifier",
"traits": {
"smithy.api#documentation": "<p>The identifier of the user.</p>"
}
},
"Email": {
"target": "com.amazonaws.workmail#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The email of the user.</p>"
}
},
"Name": {
"target": "com.amazonaws.workmail#UserName",
"traits": {
"smithy.api#documentation": "<p>The name of the user.</p>"
}
},
"DisplayName": {
"target": "com.amazonaws.workmail#String",
"traits": {
"smithy.api#documentation": "<p>The display name of the user.</p>"
}
},
"State": {
"target": "com.amazonaws.workmail#EntityState",
"traits": {
"smithy.api#documentation": "<p>The state of the user, which can be ENABLED, DISABLED, or DELETED.</p>"
}
},
"UserRole": {
"target": "com.amazonaws.workmail#UserRole",
"traits": {
"smithy.api#documentation": "<p>The role of the user.</p>"
}
},
"EnabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date indicating when the user was enabled for Amazon WorkMail use.</p>"
}
},
"DisabledDate": {
"target": "com.amazonaws.workmail#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date indicating when the user was disabled from Amazon WorkMail use.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The representation of an Amazon WorkMail user.</p>"
}
},
"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": "string",
"traits": {
"smithy.api#enum": [
{
"value": "USER",
"name": "USER"
},
{
"value": "RESOURCE",
"name": "RESOURCE"
},
{
"value": "SYSTEM_USER",
"name": "SYSTEM_USER"
}
]
}
},
"com.amazonaws.workmail#Users": {
"type": "list",
"member": {
"target": "com.amazonaws.workmail#User"
}
},
"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#CancelMailboxExportJob"
},
{
"target": "com.amazonaws.workmail#CreateAlias"
},
{
"target": "com.amazonaws.workmail#CreateGroup"
},
{
"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#DeleteGroup"
},
{
"target": "com.amazonaws.workmail#DeleteMailboxPermissions"
},
{
"target": "com.amazonaws.workmail#DeleteMobileDeviceAccessRule"
},
{
"target": "com.amazonaws.workmail#DeleteOrganization"
},
{
"target": "com.amazonaws.workmail#DeleteResource"
},
{
"target": "com.amazonaws.workmail#DeleteRetentionPolicy"
},
{
"target": "com.amazonaws.workmail#DeleteUser"
},
{
"target": "com.amazonaws.workmail#DeregisterFromWorkMail"
},
{
"target": "com.amazonaws.workmail#DescribeGroup"
},
{
"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#GetMailboxDetails"
},
{
"target": "com.amazonaws.workmail#GetMobileDeviceAccessEffect"
},
{
"target": "com.amazonaws.workmail#ListAccessControlRules"
},
{
"target": "com.amazonaws.workmail#ListAliases"
},
{
"target": "com.amazonaws.workmail#ListGroupMembers"
},
{
"target": "com.amazonaws.workmail#ListGroups"
},
{
"target": "com.amazonaws.workmail#ListMailboxExportJobs"
},
{
"target": "com.amazonaws.workmail#ListMailboxPermissions"
},
{
"target": "com.amazonaws.workmail#ListMobileDeviceAccessRules"
},
{
"target": "com.amazonaws.workmail#ListOrganizations"
},
{
"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#PutMailboxPermissions"
},
{
"target": "com.amazonaws.workmail#PutRetentionPolicy"
},
{
"target": "com.amazonaws.workmail#RegisterToWorkMail"
},
{
"target": "com.amazonaws.workmail#ResetPassword"
},
{
"target": "com.amazonaws.workmail#StartMailboxExportJob"
},
{
"target": "com.amazonaws.workmail#TagResource"
},
{
"target": "com.amazonaws.workmail#UntagResource"
},
{
"target": "com.amazonaws.workmail#UpdateMailboxQuota"
},
{
"target": "com.amazonaws.workmail#UpdateMobileDeviceAccessRule"
},
{
"target": "com.amazonaws.workmail#UpdatePrimaryEmailAddress"
},
{
"target": "com.amazonaws.workmail#UpdateResource"
}
],
"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": "<p>Amazon 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.</p>\n <p>The WorkMail API is designed for the following scenarios:</p>\n <ul>\n <li>\n <p>Listing and describing organizations</p>\n </li>\n </ul>\n <ul>\n <li>\n <p>Managing users</p>\n </li>\n </ul>\n <ul>\n <li>\n <p>Managing groups</p>\n </li>\n </ul>\n <ul>\n <li>\n <p>Managing resources</p>\n </li>\n </ul>\n <p>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.</p>",
"smithy.api#title": "Amazon WorkMail"
}
}
}
}