{
    "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.workdocs#AWSGorillaBoyService": {
            "type": "service",
            "version": "2016-05-01",
            "operations": [
                {
                    "target": "com.amazonaws.workdocs#AbortDocumentVersionUpload"
                },
                {
                    "target": "com.amazonaws.workdocs#ActivateUser"
                },
                {
                    "target": "com.amazonaws.workdocs#AddResourcePermissions"
                },
                {
                    "target": "com.amazonaws.workdocs#CreateComment"
                },
                {
                    "target": "com.amazonaws.workdocs#CreateCustomMetadata"
                },
                {
                    "target": "com.amazonaws.workdocs#CreateFolder"
                },
                {
                    "target": "com.amazonaws.workdocs#CreateLabels"
                },
                {
                    "target": "com.amazonaws.workdocs#CreateNotificationSubscription"
                },
                {
                    "target": "com.amazonaws.workdocs#CreateUser"
                },
                {
                    "target": "com.amazonaws.workdocs#DeactivateUser"
                },
                {
                    "target": "com.amazonaws.workdocs#DeleteComment"
                },
                {
                    "target": "com.amazonaws.workdocs#DeleteCustomMetadata"
                },
                {
                    "target": "com.amazonaws.workdocs#DeleteDocument"
                },
                {
                    "target": "com.amazonaws.workdocs#DeleteFolder"
                },
                {
                    "target": "com.amazonaws.workdocs#DeleteFolderContents"
                },
                {
                    "target": "com.amazonaws.workdocs#DeleteLabels"
                },
                {
                    "target": "com.amazonaws.workdocs#DeleteNotificationSubscription"
                },
                {
                    "target": "com.amazonaws.workdocs#DeleteUser"
                },
                {
                    "target": "com.amazonaws.workdocs#DescribeActivities"
                },
                {
                    "target": "com.amazonaws.workdocs#DescribeComments"
                },
                {
                    "target": "com.amazonaws.workdocs#DescribeDocumentVersions"
                },
                {
                    "target": "com.amazonaws.workdocs#DescribeFolderContents"
                },
                {
                    "target": "com.amazonaws.workdocs#DescribeGroups"
                },
                {
                    "target": "com.amazonaws.workdocs#DescribeNotificationSubscriptions"
                },
                {
                    "target": "com.amazonaws.workdocs#DescribeResourcePermissions"
                },
                {
                    "target": "com.amazonaws.workdocs#DescribeRootFolders"
                },
                {
                    "target": "com.amazonaws.workdocs#DescribeUsers"
                },
                {
                    "target": "com.amazonaws.workdocs#GetCurrentUser"
                },
                {
                    "target": "com.amazonaws.workdocs#GetDocument"
                },
                {
                    "target": "com.amazonaws.workdocs#GetDocumentPath"
                },
                {
                    "target": "com.amazonaws.workdocs#GetDocumentVersion"
                },
                {
                    "target": "com.amazonaws.workdocs#GetFolder"
                },
                {
                    "target": "com.amazonaws.workdocs#GetFolderPath"
                },
                {
                    "target": "com.amazonaws.workdocs#GetResources"
                },
                {
                    "target": "com.amazonaws.workdocs#InitiateDocumentVersionUpload"
                },
                {
                    "target": "com.amazonaws.workdocs#RemoveAllResourcePermissions"
                },
                {
                    "target": "com.amazonaws.workdocs#RemoveResourcePermission"
                },
                {
                    "target": "com.amazonaws.workdocs#UpdateDocument"
                },
                {
                    "target": "com.amazonaws.workdocs#UpdateDocumentVersion"
                },
                {
                    "target": "com.amazonaws.workdocs#UpdateFolder"
                },
                {
                    "target": "com.amazonaws.workdocs#UpdateUser"
                }
            ],
            "traits": {
                "aws.api#service": {
                    "sdkId": "WorkDocs",
                    "arnNamespace": "workdocs",
                    "cloudFormationName": "WorkDocs",
                    "cloudTrailEventSource": "workdocs.amazonaws.com",
                    "endpointPrefix": "workdocs"
                },
                "aws.auth#sigv4": {
                    "name": "workdocs"
                },
                "aws.protocols#restJson1": {},
                "smithy.api#documentation": "<p>The WorkDocs API is designed for the following use cases:</p>\n        <ul>\n            <li>\n                <p>File Migration: File migration applications are supported for users who\n                    want to migrate their files from an on-premises or off-premises file system or\n                    service. Users can insert files into a user directory structure, as well as\n                    allow for basic metadata changes, such as modifications to the permissions of\n                    files.</p>\n            </li>\n            <li>\n                <p>Security: Support security applications are supported for users who have\n                    additional security needs, such as antivirus or data loss prevention. The API\n                    actions, along with AWS CloudTrail, allow these applications to detect when\n                    changes occur in Amazon WorkDocs. Then, the application can take the necessary\n                    actions and replace the target file. If the target file violates the policy, the\n                    application can also choose to email the user.</p>\n            </li>\n            <li>\n                <p>eDiscovery/Analytics: General administrative applications are supported,\n                    such as eDiscovery and analytics. These applications can choose to mimic or\n                    record the actions in an Amazon WorkDocs site, along with AWS CloudTrail, to\n                    replicate data for eDiscovery, backup, or analytical applications.</p>\n            </li>\n         </ul>\n        <p>All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed.\n            They not only require the use of the AWS SDK, but also allow for the exclusive use of\n            IAM users and roles to help facilitate access, trust, and permission policies. By\n            creating a role and allowing an IAM user to access the Amazon WorkDocs site, the IAM\n            user gains full administrative visibility into the entire Amazon WorkDocs site (or as\n            set in the IAM policy). This includes, but is not limited to, the ability to modify file\n            permissions and upload any file to any user. This allows developers to perform the three\n            use cases above, as well as give users the ability to grant access on a selective basis\n            using the IAM model.</p>",
                "smithy.api#title": "Amazon WorkDocs",
                "smithy.api#xmlNamespace": {
                    "uri": "https://aws.amazon.com/api/v1/"
                }
            }
        },
        "com.amazonaws.workdocs#AbortDocumentVersionUpload": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#AbortDocumentVersionUploadRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Aborts the upload of the specified document version that was previously initiated\n            by <a>InitiateDocumentVersionUpload</a>. The client should make this call\n            only when it no longer intends to upload the document version, or fails to do\n            so.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/documents/{DocumentId}/versions/{VersionId}",
                    "code": 204
                }
            }
        },
        "com.amazonaws.workdocs#AbortDocumentVersionUploadRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the version.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#ActivateUser": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#ActivateUserRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#ActivateUserResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Activates the specified user. Only active users can access Amazon\n            WorkDocs.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/api/v1/users/{UserId}/activation",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#ActivateUserRequest": {
            "type": "structure",
            "members": {
                "UserId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the user.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#ActivateUserResponse": {
            "type": "structure",
            "members": {
                "User": {
                    "target": "com.amazonaws.workdocs#User",
                    "traits": {
                        "smithy.api#documentation": "<p>The user information.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#Activity": {
            "type": "structure",
            "members": {
                "Type": {
                    "target": "com.amazonaws.workdocs#ActivityType",
                    "traits": {
                        "smithy.api#documentation": "<p>The activity type.</p>"
                    }
                },
                "TimeStamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp when the action was performed.</p>"
                    }
                },
                "IsIndirectActivity": {
                    "target": "com.amazonaws.workdocs#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Indicates whether an activity is indirect or direct. An indirect activity results\n            from a direct activity performed on a parent resource. For example, sharing a parent\n            folder (the direct activity) shares all of the subfolders and documents within the\n            parent folder (the indirect activity).</p>"
                    }
                },
                "OrganizationId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the organization.</p>"
                    }
                },
                "Initiator": {
                    "target": "com.amazonaws.workdocs#UserMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The user who performed the action.</p>"
                    }
                },
                "Participants": {
                    "target": "com.amazonaws.workdocs#Participants",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of users or groups impacted by this action. This is an optional field and\n            is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED,\n            DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.</p>"
                    }
                },
                "ResourceMetadata": {
                    "target": "com.amazonaws.workdocs#ResourceMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The metadata of the resource involved in the user action.</p>"
                    }
                },
                "OriginalParent": {
                    "target": "com.amazonaws.workdocs#ResourceMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The original parent of the resource. This is an optional field and is filled for\n            move activities.</p>"
                    }
                },
                "CommentMetadata": {
                    "target": "com.amazonaws.workdocs#CommentMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>Metadata of the commenting activity. This is an optional field and is filled for\n            commenting activities.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the activity information.</p>"
            }
        },
        "com.amazonaws.workdocs#ActivityNamesFilterType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 1024
                },
                "smithy.api#pattern": "[\\w,]+"
            }
        },
        "com.amazonaws.workdocs#ActivityType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "DOCUMENT_CHECKED_IN",
                        "name": "DOCUMENT_CHECKED_IN"
                    },
                    {
                        "value": "DOCUMENT_CHECKED_OUT",
                        "name": "DOCUMENT_CHECKED_OUT"
                    },
                    {
                        "value": "DOCUMENT_RENAMED",
                        "name": "DOCUMENT_RENAMED"
                    },
                    {
                        "value": "DOCUMENT_VERSION_UPLOADED",
                        "name": "DOCUMENT_VERSION_UPLOADED"
                    },
                    {
                        "value": "DOCUMENT_VERSION_DELETED",
                        "name": "DOCUMENT_VERSION_DELETED"
                    },
                    {
                        "value": "DOCUMENT_VERSION_VIEWED",
                        "name": "DOCUMENT_VERSION_VIEWED"
                    },
                    {
                        "value": "DOCUMENT_VERSION_DOWNLOADED",
                        "name": "DOCUMENT_VERSION_DOWNLOADED"
                    },
                    {
                        "value": "DOCUMENT_RECYCLED",
                        "name": "DOCUMENT_RECYCLED"
                    },
                    {
                        "value": "DOCUMENT_RESTORED",
                        "name": "DOCUMENT_RESTORED"
                    },
                    {
                        "value": "DOCUMENT_REVERTED",
                        "name": "DOCUMENT_REVERTED"
                    },
                    {
                        "value": "DOCUMENT_SHARED",
                        "name": "DOCUMENT_SHARED"
                    },
                    {
                        "value": "DOCUMENT_UNSHARED",
                        "name": "DOCUMENT_UNSHARED"
                    },
                    {
                        "value": "DOCUMENT_SHARE_PERMISSION_CHANGED",
                        "name": "DOCUMENT_SHARE_PERMISSION_CHANGED"
                    },
                    {
                        "value": "DOCUMENT_SHAREABLE_LINK_CREATED",
                        "name": "DOCUMENT_SHAREABLE_LINK_CREATED"
                    },
                    {
                        "value": "DOCUMENT_SHAREABLE_LINK_REMOVED",
                        "name": "DOCUMENT_SHAREABLE_LINK_REMOVED"
                    },
                    {
                        "value": "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED",
                        "name": "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED"
                    },
                    {
                        "value": "DOCUMENT_MOVED",
                        "name": "DOCUMENT_MOVED"
                    },
                    {
                        "value": "DOCUMENT_COMMENT_ADDED",
                        "name": "DOCUMENT_COMMENT_ADDED"
                    },
                    {
                        "value": "DOCUMENT_COMMENT_DELETED",
                        "name": "DOCUMENT_COMMENT_DELETED"
                    },
                    {
                        "value": "DOCUMENT_ANNOTATION_ADDED",
                        "name": "DOCUMENT_ANNOTATION_ADDED"
                    },
                    {
                        "value": "DOCUMENT_ANNOTATION_DELETED",
                        "name": "DOCUMENT_ANNOTATION_DELETED"
                    },
                    {
                        "value": "FOLDER_CREATED",
                        "name": "FOLDER_CREATED"
                    },
                    {
                        "value": "FOLDER_DELETED",
                        "name": "FOLDER_DELETED"
                    },
                    {
                        "value": "FOLDER_RENAMED",
                        "name": "FOLDER_RENAMED"
                    },
                    {
                        "value": "FOLDER_RECYCLED",
                        "name": "FOLDER_RECYCLED"
                    },
                    {
                        "value": "FOLDER_RESTORED",
                        "name": "FOLDER_RESTORED"
                    },
                    {
                        "value": "FOLDER_SHARED",
                        "name": "FOLDER_SHARED"
                    },
                    {
                        "value": "FOLDER_UNSHARED",
                        "name": "FOLDER_UNSHARED"
                    },
                    {
                        "value": "FOLDER_SHARE_PERMISSION_CHANGED",
                        "name": "FOLDER_SHARE_PERMISSION_CHANGED"
                    },
                    {
                        "value": "FOLDER_SHAREABLE_LINK_CREATED",
                        "name": "FOLDER_SHAREABLE_LINK_CREATED"
                    },
                    {
                        "value": "FOLDER_SHAREABLE_LINK_REMOVED",
                        "name": "FOLDER_SHAREABLE_LINK_REMOVED"
                    },
                    {
                        "value": "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED",
                        "name": "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED"
                    },
                    {
                        "value": "FOLDER_MOVED",
                        "name": "FOLDER_MOVED"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#AddResourcePermissions": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#AddResourcePermissionsRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#AddResourcePermissionsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates a set of permissions for the specified folder or document. The resource\n            permissions are overwritten if the principals already have different\n            permissions.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/api/v1/resources/{ResourceId}/permissions",
                    "code": 201
                }
            }
        },
        "com.amazonaws.workdocs#AddResourcePermissionsRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "ResourceId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Principals": {
                    "target": "com.amazonaws.workdocs#SharePrincipalList",
                    "traits": {
                        "smithy.api#documentation": "<p>The users, groups, or organization being granted permission.</p>",
                        "smithy.api#required": {}
                    }
                },
                "NotificationOptions": {
                    "target": "com.amazonaws.workdocs#NotificationOptions",
                    "traits": {
                        "smithy.api#documentation": "<p>The notification options.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#AddResourcePermissionsResponse": {
            "type": "structure",
            "members": {
                "ShareResults": {
                    "target": "com.amazonaws.workdocs#ShareResultsList",
                    "traits": {
                        "smithy.api#documentation": "<p>The share results.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#AuthenticationHeaderType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 8199
                },
                "smithy.api#sensitive": {}
            }
        },
        "com.amazonaws.workdocs#BooleanEnumType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "TRUE",
                        "name": "TRUE"
                    },
                    {
                        "value": "FALSE",
                        "name": "FALSE"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#BooleanType": {
            "type": "boolean"
        },
        "com.amazonaws.workdocs#Comment": {
            "type": "structure",
            "members": {
                "CommentId": {
                    "target": "com.amazonaws.workdocs#CommentIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the comment.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ParentId": {
                    "target": "com.amazonaws.workdocs#CommentIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the parent comment.</p>"
                    }
                },
                "ThreadId": {
                    "target": "com.amazonaws.workdocs#CommentIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the root comment in the thread.</p>"
                    }
                },
                "Text": {
                    "target": "com.amazonaws.workdocs#CommentTextType",
                    "traits": {
                        "smithy.api#documentation": "<p>The text of the comment.</p>"
                    }
                },
                "Contributor": {
                    "target": "com.amazonaws.workdocs#User",
                    "traits": {
                        "smithy.api#documentation": "<p>The details of the user who made the comment.</p>"
                    }
                },
                "CreatedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time that the comment was created.</p>"
                    }
                },
                "Status": {
                    "target": "com.amazonaws.workdocs#CommentStatusType",
                    "traits": {
                        "smithy.api#documentation": "<p>The status of the comment.</p>"
                    }
                },
                "Visibility": {
                    "target": "com.amazonaws.workdocs#CommentVisibilityType",
                    "traits": {
                        "smithy.api#documentation": "<p>The visibility of the comment. Options are either PRIVATE, where the comment is\n            visible only to the comment author and document owner and co-owners, or PUBLIC, where\n            the comment is visible to document owners, co-owners, and contributors.</p>"
                    }
                },
                "RecipientId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>If the comment is a reply to another user's comment, this field contains the user\n            ID of the user being replied to.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes a comment.</p>"
            }
        },
        "com.amazonaws.workdocs#CommentIdType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 128
                },
                "smithy.api#pattern": "[\\w+-.@]+"
            }
        },
        "com.amazonaws.workdocs#CommentList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#Comment"
            }
        },
        "com.amazonaws.workdocs#CommentMetadata": {
            "type": "structure",
            "members": {
                "CommentId": {
                    "target": "com.amazonaws.workdocs#CommentIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the comment.</p>"
                    }
                },
                "Contributor": {
                    "target": "com.amazonaws.workdocs#User",
                    "traits": {
                        "smithy.api#documentation": "<p>The user who made the comment.</p>"
                    }
                },
                "CreatedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp that the comment was created.</p>"
                    }
                },
                "CommentStatus": {
                    "target": "com.amazonaws.workdocs#CommentStatusType",
                    "traits": {
                        "smithy.api#documentation": "<p>The status of the comment.</p>"
                    }
                },
                "RecipientId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the user being replied to.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the metadata of a comment.</p>"
            }
        },
        "com.amazonaws.workdocs#CommentStatusType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "DRAFT",
                        "name": "DRAFT"
                    },
                    {
                        "value": "PUBLISHED",
                        "name": "PUBLISHED"
                    },
                    {
                        "value": "DELETED",
                        "name": "DELETED"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#CommentTextType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 2048
                },
                "smithy.api#sensitive": {}
            }
        },
        "com.amazonaws.workdocs#CommentVisibilityType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "PUBLIC",
                        "name": "PUBLIC"
                    },
                    {
                        "value": "PRIVATE",
                        "name": "PRIVATE"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#ConcurrentModificationException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The resource hierarchy is changing.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#ConflictingOperationException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Another operation is in progress on the resource that conflicts with the current operation.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#CreateComment": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#CreateCommentRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#CreateCommentResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#DocumentLockedForCommentsException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidCommentOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Adds a new comment to the specified document version.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment",
                    "code": 201
                }
            }
        },
        "com.amazonaws.workdocs#CreateCommentRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document version.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "ParentId": {
                    "target": "com.amazonaws.workdocs#CommentIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the parent comment.</p>"
                    }
                },
                "ThreadId": {
                    "target": "com.amazonaws.workdocs#CommentIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the root comment in the thread.</p>"
                    }
                },
                "Text": {
                    "target": "com.amazonaws.workdocs#CommentTextType",
                    "traits": {
                        "smithy.api#documentation": "<p>The text of the comment.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Visibility": {
                    "target": "com.amazonaws.workdocs#CommentVisibilityType",
                    "traits": {
                        "smithy.api#documentation": "<p>The visibility of the comment. Options are either PRIVATE, where the comment is\n            visible only to the comment author and document owner and co-owners, or PUBLIC, where\n            the comment is visible to document owners, co-owners, and contributors.</p>"
                    }
                },
                "NotifyCollaborators": {
                    "target": "com.amazonaws.workdocs#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Set this parameter to TRUE to send an email out to the document collaborators after\n            the comment is created.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CreateCommentResponse": {
            "type": "structure",
            "members": {
                "Comment": {
                    "target": "com.amazonaws.workdocs#Comment",
                    "traits": {
                        "smithy.api#documentation": "<p>The comment that has been created.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CreateCustomMetadata": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#CreateCustomMetadataRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#CreateCustomMetadataResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#CustomMetadataLimitExceededException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Adds one or more custom properties to the specified resource (a folder, document,\n            or version).</p>",
                "smithy.api#http": {
                    "method": "PUT",
                    "uri": "/api/v1/resources/{ResourceId}/customMetadata",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#CreateCustomMetadataRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "ResourceId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the version, if the custom metadata is being added to a document\n            version.</p>",
                        "smithy.api#httpQuery": "versionid"
                    }
                },
                "CustomMetadata": {
                    "target": "com.amazonaws.workdocs#CustomMetadataMap",
                    "traits": {
                        "smithy.api#documentation": "<p>Custom metadata in the form of name-value pairs.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CreateCustomMetadataResponse": {
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.workdocs#CreateFolder": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#CreateFolderRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#CreateFolderResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#ConflictingOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityAlreadyExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#LimitExceededException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates a folder with the specified name and parent folder.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/api/v1/folders",
                    "code": 201
                }
            }
        },
        "com.amazonaws.workdocs#CreateFolderRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.workdocs#ResourceNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the new folder.</p>"
                    }
                },
                "ParentFolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the parent folder.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CreateFolderResponse": {
            "type": "structure",
            "members": {
                "Metadata": {
                    "target": "com.amazonaws.workdocs#FolderMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The metadata of the folder.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CreateLabels": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#CreateLabelsRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#CreateLabelsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#TooManyLabelsException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Adds the specified list of labels to the given resource (a document or\n            folder)</p>",
                "smithy.api#http": {
                    "method": "PUT",
                    "uri": "/api/v1/resources/{ResourceId}/labels",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#CreateLabelsRequest": {
            "type": "structure",
            "members": {
                "ResourceId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Labels": {
                    "target": "com.amazonaws.workdocs#SharedLabels",
                    "traits": {
                        "smithy.api#documentation": "<p>List of labels to add to the resource.</p>",
                        "smithy.api#required": {}
                    }
                },
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CreateLabelsResponse": {
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.workdocs#CreateNotificationSubscription": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#CreateNotificationSubscriptionRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#CreateNotificationSubscriptionResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#TooManySubscriptionsException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a\n            confirmation message, and must confirm the subscription.</p>\n        <p>For more information, see <a href=\"https://docs.aws.amazon.com/workdocs/latest/developerguide/subscribe-notifications.html\">Subscribe to\n                Notifications</a> in the <i>Amazon WorkDocs Developer\n            Guide</i>.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/api/v1/organizations/{OrganizationId}/subscriptions",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#CreateNotificationSubscriptionRequest": {
            "type": "structure",
            "members": {
                "OrganizationId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the organization.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Endpoint": {
                    "target": "com.amazonaws.workdocs#SubscriptionEndPointType",
                    "traits": {
                        "smithy.api#documentation": "<p>The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint\n            is a URL that begins with <code>https</code>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Protocol": {
                    "target": "com.amazonaws.workdocs#SubscriptionProtocolType",
                    "traits": {
                        "smithy.api#documentation": "<p>The protocol to use. The supported value is https, which delivers JSON-encoded\n            messages using HTTPS POST.</p>",
                        "smithy.api#required": {}
                    }
                },
                "SubscriptionType": {
                    "target": "com.amazonaws.workdocs#SubscriptionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The notification type.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CreateNotificationSubscriptionResponse": {
            "type": "structure",
            "members": {
                "Subscription": {
                    "target": "com.amazonaws.workdocs#Subscription",
                    "traits": {
                        "smithy.api#documentation": "<p>The subscription.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CreateUser": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#CreateUserRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#CreateUserResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityAlreadyExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates a user in a Simple AD or Microsoft AD directory. The status of a newly\n            created user is \"ACTIVE\". New users can access Amazon WorkDocs.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/api/v1/users",
                    "code": 201
                }
            }
        },
        "com.amazonaws.workdocs#CreateUserRequest": {
            "type": "structure",
            "members": {
                "OrganizationId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the organization.</p>"
                    }
                },
                "Username": {
                    "target": "com.amazonaws.workdocs#UsernameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The login name of the user.</p>",
                        "smithy.api#required": {}
                    }
                },
                "EmailAddress": {
                    "target": "com.amazonaws.workdocs#EmailAddressType",
                    "traits": {
                        "smithy.api#documentation": "<p>The email address of the user.</p>"
                    }
                },
                "GivenName": {
                    "target": "com.amazonaws.workdocs#UserAttributeValueType",
                    "traits": {
                        "smithy.api#documentation": "<p>The given name of the user.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Surname": {
                    "target": "com.amazonaws.workdocs#UserAttributeValueType",
                    "traits": {
                        "smithy.api#documentation": "<p>The surname of the user.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Password": {
                    "target": "com.amazonaws.workdocs#PasswordType",
                    "traits": {
                        "smithy.api#documentation": "<p>The password of the user.</p>",
                        "smithy.api#required": {}
                    }
                },
                "TimeZoneId": {
                    "target": "com.amazonaws.workdocs#TimeZoneIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time zone ID of the user.</p>"
                    }
                },
                "StorageRule": {
                    "target": "com.amazonaws.workdocs#StorageRuleType",
                    "traits": {
                        "smithy.api#documentation": "<p>The amount of storage for the user.</p>"
                    }
                },
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CreateUserResponse": {
            "type": "structure",
            "members": {
                "User": {
                    "target": "com.amazonaws.workdocs#User",
                    "traits": {
                        "smithy.api#documentation": "<p>The user information.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#CustomMetadataKeyList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#CustomMetadataKeyType"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 8
                }
            }
        },
        "com.amazonaws.workdocs#CustomMetadataKeyType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 56
                },
                "smithy.api#pattern": "[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*"
            }
        },
        "com.amazonaws.workdocs#CustomMetadataLimitExceededException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The limit has been reached on the number of custom properties for the specified\n            resource.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 429
            }
        },
        "com.amazonaws.workdocs#CustomMetadataMap": {
            "type": "map",
            "key": {
                "target": "com.amazonaws.workdocs#CustomMetadataKeyType"
            },
            "value": {
                "target": "com.amazonaws.workdocs#CustomMetadataValueType"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 8
                }
            }
        },
        "com.amazonaws.workdocs#CustomMetadataValueType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                },
                "smithy.api#pattern": "[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*"
            }
        },
        "com.amazonaws.workdocs#DeactivateUser": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DeactivateUserRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deactivates the specified user, which revokes the user's access to Amazon\n            WorkDocs.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/users/{UserId}/activation",
                    "code": 204
                }
            }
        },
        "com.amazonaws.workdocs#DeactivateUserRequest": {
            "type": "structure",
            "members": {
                "UserId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the user.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DeactivatingLastSystemUserException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                },
                "Code": {
                    "target": "com.amazonaws.workdocs#ExceptionCodeType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The last user in the organization is being deactivated.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#DeleteComment": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DeleteCommentRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#DocumentLockedForCommentsException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes the specified comment from the document version.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}",
                    "code": 204
                }
            }
        },
        "com.amazonaws.workdocs#DeleteCommentRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document version.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "CommentId": {
                    "target": "com.amazonaws.workdocs#CommentIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the comment.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DeleteCustomMetadata": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DeleteCustomMetadataRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DeleteCustomMetadataResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes custom metadata from the specified resource.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/resources/{ResourceId}/customMetadata",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#DeleteCustomMetadataRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "ResourceId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource, either a document or folder.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the version, if the custom metadata is being deleted from a document\n            version.</p>",
                        "smithy.api#httpQuery": "versionId"
                    }
                },
                "Keys": {
                    "target": "com.amazonaws.workdocs#CustomMetadataKeyList",
                    "traits": {
                        "smithy.api#documentation": "<p>List of properties to remove.</p>",
                        "smithy.api#httpQuery": "keys"
                    }
                },
                "DeleteAll": {
                    "target": "com.amazonaws.workdocs#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Flag to indicate removal of all custom metadata properties from the specified\n            resource.</p>",
                        "smithy.api#httpQuery": "deleteAll"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DeleteCustomMetadataResponse": {
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.workdocs#DeleteDocument": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DeleteDocumentRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.workdocs#ConflictingOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Permanently deletes the specified document and its associated metadata.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/documents/{DocumentId}",
                    "code": 204
                }
            }
        },
        "com.amazonaws.workdocs#DeleteDocumentRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DeleteFolder": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DeleteFolderRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.workdocs#ConflictingOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Permanently deletes the specified folder and its contents.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/folders/{FolderId}",
                    "code": 204
                }
            }
        },
        "com.amazonaws.workdocs#DeleteFolderContents": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DeleteFolderContentsRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#ConflictingOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes the contents of the specified folder.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/folders/{FolderId}/contents",
                    "code": 204
                }
            }
        },
        "com.amazonaws.workdocs#DeleteFolderContentsRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "FolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the folder.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DeleteFolderRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "FolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the folder.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DeleteLabels": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DeleteLabelsRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DeleteLabelsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes the specified list of labels from a resource.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/resources/{ResourceId}/labels",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#DeleteLabelsRequest": {
            "type": "structure",
            "members": {
                "ResourceId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "Labels": {
                    "target": "com.amazonaws.workdocs#SharedLabels",
                    "traits": {
                        "smithy.api#documentation": "<p>List of labels to delete from the resource.</p>",
                        "smithy.api#httpQuery": "labels"
                    }
                },
                "DeleteAll": {
                    "target": "com.amazonaws.workdocs#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Flag to request removal of all labels from the specified resource.</p>",
                        "smithy.api#httpQuery": "deleteAll"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DeleteLabelsResponse": {
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.workdocs#DeleteNotificationSubscription": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DeleteNotificationSubscriptionRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes the specified subscription from the specified organization.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#DeleteNotificationSubscriptionRequest": {
            "type": "structure",
            "members": {
                "SubscriptionId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the subscription.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "OrganizationId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the organization.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DeleteUser": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DeleteUserRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes the specified user from a Simple AD or Microsoft AD directory.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/users/{UserId}",
                    "code": 204
                }
            }
        },
        "com.amazonaws.workdocs#DeleteUserRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Do not set this field when using\n            administrative API actions, as in accessing the API using AWS credentials.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "UserId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the user.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeActivities": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DescribeActivitiesRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DescribeActivitiesResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidArgumentException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Describes the user activities in a specified time period.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/activities",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#DescribeActivitiesRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "StartTime": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp that determines the starting time of the activities. The response\n            includes the activities performed after the specified timestamp.</p>",
                        "smithy.api#httpQuery": "startTime"
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp that determines the end time of the activities. The response includes\n            the activities performed before the specified timestamp.</p>",
                        "smithy.api#httpQuery": "endTime"
                    }
                },
                "OrganizationId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the organization. This is a mandatory parameter when using administrative\n            API (SigV4) requests.</p>",
                        "smithy.api#httpQuery": "organizationId"
                    }
                },
                "ActivityTypes": {
                    "target": "com.amazonaws.workdocs#ActivityNamesFilterType",
                    "traits": {
                        "smithy.api#documentation": "<p>Specifies which activity types to include in the response. If this field is left\n            empty, all activity types are returned.</p>",
                        "smithy.api#httpQuery": "activityTypes"
                    }
                },
                "ResourceId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The document or folder ID for which to describe activity types.</p>",
                        "smithy.api#httpQuery": "resourceId"
                    }
                },
                "UserId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the user who performed the action. The response includes activities\n            pertaining to this user. This is an optional parameter and is only applicable for\n            administrative API (SigV4) requests.</p>",
                        "smithy.api#httpQuery": "userId"
                    }
                },
                "IncludeIndirectActivities": {
                    "target": "com.amazonaws.workdocs#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Includes indirect activities. An indirect activity results from a direct activity\n            performed on a parent resource. For example, sharing a parent folder (the direct\n            activity) shares all of the subfolders and documents within the parent folder (the\n            indirect activity).</p>",
                        "smithy.api#httpQuery": "includeIndirectActivities"
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of items to return.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#MarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results.</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeActivitiesResponse": {
            "type": "structure",
            "members": {
                "UserActivities": {
                    "target": "com.amazonaws.workdocs#UserActivities",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of activities for the specified user and time period.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#MarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeComments": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DescribeCommentsRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DescribeCommentsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>List all the comments for the specified document version.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comments",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#DescribeCommentsRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document version.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of items to return.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#MarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. This marker was received from a previous\n            call.</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeCommentsResponse": {
            "type": "structure",
            "members": {
                "Comments": {
                    "target": "com.amazonaws.workdocs#CommentList",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of comments for the specified document version.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#MarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. This marker was received from a previous\n            call.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeDocumentVersions": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DescribeDocumentVersionsRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DescribeDocumentVersionsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidArgumentException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the document versions for the specified document.</p>\n        <p>By default, only active versions are returned.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/documents/{DocumentId}/versions",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "Marker",
                    "outputToken": "Marker",
                    "items": "DocumentVersions",
                    "pageSize": "Limit"
                }
            }
        },
        "com.amazonaws.workdocs#DescribeDocumentVersionsRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. (You received this marker from a previous\n            call.)</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of versions to return with this call.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Include": {
                    "target": "com.amazonaws.workdocs#FieldNamesType",
                    "traits": {
                        "smithy.api#documentation": "<p>A comma-separated list of values. Specify \"INITIALIZED\" to include incomplete\n            versions.</p>",
                        "smithy.api#httpQuery": "include"
                    }
                },
                "Fields": {
                    "target": "com.amazonaws.workdocs#FieldNamesType",
                    "traits": {
                        "smithy.api#documentation": "<p>Specify \"SOURCE\" to include initialized versions and a URL for the source\n            document.</p>",
                        "smithy.api#httpQuery": "fields"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeDocumentVersionsResponse": {
            "type": "structure",
            "members": {
                "DocumentVersions": {
                    "target": "com.amazonaws.workdocs#DocumentVersionMetadataList",
                    "traits": {
                        "smithy.api#documentation": "<p>The document versions.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker to use when requesting the next set of results. If there are no\n            additional results, the string is empty.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeFolderContents": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DescribeFolderContentsRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DescribeFolderContentsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidArgumentException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Describes the contents of the specified folder, including its documents and\n            subfolders.</p>\n        <p>By default, Amazon WorkDocs returns the first 100 active document and folder\n            metadata items. If there are more results, the response includes a marker that you can\n            use to request the next set of results. You can also request initialized\n            documents.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/folders/{FolderId}/contents",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "Marker",
                    "outputToken": "Marker",
                    "pageSize": "Limit"
                }
            }
        },
        "com.amazonaws.workdocs#DescribeFolderContentsRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "FolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the folder.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Sort": {
                    "target": "com.amazonaws.workdocs#ResourceSortType",
                    "traits": {
                        "smithy.api#documentation": "<p>The sorting criteria.</p>",
                        "smithy.api#httpQuery": "sort"
                    }
                },
                "Order": {
                    "target": "com.amazonaws.workdocs#OrderType",
                    "traits": {
                        "smithy.api#documentation": "<p>The order for the contents of the folder.</p>",
                        "smithy.api#httpQuery": "order"
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of items to return with this call.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. This marker was received from a previous\n            call.</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.workdocs#FolderContentType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of items.</p>",
                        "smithy.api#httpQuery": "type"
                    }
                },
                "Include": {
                    "target": "com.amazonaws.workdocs#FieldNamesType",
                    "traits": {
                        "smithy.api#documentation": "<p>The contents to include. Specify \"INITIALIZED\" to include initialized\n            documents.</p>",
                        "smithy.api#httpQuery": "include"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeFolderContentsResponse": {
            "type": "structure",
            "members": {
                "Folders": {
                    "target": "com.amazonaws.workdocs#FolderMetadataList",
                    "traits": {
                        "smithy.api#documentation": "<p>The subfolders in the specified folder.</p>"
                    }
                },
                "Documents": {
                    "target": "com.amazonaws.workdocs#DocumentMetadataList",
                    "traits": {
                        "smithy.api#documentation": "<p>The documents in the specified folder.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker to use when requesting the next set of results. If there are no\n            additional results, the string is empty.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeGroups": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DescribeGroupsRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DescribeGroupsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Describes the groups specified by the query. Groups are defined by the underlying\n            Active Directory.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/groups",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#DescribeGroupsRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "SearchQuery": {
                    "target": "com.amazonaws.workdocs#SearchQueryType",
                    "traits": {
                        "smithy.api#documentation": "<p>A query to describe groups by group name.</p>",
                        "smithy.api#httpQuery": "searchQuery",
                        "smithy.api#required": {}
                    }
                },
                "OrganizationId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the organization.</p>",
                        "smithy.api#httpQuery": "organizationId"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#MarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. (You received this marker from a previous\n            call.)</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#PositiveIntegerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of items to return with this call.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeGroupsResponse": {
            "type": "structure",
            "members": {
                "Groups": {
                    "target": "com.amazonaws.workdocs#GroupMetadataList",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of groups.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#MarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker to use when requesting the next set of results. If there are no additional\n            results, the string is empty.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeNotificationSubscriptions": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DescribeNotificationSubscriptionsRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DescribeNotificationSubscriptionsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Lists the specified notification subscriptions.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/organizations/{OrganizationId}/subscriptions",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#DescribeNotificationSubscriptionsRequest": {
            "type": "structure",
            "members": {
                "OrganizationId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the organization.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. (You received this marker from a previous\n            call.)</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of items to return with this call.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeNotificationSubscriptionsResponse": {
            "type": "structure",
            "members": {
                "Subscriptions": {
                    "target": "com.amazonaws.workdocs#SubscriptionList",
                    "traits": {
                        "smithy.api#documentation": "<p>The subscriptions.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker to use when requesting the next set of results. If there are no\n            additional results, the string is empty.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeResourcePermissions": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DescribeResourcePermissionsRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DescribeResourcePermissionsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Describes the permissions of a specified resource.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/resources/{ResourceId}/permissions",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#DescribeResourcePermissionsRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "ResourceId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "PrincipalId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the principal to filter permissions by.</p>",
                        "smithy.api#httpQuery": "principalId"
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of items to return with this call.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. (You received this marker from a previous\n            call)</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeResourcePermissionsResponse": {
            "type": "structure",
            "members": {
                "Principals": {
                    "target": "com.amazonaws.workdocs#PrincipalList",
                    "traits": {
                        "smithy.api#documentation": "<p>The principals.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker to use when requesting the next set of results. If there are no\n            additional results, the string is empty.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeRootFolders": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DescribeRootFoldersRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DescribeRootFoldersResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidArgumentException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Describes the current user's special folders; the <code>RootFolder</code> and the\n                <code>RecycleBin</code>. <code>RootFolder</code> is the root of user's files and\n            folders and <code>RecycleBin</code> is the root of recycled items. This is not a valid\n            action for SigV4 (administrative API) clients.</p>\n        <p>This action requires an authentication token. To get an authentication token,\n            register an application with Amazon WorkDocs. For more information, see <a href=\"https://docs.aws.amazon.com/workdocs/latest/developerguide/wd-auth-user.html\">Authentication and Access\n                Control for User Applications</a> in the\n            <i>Amazon\n            WorkDocs Developer Guide</i>.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/me/root",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#DescribeRootFoldersRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token.</p>",
                        "smithy.api#httpHeader": "Authentication",
                        "smithy.api#required": {}
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of items to return.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. (You received this marker from a previous\n            call.)</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeRootFoldersResponse": {
            "type": "structure",
            "members": {
                "Folders": {
                    "target": "com.amazonaws.workdocs#FolderMetadataList",
                    "traits": {
                        "smithy.api#documentation": "<p>The user's special folders.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeUsers": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#DescribeUsersRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#DescribeUsersResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidArgumentException"
                },
                {
                    "target": "com.amazonaws.workdocs#RequestedEntityTooLargeException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Describes the specified users. You can describe all users or filter the results\n            (for example, by status or organization).</p>\n        <p>By default, Amazon WorkDocs returns the first 24 active or pending users. If there\n            are more results, the response includes a marker that you can use to request the next\n            set of results.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/users",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "Marker",
                    "outputToken": "Marker",
                    "items": "Users",
                    "pageSize": "Limit"
                }
            }
        },
        "com.amazonaws.workdocs#DescribeUsersRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "OrganizationId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the organization.</p>",
                        "smithy.api#httpQuery": "organizationId"
                    }
                },
                "UserIds": {
                    "target": "com.amazonaws.workdocs#UserIdsType",
                    "traits": {
                        "smithy.api#documentation": "<p>The IDs of the users.</p>",
                        "smithy.api#httpQuery": "userIds"
                    }
                },
                "Query": {
                    "target": "com.amazonaws.workdocs#SearchQueryType",
                    "traits": {
                        "smithy.api#documentation": "<p>A query to filter users by user name.</p>",
                        "smithy.api#httpQuery": "query"
                    }
                },
                "Include": {
                    "target": "com.amazonaws.workdocs#UserFilterType",
                    "traits": {
                        "smithy.api#documentation": "<p>The state of the users. Specify \"ALL\" to include inactive users.</p>",
                        "smithy.api#httpQuery": "include"
                    }
                },
                "Order": {
                    "target": "com.amazonaws.workdocs#OrderType",
                    "traits": {
                        "smithy.api#documentation": "<p>The order for the results.</p>",
                        "smithy.api#httpQuery": "order"
                    }
                },
                "Sort": {
                    "target": "com.amazonaws.workdocs#UserSortType",
                    "traits": {
                        "smithy.api#documentation": "<p>The sorting criteria.</p>",
                        "smithy.api#httpQuery": "sort"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. (You received this marker from a previous\n            call.)</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of items to return.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Fields": {
                    "target": "com.amazonaws.workdocs#FieldNamesType",
                    "traits": {
                        "smithy.api#documentation": "<p>A comma-separated list of values. Specify \"STORAGE_METADATA\" to include the user\n            storage quota and utilization information.</p>",
                        "smithy.api#httpQuery": "fields"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DescribeUsersResponse": {
            "type": "structure",
            "members": {
                "Users": {
                    "target": "com.amazonaws.workdocs#OrganizationUserList",
                    "traits": {
                        "smithy.api#documentation": "<p>The users.</p>"
                    }
                },
                "TotalNumberOfUsers": {
                    "target": "com.amazonaws.workdocs#SizeType",
                    "traits": {
                        "smithy.api#deprecated": {},
                        "smithy.api#documentation": "<p>The total number of users included in the results.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker to use when requesting the next set of results. If there are no\n            additional results, the string is empty.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#DocumentContentType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 128
                }
            }
        },
        "com.amazonaws.workdocs#DocumentLockedForCommentsException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>This exception is thrown when the document is locked for comments and user tries to\n            create or delete a comment on that document.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#DocumentMetadata": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>"
                    }
                },
                "CreatorId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the creator.</p>"
                    }
                },
                "ParentFolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the parent folder.</p>"
                    }
                },
                "CreatedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time when the document was created.</p>"
                    }
                },
                "ModifiedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time when the document was updated.</p>"
                    }
                },
                "LatestVersionMetadata": {
                    "target": "com.amazonaws.workdocs#DocumentVersionMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The latest version of the document.</p>"
                    }
                },
                "ResourceState": {
                    "target": "com.amazonaws.workdocs#ResourceStateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The resource state.</p>"
                    }
                },
                "Labels": {
                    "target": "com.amazonaws.workdocs#SharedLabels",
                    "traits": {
                        "smithy.api#documentation": "<p>List of labels on the document.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the document.</p>"
            }
        },
        "com.amazonaws.workdocs#DocumentMetadataList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#DocumentMetadata"
            }
        },
        "com.amazonaws.workdocs#DocumentSourceType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "ORIGINAL",
                        "name": "ORIGINAL"
                    },
                    {
                        "value": "WITH_COMMENTS",
                        "name": "WITH_COMMENTS"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#DocumentSourceUrlMap": {
            "type": "map",
            "key": {
                "target": "com.amazonaws.workdocs#DocumentSourceType"
            },
            "value": {
                "target": "com.amazonaws.workdocs#UrlType"
            }
        },
        "com.amazonaws.workdocs#DocumentStatusType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "INITIALIZED",
                        "name": "INITIALIZED"
                    },
                    {
                        "value": "ACTIVE",
                        "name": "ACTIVE"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#DocumentThumbnailType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "SMALL",
                        "name": "SMALL"
                    },
                    {
                        "value": "SMALL_HQ",
                        "name": "SMALL_HQ"
                    },
                    {
                        "value": "LARGE",
                        "name": "LARGE"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#DocumentThumbnailUrlMap": {
            "type": "map",
            "key": {
                "target": "com.amazonaws.workdocs#DocumentThumbnailType"
            },
            "value": {
                "target": "com.amazonaws.workdocs#UrlType"
            }
        },
        "com.amazonaws.workdocs#DocumentVersionIdType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 128
                },
                "smithy.api#pattern": "[\\w+-.@]+"
            }
        },
        "com.amazonaws.workdocs#DocumentVersionMetadata": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the version.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.workdocs#ResourceNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the version.</p>"
                    }
                },
                "ContentType": {
                    "target": "com.amazonaws.workdocs#DocumentContentType",
                    "traits": {
                        "smithy.api#documentation": "<p>The content type of the document.</p>"
                    }
                },
                "Size": {
                    "target": "com.amazonaws.workdocs#SizeType",
                    "traits": {
                        "smithy.api#documentation": "<p>The size of the document, in bytes.</p>"
                    }
                },
                "Signature": {
                    "target": "com.amazonaws.workdocs#HashType",
                    "traits": {
                        "smithy.api#documentation": "<p>The signature of the document.</p>"
                    }
                },
                "Status": {
                    "target": "com.amazonaws.workdocs#DocumentStatusType",
                    "traits": {
                        "smithy.api#documentation": "<p>The status of the document.</p>"
                    }
                },
                "CreatedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp when the document was first uploaded.</p>"
                    }
                },
                "ModifiedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp when the document was last uploaded.</p>"
                    }
                },
                "ContentCreatedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp when the content of the document was originally created.</p>"
                    }
                },
                "ContentModifiedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp when the content of the document was modified.</p>"
                    }
                },
                "CreatorId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the creator.</p>"
                    }
                },
                "Thumbnail": {
                    "target": "com.amazonaws.workdocs#DocumentThumbnailUrlMap",
                    "traits": {
                        "smithy.api#documentation": "<p>The thumbnail of the document.</p>"
                    }
                },
                "Source": {
                    "target": "com.amazonaws.workdocs#DocumentSourceUrlMap",
                    "traits": {
                        "smithy.api#documentation": "<p>The source of the document.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes a version of a document.</p>"
            }
        },
        "com.amazonaws.workdocs#DocumentVersionMetadataList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#DocumentVersionMetadata"
            }
        },
        "com.amazonaws.workdocs#DocumentVersionStatus": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "ACTIVE",
                        "name": "ACTIVE"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#DraftUploadOutOfSyncException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>This exception is thrown when a valid checkout ID is not presented on document\n            version upload calls for a document that has been checked out from Web client.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#EmailAddressType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                },
                "smithy.api#pattern": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}"
            }
        },
        "com.amazonaws.workdocs#EntityAlreadyExistsException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The resource already exists.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#EntityIdList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#IdType"
            }
        },
        "com.amazonaws.workdocs#EntityNotExistsException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                },
                "EntityIds": {
                    "target": "com.amazonaws.workdocs#EntityIdList"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The resource does not exist.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 404
            }
        },
        "com.amazonaws.workdocs#ErrorMessageType": {
            "type": "string"
        },
        "com.amazonaws.workdocs#ExceptionCodeType": {
            "type": "string"
        },
        "com.amazonaws.workdocs#FailedDependencyException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The AWS Directory Service cannot reach an on-premises instance. Or a dependency\n            under the control of the organization is failing, such as a connected Active\n            Directory.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 424
            }
        },
        "com.amazonaws.workdocs#FieldNamesType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                },
                "smithy.api#pattern": "[\\w,]+"
            }
        },
        "com.amazonaws.workdocs#FolderContentType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "ALL",
                        "name": "ALL"
                    },
                    {
                        "value": "DOCUMENT",
                        "name": "DOCUMENT"
                    },
                    {
                        "value": "FOLDER",
                        "name": "FOLDER"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#FolderMetadata": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the folder.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.workdocs#ResourceNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the folder.</p>"
                    }
                },
                "CreatorId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the creator.</p>"
                    }
                },
                "ParentFolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the parent folder.</p>"
                    }
                },
                "CreatedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time when the folder was created.</p>"
                    }
                },
                "ModifiedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time when the folder was updated.</p>"
                    }
                },
                "ResourceState": {
                    "target": "com.amazonaws.workdocs#ResourceStateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The resource state of the folder.</p>"
                    }
                },
                "Signature": {
                    "target": "com.amazonaws.workdocs#HashType",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique identifier created from the subfolders and documents of the\n            folder.</p>"
                    }
                },
                "Labels": {
                    "target": "com.amazonaws.workdocs#SharedLabels",
                    "traits": {
                        "smithy.api#documentation": "<p>List of labels on the folder.</p>"
                    }
                },
                "Size": {
                    "target": "com.amazonaws.workdocs#SizeType",
                    "traits": {
                        "smithy.api#documentation": "<p>The size of the folder metadata.</p>"
                    }
                },
                "LatestVersionSize": {
                    "target": "com.amazonaws.workdocs#SizeType",
                    "traits": {
                        "smithy.api#documentation": "<p>The size of the latest version of the folder metadata.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes a folder.</p>"
            }
        },
        "com.amazonaws.workdocs#FolderMetadataList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#FolderMetadata"
            }
        },
        "com.amazonaws.workdocs#GetCurrentUser": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#GetCurrentUserRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#GetCurrentUserResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves details of the current user for whom the authentication token was\n            generated. This is not a valid action for SigV4 (administrative API) clients.</p>\n        <p>This action requires an authentication token. To get an authentication token,\n            register an application with Amazon WorkDocs. For more information, see <a href=\"https://docs.aws.amazon.com/workdocs/latest/developerguide/wd-auth-user.html\">Authentication and Access\n                Control for User Applications</a> in the\n            <i>Amazon\n                WorkDocs Developer Guide</i>.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/me",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#GetCurrentUserRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token.</p>",
                        "smithy.api#httpHeader": "Authentication",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetCurrentUserResponse": {
            "type": "structure",
            "members": {
                "User": {
                    "target": "com.amazonaws.workdocs#User",
                    "traits": {
                        "smithy.api#documentation": "<p>Metadata of the user.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetDocument": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#GetDocumentRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#GetDocumentResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidArgumentException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidPasswordException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves details of a document.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/documents/{DocumentId}",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#GetDocumentPath": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#GetDocumentPathRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#GetDocumentPathResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the path information (the hierarchy from the root folder) for the\n            requested document.</p>\n        <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the\n            requested document and only includes the IDs of the parent folders in the path. You can\n            limit the maximum number of levels. You can also request the names of the parent\n            folders.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/documents/{DocumentId}/path",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#GetDocumentPathRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of levels in the hierarchy to return.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Fields": {
                    "target": "com.amazonaws.workdocs#FieldNamesType",
                    "traits": {
                        "smithy.api#documentation": "<p>A comma-separated list of values. Specify <code>NAME</code> to include the names of\n            the parent folders.</p>",
                        "smithy.api#httpQuery": "fields"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>This value is not supported.</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetDocumentPathResponse": {
            "type": "structure",
            "members": {
                "Path": {
                    "target": "com.amazonaws.workdocs#ResourcePath",
                    "traits": {
                        "smithy.api#documentation": "<p>The path information.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetDocumentRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "IncludeCustomMetadata": {
                    "target": "com.amazonaws.workdocs#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Set this to <code>TRUE</code> to include custom metadata in the response.</p>",
                        "smithy.api#httpQuery": "includeCustomMetadata"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetDocumentResponse": {
            "type": "structure",
            "members": {
                "Metadata": {
                    "target": "com.amazonaws.workdocs#DocumentMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The metadata details of the document.</p>"
                    }
                },
                "CustomMetadata": {
                    "target": "com.amazonaws.workdocs#CustomMetadataMap",
                    "traits": {
                        "smithy.api#documentation": "<p>The custom metadata on the document.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetDocumentVersion": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#GetDocumentVersionRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#GetDocumentVersionResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidPasswordException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves version metadata for the specified document.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/documents/{DocumentId}/versions/{VersionId}",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#GetDocumentVersionRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The version ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Fields": {
                    "target": "com.amazonaws.workdocs#FieldNamesType",
                    "traits": {
                        "smithy.api#documentation": "<p>A comma-separated list of values. Specify \"SOURCE\" to include a URL for the source\n            document.</p>",
                        "smithy.api#httpQuery": "fields"
                    }
                },
                "IncludeCustomMetadata": {
                    "target": "com.amazonaws.workdocs#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Set this to TRUE to include custom metadata in the response.</p>",
                        "smithy.api#httpQuery": "includeCustomMetadata"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetDocumentVersionResponse": {
            "type": "structure",
            "members": {
                "Metadata": {
                    "target": "com.amazonaws.workdocs#DocumentVersionMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The version metadata.</p>"
                    }
                },
                "CustomMetadata": {
                    "target": "com.amazonaws.workdocs#CustomMetadataMap",
                    "traits": {
                        "smithy.api#documentation": "<p>The custom metadata on the document version.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetFolder": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#GetFolderRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#GetFolderResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidArgumentException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the metadata of the specified folder.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/folders/{FolderId}",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#GetFolderPath": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#GetFolderPathRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#GetFolderPathResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the path information (the hierarchy from the root folder) for the\n            specified folder.</p>\n        <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the\n            requested folder and only includes the IDs of the parent folders in the path. You can\n            limit the maximum number of levels. You can also request the parent folder\n            names.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/folders/{FolderId}/path",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#GetFolderPathRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "FolderId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the folder.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of levels in the hierarchy to return.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Fields": {
                    "target": "com.amazonaws.workdocs#FieldNamesType",
                    "traits": {
                        "smithy.api#documentation": "<p>A comma-separated list of values. Specify \"NAME\" to include the names of the parent\n            folders.</p>",
                        "smithy.api#httpQuery": "fields"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>This value is not supported.</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetFolderPathResponse": {
            "type": "structure",
            "members": {
                "Path": {
                    "target": "com.amazonaws.workdocs#ResourcePath",
                    "traits": {
                        "smithy.api#documentation": "<p>The path information.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetFolderRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "FolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the folder.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "IncludeCustomMetadata": {
                    "target": "com.amazonaws.workdocs#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Set to TRUE to include custom metadata in the response.</p>",
                        "smithy.api#httpQuery": "includeCustomMetadata"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetFolderResponse": {
            "type": "structure",
            "members": {
                "Metadata": {
                    "target": "com.amazonaws.workdocs#FolderMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The metadata of the folder.</p>"
                    }
                },
                "CustomMetadata": {
                    "target": "com.amazonaws.workdocs#CustomMetadataMap",
                    "traits": {
                        "smithy.api#documentation": "<p>The custom metadata on the folder.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetResources": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#GetResourcesRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#GetResourcesResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidArgumentException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves a collection of resources, including folders and documents. The only\n            <code>CollectionType</code> supported is <code>SHARED_WITH_ME</code>.</p>",
                "smithy.api#http": {
                    "method": "GET",
                    "uri": "/api/v1/resources",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#GetResourcesRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "UserId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The user ID for the resource collection. This is a required field for accessing the\n            API operation using IAM credentials.</p>",
                        "smithy.api#httpQuery": "userId"
                    }
                },
                "CollectionType": {
                    "target": "com.amazonaws.workdocs#ResourceCollectionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The collection type.</p>",
                        "smithy.api#httpQuery": "collectionType"
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.workdocs#LimitType",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of resources to return.</p>",
                        "smithy.api#httpQuery": "limit"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker for the next set of results. This marker was received from a previous call.</p>",
                        "smithy.api#httpQuery": "marker"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GetResourcesResponse": {
            "type": "structure",
            "members": {
                "Folders": {
                    "target": "com.amazonaws.workdocs#FolderMetadataList",
                    "traits": {
                        "smithy.api#documentation": "<p>The folders in the specified folder.</p>"
                    }
                },
                "Documents": {
                    "target": "com.amazonaws.workdocs#DocumentMetadataList",
                    "traits": {
                        "smithy.api#documentation": "<p>The documents in the specified collection.</p>"
                    }
                },
                "Marker": {
                    "target": "com.amazonaws.workdocs#PageMarkerType",
                    "traits": {
                        "smithy.api#documentation": "<p>The marker to use when requesting the next set of results. If there are no additional results, the string is empty.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#GroupMetadata": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the user group.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.workdocs#GroupNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the group.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the metadata of a user group.</p>"
            }
        },
        "com.amazonaws.workdocs#GroupMetadataList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#GroupMetadata"
            }
        },
        "com.amazonaws.workdocs#GroupNameType": {
            "type": "string"
        },
        "com.amazonaws.workdocs#HashType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 128
                },
                "smithy.api#pattern": "[&\\w+-.@]+"
            }
        },
        "com.amazonaws.workdocs#HeaderNameType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                },
                "smithy.api#pattern": "[\\w-]+"
            }
        },
        "com.amazonaws.workdocs#HeaderValueType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 1024
                }
            }
        },
        "com.amazonaws.workdocs#IdType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                },
                "smithy.api#pattern": "[&\\w+-.@]+"
            }
        },
        "com.amazonaws.workdocs#IllegalUserStateException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The user is undergoing transfer of ownership.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#InitiateDocumentVersionUpload": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#InitiateDocumentVersionUploadRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#InitiateDocumentVersionUploadResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#DraftUploadOutOfSyncException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityAlreadyExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ResourceAlreadyCheckedOutException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#StorageLimitExceededException"
                },
                {
                    "target": "com.amazonaws.workdocs#StorageLimitWillExceedException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates a new document object and version object.</p>\n        <p>The client specifies the parent folder ID and name of the document to upload. The\n            ID is optionally specified when creating a new version of an existing document. This is\n            the first step to upload a document. Next, upload the document to the URL returned from\n            the call, and then call <a>UpdateDocumentVersion</a>.</p>\n        <p>To cancel the document upload, call <a>AbortDocumentVersionUpload</a>.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/api/v1/documents",
                    "code": 201
                }
            }
        },
        "com.amazonaws.workdocs#InitiateDocumentVersionUploadRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "Id": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.workdocs#ResourceNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the document.</p>"
                    }
                },
                "ContentCreatedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp when the content of the document was originally created.</p>"
                    }
                },
                "ContentModifiedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The timestamp when the content of the document was modified.</p>"
                    }
                },
                "ContentType": {
                    "target": "com.amazonaws.workdocs#DocumentContentType",
                    "traits": {
                        "smithy.api#documentation": "<p>The content type of the document.</p>"
                    }
                },
                "DocumentSizeInBytes": {
                    "target": "com.amazonaws.workdocs#SizeType",
                    "traits": {
                        "smithy.api#documentation": "<p>The size of the document, in bytes.</p>"
                    }
                },
                "ParentFolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the parent folder.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#InitiateDocumentVersionUploadResponse": {
            "type": "structure",
            "members": {
                "Metadata": {
                    "target": "com.amazonaws.workdocs#DocumentMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The document metadata.</p>"
                    }
                },
                "UploadMetadata": {
                    "target": "com.amazonaws.workdocs#UploadMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The upload metadata.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#InvalidArgumentException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The pagination marker or limit fields are not valid.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 400
            }
        },
        "com.amazonaws.workdocs#InvalidCommentOperationException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The requested operation is not allowed on the specified comment object.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#InvalidOperationException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The operation is invalid.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 405
            }
        },
        "com.amazonaws.workdocs#InvalidPasswordException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The password is invalid.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 401
            }
        },
        "com.amazonaws.workdocs#LimitExceededException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The maximum of 100,000 folders under the parent folder has been exceeded.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#LimitType": {
            "type": "integer",
            "traits": {
                "smithy.api#box": {},
                "smithy.api#range": {
                    "min": 1,
                    "max": 999
                }
            }
        },
        "com.amazonaws.workdocs#LocaleType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "en",
                        "name": "EN"
                    },
                    {
                        "value": "fr",
                        "name": "FR"
                    },
                    {
                        "value": "ko",
                        "name": "KO"
                    },
                    {
                        "value": "de",
                        "name": "DE"
                    },
                    {
                        "value": "es",
                        "name": "ES"
                    },
                    {
                        "value": "ja",
                        "name": "JA"
                    },
                    {
                        "value": "ru",
                        "name": "RU"
                    },
                    {
                        "value": "zh_CN",
                        "name": "ZH_CN"
                    },
                    {
                        "value": "zh_TW",
                        "name": "ZH_TW"
                    },
                    {
                        "value": "pt_BR",
                        "name": "PT_BR"
                    },
                    {
                        "value": "default",
                        "name": "DEFAULT"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#MarkerType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 2048
                },
                "smithy.api#pattern": "[\\u0000-\\u00FF]+"
            }
        },
        "com.amazonaws.workdocs#MessageType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 2048
                },
                "smithy.api#sensitive": {}
            }
        },
        "com.amazonaws.workdocs#NotificationOptions": {
            "type": "structure",
            "members": {
                "SendEmail": {
                    "target": "com.amazonaws.workdocs#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Boolean value to indicate an email notification should be sent to the\n            receipients.</p>"
                    }
                },
                "EmailMessage": {
                    "target": "com.amazonaws.workdocs#MessageType",
                    "traits": {
                        "smithy.api#documentation": "<p>Text value to be included in the email body.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Set of options which defines notification preferences of given action.</p>"
            }
        },
        "com.amazonaws.workdocs#OrderType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "ASCENDING",
                        "name": "ASCENDING"
                    },
                    {
                        "value": "DESCENDING",
                        "name": "DESCENDING"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#OrganizationUserList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#User"
            }
        },
        "com.amazonaws.workdocs#PageMarkerType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 2048
                }
            }
        },
        "com.amazonaws.workdocs#Participants": {
            "type": "structure",
            "members": {
                "Users": {
                    "target": "com.amazonaws.workdocs#UserMetadataList",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of users.</p>"
                    }
                },
                "Groups": {
                    "target": "com.amazonaws.workdocs#GroupMetadataList",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of user groups.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the users or user groups.</p>"
            }
        },
        "com.amazonaws.workdocs#PasswordType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 4,
                    "max": 32
                },
                "smithy.api#pattern": "[\\u0020-\\u00FF]+",
                "smithy.api#sensitive": {}
            }
        },
        "com.amazonaws.workdocs#PermissionInfo": {
            "type": "structure",
            "members": {
                "Role": {
                    "target": "com.amazonaws.workdocs#RoleType",
                    "traits": {
                        "smithy.api#documentation": "<p>The role of the user.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.workdocs#RolePermissionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of permissions.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the permissions.</p>"
            }
        },
        "com.amazonaws.workdocs#PermissionInfoList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#PermissionInfo"
            }
        },
        "com.amazonaws.workdocs#PositiveIntegerType": {
            "type": "integer",
            "traits": {
                "smithy.api#box": {},
                "smithy.api#range": {
                    "min": 1
                }
            }
        },
        "com.amazonaws.workdocs#PositiveSizeType": {
            "type": "long",
            "traits": {
                "smithy.api#box": {},
                "smithy.api#range": {
                    "min": 0
                }
            }
        },
        "com.amazonaws.workdocs#Principal": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.workdocs#PrincipalType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of resource.</p>"
                    }
                },
                "Roles": {
                    "target": "com.amazonaws.workdocs#PermissionInfoList",
                    "traits": {
                        "smithy.api#documentation": "<p>The permission information for the resource.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes a resource.</p>"
            }
        },
        "com.amazonaws.workdocs#PrincipalList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#Principal"
            }
        },
        "com.amazonaws.workdocs#PrincipalType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "USER",
                        "name": "USER"
                    },
                    {
                        "value": "GROUP",
                        "name": "GROUP"
                    },
                    {
                        "value": "INVITE",
                        "name": "INVITE"
                    },
                    {
                        "value": "ANONYMOUS",
                        "name": "ANONYMOUS"
                    },
                    {
                        "value": "ORGANIZATION",
                        "name": "ORGANIZATION"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#ProhibitedStateException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The specified document version is not in the INITIALIZED state.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#RemoveAllResourcePermissions": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#RemoveAllResourcePermissionsRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Removes all the permissions from the specified resource.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/resources/{ResourceId}/permissions",
                    "code": 204
                }
            }
        },
        "com.amazonaws.workdocs#RemoveAllResourcePermissionsRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "ResourceId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.workdocs#RemoveResourcePermission": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#RemoveResourcePermissionRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Removes the permission for the specified principal from the specified\n            resource.</p>",
                "smithy.api#http": {
                    "method": "DELETE",
                    "uri": "/api/v1/resources/{ResourceId}/permissions/{PrincipalId}",
                    "code": 204
                }
            }
        },
        "com.amazonaws.workdocs#RemoveResourcePermissionRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "ResourceId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "PrincipalId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The principal ID of the resource.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "PrincipalType": {
                    "target": "com.amazonaws.workdocs#PrincipalType",
                    "traits": {
                        "smithy.api#documentation": "<p>The principal type of the resource.</p>",
                        "smithy.api#httpQuery": "type"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#RequestedEntityTooLargeException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The response is too large to return. The request must include a filter to reduce the size of the response.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 413
            }
        },
        "com.amazonaws.workdocs#ResourceAlreadyCheckedOutException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The resource is already checked out.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#ResourceCollectionType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "SHARED_WITH_ME",
                        "name": "SHARED_WITH_ME"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#ResourceIdType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 128
                },
                "smithy.api#pattern": "[\\w+-.@]+"
            }
        },
        "com.amazonaws.workdocs#ResourceMetadata": {
            "type": "structure",
            "members": {
                "Type": {
                    "target": "com.amazonaws.workdocs#ResourceType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of resource.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.workdocs#ResourceNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the resource.</p>"
                    }
                },
                "OriginalName": {
                    "target": "com.amazonaws.workdocs#ResourceNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The original name of the resource before a rename operation.</p>"
                    }
                },
                "Id": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource.</p>"
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The version ID of the resource. This is an optional field and is filled for action\n            on document version.</p>"
                    }
                },
                "Owner": {
                    "target": "com.amazonaws.workdocs#UserMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The owner of the resource.</p>"
                    }
                },
                "ParentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The parent ID of the resource before a rename operation.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the metadata of a resource.</p>"
            }
        },
        "com.amazonaws.workdocs#ResourceNameType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 255
                },
                "smithy.api#pattern": "[\\u0020-\\u202D\\u202F-\\uFFFF]+"
            }
        },
        "com.amazonaws.workdocs#ResourcePath": {
            "type": "structure",
            "members": {
                "Components": {
                    "target": "com.amazonaws.workdocs#ResourcePathComponentList",
                    "traits": {
                        "smithy.api#documentation": "<p>The components of the resource path.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the path information of a resource.</p>"
            }
        },
        "com.amazonaws.workdocs#ResourcePathComponent": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource path.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.workdocs#ResourceNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the resource path.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the resource path.</p>"
            }
        },
        "com.amazonaws.workdocs#ResourcePathComponentList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#ResourcePathComponent"
            }
        },
        "com.amazonaws.workdocs#ResourceSortType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "DATE",
                        "name": "DATE"
                    },
                    {
                        "value": "NAME",
                        "name": "NAME"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#ResourceStateType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "ACTIVE",
                        "name": "ACTIVE"
                    },
                    {
                        "value": "RESTORING",
                        "name": "RESTORING"
                    },
                    {
                        "value": "RECYCLING",
                        "name": "RECYCLING"
                    },
                    {
                        "value": "RECYCLED",
                        "name": "RECYCLED"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#ResourceType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "FOLDER",
                        "name": "FOLDER"
                    },
                    {
                        "value": "DOCUMENT",
                        "name": "DOCUMENT"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#RolePermissionType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "DIRECT",
                        "name": "DIRECT"
                    },
                    {
                        "value": "INHERITED",
                        "name": "INHERITED"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#RoleType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "VIEWER",
                        "name": "VIEWER"
                    },
                    {
                        "value": "CONTRIBUTOR",
                        "name": "CONTRIBUTOR"
                    },
                    {
                        "value": "OWNER",
                        "name": "OWNER"
                    },
                    {
                        "value": "COOWNER",
                        "name": "COOWNER"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#SearchQueryType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 512
                },
                "smithy.api#pattern": "[\\u0020-\\uFFFF]+",
                "smithy.api#sensitive": {}
            }
        },
        "com.amazonaws.workdocs#ServiceUnavailableException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>One or more of the dependencies is unavailable.</p>",
                "smithy.api#error": "server",
                "smithy.api#httpError": 503
            }
        },
        "com.amazonaws.workdocs#SharePrincipal": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the recipient.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Type": {
                    "target": "com.amazonaws.workdocs#PrincipalType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of the recipient.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Role": {
                    "target": "com.amazonaws.workdocs#RoleType",
                    "traits": {
                        "smithy.api#documentation": "<p>The role of the recipient.</p>",
                        "smithy.api#required": {}
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the recipient type and ID, if available.</p>"
            }
        },
        "com.amazonaws.workdocs#SharePrincipalList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#SharePrincipal"
            }
        },
        "com.amazonaws.workdocs#ShareResult": {
            "type": "structure",
            "members": {
                "PrincipalId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the principal.</p>"
                    }
                },
                "InviteePrincipalId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the invited user.</p>"
                    }
                },
                "Role": {
                    "target": "com.amazonaws.workdocs#RoleType",
                    "traits": {
                        "smithy.api#documentation": "<p>The role.</p>"
                    }
                },
                "Status": {
                    "target": "com.amazonaws.workdocs#ShareStatusType",
                    "traits": {
                        "smithy.api#documentation": "<p>The status.</p>"
                    }
                },
                "ShareId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the resource that was shared.</p>"
                    }
                },
                "StatusMessage": {
                    "target": "com.amazonaws.workdocs#MessageType",
                    "traits": {
                        "smithy.api#documentation": "<p>The status message.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the share results of a resource.</p>"
            }
        },
        "com.amazonaws.workdocs#ShareResultsList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#ShareResult"
            }
        },
        "com.amazonaws.workdocs#ShareStatusType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "SUCCESS",
                        "name": "SUCCESS"
                    },
                    {
                        "value": "FAILURE",
                        "name": "FAILURE"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#SharedLabel": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 32
                },
                "smithy.api#pattern": "[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*"
            }
        },
        "com.amazonaws.workdocs#SharedLabels": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#SharedLabel"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 20
                }
            }
        },
        "com.amazonaws.workdocs#SignedHeaderMap": {
            "type": "map",
            "key": {
                "target": "com.amazonaws.workdocs#HeaderNameType"
            },
            "value": {
                "target": "com.amazonaws.workdocs#HeaderValueType"
            }
        },
        "com.amazonaws.workdocs#SizeType": {
            "type": "long",
            "traits": {
                "smithy.api#box": {}
            }
        },
        "com.amazonaws.workdocs#StorageLimitExceededException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The storage limit has been exceeded.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 409
            }
        },
        "com.amazonaws.workdocs#StorageLimitWillExceedException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The storage limit will be exceeded.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 413
            }
        },
        "com.amazonaws.workdocs#StorageRuleType": {
            "type": "structure",
            "members": {
                "StorageAllocatedInBytes": {
                    "target": "com.amazonaws.workdocs#PositiveSizeType",
                    "traits": {
                        "smithy.api#documentation": "<p>The amount of storage allocated, in bytes.</p>"
                    }
                },
                "StorageType": {
                    "target": "com.amazonaws.workdocs#StorageType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of storage.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the storage for a user.</p>"
            }
        },
        "com.amazonaws.workdocs#StorageType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "UNLIMITED",
                        "name": "UNLIMITED"
                    },
                    {
                        "value": "QUOTA",
                        "name": "QUOTA"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#Subscription": {
            "type": "structure",
            "members": {
                "SubscriptionId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the subscription.</p>"
                    }
                },
                "EndPoint": {
                    "target": "com.amazonaws.workdocs#SubscriptionEndPointType",
                    "traits": {
                        "smithy.api#documentation": "<p>The endpoint of the subscription.</p>"
                    }
                },
                "Protocol": {
                    "target": "com.amazonaws.workdocs#SubscriptionProtocolType",
                    "traits": {
                        "smithy.api#documentation": "<p>The protocol of the subscription.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes a subscription.</p>"
            }
        },
        "com.amazonaws.workdocs#SubscriptionEndPointType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                }
            }
        },
        "com.amazonaws.workdocs#SubscriptionList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#Subscription"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 256
                }
            }
        },
        "com.amazonaws.workdocs#SubscriptionProtocolType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "HTTPS",
                        "name": "HTTPS"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#SubscriptionType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "ALL",
                        "name": "ALL"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#TimeZoneIdType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                }
            }
        },
        "com.amazonaws.workdocs#TimestampType": {
            "type": "timestamp"
        },
        "com.amazonaws.workdocs#TooManyLabelsException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The limit has been reached on the number of labels for the specified\n            resource.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 429
            }
        },
        "com.amazonaws.workdocs#TooManySubscriptionsException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>You've reached the limit on the number of subscriptions for the WorkDocs\n            instance.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 429
            }
        },
        "com.amazonaws.workdocs#UnauthorizedOperationException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                },
                "Code": {
                    "target": "com.amazonaws.workdocs#ExceptionCodeType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The operation is not permitted.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 403
            }
        },
        "com.amazonaws.workdocs#UnauthorizedResourceAccessException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.workdocs#ErrorMessageType"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The caller does not have access to perform the action on the resource.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 404
            }
        },
        "com.amazonaws.workdocs#UpdateDocument": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#UpdateDocumentRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.workdocs#ConflictingOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityAlreadyExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#LimitExceededException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Updates the specified attributes of a document. The user must have access to both\n            the document and its parent folder, if applicable.</p>",
                "smithy.api#http": {
                    "method": "PATCH",
                    "uri": "/api/v1/documents/{DocumentId}",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#UpdateDocumentRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Name": {
                    "target": "com.amazonaws.workdocs#ResourceNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the document.</p>"
                    }
                },
                "ParentFolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the parent folder.</p>"
                    }
                },
                "ResourceState": {
                    "target": "com.amazonaws.workdocs#ResourceStateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The resource state of the document. Only ACTIVE and RECYCLED are\n            supported.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#UpdateDocumentVersion": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#UpdateDocumentVersionRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Changes the status of the document version to ACTIVE. </p>\n        <p>Amazon WorkDocs also sets its document container to ACTIVE. This is the last step\n            in a document upload, after the client uploads the document to an S3-presigned URL\n            returned by <a>InitiateDocumentVersionUpload</a>. </p>",
                "smithy.api#http": {
                    "method": "PATCH",
                    "uri": "/api/v1/documents/{DocumentId}/versions/{VersionId}",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#UpdateDocumentVersionRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "DocumentId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.workdocs#DocumentVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The version ID of the document.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "VersionStatus": {
                    "target": "com.amazonaws.workdocs#DocumentVersionStatus",
                    "traits": {
                        "smithy.api#documentation": "<p>The status of the version.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#UpdateFolder": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#UpdateFolderRequest"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.workdocs#ConflictingOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityAlreadyExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#LimitExceededException"
                },
                {
                    "target": "com.amazonaws.workdocs#ProhibitedStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Updates the specified attributes of the specified folder. The user must have access\n            to both the folder and its parent folder, if applicable.</p>",
                "smithy.api#http": {
                    "method": "PATCH",
                    "uri": "/api/v1/folders/{FolderId}",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#UpdateFolderRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "FolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the folder.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "Name": {
                    "target": "com.amazonaws.workdocs#ResourceNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the folder.</p>"
                    }
                },
                "ParentFolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the parent folder.</p>"
                    }
                },
                "ResourceState": {
                    "target": "com.amazonaws.workdocs#ResourceStateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from\n            the API.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#UpdateUser": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.workdocs#UpdateUserRequest"
            },
            "output": {
                "target": "com.amazonaws.workdocs#UpdateUserResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.workdocs#DeactivatingLastSystemUserException"
                },
                {
                    "target": "com.amazonaws.workdocs#EntityNotExistsException"
                },
                {
                    "target": "com.amazonaws.workdocs#FailedDependencyException"
                },
                {
                    "target": "com.amazonaws.workdocs#IllegalUserStateException"
                },
                {
                    "target": "com.amazonaws.workdocs#InvalidArgumentException"
                },
                {
                    "target": "com.amazonaws.workdocs#ServiceUnavailableException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedOperationException"
                },
                {
                    "target": "com.amazonaws.workdocs#UnauthorizedResourceAccessException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Updates the specified attributes of the specified user, and grants or revokes\n            administrative privileges to the Amazon WorkDocs site.</p>",
                "smithy.api#http": {
                    "method": "PATCH",
                    "uri": "/api/v1/users/{UserId}",
                    "code": 200
                }
            }
        },
        "com.amazonaws.workdocs#UpdateUserRequest": {
            "type": "structure",
            "members": {
                "AuthenticationToken": {
                    "target": "com.amazonaws.workdocs#AuthenticationHeaderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>",
                        "smithy.api#httpHeader": "Authentication"
                    }
                },
                "UserId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the user.</p>",
                        "smithy.api#httpLabel": {},
                        "smithy.api#required": {}
                    }
                },
                "GivenName": {
                    "target": "com.amazonaws.workdocs#UserAttributeValueType",
                    "traits": {
                        "smithy.api#documentation": "<p>The given name of the user.</p>"
                    }
                },
                "Surname": {
                    "target": "com.amazonaws.workdocs#UserAttributeValueType",
                    "traits": {
                        "smithy.api#documentation": "<p>The surname of the user.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.workdocs#UserType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of the user.</p>"
                    }
                },
                "StorageRule": {
                    "target": "com.amazonaws.workdocs#StorageRuleType",
                    "traits": {
                        "smithy.api#documentation": "<p>The amount of storage for the user.</p>"
                    }
                },
                "TimeZoneId": {
                    "target": "com.amazonaws.workdocs#TimeZoneIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time zone ID of the user.</p>"
                    }
                },
                "Locale": {
                    "target": "com.amazonaws.workdocs#LocaleType",
                    "traits": {
                        "smithy.api#documentation": "<p>The locale of the user.</p>"
                    }
                },
                "GrantPoweruserPrivileges": {
                    "target": "com.amazonaws.workdocs#BooleanEnumType",
                    "traits": {
                        "smithy.api#documentation": "<p>Boolean value to determine whether the user is granted Poweruser privileges.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#UpdateUserResponse": {
            "type": "structure",
            "members": {
                "User": {
                    "target": "com.amazonaws.workdocs#User",
                    "traits": {
                        "smithy.api#documentation": "<p>The user information.</p>"
                    }
                }
            }
        },
        "com.amazonaws.workdocs#UploadMetadata": {
            "type": "structure",
            "members": {
                "UploadUrl": {
                    "target": "com.amazonaws.workdocs#UrlType",
                    "traits": {
                        "smithy.api#documentation": "<p>The URL of the upload.</p>"
                    }
                },
                "SignedHeaders": {
                    "target": "com.amazonaws.workdocs#SignedHeaderMap",
                    "traits": {
                        "smithy.api#documentation": "<p>The signed headers.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the upload.</p>"
            }
        },
        "com.amazonaws.workdocs#UrlType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 1024
                },
                "smithy.api#sensitive": {}
            }
        },
        "com.amazonaws.workdocs#User": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the user.</p>"
                    }
                },
                "Username": {
                    "target": "com.amazonaws.workdocs#UsernameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The login name of the user.</p>"
                    }
                },
                "EmailAddress": {
                    "target": "com.amazonaws.workdocs#EmailAddressType",
                    "traits": {
                        "smithy.api#documentation": "<p>The email address of the user.</p>"
                    }
                },
                "GivenName": {
                    "target": "com.amazonaws.workdocs#UserAttributeValueType",
                    "traits": {
                        "smithy.api#documentation": "<p>The given name of the user.</p>"
                    }
                },
                "Surname": {
                    "target": "com.amazonaws.workdocs#UserAttributeValueType",
                    "traits": {
                        "smithy.api#documentation": "<p>The surname of the user.</p>"
                    }
                },
                "OrganizationId": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the organization.</p>"
                    }
                },
                "RootFolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the root folder.</p>"
                    }
                },
                "RecycleBinFolderId": {
                    "target": "com.amazonaws.workdocs#ResourceIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the recycle bin folder.</p>"
                    }
                },
                "Status": {
                    "target": "com.amazonaws.workdocs#UserStatusType",
                    "traits": {
                        "smithy.api#documentation": "<p>The status of the user.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.workdocs#UserType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of user.</p>"
                    }
                },
                "CreatedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time when the user was created.</p>"
                    }
                },
                "ModifiedTimestamp": {
                    "target": "com.amazonaws.workdocs#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time when the user was modified.</p>"
                    }
                },
                "TimeZoneId": {
                    "target": "com.amazonaws.workdocs#TimeZoneIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The time zone ID of the user.</p>"
                    }
                },
                "Locale": {
                    "target": "com.amazonaws.workdocs#LocaleType",
                    "traits": {
                        "smithy.api#documentation": "<p>The locale of the user.</p>"
                    }
                },
                "Storage": {
                    "target": "com.amazonaws.workdocs#UserStorageMetadata",
                    "traits": {
                        "smithy.api#documentation": "<p>The storage for the user.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes a user.</p>"
            }
        },
        "com.amazonaws.workdocs#UserActivities": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#Activity"
            }
        },
        "com.amazonaws.workdocs#UserAttributeValueType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 64
                }
            }
        },
        "com.amazonaws.workdocs#UserFilterType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "ALL",
                        "name": "ALL"
                    },
                    {
                        "value": "ACTIVE_PENDING",
                        "name": "ACTIVE_PENDING"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#UserIdsType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 2000
                },
                "smithy.api#pattern": "[&\\w+-.@, ]+"
            }
        },
        "com.amazonaws.workdocs#UserMetadata": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.workdocs#IdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the user.</p>"
                    }
                },
                "Username": {
                    "target": "com.amazonaws.workdocs#UsernameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the user.</p>"
                    }
                },
                "GivenName": {
                    "target": "com.amazonaws.workdocs#UserAttributeValueType",
                    "traits": {
                        "smithy.api#documentation": "<p>The given name of the user before a rename operation.</p>"
                    }
                },
                "Surname": {
                    "target": "com.amazonaws.workdocs#UserAttributeValueType",
                    "traits": {
                        "smithy.api#documentation": "<p>The surname of the user.</p>"
                    }
                },
                "EmailAddress": {
                    "target": "com.amazonaws.workdocs#EmailAddressType",
                    "traits": {
                        "smithy.api#documentation": "<p>The email address of the user.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the metadata of the user.</p>"
            }
        },
        "com.amazonaws.workdocs#UserMetadataList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.workdocs#UserMetadata"
            }
        },
        "com.amazonaws.workdocs#UserSortType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "USER_NAME",
                        "name": "USER_NAME"
                    },
                    {
                        "value": "FULL_NAME",
                        "name": "FULL_NAME"
                    },
                    {
                        "value": "STORAGE_LIMIT",
                        "name": "STORAGE_LIMIT"
                    },
                    {
                        "value": "USER_STATUS",
                        "name": "USER_STATUS"
                    },
                    {
                        "value": "STORAGE_USED",
                        "name": "STORAGE_USED"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#UserStatusType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "ACTIVE",
                        "name": "ACTIVE"
                    },
                    {
                        "value": "INACTIVE",
                        "name": "INACTIVE"
                    },
                    {
                        "value": "PENDING",
                        "name": "PENDING"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#UserStorageMetadata": {
            "type": "structure",
            "members": {
                "StorageUtilizedInBytes": {
                    "target": "com.amazonaws.workdocs#SizeType",
                    "traits": {
                        "smithy.api#documentation": "<p>The amount of storage used, in bytes.</p>"
                    }
                },
                "StorageRule": {
                    "target": "com.amazonaws.workdocs#StorageRuleType",
                    "traits": {
                        "smithy.api#documentation": "<p>The storage for a user.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Describes the storage for a user.</p>"
            }
        },
        "com.amazonaws.workdocs#UserType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "USER",
                        "name": "USER"
                    },
                    {
                        "value": "ADMIN",
                        "name": "ADMIN"
                    },
                    {
                        "value": "POWERUSER",
                        "name": "POWERUSER"
                    },
                    {
                        "value": "MINIMALUSER",
                        "name": "MINIMALUSER"
                    },
                    {
                        "value": "WORKSPACESUSER",
                        "name": "WORKSPACESUSER"
                    }
                ]
            }
        },
        "com.amazonaws.workdocs#UsernameType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                },
                "smithy.api#pattern": "[\\w\\-+.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]+)?"
            }
        }
    }
}
