# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::WorkDocs # @api private module ClientApi include Seahorse::Model AbortDocumentVersionUploadRequest = Shapes::StructureShape.new(name: 'AbortDocumentVersionUploadRequest') ActivateUserRequest = Shapes::StructureShape.new(name: 'ActivateUserRequest') ActivateUserResponse = Shapes::StructureShape.new(name: 'ActivateUserResponse') Activity = Shapes::StructureShape.new(name: 'Activity') ActivityNamesFilterType = Shapes::StringShape.new(name: 'ActivityNamesFilterType') ActivityType = Shapes::StringShape.new(name: 'ActivityType') AddResourcePermissionsRequest = Shapes::StructureShape.new(name: 'AddResourcePermissionsRequest') AddResourcePermissionsResponse = Shapes::StructureShape.new(name: 'AddResourcePermissionsResponse') AuthenticationHeaderType = Shapes::StringShape.new(name: 'AuthenticationHeaderType') BooleanEnumType = Shapes::StringShape.new(name: 'BooleanEnumType') BooleanType = Shapes::BooleanShape.new(name: 'BooleanType') Comment = Shapes::StructureShape.new(name: 'Comment') CommentIdType = Shapes::StringShape.new(name: 'CommentIdType') CommentList = Shapes::ListShape.new(name: 'CommentList') CommentMetadata = Shapes::StructureShape.new(name: 'CommentMetadata') CommentStatusType = Shapes::StringShape.new(name: 'CommentStatusType') CommentTextType = Shapes::StringShape.new(name: 'CommentTextType') CommentVisibilityType = Shapes::StringShape.new(name: 'CommentVisibilityType') ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException') ConflictingOperationException = Shapes::StructureShape.new(name: 'ConflictingOperationException') CreateCommentRequest = Shapes::StructureShape.new(name: 'CreateCommentRequest') CreateCommentResponse = Shapes::StructureShape.new(name: 'CreateCommentResponse') CreateCustomMetadataRequest = Shapes::StructureShape.new(name: 'CreateCustomMetadataRequest') CreateCustomMetadataResponse = Shapes::StructureShape.new(name: 'CreateCustomMetadataResponse') CreateFolderRequest = Shapes::StructureShape.new(name: 'CreateFolderRequest') CreateFolderResponse = Shapes::StructureShape.new(name: 'CreateFolderResponse') CreateLabelsRequest = Shapes::StructureShape.new(name: 'CreateLabelsRequest') CreateLabelsResponse = Shapes::StructureShape.new(name: 'CreateLabelsResponse') CreateNotificationSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateNotificationSubscriptionRequest') CreateNotificationSubscriptionResponse = Shapes::StructureShape.new(name: 'CreateNotificationSubscriptionResponse') CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest') CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse') CustomMetadataKeyList = Shapes::ListShape.new(name: 'CustomMetadataKeyList') CustomMetadataKeyType = Shapes::StringShape.new(name: 'CustomMetadataKeyType') CustomMetadataLimitExceededException = Shapes::StructureShape.new(name: 'CustomMetadataLimitExceededException') CustomMetadataMap = Shapes::MapShape.new(name: 'CustomMetadataMap') CustomMetadataValueType = Shapes::StringShape.new(name: 'CustomMetadataValueType') DeactivateUserRequest = Shapes::StructureShape.new(name: 'DeactivateUserRequest') DeactivatingLastSystemUserException = Shapes::StructureShape.new(name: 'DeactivatingLastSystemUserException') DeleteCommentRequest = Shapes::StructureShape.new(name: 'DeleteCommentRequest') DeleteCustomMetadataRequest = Shapes::StructureShape.new(name: 'DeleteCustomMetadataRequest') DeleteCustomMetadataResponse = Shapes::StructureShape.new(name: 'DeleteCustomMetadataResponse') DeleteDocumentRequest = Shapes::StructureShape.new(name: 'DeleteDocumentRequest') DeleteFolderContentsRequest = Shapes::StructureShape.new(name: 'DeleteFolderContentsRequest') DeleteFolderRequest = Shapes::StructureShape.new(name: 'DeleteFolderRequest') DeleteLabelsRequest = Shapes::StructureShape.new(name: 'DeleteLabelsRequest') DeleteLabelsResponse = Shapes::StructureShape.new(name: 'DeleteLabelsResponse') DeleteNotificationSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteNotificationSubscriptionRequest') DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest') DescribeActivitiesRequest = Shapes::StructureShape.new(name: 'DescribeActivitiesRequest') DescribeActivitiesResponse = Shapes::StructureShape.new(name: 'DescribeActivitiesResponse') DescribeCommentsRequest = Shapes::StructureShape.new(name: 'DescribeCommentsRequest') DescribeCommentsResponse = Shapes::StructureShape.new(name: 'DescribeCommentsResponse') DescribeDocumentVersionsRequest = Shapes::StructureShape.new(name: 'DescribeDocumentVersionsRequest') DescribeDocumentVersionsResponse = Shapes::StructureShape.new(name: 'DescribeDocumentVersionsResponse') DescribeFolderContentsRequest = Shapes::StructureShape.new(name: 'DescribeFolderContentsRequest') DescribeFolderContentsResponse = Shapes::StructureShape.new(name: 'DescribeFolderContentsResponse') DescribeGroupsRequest = Shapes::StructureShape.new(name: 'DescribeGroupsRequest') DescribeGroupsResponse = Shapes::StructureShape.new(name: 'DescribeGroupsResponse') DescribeNotificationSubscriptionsRequest = Shapes::StructureShape.new(name: 'DescribeNotificationSubscriptionsRequest') DescribeNotificationSubscriptionsResponse = Shapes::StructureShape.new(name: 'DescribeNotificationSubscriptionsResponse') DescribeResourcePermissionsRequest = Shapes::StructureShape.new(name: 'DescribeResourcePermissionsRequest') DescribeResourcePermissionsResponse = Shapes::StructureShape.new(name: 'DescribeResourcePermissionsResponse') DescribeRootFoldersRequest = Shapes::StructureShape.new(name: 'DescribeRootFoldersRequest') DescribeRootFoldersResponse = Shapes::StructureShape.new(name: 'DescribeRootFoldersResponse') DescribeUsersRequest = Shapes::StructureShape.new(name: 'DescribeUsersRequest') DescribeUsersResponse = Shapes::StructureShape.new(name: 'DescribeUsersResponse') DocumentContentType = Shapes::StringShape.new(name: 'DocumentContentType') DocumentLockedForCommentsException = Shapes::StructureShape.new(name: 'DocumentLockedForCommentsException') DocumentMetadata = Shapes::StructureShape.new(name: 'DocumentMetadata') DocumentMetadataList = Shapes::ListShape.new(name: 'DocumentMetadataList') DocumentSourceType = Shapes::StringShape.new(name: 'DocumentSourceType') DocumentSourceUrlMap = Shapes::MapShape.new(name: 'DocumentSourceUrlMap') DocumentStatusType = Shapes::StringShape.new(name: 'DocumentStatusType') DocumentThumbnailType = Shapes::StringShape.new(name: 'DocumentThumbnailType') DocumentThumbnailUrlMap = Shapes::MapShape.new(name: 'DocumentThumbnailUrlMap') DocumentVersionIdType = Shapes::StringShape.new(name: 'DocumentVersionIdType') DocumentVersionMetadata = Shapes::StructureShape.new(name: 'DocumentVersionMetadata') DocumentVersionMetadataList = Shapes::ListShape.new(name: 'DocumentVersionMetadataList') DocumentVersionStatus = Shapes::StringShape.new(name: 'DocumentVersionStatus') DraftUploadOutOfSyncException = Shapes::StructureShape.new(name: 'DraftUploadOutOfSyncException') EmailAddressType = Shapes::StringShape.new(name: 'EmailAddressType') EntityAlreadyExistsException = Shapes::StructureShape.new(name: 'EntityAlreadyExistsException') EntityIdList = Shapes::ListShape.new(name: 'EntityIdList') EntityNotExistsException = Shapes::StructureShape.new(name: 'EntityNotExistsException') ErrorMessageType = Shapes::StringShape.new(name: 'ErrorMessageType') FailedDependencyException = Shapes::StructureShape.new(name: 'FailedDependencyException') FieldNamesType = Shapes::StringShape.new(name: 'FieldNamesType') FolderContentType = Shapes::StringShape.new(name: 'FolderContentType') FolderMetadata = Shapes::StructureShape.new(name: 'FolderMetadata') FolderMetadataList = Shapes::ListShape.new(name: 'FolderMetadataList') GetCurrentUserRequest = Shapes::StructureShape.new(name: 'GetCurrentUserRequest') GetCurrentUserResponse = Shapes::StructureShape.new(name: 'GetCurrentUserResponse') GetDocumentPathRequest = Shapes::StructureShape.new(name: 'GetDocumentPathRequest') GetDocumentPathResponse = Shapes::StructureShape.new(name: 'GetDocumentPathResponse') GetDocumentRequest = Shapes::StructureShape.new(name: 'GetDocumentRequest') GetDocumentResponse = Shapes::StructureShape.new(name: 'GetDocumentResponse') GetDocumentVersionRequest = Shapes::StructureShape.new(name: 'GetDocumentVersionRequest') GetDocumentVersionResponse = Shapes::StructureShape.new(name: 'GetDocumentVersionResponse') GetFolderPathRequest = Shapes::StructureShape.new(name: 'GetFolderPathRequest') GetFolderPathResponse = Shapes::StructureShape.new(name: 'GetFolderPathResponse') GetFolderRequest = Shapes::StructureShape.new(name: 'GetFolderRequest') GetFolderResponse = Shapes::StructureShape.new(name: 'GetFolderResponse') GetResourcesRequest = Shapes::StructureShape.new(name: 'GetResourcesRequest') GetResourcesResponse = Shapes::StructureShape.new(name: 'GetResourcesResponse') GroupMetadata = Shapes::StructureShape.new(name: 'GroupMetadata') GroupMetadataList = Shapes::ListShape.new(name: 'GroupMetadataList') GroupNameType = Shapes::StringShape.new(name: 'GroupNameType') HashType = Shapes::StringShape.new(name: 'HashType') HeaderNameType = Shapes::StringShape.new(name: 'HeaderNameType') HeaderValueType = Shapes::StringShape.new(name: 'HeaderValueType') IdType = Shapes::StringShape.new(name: 'IdType') IllegalUserStateException = Shapes::StructureShape.new(name: 'IllegalUserStateException') InitiateDocumentVersionUploadRequest = Shapes::StructureShape.new(name: 'InitiateDocumentVersionUploadRequest') InitiateDocumentVersionUploadResponse = Shapes::StructureShape.new(name: 'InitiateDocumentVersionUploadResponse') InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException') InvalidCommentOperationException = Shapes::StructureShape.new(name: 'InvalidCommentOperationException') InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException') InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException') LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException') LimitType = Shapes::IntegerShape.new(name: 'LimitType') LocaleType = Shapes::StringShape.new(name: 'LocaleType') MarkerType = Shapes::StringShape.new(name: 'MarkerType') MessageType = Shapes::StringShape.new(name: 'MessageType') NotificationOptions = Shapes::StructureShape.new(name: 'NotificationOptions') OrderType = Shapes::StringShape.new(name: 'OrderType') OrganizationUserList = Shapes::ListShape.new(name: 'OrganizationUserList') PageMarkerType = Shapes::StringShape.new(name: 'PageMarkerType') Participants = Shapes::StructureShape.new(name: 'Participants') PasswordType = Shapes::StringShape.new(name: 'PasswordType') PermissionInfo = Shapes::StructureShape.new(name: 'PermissionInfo') PermissionInfoList = Shapes::ListShape.new(name: 'PermissionInfoList') PositiveIntegerType = Shapes::IntegerShape.new(name: 'PositiveIntegerType') PositiveSizeType = Shapes::IntegerShape.new(name: 'PositiveSizeType') Principal = Shapes::StructureShape.new(name: 'Principal') PrincipalList = Shapes::ListShape.new(name: 'PrincipalList') PrincipalType = Shapes::StringShape.new(name: 'PrincipalType') ProhibitedStateException = Shapes::StructureShape.new(name: 'ProhibitedStateException') RemoveAllResourcePermissionsRequest = Shapes::StructureShape.new(name: 'RemoveAllResourcePermissionsRequest') RemoveResourcePermissionRequest = Shapes::StructureShape.new(name: 'RemoveResourcePermissionRequest') RequestedEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestedEntityTooLargeException') ResourceAlreadyCheckedOutException = Shapes::StructureShape.new(name: 'ResourceAlreadyCheckedOutException') ResourceCollectionType = Shapes::StringShape.new(name: 'ResourceCollectionType') ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType') ResourceMetadata = Shapes::StructureShape.new(name: 'ResourceMetadata') ResourceNameType = Shapes::StringShape.new(name: 'ResourceNameType') ResourcePath = Shapes::StructureShape.new(name: 'ResourcePath') ResourcePathComponent = Shapes::StructureShape.new(name: 'ResourcePathComponent') ResourcePathComponentList = Shapes::ListShape.new(name: 'ResourcePathComponentList') ResourceSortType = Shapes::StringShape.new(name: 'ResourceSortType') ResourceStateType = Shapes::StringShape.new(name: 'ResourceStateType') ResourceType = Shapes::StringShape.new(name: 'ResourceType') RolePermissionType = Shapes::StringShape.new(name: 'RolePermissionType') RoleType = Shapes::StringShape.new(name: 'RoleType') SearchQueryType = Shapes::StringShape.new(name: 'SearchQueryType') ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException') SharePrincipal = Shapes::StructureShape.new(name: 'SharePrincipal') SharePrincipalList = Shapes::ListShape.new(name: 'SharePrincipalList') ShareResult = Shapes::StructureShape.new(name: 'ShareResult') ShareResultsList = Shapes::ListShape.new(name: 'ShareResultsList') ShareStatusType = Shapes::StringShape.new(name: 'ShareStatusType') SharedLabel = Shapes::StringShape.new(name: 'SharedLabel') SharedLabels = Shapes::ListShape.new(name: 'SharedLabels') SignedHeaderMap = Shapes::MapShape.new(name: 'SignedHeaderMap') SizeType = Shapes::IntegerShape.new(name: 'SizeType') StorageLimitExceededException = Shapes::StructureShape.new(name: 'StorageLimitExceededException') StorageLimitWillExceedException = Shapes::StructureShape.new(name: 'StorageLimitWillExceedException') StorageRuleType = Shapes::StructureShape.new(name: 'StorageRuleType') StorageType = Shapes::StringShape.new(name: 'StorageType') Subscription = Shapes::StructureShape.new(name: 'Subscription') SubscriptionEndPointType = Shapes::StringShape.new(name: 'SubscriptionEndPointType') SubscriptionList = Shapes::ListShape.new(name: 'SubscriptionList') SubscriptionProtocolType = Shapes::StringShape.new(name: 'SubscriptionProtocolType') SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType') TimeZoneIdType = Shapes::StringShape.new(name: 'TimeZoneIdType') TimestampType = Shapes::TimestampShape.new(name: 'TimestampType') TooManyLabelsException = Shapes::StructureShape.new(name: 'TooManyLabelsException') TooManySubscriptionsException = Shapes::StructureShape.new(name: 'TooManySubscriptionsException') UnauthorizedOperationException = Shapes::StructureShape.new(name: 'UnauthorizedOperationException') UnauthorizedResourceAccessException = Shapes::StructureShape.new(name: 'UnauthorizedResourceAccessException') UpdateDocumentRequest = Shapes::StructureShape.new(name: 'UpdateDocumentRequest') UpdateDocumentVersionRequest = Shapes::StructureShape.new(name: 'UpdateDocumentVersionRequest') UpdateFolderRequest = Shapes::StructureShape.new(name: 'UpdateFolderRequest') UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest') UpdateUserResponse = Shapes::StructureShape.new(name: 'UpdateUserResponse') UploadMetadata = Shapes::StructureShape.new(name: 'UploadMetadata') UrlType = Shapes::StringShape.new(name: 'UrlType') User = Shapes::StructureShape.new(name: 'User') UserActivities = Shapes::ListShape.new(name: 'UserActivities') UserAttributeValueType = Shapes::StringShape.new(name: 'UserAttributeValueType') UserFilterType = Shapes::StringShape.new(name: 'UserFilterType') UserIdsType = Shapes::StringShape.new(name: 'UserIdsType') UserMetadata = Shapes::StructureShape.new(name: 'UserMetadata') UserMetadataList = Shapes::ListShape.new(name: 'UserMetadataList') UserSortType = Shapes::StringShape.new(name: 'UserSortType') UserStatusType = Shapes::StringShape.new(name: 'UserStatusType') UserStorageMetadata = Shapes::StructureShape.new(name: 'UserStorageMetadata') UserType = Shapes::StringShape.new(name: 'UserType') UsernameType = Shapes::StringShape.new(name: 'UsernameType') AbortDocumentVersionUploadRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) AbortDocumentVersionUploadRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) AbortDocumentVersionUploadRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId")) AbortDocumentVersionUploadRequest.struct_class = Types::AbortDocumentVersionUploadRequest ActivateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId")) ActivateUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) ActivateUserRequest.struct_class = Types::ActivateUserRequest ActivateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User")) ActivateUserResponse.struct_class = Types::ActivateUserResponse Activity.add_member(:type, Shapes::ShapeRef.new(shape: ActivityType, location_name: "Type")) Activity.add_member(:time_stamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "TimeStamp")) Activity.add_member(:is_indirect_activity, Shapes::ShapeRef.new(shape: BooleanType, location_name: "IsIndirectActivity")) Activity.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location_name: "OrganizationId")) Activity.add_member(:initiator, Shapes::ShapeRef.new(shape: UserMetadata, location_name: "Initiator")) Activity.add_member(:participants, Shapes::ShapeRef.new(shape: Participants, location_name: "Participants")) Activity.add_member(:resource_metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "ResourceMetadata")) Activity.add_member(:original_parent, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "OriginalParent")) Activity.add_member(:comment_metadata, Shapes::ShapeRef.new(shape: CommentMetadata, location_name: "CommentMetadata")) Activity.struct_class = Types::Activity AddResourcePermissionsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) AddResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId")) AddResourcePermissionsRequest.add_member(:principals, Shapes::ShapeRef.new(shape: SharePrincipalList, required: true, location_name: "Principals")) AddResourcePermissionsRequest.add_member(:notification_options, Shapes::ShapeRef.new(shape: NotificationOptions, location_name: "NotificationOptions")) AddResourcePermissionsRequest.struct_class = Types::AddResourcePermissionsRequest AddResourcePermissionsResponse.add_member(:share_results, Shapes::ShapeRef.new(shape: ShareResultsList, location_name: "ShareResults")) AddResourcePermissionsResponse.struct_class = Types::AddResourcePermissionsResponse Comment.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentIdType, required: true, location_name: "CommentId")) Comment.add_member(:parent_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "ParentId")) Comment.add_member(:thread_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "ThreadId")) Comment.add_member(:text, Shapes::ShapeRef.new(shape: CommentTextType, location_name: "Text")) Comment.add_member(:contributor, Shapes::ShapeRef.new(shape: User, location_name: "Contributor")) Comment.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp")) Comment.add_member(:status, Shapes::ShapeRef.new(shape: CommentStatusType, location_name: "Status")) Comment.add_member(:visibility, Shapes::ShapeRef.new(shape: CommentVisibilityType, location_name: "Visibility")) Comment.add_member(:recipient_id, Shapes::ShapeRef.new(shape: IdType, location_name: "RecipientId")) Comment.struct_class = Types::Comment CommentList.member = Shapes::ShapeRef.new(shape: Comment) CommentMetadata.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "CommentId")) CommentMetadata.add_member(:contributor, Shapes::ShapeRef.new(shape: User, location_name: "Contributor")) CommentMetadata.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp")) CommentMetadata.add_member(:comment_status, Shapes::ShapeRef.new(shape: CommentStatusType, location_name: "CommentStatus")) CommentMetadata.add_member(:recipient_id, Shapes::ShapeRef.new(shape: IdType, location_name: "RecipientId")) CommentMetadata.struct_class = Types::CommentMetadata ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) ConcurrentModificationException.struct_class = Types::ConcurrentModificationException ConflictingOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) ConflictingOperationException.struct_class = Types::ConflictingOperationException CreateCommentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) CreateCommentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) CreateCommentRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId")) CreateCommentRequest.add_member(:parent_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "ParentId")) CreateCommentRequest.add_member(:thread_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "ThreadId")) CreateCommentRequest.add_member(:text, Shapes::ShapeRef.new(shape: CommentTextType, required: true, location_name: "Text")) CreateCommentRequest.add_member(:visibility, Shapes::ShapeRef.new(shape: CommentVisibilityType, location_name: "Visibility")) CreateCommentRequest.add_member(:notify_collaborators, Shapes::ShapeRef.new(shape: BooleanType, location_name: "NotifyCollaborators")) CreateCommentRequest.struct_class = Types::CreateCommentRequest CreateCommentResponse.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "Comment")) CreateCommentResponse.struct_class = Types::CreateCommentResponse CreateCustomMetadataRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) CreateCustomMetadataRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId")) CreateCustomMetadataRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, location: "querystring", location_name: "versionid")) CreateCustomMetadataRequest.add_member(:custom_metadata, Shapes::ShapeRef.new(shape: CustomMetadataMap, required: true, location_name: "CustomMetadata")) CreateCustomMetadataRequest.struct_class = Types::CreateCustomMetadataRequest CreateCustomMetadataResponse.struct_class = Types::CreateCustomMetadataResponse CreateFolderRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) CreateFolderRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name")) CreateFolderRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ParentFolderId")) CreateFolderRequest.struct_class = Types::CreateFolderRequest CreateFolderResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: FolderMetadata, location_name: "Metadata")) CreateFolderResponse.struct_class = Types::CreateFolderResponse CreateLabelsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId")) CreateLabelsRequest.add_member(:labels, Shapes::ShapeRef.new(shape: SharedLabels, required: true, location_name: "Labels")) CreateLabelsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) CreateLabelsRequest.struct_class = Types::CreateLabelsRequest CreateLabelsResponse.struct_class = Types::CreateLabelsResponse CreateNotificationSubscriptionRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "OrganizationId")) CreateNotificationSubscriptionRequest.add_member(:endpoint, Shapes::ShapeRef.new(shape: SubscriptionEndPointType, required: true, location_name: "Endpoint")) CreateNotificationSubscriptionRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: SubscriptionProtocolType, required: true, location_name: "Protocol")) CreateNotificationSubscriptionRequest.add_member(:subscription_type, Shapes::ShapeRef.new(shape: SubscriptionType, required: true, location_name: "SubscriptionType")) CreateNotificationSubscriptionRequest.struct_class = Types::CreateNotificationSubscriptionRequest CreateNotificationSubscriptionResponse.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, location_name: "Subscription")) CreateNotificationSubscriptionResponse.struct_class = Types::CreateNotificationSubscriptionResponse CreateUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location_name: "OrganizationId")) CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username")) CreateUserRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "EmailAddress")) CreateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, required: true, location_name: "GivenName")) CreateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, required: true, location_name: "Surname")) CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: PasswordType, required: true, location_name: "Password")) CreateUserRequest.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneIdType, location_name: "TimeZoneId")) CreateUserRequest.add_member(:storage_rule, Shapes::ShapeRef.new(shape: StorageRuleType, location_name: "StorageRule")) CreateUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) CreateUserRequest.struct_class = Types::CreateUserRequest CreateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User")) CreateUserResponse.struct_class = Types::CreateUserResponse CustomMetadataKeyList.member = Shapes::ShapeRef.new(shape: CustomMetadataKeyType) CustomMetadataLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) CustomMetadataLimitExceededException.struct_class = Types::CustomMetadataLimitExceededException CustomMetadataMap.key = Shapes::ShapeRef.new(shape: CustomMetadataKeyType) CustomMetadataMap.value = Shapes::ShapeRef.new(shape: CustomMetadataValueType) DeactivateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId")) DeactivateUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DeactivateUserRequest.struct_class = Types::DeactivateUserRequest DeleteCommentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DeleteCommentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) DeleteCommentRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId")) DeleteCommentRequest.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentIdType, required: true, location: "uri", location_name: "CommentId")) DeleteCommentRequest.struct_class = Types::DeleteCommentRequest DeleteCustomMetadataRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DeleteCustomMetadataRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId")) DeleteCustomMetadataRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, location: "querystring", location_name: "versionId")) DeleteCustomMetadataRequest.add_member(:keys, Shapes::ShapeRef.new(shape: CustomMetadataKeyList, location: "querystring", location_name: "keys")) DeleteCustomMetadataRequest.add_member(:delete_all, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "deleteAll")) DeleteCustomMetadataRequest.struct_class = Types::DeleteCustomMetadataRequest DeleteCustomMetadataResponse.struct_class = Types::DeleteCustomMetadataResponse DeleteDocumentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DeleteDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) DeleteDocumentRequest.struct_class = Types::DeleteDocumentRequest DeleteFolderContentsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DeleteFolderContentsRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId")) DeleteFolderContentsRequest.struct_class = Types::DeleteFolderContentsRequest DeleteFolderRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DeleteFolderRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId")) DeleteFolderRequest.struct_class = Types::DeleteFolderRequest DeleteLabelsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId")) DeleteLabelsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DeleteLabelsRequest.add_member(:labels, Shapes::ShapeRef.new(shape: SharedLabels, location: "querystring", location_name: "labels")) DeleteLabelsRequest.add_member(:delete_all, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "deleteAll")) DeleteLabelsRequest.struct_class = Types::DeleteLabelsRequest DeleteLabelsResponse.struct_class = Types::DeleteLabelsResponse DeleteNotificationSubscriptionRequest.add_member(:subscription_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "SubscriptionId")) DeleteNotificationSubscriptionRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "OrganizationId")) DeleteNotificationSubscriptionRequest.struct_class = Types::DeleteNotificationSubscriptionRequest DeleteUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId")) DeleteUserRequest.struct_class = Types::DeleteUserRequest DescribeActivitiesRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DescribeActivitiesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: TimestampType, location: "querystring", location_name: "startTime")) DescribeActivitiesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: TimestampType, location: "querystring", location_name: "endTime")) DescribeActivitiesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "organizationId")) DescribeActivitiesRequest.add_member(:activity_types, Shapes::ShapeRef.new(shape: ActivityNamesFilterType, location: "querystring", location_name: "activityTypes")) DescribeActivitiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "resourceId")) DescribeActivitiesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "userId")) DescribeActivitiesRequest.add_member(:include_indirect_activities, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "includeIndirectActivities")) DescribeActivitiesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) DescribeActivitiesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location: "querystring", location_name: "marker")) DescribeActivitiesRequest.struct_class = Types::DescribeActivitiesRequest DescribeActivitiesResponse.add_member(:user_activities, Shapes::ShapeRef.new(shape: UserActivities, location_name: "UserActivities")) DescribeActivitiesResponse.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker")) DescribeActivitiesResponse.struct_class = Types::DescribeActivitiesResponse DescribeCommentsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DescribeCommentsRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) DescribeCommentsRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId")) DescribeCommentsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) DescribeCommentsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location: "querystring", location_name: "marker")) DescribeCommentsRequest.struct_class = Types::DescribeCommentsRequest DescribeCommentsResponse.add_member(:comments, Shapes::ShapeRef.new(shape: CommentList, location_name: "Comments")) DescribeCommentsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker")) DescribeCommentsResponse.struct_class = Types::DescribeCommentsResponse DescribeDocumentVersionsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DescribeDocumentVersionsRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) DescribeDocumentVersionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker")) DescribeDocumentVersionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) DescribeDocumentVersionsRequest.add_member(:include, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "include")) DescribeDocumentVersionsRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields")) DescribeDocumentVersionsRequest.struct_class = Types::DescribeDocumentVersionsRequest DescribeDocumentVersionsResponse.add_member(:document_versions, Shapes::ShapeRef.new(shape: DocumentVersionMetadataList, location_name: "DocumentVersions")) DescribeDocumentVersionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker")) DescribeDocumentVersionsResponse.struct_class = Types::DescribeDocumentVersionsResponse DescribeFolderContentsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DescribeFolderContentsRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId")) DescribeFolderContentsRequest.add_member(:sort, Shapes::ShapeRef.new(shape: ResourceSortType, location: "querystring", location_name: "sort")) DescribeFolderContentsRequest.add_member(:order, Shapes::ShapeRef.new(shape: OrderType, location: "querystring", location_name: "order")) DescribeFolderContentsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) DescribeFolderContentsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker")) DescribeFolderContentsRequest.add_member(:type, Shapes::ShapeRef.new(shape: FolderContentType, location: "querystring", location_name: "type")) DescribeFolderContentsRequest.add_member(:include, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "include")) DescribeFolderContentsRequest.struct_class = Types::DescribeFolderContentsRequest DescribeFolderContentsResponse.add_member(:folders, Shapes::ShapeRef.new(shape: FolderMetadataList, location_name: "Folders")) DescribeFolderContentsResponse.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentMetadataList, location_name: "Documents")) DescribeFolderContentsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker")) DescribeFolderContentsResponse.struct_class = Types::DescribeFolderContentsResponse DescribeGroupsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DescribeGroupsRequest.add_member(:search_query, Shapes::ShapeRef.new(shape: SearchQueryType, required: true, location: "querystring", location_name: "searchQuery")) DescribeGroupsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "organizationId")) DescribeGroupsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location: "querystring", location_name: "marker")) DescribeGroupsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerType, location: "querystring", location_name: "limit")) DescribeGroupsRequest.struct_class = Types::DescribeGroupsRequest DescribeGroupsResponse.add_member(:groups, Shapes::ShapeRef.new(shape: GroupMetadataList, location_name: "Groups")) DescribeGroupsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker")) DescribeGroupsResponse.struct_class = Types::DescribeGroupsResponse DescribeNotificationSubscriptionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "OrganizationId")) DescribeNotificationSubscriptionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker")) DescribeNotificationSubscriptionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) DescribeNotificationSubscriptionsRequest.struct_class = Types::DescribeNotificationSubscriptionsRequest DescribeNotificationSubscriptionsResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions")) DescribeNotificationSubscriptionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker")) DescribeNotificationSubscriptionsResponse.struct_class = Types::DescribeNotificationSubscriptionsResponse DescribeResourcePermissionsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DescribeResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId")) DescribeResourcePermissionsRequest.add_member(:principal_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "principalId")) DescribeResourcePermissionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) DescribeResourcePermissionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker")) DescribeResourcePermissionsRequest.struct_class = Types::DescribeResourcePermissionsRequest DescribeResourcePermissionsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalList, location_name: "Principals")) DescribeResourcePermissionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker")) DescribeResourcePermissionsResponse.struct_class = Types::DescribeResourcePermissionsResponse DescribeRootFoldersRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, required: true, location: "header", location_name: "Authentication")) DescribeRootFoldersRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) DescribeRootFoldersRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker")) DescribeRootFoldersRequest.struct_class = Types::DescribeRootFoldersRequest DescribeRootFoldersResponse.add_member(:folders, Shapes::ShapeRef.new(shape: FolderMetadataList, location_name: "Folders")) DescribeRootFoldersResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker")) DescribeRootFoldersResponse.struct_class = Types::DescribeRootFoldersResponse DescribeUsersRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) DescribeUsersRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "organizationId")) DescribeUsersRequest.add_member(:user_ids, Shapes::ShapeRef.new(shape: UserIdsType, location: "querystring", location_name: "userIds")) DescribeUsersRequest.add_member(:query, Shapes::ShapeRef.new(shape: SearchQueryType, location: "querystring", location_name: "query")) DescribeUsersRequest.add_member(:include, Shapes::ShapeRef.new(shape: UserFilterType, location: "querystring", location_name: "include")) DescribeUsersRequest.add_member(:order, Shapes::ShapeRef.new(shape: OrderType, location: "querystring", location_name: "order")) DescribeUsersRequest.add_member(:sort, Shapes::ShapeRef.new(shape: UserSortType, location: "querystring", location_name: "sort")) DescribeUsersRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker")) DescribeUsersRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) DescribeUsersRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields")) DescribeUsersRequest.struct_class = Types::DescribeUsersRequest DescribeUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: OrganizationUserList, location_name: "Users")) DescribeUsersResponse.add_member(:total_number_of_users, Shapes::ShapeRef.new(shape: SizeType, deprecated: true, location_name: "TotalNumberOfUsers")) DescribeUsersResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker")) DescribeUsersResponse.struct_class = Types::DescribeUsersResponse DocumentLockedForCommentsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) DocumentLockedForCommentsException.struct_class = Types::DocumentLockedForCommentsException DocumentMetadata.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id")) DocumentMetadata.add_member(:creator_id, Shapes::ShapeRef.new(shape: IdType, location_name: "CreatorId")) DocumentMetadata.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId")) DocumentMetadata.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp")) DocumentMetadata.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp")) DocumentMetadata.add_member(:latest_version_metadata, Shapes::ShapeRef.new(shape: DocumentVersionMetadata, location_name: "LatestVersionMetadata")) DocumentMetadata.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState")) DocumentMetadata.add_member(:labels, Shapes::ShapeRef.new(shape: SharedLabels, location_name: "Labels")) DocumentMetadata.struct_class = Types::DocumentMetadata DocumentMetadataList.member = Shapes::ShapeRef.new(shape: DocumentMetadata) DocumentSourceUrlMap.key = Shapes::ShapeRef.new(shape: DocumentSourceType) DocumentSourceUrlMap.value = Shapes::ShapeRef.new(shape: UrlType) DocumentThumbnailUrlMap.key = Shapes::ShapeRef.new(shape: DocumentThumbnailType) DocumentThumbnailUrlMap.value = Shapes::ShapeRef.new(shape: UrlType) DocumentVersionMetadata.add_member(:id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, location_name: "Id")) DocumentVersionMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name")) DocumentVersionMetadata.add_member(:content_type, Shapes::ShapeRef.new(shape: DocumentContentType, location_name: "ContentType")) DocumentVersionMetadata.add_member(:size, Shapes::ShapeRef.new(shape: SizeType, location_name: "Size")) DocumentVersionMetadata.add_member(:signature, Shapes::ShapeRef.new(shape: HashType, location_name: "Signature")) DocumentVersionMetadata.add_member(:status, Shapes::ShapeRef.new(shape: DocumentStatusType, location_name: "Status")) DocumentVersionMetadata.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp")) DocumentVersionMetadata.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp")) DocumentVersionMetadata.add_member(:content_created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ContentCreatedTimestamp")) DocumentVersionMetadata.add_member(:content_modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ContentModifiedTimestamp")) DocumentVersionMetadata.add_member(:creator_id, Shapes::ShapeRef.new(shape: IdType, location_name: "CreatorId")) DocumentVersionMetadata.add_member(:thumbnail, Shapes::ShapeRef.new(shape: DocumentThumbnailUrlMap, location_name: "Thumbnail")) DocumentVersionMetadata.add_member(:source, Shapes::ShapeRef.new(shape: DocumentSourceUrlMap, location_name: "Source")) DocumentVersionMetadata.struct_class = Types::DocumentVersionMetadata DocumentVersionMetadataList.member = Shapes::ShapeRef.new(shape: DocumentVersionMetadata) DraftUploadOutOfSyncException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) DraftUploadOutOfSyncException.struct_class = Types::DraftUploadOutOfSyncException EntityAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) EntityAlreadyExistsException.struct_class = Types::EntityAlreadyExistsException EntityIdList.member = Shapes::ShapeRef.new(shape: IdType) EntityNotExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) EntityNotExistsException.add_member(:entity_ids, Shapes::ShapeRef.new(shape: EntityIdList, location_name: "EntityIds")) EntityNotExistsException.struct_class = Types::EntityNotExistsException FailedDependencyException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) FailedDependencyException.struct_class = Types::FailedDependencyException FolderMetadata.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id")) FolderMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name")) FolderMetadata.add_member(:creator_id, Shapes::ShapeRef.new(shape: IdType, location_name: "CreatorId")) FolderMetadata.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId")) FolderMetadata.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp")) FolderMetadata.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp")) FolderMetadata.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState")) FolderMetadata.add_member(:signature, Shapes::ShapeRef.new(shape: HashType, location_name: "Signature")) FolderMetadata.add_member(:labels, Shapes::ShapeRef.new(shape: SharedLabels, location_name: "Labels")) FolderMetadata.add_member(:size, Shapes::ShapeRef.new(shape: SizeType, location_name: "Size")) FolderMetadata.add_member(:latest_version_size, Shapes::ShapeRef.new(shape: SizeType, location_name: "LatestVersionSize")) FolderMetadata.struct_class = Types::FolderMetadata FolderMetadataList.member = Shapes::ShapeRef.new(shape: FolderMetadata) GetCurrentUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, required: true, location: "header", location_name: "Authentication")) GetCurrentUserRequest.struct_class = Types::GetCurrentUserRequest GetCurrentUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User")) GetCurrentUserResponse.struct_class = Types::GetCurrentUserResponse GetDocumentPathRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) GetDocumentPathRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "DocumentId")) GetDocumentPathRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) GetDocumentPathRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields")) GetDocumentPathRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker")) GetDocumentPathRequest.struct_class = Types::GetDocumentPathRequest GetDocumentPathResponse.add_member(:path, Shapes::ShapeRef.new(shape: ResourcePath, location_name: "Path")) GetDocumentPathResponse.struct_class = Types::GetDocumentPathResponse GetDocumentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) GetDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) GetDocumentRequest.add_member(:include_custom_metadata, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "includeCustomMetadata")) GetDocumentRequest.struct_class = Types::GetDocumentRequest GetDocumentResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: DocumentMetadata, location_name: "Metadata")) GetDocumentResponse.add_member(:custom_metadata, Shapes::ShapeRef.new(shape: CustomMetadataMap, location_name: "CustomMetadata")) GetDocumentResponse.struct_class = Types::GetDocumentResponse GetDocumentVersionRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) GetDocumentVersionRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) GetDocumentVersionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId")) GetDocumentVersionRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields")) GetDocumentVersionRequest.add_member(:include_custom_metadata, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "includeCustomMetadata")) GetDocumentVersionRequest.struct_class = Types::GetDocumentVersionRequest GetDocumentVersionResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: DocumentVersionMetadata, location_name: "Metadata")) GetDocumentVersionResponse.add_member(:custom_metadata, Shapes::ShapeRef.new(shape: CustomMetadataMap, location_name: "CustomMetadata")) GetDocumentVersionResponse.struct_class = Types::GetDocumentVersionResponse GetFolderPathRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) GetFolderPathRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "FolderId")) GetFolderPathRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) GetFolderPathRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields")) GetFolderPathRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker")) GetFolderPathRequest.struct_class = Types::GetFolderPathRequest GetFolderPathResponse.add_member(:path, Shapes::ShapeRef.new(shape: ResourcePath, location_name: "Path")) GetFolderPathResponse.struct_class = Types::GetFolderPathResponse GetFolderRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) GetFolderRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId")) GetFolderRequest.add_member(:include_custom_metadata, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "includeCustomMetadata")) GetFolderRequest.struct_class = Types::GetFolderRequest GetFolderResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: FolderMetadata, location_name: "Metadata")) GetFolderResponse.add_member(:custom_metadata, Shapes::ShapeRef.new(shape: CustomMetadataMap, location_name: "CustomMetadata")) GetFolderResponse.struct_class = Types::GetFolderResponse GetResourcesRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) GetResourcesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "userId")) GetResourcesRequest.add_member(:collection_type, Shapes::ShapeRef.new(shape: ResourceCollectionType, location: "querystring", location_name: "collectionType")) GetResourcesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit")) GetResourcesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker")) GetResourcesRequest.struct_class = Types::GetResourcesRequest GetResourcesResponse.add_member(:folders, Shapes::ShapeRef.new(shape: FolderMetadataList, location_name: "Folders")) GetResourcesResponse.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentMetadataList, location_name: "Documents")) GetResourcesResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker")) GetResourcesResponse.struct_class = Types::GetResourcesResponse GroupMetadata.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id")) GroupMetadata.add_member(:name, Shapes::ShapeRef.new(shape: GroupNameType, location_name: "Name")) GroupMetadata.struct_class = Types::GroupMetadata GroupMetadataList.member = Shapes::ShapeRef.new(shape: GroupMetadata) IllegalUserStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) IllegalUserStateException.struct_class = Types::IllegalUserStateException InitiateDocumentVersionUploadRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) InitiateDocumentVersionUploadRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id")) InitiateDocumentVersionUploadRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name")) InitiateDocumentVersionUploadRequest.add_member(:content_created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ContentCreatedTimestamp")) InitiateDocumentVersionUploadRequest.add_member(:content_modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ContentModifiedTimestamp")) InitiateDocumentVersionUploadRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: DocumentContentType, location_name: "ContentType")) InitiateDocumentVersionUploadRequest.add_member(:document_size_in_bytes, Shapes::ShapeRef.new(shape: SizeType, location_name: "DocumentSizeInBytes")) InitiateDocumentVersionUploadRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ParentFolderId")) InitiateDocumentVersionUploadRequest.struct_class = Types::InitiateDocumentVersionUploadRequest InitiateDocumentVersionUploadResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: DocumentMetadata, location_name: "Metadata")) InitiateDocumentVersionUploadResponse.add_member(:upload_metadata, Shapes::ShapeRef.new(shape: UploadMetadata, location_name: "UploadMetadata")) InitiateDocumentVersionUploadResponse.struct_class = Types::InitiateDocumentVersionUploadResponse InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) InvalidArgumentException.struct_class = Types::InvalidArgumentException InvalidCommentOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) InvalidCommentOperationException.struct_class = Types::InvalidCommentOperationException InvalidOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) InvalidOperationException.struct_class = Types::InvalidOperationException InvalidPasswordException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) InvalidPasswordException.struct_class = Types::InvalidPasswordException LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) LimitExceededException.struct_class = Types::LimitExceededException NotificationOptions.add_member(:send_email, Shapes::ShapeRef.new(shape: BooleanType, location_name: "SendEmail")) NotificationOptions.add_member(:email_message, Shapes::ShapeRef.new(shape: MessageType, location_name: "EmailMessage")) NotificationOptions.struct_class = Types::NotificationOptions OrganizationUserList.member = Shapes::ShapeRef.new(shape: User) Participants.add_member(:users, Shapes::ShapeRef.new(shape: UserMetadataList, location_name: "Users")) Participants.add_member(:groups, Shapes::ShapeRef.new(shape: GroupMetadataList, location_name: "Groups")) Participants.struct_class = Types::Participants PermissionInfo.add_member(:role, Shapes::ShapeRef.new(shape: RoleType, location_name: "Role")) PermissionInfo.add_member(:type, Shapes::ShapeRef.new(shape: RolePermissionType, location_name: "Type")) PermissionInfo.struct_class = Types::PermissionInfo PermissionInfoList.member = Shapes::ShapeRef.new(shape: PermissionInfo) Principal.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id")) Principal.add_member(:type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "Type")) Principal.add_member(:roles, Shapes::ShapeRef.new(shape: PermissionInfoList, location_name: "Roles")) Principal.struct_class = Types::Principal PrincipalList.member = Shapes::ShapeRef.new(shape: Principal) ProhibitedStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) ProhibitedStateException.struct_class = Types::ProhibitedStateException RemoveAllResourcePermissionsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) RemoveAllResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId")) RemoveAllResourcePermissionsRequest.struct_class = Types::RemoveAllResourcePermissionsRequest RemoveResourcePermissionRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) RemoveResourcePermissionRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId")) RemoveResourcePermissionRequest.add_member(:principal_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "PrincipalId")) RemoveResourcePermissionRequest.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location: "querystring", location_name: "type")) RemoveResourcePermissionRequest.struct_class = Types::RemoveResourcePermissionRequest RequestedEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) RequestedEntityTooLargeException.struct_class = Types::RequestedEntityTooLargeException ResourceAlreadyCheckedOutException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) ResourceAlreadyCheckedOutException.struct_class = Types::ResourceAlreadyCheckedOutException ResourceMetadata.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type")) ResourceMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name")) ResourceMetadata.add_member(:original_name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "OriginalName")) ResourceMetadata.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id")) ResourceMetadata.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, location_name: "VersionId")) ResourceMetadata.add_member(:owner, Shapes::ShapeRef.new(shape: UserMetadata, location_name: "Owner")) ResourceMetadata.add_member(:parent_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentId")) ResourceMetadata.struct_class = Types::ResourceMetadata ResourcePath.add_member(:components, Shapes::ShapeRef.new(shape: ResourcePathComponentList, location_name: "Components")) ResourcePath.struct_class = Types::ResourcePath ResourcePathComponent.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id")) ResourcePathComponent.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name")) ResourcePathComponent.struct_class = Types::ResourcePathComponent ResourcePathComponentList.member = Shapes::ShapeRef.new(shape: ResourcePathComponent) ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) ServiceUnavailableException.struct_class = Types::ServiceUnavailableException SharePrincipal.add_member(:id, Shapes::ShapeRef.new(shape: IdType, required: true, location_name: "Id")) SharePrincipal.add_member(:type, Shapes::ShapeRef.new(shape: PrincipalType, required: true, location_name: "Type")) SharePrincipal.add_member(:role, Shapes::ShapeRef.new(shape: RoleType, required: true, location_name: "Role")) SharePrincipal.struct_class = Types::SharePrincipal SharePrincipalList.member = Shapes::ShapeRef.new(shape: SharePrincipal) ShareResult.add_member(:principal_id, Shapes::ShapeRef.new(shape: IdType, location_name: "PrincipalId")) ShareResult.add_member(:invitee_principal_id, Shapes::ShapeRef.new(shape: IdType, location_name: "InviteePrincipalId")) ShareResult.add_member(:role, Shapes::ShapeRef.new(shape: RoleType, location_name: "Role")) ShareResult.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatusType, location_name: "Status")) ShareResult.add_member(:share_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ShareId")) ShareResult.add_member(:status_message, Shapes::ShapeRef.new(shape: MessageType, location_name: "StatusMessage")) ShareResult.struct_class = Types::ShareResult ShareResultsList.member = Shapes::ShapeRef.new(shape: ShareResult) SharedLabels.member = Shapes::ShapeRef.new(shape: SharedLabel) SignedHeaderMap.key = Shapes::ShapeRef.new(shape: HeaderNameType) SignedHeaderMap.value = Shapes::ShapeRef.new(shape: HeaderValueType) StorageLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) StorageLimitExceededException.struct_class = Types::StorageLimitExceededException StorageLimitWillExceedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) StorageLimitWillExceedException.struct_class = Types::StorageLimitWillExceedException StorageRuleType.add_member(:storage_allocated_in_bytes, Shapes::ShapeRef.new(shape: PositiveSizeType, location_name: "StorageAllocatedInBytes")) StorageRuleType.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, location_name: "StorageType")) StorageRuleType.struct_class = Types::StorageRuleType Subscription.add_member(:subscription_id, Shapes::ShapeRef.new(shape: IdType, location_name: "SubscriptionId")) Subscription.add_member(:end_point, Shapes::ShapeRef.new(shape: SubscriptionEndPointType, location_name: "EndPoint")) Subscription.add_member(:protocol, Shapes::ShapeRef.new(shape: SubscriptionProtocolType, location_name: "Protocol")) Subscription.struct_class = Types::Subscription SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription) TooManyLabelsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) TooManyLabelsException.struct_class = Types::TooManyLabelsException TooManySubscriptionsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) TooManySubscriptionsException.struct_class = Types::TooManySubscriptionsException UnauthorizedResourceAccessException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message")) UnauthorizedResourceAccessException.struct_class = Types::UnauthorizedResourceAccessException UpdateDocumentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) UpdateDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) UpdateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name")) UpdateDocumentRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId")) UpdateDocumentRequest.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState")) UpdateDocumentRequest.struct_class = Types::UpdateDocumentRequest UpdateDocumentVersionRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) UpdateDocumentVersionRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId")) UpdateDocumentVersionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId")) UpdateDocumentVersionRequest.add_member(:version_status, Shapes::ShapeRef.new(shape: DocumentVersionStatus, location_name: "VersionStatus")) UpdateDocumentVersionRequest.struct_class = Types::UpdateDocumentVersionRequest UpdateFolderRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) UpdateFolderRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId")) UpdateFolderRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name")) UpdateFolderRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId")) UpdateFolderRequest.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState")) UpdateFolderRequest.struct_class = Types::UpdateFolderRequest UpdateUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication")) UpdateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId")) UpdateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "GivenName")) UpdateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "Surname")) UpdateUserRequest.add_member(:type, Shapes::ShapeRef.new(shape: UserType, location_name: "Type")) UpdateUserRequest.add_member(:storage_rule, Shapes::ShapeRef.new(shape: StorageRuleType, location_name: "StorageRule")) UpdateUserRequest.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneIdType, location_name: "TimeZoneId")) UpdateUserRequest.add_member(:locale, Shapes::ShapeRef.new(shape: LocaleType, location_name: "Locale")) UpdateUserRequest.add_member(:grant_poweruser_privileges, Shapes::ShapeRef.new(shape: BooleanEnumType, location_name: "GrantPoweruserPrivileges")) UpdateUserRequest.struct_class = Types::UpdateUserRequest UpdateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User")) UpdateUserResponse.struct_class = Types::UpdateUserResponse UploadMetadata.add_member(:upload_url, Shapes::ShapeRef.new(shape: UrlType, location_name: "UploadUrl")) UploadMetadata.add_member(:signed_headers, Shapes::ShapeRef.new(shape: SignedHeaderMap, location_name: "SignedHeaders")) UploadMetadata.struct_class = Types::UploadMetadata User.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id")) User.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, location_name: "Username")) User.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "EmailAddress")) User.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "GivenName")) User.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "Surname")) User.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location_name: "OrganizationId")) User.add_member(:root_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "RootFolderId")) User.add_member(:recycle_bin_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "RecycleBinFolderId")) User.add_member(:status, Shapes::ShapeRef.new(shape: UserStatusType, location_name: "Status")) User.add_member(:type, Shapes::ShapeRef.new(shape: UserType, location_name: "Type")) User.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp")) User.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp")) User.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneIdType, location_name: "TimeZoneId")) User.add_member(:locale, Shapes::ShapeRef.new(shape: LocaleType, location_name: "Locale")) User.add_member(:storage, Shapes::ShapeRef.new(shape: UserStorageMetadata, location_name: "Storage")) User.struct_class = Types::User UserActivities.member = Shapes::ShapeRef.new(shape: Activity) UserMetadata.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id")) UserMetadata.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, location_name: "Username")) UserMetadata.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "GivenName")) UserMetadata.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "Surname")) UserMetadata.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "EmailAddress")) UserMetadata.struct_class = Types::UserMetadata UserMetadataList.member = Shapes::ShapeRef.new(shape: UserMetadata) UserStorageMetadata.add_member(:storage_utilized_in_bytes, Shapes::ShapeRef.new(shape: SizeType, location_name: "StorageUtilizedInBytes")) UserStorageMetadata.add_member(:storage_rule, Shapes::ShapeRef.new(shape: StorageRuleType, location_name: "StorageRule")) UserStorageMetadata.struct_class = Types::UserStorageMetadata # @api private API = Seahorse::Model::Api.new.tap do |api| api.version = "2016-05-01" api.metadata = { "apiVersion" => "2016-05-01", "endpointPrefix" => "workdocs", "jsonVersion" => "1.1", "protocol" => "rest-json", "serviceFullName" => "Amazon WorkDocs", "serviceId" => "WorkDocs", "signatureVersion" => "v4", "uid" => "workdocs-2016-05-01", } api.add_operation(:abort_document_version_upload, Seahorse::Model::Operation.new.tap do |o| o.name = "AbortDocumentVersionUpload" o.http_method = "DELETE" o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}" o.input = Shapes::ShapeRef.new(shape: AbortDocumentVersionUploadRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:activate_user, Seahorse::Model::Operation.new.tap do |o| o.name = "ActivateUser" o.http_method = "POST" o.http_request_uri = "/api/v1/users/{UserId}/activation" o.input = Shapes::ShapeRef.new(shape: ActivateUserRequest) o.output = Shapes::ShapeRef.new(shape: ActivateUserResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:add_resource_permissions, Seahorse::Model::Operation.new.tap do |o| o.name = "AddResourcePermissions" o.http_method = "POST" o.http_request_uri = "/api/v1/resources/{ResourceId}/permissions" o.input = Shapes::ShapeRef.new(shape: AddResourcePermissionsRequest) o.output = Shapes::ShapeRef.new(shape: AddResourcePermissionsResponse) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:create_comment, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateComment" o.http_method = "POST" o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment" o.input = Shapes::ShapeRef.new(shape: CreateCommentRequest) o.output = Shapes::ShapeRef.new(shape: CreateCommentResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: DocumentLockedForCommentsException) o.errors << Shapes::ShapeRef.new(shape: InvalidCommentOperationException) end) api.add_operation(:create_custom_metadata, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateCustomMetadata" o.http_method = "PUT" o.http_request_uri = "/api/v1/resources/{ResourceId}/customMetadata" o.input = Shapes::ShapeRef.new(shape: CreateCustomMetadataRequest) o.output = Shapes::ShapeRef.new(shape: CreateCustomMetadataResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: CustomMetadataLimitExceededException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:create_folder, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateFolder" o.http_method = "POST" o.http_request_uri = "/api/v1/folders" o.input = Shapes::ShapeRef.new(shape: CreateFolderRequest) o.output = Shapes::ShapeRef.new(shape: CreateFolderResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:create_labels, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateLabels" o.http_method = "PUT" o.http_request_uri = "/api/v1/resources/{ResourceId}/labels" o.input = Shapes::ShapeRef.new(shape: CreateLabelsRequest) o.output = Shapes::ShapeRef.new(shape: CreateLabelsResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: TooManyLabelsException) end) api.add_operation(:create_notification_subscription, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateNotificationSubscription" o.http_method = "POST" o.http_request_uri = "/api/v1/organizations/{OrganizationId}/subscriptions" o.input = Shapes::ShapeRef.new(shape: CreateNotificationSubscriptionRequest) o.output = Shapes::ShapeRef.new(shape: CreateNotificationSubscriptionResponse) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: TooManySubscriptionsException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateUser" o.http_method = "POST" o.http_request_uri = "/api/v1/users" o.input = Shapes::ShapeRef.new(shape: CreateUserRequest) o.output = Shapes::ShapeRef.new(shape: CreateUserResponse) o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:deactivate_user, Seahorse::Model::Operation.new.tap do |o| o.name = "DeactivateUser" o.http_method = "DELETE" o.http_request_uri = "/api/v1/users/{UserId}/activation" o.input = Shapes::ShapeRef.new(shape: DeactivateUserRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:delete_comment, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteComment" o.http_method = "DELETE" o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}" o.input = Shapes::ShapeRef.new(shape: DeleteCommentRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: DocumentLockedForCommentsException) end) api.add_operation(:delete_custom_metadata, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteCustomMetadata" o.http_method = "DELETE" o.http_request_uri = "/api/v1/resources/{ResourceId}/customMetadata" o.input = Shapes::ShapeRef.new(shape: DeleteCustomMetadataRequest) o.output = Shapes::ShapeRef.new(shape: DeleteCustomMetadataResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:delete_document, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteDocument" o.http_method = "DELETE" o.http_request_uri = "/api/v1/documents/{DocumentId}" o.input = Shapes::ShapeRef.new(shape: DeleteDocumentRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:delete_folder, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteFolder" o.http_method = "DELETE" o.http_request_uri = "/api/v1/folders/{FolderId}" o.input = Shapes::ShapeRef.new(shape: DeleteFolderRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:delete_folder_contents, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteFolderContents" o.http_method = "DELETE" o.http_request_uri = "/api/v1/folders/{FolderId}/contents" o.input = Shapes::ShapeRef.new(shape: DeleteFolderContentsRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:delete_labels, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteLabels" o.http_method = "DELETE" o.http_request_uri = "/api/v1/resources/{ResourceId}/labels" o.input = Shapes::ShapeRef.new(shape: DeleteLabelsRequest) o.output = Shapes::ShapeRef.new(shape: DeleteLabelsResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:delete_notification_subscription, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteNotificationSubscription" o.http_method = "DELETE" o.http_request_uri = "/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}" o.input = Shapes::ShapeRef.new(shape: DeleteNotificationSubscriptionRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) end) api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteUser" o.http_method = "DELETE" o.http_request_uri = "/api/v1/users/{UserId}" o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:describe_activities, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeActivities" o.http_method = "GET" o.http_request_uri = "/api/v1/activities" o.input = Shapes::ShapeRef.new(shape: DescribeActivitiesRequest) o.output = Shapes::ShapeRef.new(shape: DescribeActivitiesResponse) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:describe_comments, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeComments" o.http_method = "GET" o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}/comments" o.input = Shapes::ShapeRef.new(shape: DescribeCommentsRequest) o.output = Shapes::ShapeRef.new(shape: DescribeCommentsResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:describe_document_versions, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeDocumentVersions" o.http_method = "GET" o.http_request_uri = "/api/v1/documents/{DocumentId}/versions" o.input = Shapes::ShapeRef.new(shape: DescribeDocumentVersionsRequest) o.output = Shapes::ShapeRef.new(shape: DescribeDocumentVersionsResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o[:pager] = Aws::Pager.new( limit_key: "limit", tokens: { "marker" => "marker" } ) end) api.add_operation(:describe_folder_contents, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeFolderContents" o.http_method = "GET" o.http_request_uri = "/api/v1/folders/{FolderId}/contents" o.input = Shapes::ShapeRef.new(shape: DescribeFolderContentsRequest) o.output = Shapes::ShapeRef.new(shape: DescribeFolderContentsResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o[:pager] = Aws::Pager.new( limit_key: "limit", tokens: { "marker" => "marker" } ) end) api.add_operation(:describe_groups, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeGroups" o.http_method = "GET" o.http_request_uri = "/api/v1/groups" o.input = Shapes::ShapeRef.new(shape: DescribeGroupsRequest) o.output = Shapes::ShapeRef.new(shape: DescribeGroupsResponse) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:describe_notification_subscriptions, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeNotificationSubscriptions" o.http_method = "GET" o.http_request_uri = "/api/v1/organizations/{OrganizationId}/subscriptions" o.input = Shapes::ShapeRef.new(shape: DescribeNotificationSubscriptionsRequest) o.output = Shapes::ShapeRef.new(shape: DescribeNotificationSubscriptionsResponse) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:describe_resource_permissions, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeResourcePermissions" o.http_method = "GET" o.http_request_uri = "/api/v1/resources/{ResourceId}/permissions" o.input = Shapes::ShapeRef.new(shape: DescribeResourcePermissionsRequest) o.output = Shapes::ShapeRef.new(shape: DescribeResourcePermissionsResponse) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:describe_root_folders, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeRootFolders" o.http_method = "GET" o.http_request_uri = "/api/v1/me/root" o.input = Shapes::ShapeRef.new(shape: DescribeRootFoldersRequest) o.output = Shapes::ShapeRef.new(shape: DescribeRootFoldersResponse) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:describe_users, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeUsers" o.http_method = "GET" o.http_request_uri = "/api/v1/users" o.input = Shapes::ShapeRef.new(shape: DescribeUsersRequest) o.output = Shapes::ShapeRef.new(shape: DescribeUsersResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: RequestedEntityTooLargeException) o[:pager] = Aws::Pager.new( limit_key: "limit", tokens: { "marker" => "marker" } ) end) api.add_operation(:get_current_user, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCurrentUser" o.http_method = "GET" o.http_request_uri = "/api/v1/me" o.input = Shapes::ShapeRef.new(shape: GetCurrentUserRequest) o.output = Shapes::ShapeRef.new(shape: GetCurrentUserResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:get_document, Seahorse::Model::Operation.new.tap do |o| o.name = "GetDocument" o.http_method = "GET" o.http_request_uri = "/api/v1/documents/{DocumentId}" o.input = Shapes::ShapeRef.new(shape: GetDocumentRequest) o.output = Shapes::ShapeRef.new(shape: GetDocumentResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException) end) api.add_operation(:get_document_path, Seahorse::Model::Operation.new.tap do |o| o.name = "GetDocumentPath" o.http_method = "GET" o.http_request_uri = "/api/v1/documents/{DocumentId}/path" o.input = Shapes::ShapeRef.new(shape: GetDocumentPathRequest) o.output = Shapes::ShapeRef.new(shape: GetDocumentPathResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:get_document_version, Seahorse::Model::Operation.new.tap do |o| o.name = "GetDocumentVersion" o.http_method = "GET" o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}" o.input = Shapes::ShapeRef.new(shape: GetDocumentVersionRequest) o.output = Shapes::ShapeRef.new(shape: GetDocumentVersionResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException) end) api.add_operation(:get_folder, Seahorse::Model::Operation.new.tap do |o| o.name = "GetFolder" o.http_method = "GET" o.http_request_uri = "/api/v1/folders/{FolderId}" o.input = Shapes::ShapeRef.new(shape: GetFolderRequest) o.output = Shapes::ShapeRef.new(shape: GetFolderResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) end) api.add_operation(:get_folder_path, Seahorse::Model::Operation.new.tap do |o| o.name = "GetFolderPath" o.http_method = "GET" o.http_request_uri = "/api/v1/folders/{FolderId}/path" o.input = Shapes::ShapeRef.new(shape: GetFolderPathRequest) o.output = Shapes::ShapeRef.new(shape: GetFolderPathResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:get_resources, Seahorse::Model::Operation.new.tap do |o| o.name = "GetResources" o.http_method = "GET" o.http_request_uri = "/api/v1/resources" o.input = Shapes::ShapeRef.new(shape: GetResourcesRequest) o.output = Shapes::ShapeRef.new(shape: GetResourcesResponse) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:initiate_document_version_upload, Seahorse::Model::Operation.new.tap do |o| o.name = "InitiateDocumentVersionUpload" o.http_method = "POST" o.http_request_uri = "/api/v1/documents" o.input = Shapes::ShapeRef.new(shape: InitiateDocumentVersionUploadRequest) o.output = Shapes::ShapeRef.new(shape: InitiateDocumentVersionUploadResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: StorageLimitExceededException) o.errors << Shapes::ShapeRef.new(shape: StorageLimitWillExceedException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: DraftUploadOutOfSyncException) o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyCheckedOutException) end) api.add_operation(:remove_all_resource_permissions, Seahorse::Model::Operation.new.tap do |o| o.name = "RemoveAllResourcePermissions" o.http_method = "DELETE" o.http_request_uri = "/api/v1/resources/{ResourceId}/permissions" o.input = Shapes::ShapeRef.new(shape: RemoveAllResourcePermissionsRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:remove_resource_permission, Seahorse::Model::Operation.new.tap do |o| o.name = "RemoveResourcePermission" o.http_method = "DELETE" o.http_request_uri = "/api/v1/resources/{ResourceId}/permissions/{PrincipalId}" o.input = Shapes::ShapeRef.new(shape: RemoveResourcePermissionRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:update_document, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateDocument" o.http_method = "PATCH" o.http_request_uri = "/api/v1/documents/{DocumentId}" o.input = Shapes::ShapeRef.new(shape: UpdateDocumentRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:update_document_version, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateDocumentVersion" o.http_method = "PATCH" o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}" o.input = Shapes::ShapeRef.new(shape: UpdateDocumentVersionRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:update_folder, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateFolder" o.http_method = "PATCH" o.http_request_uri = "/api/v1/folders/{FolderId}" o.input = Shapes::ShapeRef.new(shape: UpdateFolderRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException) o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) end) api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateUser" o.http_method = "PATCH" o.http_request_uri = "/api/v1/users/{UserId}" o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest) o.output = Shapes::ShapeRef.new(shape: UpdateUserResponse) o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException) o.errors << Shapes::ShapeRef.new(shape: IllegalUserStateException) o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: DeactivatingLastSystemUserException) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) end) end end end