Documentation ¶
Overview ¶
Package workdocs provides the client and types for making API requests to Amazon WorkDocs.
The WorkDocs API is designed for the following use cases:
File Migration: File migration applications are supported for users who want to migrate their files from an on-premises or off-premises file system or service. Users can insert files into a user directory structure, as well as allow for basic metadata changes, such as modifications to the permissions of files.
Security: Support security applications are supported for users who have additional security needs, such as antivirus or data loss prevention. The API actions, along with AWS CloudTrail, allow these applications to detect when changes occur in Amazon WorkDocs. Then, the application can take the necessary actions and replace the target file. If the target file violates the policy, the application can also choose to email the user.
eDiscovery/Analytics: General administrative applications are supported, such as eDiscovery and analytics. These applications can choose to mimic or record the actions in an Amazon WorkDocs site, along with AWS CloudTrail, to replicate data for eDiscovery, backup, or analytical applications.
All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed. They not only require the use of the AWS SDK, but also allow for the exclusive use of IAM users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the Amazon WorkDocs site, the IAM user gains full administrative visibility into the entire Amazon WorkDocs site (or as set in the IAM policy). This includes, but is not limited to, the ability to modify file permissions and upload any file to any user. This allows developers to perform the three use cases above, as well as give users the ability to grant access on a selective basis using the IAM model.
See https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01 for more information on this service.
See workdocs package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/workdocs/
Using the Client ¶
To Amazon WorkDocs with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon WorkDocs client WorkDocs for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/workdocs/#New
Index ¶
- Constants
- type AbortDocumentVersionUploadInput
- func (s AbortDocumentVersionUploadInput) GoString() string
- func (s *AbortDocumentVersionUploadInput) SetAuthenticationToken(v string) *AbortDocumentVersionUploadInput
- func (s *AbortDocumentVersionUploadInput) SetDocumentId(v string) *AbortDocumentVersionUploadInput
- func (s *AbortDocumentVersionUploadInput) SetVersionId(v string) *AbortDocumentVersionUploadInput
- func (s AbortDocumentVersionUploadInput) String() string
- func (s *AbortDocumentVersionUploadInput) Validate() error
- type AbortDocumentVersionUploadOutput
- type AbortDocumentVersionUploadRequest
- type ActivateUserInput
- type ActivateUserOutput
- type ActivateUserRequest
- type Activity
- func (s Activity) GoString() string
- func (s *Activity) SetCommentMetadata(v *CommentMetadata) *Activity
- func (s *Activity) SetInitiator(v *UserMetadata) *Activity
- func (s *Activity) SetOrganizationId(v string) *Activity
- func (s *Activity) SetOriginalParent(v *ResourceMetadata) *Activity
- func (s *Activity) SetParticipants(v *Participants) *Activity
- func (s *Activity) SetResourceMetadata(v *ResourceMetadata) *Activity
- func (s *Activity) SetTimeStamp(v time.Time) *Activity
- func (s *Activity) SetType(v ActivityType) *Activity
- func (s Activity) String() string
- type ActivityType
- type AddResourcePermissionsInput
- func (s AddResourcePermissionsInput) GoString() string
- func (s *AddResourcePermissionsInput) SetAuthenticationToken(v string) *AddResourcePermissionsInput
- func (s *AddResourcePermissionsInput) SetNotificationOptions(v *NotificationOptions) *AddResourcePermissionsInput
- func (s *AddResourcePermissionsInput) SetPrincipals(v []SharePrincipal) *AddResourcePermissionsInput
- func (s *AddResourcePermissionsInput) SetResourceId(v string) *AddResourcePermissionsInput
- func (s AddResourcePermissionsInput) String() string
- func (s *AddResourcePermissionsInput) Validate() error
- type AddResourcePermissionsOutput
- type AddResourcePermissionsRequest
- type BooleanEnumType
- type Comment
- func (s Comment) GoString() string
- func (s *Comment) SetCommentId(v string) *Comment
- func (s *Comment) SetContributor(v *User) *Comment
- func (s *Comment) SetCreatedTimestamp(v time.Time) *Comment
- func (s *Comment) SetParentId(v string) *Comment
- func (s *Comment) SetRecipientId(v string) *Comment
- func (s *Comment) SetStatus(v CommentStatusType) *Comment
- func (s *Comment) SetText(v string) *Comment
- func (s *Comment) SetThreadId(v string) *Comment
- func (s *Comment) SetVisibility(v CommentVisibilityType) *Comment
- func (s Comment) String() string
- type CommentMetadata
- func (s CommentMetadata) GoString() string
- func (s *CommentMetadata) SetCommentId(v string) *CommentMetadata
- func (s *CommentMetadata) SetCommentStatus(v CommentStatusType) *CommentMetadata
- func (s *CommentMetadata) SetContributor(v *User) *CommentMetadata
- func (s *CommentMetadata) SetCreatedTimestamp(v time.Time) *CommentMetadata
- func (s *CommentMetadata) SetRecipientId(v string) *CommentMetadata
- func (s CommentMetadata) String() string
- type CommentStatusType
- type CommentVisibilityType
- type CreateCommentInput
- func (s CreateCommentInput) GoString() string
- func (s *CreateCommentInput) SetAuthenticationToken(v string) *CreateCommentInput
- func (s *CreateCommentInput) SetDocumentId(v string) *CreateCommentInput
- func (s *CreateCommentInput) SetNotifyCollaborators(v bool) *CreateCommentInput
- func (s *CreateCommentInput) SetParentId(v string) *CreateCommentInput
- func (s *CreateCommentInput) SetText(v string) *CreateCommentInput
- func (s *CreateCommentInput) SetThreadId(v string) *CreateCommentInput
- func (s *CreateCommentInput) SetVersionId(v string) *CreateCommentInput
- func (s *CreateCommentInput) SetVisibility(v CommentVisibilityType) *CreateCommentInput
- func (s CreateCommentInput) String() string
- func (s *CreateCommentInput) Validate() error
- type CreateCommentOutput
- type CreateCommentRequest
- type CreateCustomMetadataInput
- func (s CreateCustomMetadataInput) GoString() string
- func (s *CreateCustomMetadataInput) SetAuthenticationToken(v string) *CreateCustomMetadataInput
- func (s *CreateCustomMetadataInput) SetCustomMetadata(v map[string]string) *CreateCustomMetadataInput
- func (s *CreateCustomMetadataInput) SetResourceId(v string) *CreateCustomMetadataInput
- func (s *CreateCustomMetadataInput) SetVersionId(v string) *CreateCustomMetadataInput
- func (s CreateCustomMetadataInput) String() string
- func (s *CreateCustomMetadataInput) Validate() error
- type CreateCustomMetadataOutput
- type CreateCustomMetadataRequest
- type CreateFolderInput
- func (s CreateFolderInput) GoString() string
- func (s *CreateFolderInput) SetAuthenticationToken(v string) *CreateFolderInput
- func (s *CreateFolderInput) SetName(v string) *CreateFolderInput
- func (s *CreateFolderInput) SetParentFolderId(v string) *CreateFolderInput
- func (s CreateFolderInput) String() string
- func (s *CreateFolderInput) Validate() error
- type CreateFolderOutput
- type CreateFolderRequest
- type CreateLabelsInput
- func (s CreateLabelsInput) GoString() string
- func (s *CreateLabelsInput) SetAuthenticationToken(v string) *CreateLabelsInput
- func (s *CreateLabelsInput) SetLabels(v []string) *CreateLabelsInput
- func (s *CreateLabelsInput) SetResourceId(v string) *CreateLabelsInput
- func (s CreateLabelsInput) String() string
- func (s *CreateLabelsInput) Validate() error
- type CreateLabelsOutput
- type CreateLabelsRequest
- type CreateNotificationSubscriptionInput
- func (s CreateNotificationSubscriptionInput) GoString() string
- func (s *CreateNotificationSubscriptionInput) SetEndpoint(v string) *CreateNotificationSubscriptionInput
- func (s *CreateNotificationSubscriptionInput) SetOrganizationId(v string) *CreateNotificationSubscriptionInput
- func (s *CreateNotificationSubscriptionInput) SetProtocol(v SubscriptionProtocolType) *CreateNotificationSubscriptionInput
- func (s *CreateNotificationSubscriptionInput) SetSubscriptionType(v SubscriptionType) *CreateNotificationSubscriptionInput
- func (s CreateNotificationSubscriptionInput) String() string
- func (s *CreateNotificationSubscriptionInput) Validate() error
- type CreateNotificationSubscriptionOutput
- func (s CreateNotificationSubscriptionOutput) GoString() string
- func (s CreateNotificationSubscriptionOutput) SDKResponseMetadata() aws.Response
- func (s *CreateNotificationSubscriptionOutput) SetSubscription(v *Subscription) *CreateNotificationSubscriptionOutput
- func (s CreateNotificationSubscriptionOutput) String() string
- type CreateNotificationSubscriptionRequest
- type CreateUserInput
- func (s CreateUserInput) GoString() string
- func (s *CreateUserInput) SetAuthenticationToken(v string) *CreateUserInput
- func (s *CreateUserInput) SetEmailAddress(v string) *CreateUserInput
- func (s *CreateUserInput) SetGivenName(v string) *CreateUserInput
- func (s *CreateUserInput) SetOrganizationId(v string) *CreateUserInput
- func (s *CreateUserInput) SetPassword(v string) *CreateUserInput
- func (s *CreateUserInput) SetStorageRule(v *StorageRuleType) *CreateUserInput
- func (s *CreateUserInput) SetSurname(v string) *CreateUserInput
- func (s *CreateUserInput) SetTimeZoneId(v string) *CreateUserInput
- func (s *CreateUserInput) SetUsername(v string) *CreateUserInput
- func (s CreateUserInput) String() string
- func (s *CreateUserInput) Validate() error
- type CreateUserOutput
- type CreateUserRequest
- type DeactivateUserInput
- type DeactivateUserOutput
- type DeactivateUserRequest
- type DeleteCommentInput
- func (s DeleteCommentInput) GoString() string
- func (s *DeleteCommentInput) SetAuthenticationToken(v string) *DeleteCommentInput
- func (s *DeleteCommentInput) SetCommentId(v string) *DeleteCommentInput
- func (s *DeleteCommentInput) SetDocumentId(v string) *DeleteCommentInput
- func (s *DeleteCommentInput) SetVersionId(v string) *DeleteCommentInput
- func (s DeleteCommentInput) String() string
- func (s *DeleteCommentInput) Validate() error
- type DeleteCommentOutput
- type DeleteCommentRequest
- type DeleteCustomMetadataInput
- func (s DeleteCustomMetadataInput) GoString() string
- func (s *DeleteCustomMetadataInput) SetAuthenticationToken(v string) *DeleteCustomMetadataInput
- func (s *DeleteCustomMetadataInput) SetDeleteAll(v bool) *DeleteCustomMetadataInput
- func (s *DeleteCustomMetadataInput) SetKeys(v []string) *DeleteCustomMetadataInput
- func (s *DeleteCustomMetadataInput) SetResourceId(v string) *DeleteCustomMetadataInput
- func (s *DeleteCustomMetadataInput) SetVersionId(v string) *DeleteCustomMetadataInput
- func (s DeleteCustomMetadataInput) String() string
- func (s *DeleteCustomMetadataInput) Validate() error
- type DeleteCustomMetadataOutput
- type DeleteCustomMetadataRequest
- type DeleteDocumentInput
- type DeleteDocumentOutput
- type DeleteDocumentRequest
- type DeleteFolderContentsInput
- func (s DeleteFolderContentsInput) GoString() string
- func (s *DeleteFolderContentsInput) SetAuthenticationToken(v string) *DeleteFolderContentsInput
- func (s *DeleteFolderContentsInput) SetFolderId(v string) *DeleteFolderContentsInput
- func (s DeleteFolderContentsInput) String() string
- func (s *DeleteFolderContentsInput) Validate() error
- type DeleteFolderContentsOutput
- type DeleteFolderContentsRequest
- type DeleteFolderInput
- type DeleteFolderOutput
- type DeleteFolderRequest
- type DeleteLabelsInput
- func (s DeleteLabelsInput) GoString() string
- func (s *DeleteLabelsInput) SetAuthenticationToken(v string) *DeleteLabelsInput
- func (s *DeleteLabelsInput) SetDeleteAll(v bool) *DeleteLabelsInput
- func (s *DeleteLabelsInput) SetLabels(v []string) *DeleteLabelsInput
- func (s *DeleteLabelsInput) SetResourceId(v string) *DeleteLabelsInput
- func (s DeleteLabelsInput) String() string
- func (s *DeleteLabelsInput) Validate() error
- type DeleteLabelsOutput
- type DeleteLabelsRequest
- type DeleteNotificationSubscriptionInput
- func (s DeleteNotificationSubscriptionInput) GoString() string
- func (s *DeleteNotificationSubscriptionInput) SetOrganizationId(v string) *DeleteNotificationSubscriptionInput
- func (s *DeleteNotificationSubscriptionInput) SetSubscriptionId(v string) *DeleteNotificationSubscriptionInput
- func (s DeleteNotificationSubscriptionInput) String() string
- func (s *DeleteNotificationSubscriptionInput) Validate() error
- type DeleteNotificationSubscriptionOutput
- type DeleteNotificationSubscriptionRequest
- type DeleteUserInput
- type DeleteUserOutput
- type DeleteUserRequest
- type DescribeActivitiesInput
- func (s DescribeActivitiesInput) GoString() string
- func (s *DescribeActivitiesInput) SetAuthenticationToken(v string) *DescribeActivitiesInput
- func (s *DescribeActivitiesInput) SetEndTime(v time.Time) *DescribeActivitiesInput
- func (s *DescribeActivitiesInput) SetLimit(v int64) *DescribeActivitiesInput
- func (s *DescribeActivitiesInput) SetMarker(v string) *DescribeActivitiesInput
- func (s *DescribeActivitiesInput) SetOrganizationId(v string) *DescribeActivitiesInput
- func (s *DescribeActivitiesInput) SetStartTime(v time.Time) *DescribeActivitiesInput
- func (s *DescribeActivitiesInput) SetUserId(v string) *DescribeActivitiesInput
- func (s DescribeActivitiesInput) String() string
- func (s *DescribeActivitiesInput) Validate() error
- type DescribeActivitiesOutput
- func (s DescribeActivitiesOutput) GoString() string
- func (s DescribeActivitiesOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeActivitiesOutput) SetMarker(v string) *DescribeActivitiesOutput
- func (s *DescribeActivitiesOutput) SetUserActivities(v []Activity) *DescribeActivitiesOutput
- func (s DescribeActivitiesOutput) String() string
- type DescribeActivitiesRequest
- type DescribeCommentsInput
- func (s DescribeCommentsInput) GoString() string
- func (s *DescribeCommentsInput) SetAuthenticationToken(v string) *DescribeCommentsInput
- func (s *DescribeCommentsInput) SetDocumentId(v string) *DescribeCommentsInput
- func (s *DescribeCommentsInput) SetLimit(v int64) *DescribeCommentsInput
- func (s *DescribeCommentsInput) SetMarker(v string) *DescribeCommentsInput
- func (s *DescribeCommentsInput) SetVersionId(v string) *DescribeCommentsInput
- func (s DescribeCommentsInput) String() string
- func (s *DescribeCommentsInput) Validate() error
- type DescribeCommentsOutput
- func (s DescribeCommentsOutput) GoString() string
- func (s DescribeCommentsOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeCommentsOutput) SetComments(v []Comment) *DescribeCommentsOutput
- func (s *DescribeCommentsOutput) SetMarker(v string) *DescribeCommentsOutput
- func (s DescribeCommentsOutput) String() string
- type DescribeCommentsRequest
- type DescribeDocumentVersionsInput
- func (s DescribeDocumentVersionsInput) GoString() string
- func (s *DescribeDocumentVersionsInput) SetAuthenticationToken(v string) *DescribeDocumentVersionsInput
- func (s *DescribeDocumentVersionsInput) SetDocumentId(v string) *DescribeDocumentVersionsInput
- func (s *DescribeDocumentVersionsInput) SetFields(v string) *DescribeDocumentVersionsInput
- func (s *DescribeDocumentVersionsInput) SetInclude(v string) *DescribeDocumentVersionsInput
- func (s *DescribeDocumentVersionsInput) SetLimit(v int64) *DescribeDocumentVersionsInput
- func (s *DescribeDocumentVersionsInput) SetMarker(v string) *DescribeDocumentVersionsInput
- func (s DescribeDocumentVersionsInput) String() string
- func (s *DescribeDocumentVersionsInput) Validate() error
- type DescribeDocumentVersionsOutput
- func (s DescribeDocumentVersionsOutput) GoString() string
- func (s DescribeDocumentVersionsOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeDocumentVersionsOutput) SetDocumentVersions(v []DocumentVersionMetadata) *DescribeDocumentVersionsOutput
- func (s *DescribeDocumentVersionsOutput) SetMarker(v string) *DescribeDocumentVersionsOutput
- func (s DescribeDocumentVersionsOutput) String() string
- type DescribeDocumentVersionsRequest
- type DescribeFolderContentsInput
- func (s DescribeFolderContentsInput) GoString() string
- func (s *DescribeFolderContentsInput) SetAuthenticationToken(v string) *DescribeFolderContentsInput
- func (s *DescribeFolderContentsInput) SetFolderId(v string) *DescribeFolderContentsInput
- func (s *DescribeFolderContentsInput) SetInclude(v string) *DescribeFolderContentsInput
- func (s *DescribeFolderContentsInput) SetLimit(v int64) *DescribeFolderContentsInput
- func (s *DescribeFolderContentsInput) SetMarker(v string) *DescribeFolderContentsInput
- func (s *DescribeFolderContentsInput) SetOrder(v OrderType) *DescribeFolderContentsInput
- func (s *DescribeFolderContentsInput) SetSort(v ResourceSortType) *DescribeFolderContentsInput
- func (s *DescribeFolderContentsInput) SetType(v FolderContentType) *DescribeFolderContentsInput
- func (s DescribeFolderContentsInput) String() string
- func (s *DescribeFolderContentsInput) Validate() error
- type DescribeFolderContentsOutput
- func (s DescribeFolderContentsOutput) GoString() string
- func (s DescribeFolderContentsOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeFolderContentsOutput) SetDocuments(v []DocumentMetadata) *DescribeFolderContentsOutput
- func (s *DescribeFolderContentsOutput) SetFolders(v []FolderMetadata) *DescribeFolderContentsOutput
- func (s *DescribeFolderContentsOutput) SetMarker(v string) *DescribeFolderContentsOutput
- func (s DescribeFolderContentsOutput) String() string
- type DescribeFolderContentsRequest
- type DescribeGroupsInput
- func (s DescribeGroupsInput) GoString() string
- func (s *DescribeGroupsInput) SetAuthenticationToken(v string) *DescribeGroupsInput
- func (s *DescribeGroupsInput) SetLimit(v int64) *DescribeGroupsInput
- func (s *DescribeGroupsInput) SetMarker(v string) *DescribeGroupsInput
- func (s *DescribeGroupsInput) SetOrganizationId(v string) *DescribeGroupsInput
- func (s *DescribeGroupsInput) SetSearchQuery(v string) *DescribeGroupsInput
- func (s DescribeGroupsInput) String() string
- func (s *DescribeGroupsInput) Validate() error
- type DescribeGroupsOutput
- func (s DescribeGroupsOutput) GoString() string
- func (s DescribeGroupsOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeGroupsOutput) SetGroups(v []GroupMetadata) *DescribeGroupsOutput
- func (s *DescribeGroupsOutput) SetMarker(v string) *DescribeGroupsOutput
- func (s DescribeGroupsOutput) String() string
- type DescribeGroupsRequest
- type DescribeNotificationSubscriptionsInput
- func (s DescribeNotificationSubscriptionsInput) GoString() string
- func (s *DescribeNotificationSubscriptionsInput) SetLimit(v int64) *DescribeNotificationSubscriptionsInput
- func (s *DescribeNotificationSubscriptionsInput) SetMarker(v string) *DescribeNotificationSubscriptionsInput
- func (s *DescribeNotificationSubscriptionsInput) SetOrganizationId(v string) *DescribeNotificationSubscriptionsInput
- func (s DescribeNotificationSubscriptionsInput) String() string
- func (s *DescribeNotificationSubscriptionsInput) Validate() error
- type DescribeNotificationSubscriptionsOutput
- func (s DescribeNotificationSubscriptionsOutput) GoString() string
- func (s DescribeNotificationSubscriptionsOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeNotificationSubscriptionsOutput) SetMarker(v string) *DescribeNotificationSubscriptionsOutput
- func (s *DescribeNotificationSubscriptionsOutput) SetSubscriptions(v []Subscription) *DescribeNotificationSubscriptionsOutput
- func (s DescribeNotificationSubscriptionsOutput) String() string
- type DescribeNotificationSubscriptionsRequest
- type DescribeResourcePermissionsInput
- func (s DescribeResourcePermissionsInput) GoString() string
- func (s *DescribeResourcePermissionsInput) SetAuthenticationToken(v string) *DescribeResourcePermissionsInput
- func (s *DescribeResourcePermissionsInput) SetLimit(v int64) *DescribeResourcePermissionsInput
- func (s *DescribeResourcePermissionsInput) SetMarker(v string) *DescribeResourcePermissionsInput
- func (s *DescribeResourcePermissionsInput) SetPrincipalId(v string) *DescribeResourcePermissionsInput
- func (s *DescribeResourcePermissionsInput) SetResourceId(v string) *DescribeResourcePermissionsInput
- func (s DescribeResourcePermissionsInput) String() string
- func (s *DescribeResourcePermissionsInput) Validate() error
- type DescribeResourcePermissionsOutput
- func (s DescribeResourcePermissionsOutput) GoString() string
- func (s DescribeResourcePermissionsOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeResourcePermissionsOutput) SetMarker(v string) *DescribeResourcePermissionsOutput
- func (s *DescribeResourcePermissionsOutput) SetPrincipals(v []Principal) *DescribeResourcePermissionsOutput
- func (s DescribeResourcePermissionsOutput) String() string
- type DescribeResourcePermissionsRequest
- type DescribeRootFoldersInput
- func (s DescribeRootFoldersInput) GoString() string
- func (s *DescribeRootFoldersInput) SetAuthenticationToken(v string) *DescribeRootFoldersInput
- func (s *DescribeRootFoldersInput) SetLimit(v int64) *DescribeRootFoldersInput
- func (s *DescribeRootFoldersInput) SetMarker(v string) *DescribeRootFoldersInput
- func (s DescribeRootFoldersInput) String() string
- func (s *DescribeRootFoldersInput) Validate() error
- type DescribeRootFoldersOutput
- func (s DescribeRootFoldersOutput) GoString() string
- func (s DescribeRootFoldersOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeRootFoldersOutput) SetFolders(v []FolderMetadata) *DescribeRootFoldersOutput
- func (s *DescribeRootFoldersOutput) SetMarker(v string) *DescribeRootFoldersOutput
- func (s DescribeRootFoldersOutput) String() string
- type DescribeRootFoldersRequest
- type DescribeUsersInput
- func (s DescribeUsersInput) GoString() string
- func (s *DescribeUsersInput) SetAuthenticationToken(v string) *DescribeUsersInput
- func (s *DescribeUsersInput) SetFields(v string) *DescribeUsersInput
- func (s *DescribeUsersInput) SetInclude(v UserFilterType) *DescribeUsersInput
- func (s *DescribeUsersInput) SetLimit(v int64) *DescribeUsersInput
- func (s *DescribeUsersInput) SetMarker(v string) *DescribeUsersInput
- func (s *DescribeUsersInput) SetOrder(v OrderType) *DescribeUsersInput
- func (s *DescribeUsersInput) SetOrganizationId(v string) *DescribeUsersInput
- func (s *DescribeUsersInput) SetQuery(v string) *DescribeUsersInput
- func (s *DescribeUsersInput) SetSort(v UserSortType) *DescribeUsersInput
- func (s *DescribeUsersInput) SetUserIds(v string) *DescribeUsersInput
- func (s DescribeUsersInput) String() string
- func (s *DescribeUsersInput) Validate() error
- type DescribeUsersOutput
- func (s DescribeUsersOutput) GoString() string
- func (s DescribeUsersOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeUsersOutput) SetMarker(v string) *DescribeUsersOutput
- func (s *DescribeUsersOutput) SetTotalNumberOfUsers(v int64) *DescribeUsersOutput
- func (s *DescribeUsersOutput) SetUsers(v []User) *DescribeUsersOutput
- func (s DescribeUsersOutput) String() string
- type DescribeUsersRequest
- type DocumentMetadata
- func (s DocumentMetadata) GoString() string
- func (s *DocumentMetadata) SetCreatedTimestamp(v time.Time) *DocumentMetadata
- func (s *DocumentMetadata) SetCreatorId(v string) *DocumentMetadata
- func (s *DocumentMetadata) SetId(v string) *DocumentMetadata
- func (s *DocumentMetadata) SetLabels(v []string) *DocumentMetadata
- func (s *DocumentMetadata) SetLatestVersionMetadata(v *DocumentVersionMetadata) *DocumentMetadata
- func (s *DocumentMetadata) SetModifiedTimestamp(v time.Time) *DocumentMetadata
- func (s *DocumentMetadata) SetParentFolderId(v string) *DocumentMetadata
- func (s *DocumentMetadata) SetResourceState(v ResourceStateType) *DocumentMetadata
- func (s DocumentMetadata) String() string
- type DocumentSourceType
- type DocumentStatusType
- type DocumentThumbnailType
- type DocumentVersionMetadata
- func (s DocumentVersionMetadata) GoString() string
- func (s *DocumentVersionMetadata) SetContentCreatedTimestamp(v time.Time) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetContentModifiedTimestamp(v time.Time) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetContentType(v string) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetCreatedTimestamp(v time.Time) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetCreatorId(v string) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetId(v string) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetModifiedTimestamp(v time.Time) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetName(v string) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetSignature(v string) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetSize(v int64) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetSource(v map[string]string) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetStatus(v DocumentStatusType) *DocumentVersionMetadata
- func (s *DocumentVersionMetadata) SetThumbnail(v map[string]string) *DocumentVersionMetadata
- func (s DocumentVersionMetadata) String() string
- type DocumentVersionStatus
- type FolderContentType
- type FolderMetadata
- func (s FolderMetadata) GoString() string
- func (s *FolderMetadata) SetCreatedTimestamp(v time.Time) *FolderMetadata
- func (s *FolderMetadata) SetCreatorId(v string) *FolderMetadata
- func (s *FolderMetadata) SetId(v string) *FolderMetadata
- func (s *FolderMetadata) SetLabels(v []string) *FolderMetadata
- func (s *FolderMetadata) SetLatestVersionSize(v int64) *FolderMetadata
- func (s *FolderMetadata) SetModifiedTimestamp(v time.Time) *FolderMetadata
- func (s *FolderMetadata) SetName(v string) *FolderMetadata
- func (s *FolderMetadata) SetParentFolderId(v string) *FolderMetadata
- func (s *FolderMetadata) SetResourceState(v ResourceStateType) *FolderMetadata
- func (s *FolderMetadata) SetSignature(v string) *FolderMetadata
- func (s *FolderMetadata) SetSize(v int64) *FolderMetadata
- func (s FolderMetadata) String() string
- type GetCurrentUserInput
- type GetCurrentUserOutput
- type GetCurrentUserRequest
- type GetDocumentInput
- func (s GetDocumentInput) GoString() string
- func (s *GetDocumentInput) SetAuthenticationToken(v string) *GetDocumentInput
- func (s *GetDocumentInput) SetDocumentId(v string) *GetDocumentInput
- func (s *GetDocumentInput) SetIncludeCustomMetadata(v bool) *GetDocumentInput
- func (s GetDocumentInput) String() string
- func (s *GetDocumentInput) Validate() error
- type GetDocumentOutput
- func (s GetDocumentOutput) GoString() string
- func (s GetDocumentOutput) SDKResponseMetadata() aws.Response
- func (s *GetDocumentOutput) SetCustomMetadata(v map[string]string) *GetDocumentOutput
- func (s *GetDocumentOutput) SetMetadata(v *DocumentMetadata) *GetDocumentOutput
- func (s GetDocumentOutput) String() string
- type GetDocumentPathInput
- func (s GetDocumentPathInput) GoString() string
- func (s *GetDocumentPathInput) SetAuthenticationToken(v string) *GetDocumentPathInput
- func (s *GetDocumentPathInput) SetDocumentId(v string) *GetDocumentPathInput
- func (s *GetDocumentPathInput) SetFields(v string) *GetDocumentPathInput
- func (s *GetDocumentPathInput) SetLimit(v int64) *GetDocumentPathInput
- func (s *GetDocumentPathInput) SetMarker(v string) *GetDocumentPathInput
- func (s GetDocumentPathInput) String() string
- func (s *GetDocumentPathInput) Validate() error
- type GetDocumentPathOutput
- type GetDocumentPathRequest
- type GetDocumentRequest
- type GetDocumentVersionInput
- func (s GetDocumentVersionInput) GoString() string
- func (s *GetDocumentVersionInput) SetAuthenticationToken(v string) *GetDocumentVersionInput
- func (s *GetDocumentVersionInput) SetDocumentId(v string) *GetDocumentVersionInput
- func (s *GetDocumentVersionInput) SetFields(v string) *GetDocumentVersionInput
- func (s *GetDocumentVersionInput) SetIncludeCustomMetadata(v bool) *GetDocumentVersionInput
- func (s *GetDocumentVersionInput) SetVersionId(v string) *GetDocumentVersionInput
- func (s GetDocumentVersionInput) String() string
- func (s *GetDocumentVersionInput) Validate() error
- type GetDocumentVersionOutput
- func (s GetDocumentVersionOutput) GoString() string
- func (s GetDocumentVersionOutput) SDKResponseMetadata() aws.Response
- func (s *GetDocumentVersionOutput) SetCustomMetadata(v map[string]string) *GetDocumentVersionOutput
- func (s *GetDocumentVersionOutput) SetMetadata(v *DocumentVersionMetadata) *GetDocumentVersionOutput
- func (s GetDocumentVersionOutput) String() string
- type GetDocumentVersionRequest
- type GetFolderInput
- func (s GetFolderInput) GoString() string
- func (s *GetFolderInput) SetAuthenticationToken(v string) *GetFolderInput
- func (s *GetFolderInput) SetFolderId(v string) *GetFolderInput
- func (s *GetFolderInput) SetIncludeCustomMetadata(v bool) *GetFolderInput
- func (s GetFolderInput) String() string
- func (s *GetFolderInput) Validate() error
- type GetFolderOutput
- type GetFolderPathInput
- func (s GetFolderPathInput) GoString() string
- func (s *GetFolderPathInput) SetAuthenticationToken(v string) *GetFolderPathInput
- func (s *GetFolderPathInput) SetFields(v string) *GetFolderPathInput
- func (s *GetFolderPathInput) SetFolderId(v string) *GetFolderPathInput
- func (s *GetFolderPathInput) SetLimit(v int64) *GetFolderPathInput
- func (s *GetFolderPathInput) SetMarker(v string) *GetFolderPathInput
- func (s GetFolderPathInput) String() string
- func (s *GetFolderPathInput) Validate() error
- type GetFolderPathOutput
- type GetFolderPathRequest
- type GetFolderRequest
- type GroupMetadata
- type InitiateDocumentVersionUploadInput
- func (s InitiateDocumentVersionUploadInput) GoString() string
- func (s *InitiateDocumentVersionUploadInput) SetAuthenticationToken(v string) *InitiateDocumentVersionUploadInput
- func (s *InitiateDocumentVersionUploadInput) SetContentCreatedTimestamp(v time.Time) *InitiateDocumentVersionUploadInput
- func (s *InitiateDocumentVersionUploadInput) SetContentModifiedTimestamp(v time.Time) *InitiateDocumentVersionUploadInput
- func (s *InitiateDocumentVersionUploadInput) SetContentType(v string) *InitiateDocumentVersionUploadInput
- func (s *InitiateDocumentVersionUploadInput) SetDocumentSizeInBytes(v int64) *InitiateDocumentVersionUploadInput
- func (s *InitiateDocumentVersionUploadInput) SetId(v string) *InitiateDocumentVersionUploadInput
- func (s *InitiateDocumentVersionUploadInput) SetName(v string) *InitiateDocumentVersionUploadInput
- func (s *InitiateDocumentVersionUploadInput) SetParentFolderId(v string) *InitiateDocumentVersionUploadInput
- func (s InitiateDocumentVersionUploadInput) String() string
- func (s *InitiateDocumentVersionUploadInput) Validate() error
- type InitiateDocumentVersionUploadOutput
- func (s InitiateDocumentVersionUploadOutput) GoString() string
- func (s InitiateDocumentVersionUploadOutput) SDKResponseMetadata() aws.Response
- func (s *InitiateDocumentVersionUploadOutput) SetMetadata(v *DocumentMetadata) *InitiateDocumentVersionUploadOutput
- func (s *InitiateDocumentVersionUploadOutput) SetUploadMetadata(v *UploadMetadata) *InitiateDocumentVersionUploadOutput
- func (s InitiateDocumentVersionUploadOutput) String() string
- type InitiateDocumentVersionUploadRequest
- type LocaleType
- type NotificationOptions
- type OrderType
- type Participants
- type PermissionInfo
- type Principal
- type PrincipalType
- type RemoveAllResourcePermissionsInput
- func (s RemoveAllResourcePermissionsInput) GoString() string
- func (s *RemoveAllResourcePermissionsInput) SetAuthenticationToken(v string) *RemoveAllResourcePermissionsInput
- func (s *RemoveAllResourcePermissionsInput) SetResourceId(v string) *RemoveAllResourcePermissionsInput
- func (s RemoveAllResourcePermissionsInput) String() string
- func (s *RemoveAllResourcePermissionsInput) Validate() error
- type RemoveAllResourcePermissionsOutput
- type RemoveAllResourcePermissionsRequest
- type RemoveResourcePermissionInput
- func (s RemoveResourcePermissionInput) GoString() string
- func (s *RemoveResourcePermissionInput) SetAuthenticationToken(v string) *RemoveResourcePermissionInput
- func (s *RemoveResourcePermissionInput) SetPrincipalId(v string) *RemoveResourcePermissionInput
- func (s *RemoveResourcePermissionInput) SetPrincipalType(v PrincipalType) *RemoveResourcePermissionInput
- func (s *RemoveResourcePermissionInput) SetResourceId(v string) *RemoveResourcePermissionInput
- func (s RemoveResourcePermissionInput) String() string
- func (s *RemoveResourcePermissionInput) Validate() error
- type RemoveResourcePermissionOutput
- type RemoveResourcePermissionRequest
- type ResourceMetadata
- func (s ResourceMetadata) GoString() string
- func (s *ResourceMetadata) SetId(v string) *ResourceMetadata
- func (s *ResourceMetadata) SetName(v string) *ResourceMetadata
- func (s *ResourceMetadata) SetOriginalName(v string) *ResourceMetadata
- func (s *ResourceMetadata) SetOwner(v *UserMetadata) *ResourceMetadata
- func (s *ResourceMetadata) SetParentId(v string) *ResourceMetadata
- func (s *ResourceMetadata) SetType(v ResourceType) *ResourceMetadata
- func (s *ResourceMetadata) SetVersionId(v string) *ResourceMetadata
- func (s ResourceMetadata) String() string
- type ResourcePath
- type ResourcePathComponent
- type ResourceSortType
- type ResourceStateType
- type ResourceType
- type RolePermissionType
- type RoleType
- type SharePrincipal
- func (s SharePrincipal) GoString() string
- func (s *SharePrincipal) SetId(v string) *SharePrincipal
- func (s *SharePrincipal) SetRole(v RoleType) *SharePrincipal
- func (s *SharePrincipal) SetType(v PrincipalType) *SharePrincipal
- func (s SharePrincipal) String() string
- func (s *SharePrincipal) Validate() error
- type ShareResult
- func (s ShareResult) GoString() string
- func (s *ShareResult) SetPrincipalId(v string) *ShareResult
- func (s *ShareResult) SetRole(v RoleType) *ShareResult
- func (s *ShareResult) SetShareId(v string) *ShareResult
- func (s *ShareResult) SetStatus(v ShareStatusType) *ShareResult
- func (s *ShareResult) SetStatusMessage(v string) *ShareResult
- func (s ShareResult) String() string
- type ShareStatusType
- type StorageRuleType
- type StorageType
- type Subscription
- type SubscriptionProtocolType
- type SubscriptionType
- type UpdateDocumentInput
- func (s UpdateDocumentInput) GoString() string
- func (s *UpdateDocumentInput) SetAuthenticationToken(v string) *UpdateDocumentInput
- func (s *UpdateDocumentInput) SetDocumentId(v string) *UpdateDocumentInput
- func (s *UpdateDocumentInput) SetName(v string) *UpdateDocumentInput
- func (s *UpdateDocumentInput) SetParentFolderId(v string) *UpdateDocumentInput
- func (s *UpdateDocumentInput) SetResourceState(v ResourceStateType) *UpdateDocumentInput
- func (s UpdateDocumentInput) String() string
- func (s *UpdateDocumentInput) Validate() error
- type UpdateDocumentOutput
- type UpdateDocumentRequest
- type UpdateDocumentVersionInput
- func (s UpdateDocumentVersionInput) GoString() string
- func (s *UpdateDocumentVersionInput) SetAuthenticationToken(v string) *UpdateDocumentVersionInput
- func (s *UpdateDocumentVersionInput) SetDocumentId(v string) *UpdateDocumentVersionInput
- func (s *UpdateDocumentVersionInput) SetVersionId(v string) *UpdateDocumentVersionInput
- func (s *UpdateDocumentVersionInput) SetVersionStatus(v DocumentVersionStatus) *UpdateDocumentVersionInput
- func (s UpdateDocumentVersionInput) String() string
- func (s *UpdateDocumentVersionInput) Validate() error
- type UpdateDocumentVersionOutput
- type UpdateDocumentVersionRequest
- type UpdateFolderInput
- func (s UpdateFolderInput) GoString() string
- func (s *UpdateFolderInput) SetAuthenticationToken(v string) *UpdateFolderInput
- func (s *UpdateFolderInput) SetFolderId(v string) *UpdateFolderInput
- func (s *UpdateFolderInput) SetName(v string) *UpdateFolderInput
- func (s *UpdateFolderInput) SetParentFolderId(v string) *UpdateFolderInput
- func (s *UpdateFolderInput) SetResourceState(v ResourceStateType) *UpdateFolderInput
- func (s UpdateFolderInput) String() string
- func (s *UpdateFolderInput) Validate() error
- type UpdateFolderOutput
- type UpdateFolderRequest
- type UpdateUserInput
- func (s UpdateUserInput) GoString() string
- func (s *UpdateUserInput) SetAuthenticationToken(v string) *UpdateUserInput
- func (s *UpdateUserInput) SetGivenName(v string) *UpdateUserInput
- func (s *UpdateUserInput) SetGrantPoweruserPrivileges(v BooleanEnumType) *UpdateUserInput
- func (s *UpdateUserInput) SetLocale(v LocaleType) *UpdateUserInput
- func (s *UpdateUserInput) SetStorageRule(v *StorageRuleType) *UpdateUserInput
- func (s *UpdateUserInput) SetSurname(v string) *UpdateUserInput
- func (s *UpdateUserInput) SetTimeZoneId(v string) *UpdateUserInput
- func (s *UpdateUserInput) SetType(v UserType) *UpdateUserInput
- func (s *UpdateUserInput) SetUserId(v string) *UpdateUserInput
- func (s UpdateUserInput) String() string
- func (s *UpdateUserInput) Validate() error
- type UpdateUserOutput
- type UpdateUserRequest
- type UploadMetadata
- type User
- func (s User) GoString() string
- func (s *User) SetCreatedTimestamp(v time.Time) *User
- func (s *User) SetEmailAddress(v string) *User
- func (s *User) SetGivenName(v string) *User
- func (s *User) SetId(v string) *User
- func (s *User) SetLocale(v LocaleType) *User
- func (s *User) SetModifiedTimestamp(v time.Time) *User
- func (s *User) SetOrganizationId(v string) *User
- func (s *User) SetRecycleBinFolderId(v string) *User
- func (s *User) SetRootFolderId(v string) *User
- func (s *User) SetStatus(v UserStatusType) *User
- func (s *User) SetStorage(v *UserStorageMetadata) *User
- func (s *User) SetSurname(v string) *User
- func (s *User) SetTimeZoneId(v string) *User
- func (s *User) SetType(v UserType) *User
- func (s *User) SetUsername(v string) *User
- func (s User) String() string
- type UserFilterType
- type UserMetadata
- func (s UserMetadata) GoString() string
- func (s *UserMetadata) SetEmailAddress(v string) *UserMetadata
- func (s *UserMetadata) SetGivenName(v string) *UserMetadata
- func (s *UserMetadata) SetId(v string) *UserMetadata
- func (s *UserMetadata) SetSurname(v string) *UserMetadata
- func (s *UserMetadata) SetUsername(v string) *UserMetadata
- func (s UserMetadata) String() string
- type UserSortType
- type UserStatusType
- type UserStorageMetadata
- type UserType
- type WorkDocs
- func (c *WorkDocs) AbortDocumentVersionUploadRequest(input *AbortDocumentVersionUploadInput) AbortDocumentVersionUploadRequest
- func (c *WorkDocs) ActivateUserRequest(input *ActivateUserInput) ActivateUserRequest
- func (c *WorkDocs) AddResourcePermissionsRequest(input *AddResourcePermissionsInput) AddResourcePermissionsRequest
- func (c *WorkDocs) CreateCommentRequest(input *CreateCommentInput) CreateCommentRequest
- func (c *WorkDocs) CreateCustomMetadataRequest(input *CreateCustomMetadataInput) CreateCustomMetadataRequest
- func (c *WorkDocs) CreateFolderRequest(input *CreateFolderInput) CreateFolderRequest
- func (c *WorkDocs) CreateLabelsRequest(input *CreateLabelsInput) CreateLabelsRequest
- func (c *WorkDocs) CreateNotificationSubscriptionRequest(input *CreateNotificationSubscriptionInput) CreateNotificationSubscriptionRequest
- func (c *WorkDocs) CreateUserRequest(input *CreateUserInput) CreateUserRequest
- func (c *WorkDocs) DeactivateUserRequest(input *DeactivateUserInput) DeactivateUserRequest
- func (c *WorkDocs) DeleteCommentRequest(input *DeleteCommentInput) DeleteCommentRequest
- func (c *WorkDocs) DeleteCustomMetadataRequest(input *DeleteCustomMetadataInput) DeleteCustomMetadataRequest
- func (c *WorkDocs) DeleteDocumentRequest(input *DeleteDocumentInput) DeleteDocumentRequest
- func (c *WorkDocs) DeleteFolderContentsRequest(input *DeleteFolderContentsInput) DeleteFolderContentsRequest
- func (c *WorkDocs) DeleteFolderRequest(input *DeleteFolderInput) DeleteFolderRequest
- func (c *WorkDocs) DeleteLabelsRequest(input *DeleteLabelsInput) DeleteLabelsRequest
- func (c *WorkDocs) DeleteNotificationSubscriptionRequest(input *DeleteNotificationSubscriptionInput) DeleteNotificationSubscriptionRequest
- func (c *WorkDocs) DeleteUserRequest(input *DeleteUserInput) DeleteUserRequest
- func (c *WorkDocs) DescribeActivitiesRequest(input *DescribeActivitiesInput) DescribeActivitiesRequest
- func (c *WorkDocs) DescribeCommentsRequest(input *DescribeCommentsInput) DescribeCommentsRequest
- func (c *WorkDocs) DescribeDocumentVersionsPages(input *DescribeDocumentVersionsInput, ...) error
- func (c *WorkDocs) DescribeDocumentVersionsPagesWithContext(ctx aws.Context, input *DescribeDocumentVersionsInput, ...) error
- func (c *WorkDocs) DescribeDocumentVersionsRequest(input *DescribeDocumentVersionsInput) DescribeDocumentVersionsRequest
- func (c *WorkDocs) DescribeFolderContentsPages(input *DescribeFolderContentsInput, ...) error
- func (c *WorkDocs) DescribeFolderContentsPagesWithContext(ctx aws.Context, input *DescribeFolderContentsInput, ...) error
- func (c *WorkDocs) DescribeFolderContentsRequest(input *DescribeFolderContentsInput) DescribeFolderContentsRequest
- func (c *WorkDocs) DescribeGroupsRequest(input *DescribeGroupsInput) DescribeGroupsRequest
- func (c *WorkDocs) DescribeNotificationSubscriptionsRequest(input *DescribeNotificationSubscriptionsInput) DescribeNotificationSubscriptionsRequest
- func (c *WorkDocs) DescribeResourcePermissionsRequest(input *DescribeResourcePermissionsInput) DescribeResourcePermissionsRequest
- func (c *WorkDocs) DescribeRootFoldersRequest(input *DescribeRootFoldersInput) DescribeRootFoldersRequest
- func (c *WorkDocs) DescribeUsersPages(input *DescribeUsersInput, fn func(*DescribeUsersOutput, bool) bool) error
- func (c *WorkDocs) DescribeUsersPagesWithContext(ctx aws.Context, input *DescribeUsersInput, ...) error
- func (c *WorkDocs) DescribeUsersRequest(input *DescribeUsersInput) DescribeUsersRequest
- func (c *WorkDocs) GetCurrentUserRequest(input *GetCurrentUserInput) GetCurrentUserRequest
- func (c *WorkDocs) GetDocumentPathRequest(input *GetDocumentPathInput) GetDocumentPathRequest
- func (c *WorkDocs) GetDocumentRequest(input *GetDocumentInput) GetDocumentRequest
- func (c *WorkDocs) GetDocumentVersionRequest(input *GetDocumentVersionInput) GetDocumentVersionRequest
- func (c *WorkDocs) GetFolderPathRequest(input *GetFolderPathInput) GetFolderPathRequest
- func (c *WorkDocs) GetFolderRequest(input *GetFolderInput) GetFolderRequest
- func (c *WorkDocs) InitiateDocumentVersionUploadRequest(input *InitiateDocumentVersionUploadInput) InitiateDocumentVersionUploadRequest
- func (c *WorkDocs) RemoveAllResourcePermissionsRequest(input *RemoveAllResourcePermissionsInput) RemoveAllResourcePermissionsRequest
- func (c *WorkDocs) RemoveResourcePermissionRequest(input *RemoveResourcePermissionInput) RemoveResourcePermissionRequest
- func (c *WorkDocs) UpdateDocumentRequest(input *UpdateDocumentInput) UpdateDocumentRequest
- func (c *WorkDocs) UpdateDocumentVersionRequest(input *UpdateDocumentVersionInput) UpdateDocumentVersionRequest
- func (c *WorkDocs) UpdateFolderRequest(input *UpdateFolderInput) UpdateFolderRequest
- func (c *WorkDocs) UpdateUserRequest(input *UpdateUserInput) UpdateUserRequest
Constants ¶
const ( // ErrCodeConcurrentModificationException for service response error code // "ConcurrentModificationException". // // The resource hierarchy is changing. ErrCodeConcurrentModificationException = "ConcurrentModificationException" // ErrCodeCustomMetadataLimitExceededException for service response error code // "CustomMetadataLimitExceededException". // // The limit has been reached on the number of custom properties for the specified // resource. ErrCodeCustomMetadataLimitExceededException = "CustomMetadataLimitExceededException" // ErrCodeDeactivatingLastSystemUserException for service response error code // "DeactivatingLastSystemUserException". // // The last user in the organization is being deactivated. ErrCodeDeactivatingLastSystemUserException = "DeactivatingLastSystemUserException" // ErrCodeDocumentLockedForCommentsException for service response error code // "DocumentLockedForCommentsException". // // This exception is thrown when the document is locked for comments and user // tries to create or delete a comment on that document. ErrCodeDocumentLockedForCommentsException = "DocumentLockedForCommentsException" // ErrCodeDraftUploadOutOfSyncException for service response error code // "DraftUploadOutOfSyncException". // // This exception is thrown when a valid checkout ID is not presented on document // version upload calls for a document that has been checked out from Web client. ErrCodeDraftUploadOutOfSyncException = "DraftUploadOutOfSyncException" // ErrCodeEntityAlreadyExistsException for service response error code // "EntityAlreadyExistsException". // // The resource already exists. ErrCodeEntityAlreadyExistsException = "EntityAlreadyExistsException" // ErrCodeEntityNotExistsException for service response error code // "EntityNotExistsException". // // The resource does not exist. ErrCodeEntityNotExistsException = "EntityNotExistsException" // ErrCodeFailedDependencyException for service response error code // "FailedDependencyException". // // The AWS Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. ErrCodeFailedDependencyException = "FailedDependencyException" // ErrCodeIllegalUserStateException for service response error code // "IllegalUserStateException". // // The user is undergoing transfer of ownership. ErrCodeIllegalUserStateException = "IllegalUserStateException" // ErrCodeInvalidArgumentException for service response error code // "InvalidArgumentException". // // The pagination marker or limit fields are not valid. ErrCodeInvalidArgumentException = "InvalidArgumentException" // ErrCodeInvalidOperationException for service response error code // "InvalidOperationException". // // The operation is invalid. ErrCodeInvalidOperationException = "InvalidOperationException" // ErrCodeInvalidPasswordException for service response error code // "InvalidPasswordException". // // The password is invalid. ErrCodeInvalidPasswordException = "InvalidPasswordException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // The maximum of 100,000 folders under the parent folder has been exceeded. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeProhibitedStateException for service response error code // "ProhibitedStateException". // // The specified document version is not in the INITIALIZED state. ErrCodeProhibitedStateException = "ProhibitedStateException" // ErrCodeResourceAlreadyCheckedOutException for service response error code // "ResourceAlreadyCheckedOutException". // // The resource is already checked out. ErrCodeResourceAlreadyCheckedOutException = "ResourceAlreadyCheckedOutException" // "ServiceUnavailableException". // // One or more of the dependencies is unavailable. ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeStorageLimitExceededException for service response error code // "StorageLimitExceededException". // // The storage limit has been exceeded. ErrCodeStorageLimitExceededException = "StorageLimitExceededException" // ErrCodeStorageLimitWillExceedException for service response error code // "StorageLimitWillExceedException". // // The storage limit will be exceeded. ErrCodeStorageLimitWillExceedException = "StorageLimitWillExceedException" // ErrCodeTooManyLabelsException for service response error code // "TooManyLabelsException". // // The limit has been reached on the number of labels for the specified resource. ErrCodeTooManyLabelsException = "TooManyLabelsException" // ErrCodeTooManySubscriptionsException for service response error code // "TooManySubscriptionsException". // // You've reached the limit on the number of subscriptions for the WorkDocs // instance. ErrCodeTooManySubscriptionsException = "TooManySubscriptionsException" // "UnauthorizedOperationException". // // The operation is not permitted. ErrCodeUnauthorizedOperationException = "UnauthorizedOperationException" // "UnauthorizedResourceAccessException". // // The caller does not have access to perform the action on the resource. ErrCodeUnauthorizedResourceAccessException = "UnauthorizedResourceAccessException" )
const ( ServiceName = "workdocs" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortDocumentVersionUploadInput ¶
type AbortDocumentVersionUploadInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // The ID of the version. // // VersionId is a required field VersionId *string `location:"uri" locationName:"VersionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AbortDocumentVersionUploadRequest
func (AbortDocumentVersionUploadInput) GoString ¶
func (s AbortDocumentVersionUploadInput) GoString() string
GoString returns the string representation
func (*AbortDocumentVersionUploadInput) SetAuthenticationToken ¶
func (s *AbortDocumentVersionUploadInput) SetAuthenticationToken(v string) *AbortDocumentVersionUploadInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*AbortDocumentVersionUploadInput) SetDocumentId ¶
func (s *AbortDocumentVersionUploadInput) SetDocumentId(v string) *AbortDocumentVersionUploadInput
SetDocumentId sets the DocumentId field's value.
func (*AbortDocumentVersionUploadInput) SetVersionId ¶
func (s *AbortDocumentVersionUploadInput) SetVersionId(v string) *AbortDocumentVersionUploadInput
SetVersionId sets the VersionId field's value.
func (AbortDocumentVersionUploadInput) String ¶
func (s AbortDocumentVersionUploadInput) String() string
String returns the string representation
func (*AbortDocumentVersionUploadInput) Validate ¶
func (s *AbortDocumentVersionUploadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AbortDocumentVersionUploadOutput ¶
type AbortDocumentVersionUploadOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AbortDocumentVersionUploadOutput
func (AbortDocumentVersionUploadOutput) GoString ¶
func (s AbortDocumentVersionUploadOutput) GoString() string
GoString returns the string representation
func (AbortDocumentVersionUploadOutput) SDKResponseMetadata ¶
func (s AbortDocumentVersionUploadOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AbortDocumentVersionUploadOutput) String ¶
func (s AbortDocumentVersionUploadOutput) String() string
String returns the string representation
type AbortDocumentVersionUploadRequest ¶
type AbortDocumentVersionUploadRequest struct { *aws.Request Input *AbortDocumentVersionUploadInput }
AbortDocumentVersionUploadRequest is a API request type for the AbortDocumentVersionUpload API operation.
func (AbortDocumentVersionUploadRequest) Send ¶
func (r AbortDocumentVersionUploadRequest) Send() (*AbortDocumentVersionUploadOutput, error)
Send marshals and sends the AbortDocumentVersionUpload API request.
type ActivateUserInput ¶
type ActivateUserInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the user. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ActivateUserRequest
func (ActivateUserInput) GoString ¶
func (s ActivateUserInput) GoString() string
GoString returns the string representation
func (*ActivateUserInput) SetAuthenticationToken ¶
func (s *ActivateUserInput) SetAuthenticationToken(v string) *ActivateUserInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*ActivateUserInput) SetUserId ¶
func (s *ActivateUserInput) SetUserId(v string) *ActivateUserInput
SetUserId sets the UserId field's value.
func (ActivateUserInput) String ¶
func (s ActivateUserInput) String() string
String returns the string representation
func (*ActivateUserInput) Validate ¶
func (s *ActivateUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ActivateUserOutput ¶
type ActivateUserOutput struct { // The user information. User *User `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ActivateUserResponse
func (ActivateUserOutput) GoString ¶
func (s ActivateUserOutput) GoString() string
GoString returns the string representation
func (ActivateUserOutput) SDKResponseMetadata ¶
func (s ActivateUserOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ActivateUserOutput) SetUser ¶
func (s *ActivateUserOutput) SetUser(v *User) *ActivateUserOutput
SetUser sets the User field's value.
func (ActivateUserOutput) String ¶
func (s ActivateUserOutput) String() string
String returns the string representation
type ActivateUserRequest ¶
type ActivateUserRequest struct { *aws.Request Input *ActivateUserInput }
ActivateUserRequest is a API request type for the ActivateUser API operation.
func (ActivateUserRequest) Send ¶
func (r ActivateUserRequest) Send() (*ActivateUserOutput, error)
Send marshals and sends the ActivateUser API request.
type Activity ¶
type Activity struct { // Metadata of the commenting activity. This is an optional field and is filled // for commenting activities. CommentMetadata *CommentMetadata `type:"structure"` // The user who performed the action. Initiator *UserMetadata `type:"structure"` // The ID of the organization. OrganizationId *string `min:"1" type:"string"` // The original parent of the resource. This is an optional field and is filled // for move activities. OriginalParent *ResourceMetadata `type:"structure"` // The list of users or groups impacted by this action. This is an optional // field and is filled for the following sharing activities: DOCUMENT_SHARED, // DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED. Participants *Participants `type:"structure"` // The metadata of the resource involved in the user action. ResourceMetadata *ResourceMetadata `type:"structure"` // The timestamp when the action was performed. TimeStamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The activity type. Type ActivityType `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the activity information. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Activity
func (*Activity) SetCommentMetadata ¶
func (s *Activity) SetCommentMetadata(v *CommentMetadata) *Activity
SetCommentMetadata sets the CommentMetadata field's value.
func (*Activity) SetInitiator ¶
func (s *Activity) SetInitiator(v *UserMetadata) *Activity
SetInitiator sets the Initiator field's value.
func (*Activity) SetOrganizationId ¶
SetOrganizationId sets the OrganizationId field's value.
func (*Activity) SetOriginalParent ¶
func (s *Activity) SetOriginalParent(v *ResourceMetadata) *Activity
SetOriginalParent sets the OriginalParent field's value.
func (*Activity) SetParticipants ¶
func (s *Activity) SetParticipants(v *Participants) *Activity
SetParticipants sets the Participants field's value.
func (*Activity) SetResourceMetadata ¶
func (s *Activity) SetResourceMetadata(v *ResourceMetadata) *Activity
SetResourceMetadata sets the ResourceMetadata field's value.
func (*Activity) SetTimeStamp ¶
SetTimeStamp sets the TimeStamp field's value.
func (*Activity) SetType ¶
func (s *Activity) SetType(v ActivityType) *Activity
SetType sets the Type field's value.
type ActivityType ¶
type ActivityType string
const ( ActivityTypeDocumentCheckedIn ActivityType = "DOCUMENT_CHECKED_IN" ActivityTypeDocumentCheckedOut ActivityType = "DOCUMENT_CHECKED_OUT" ActivityTypeDocumentRenamed ActivityType = "DOCUMENT_RENAMED" ActivityTypeDocumentVersionUploaded ActivityType = "DOCUMENT_VERSION_UPLOADED" ActivityTypeDocumentVersionDeleted ActivityType = "DOCUMENT_VERSION_DELETED" ActivityTypeDocumentRecycled ActivityType = "DOCUMENT_RECYCLED" ActivityTypeDocumentRestored ActivityType = "DOCUMENT_RESTORED" ActivityTypeDocumentReverted ActivityType = "DOCUMENT_REVERTED" ActivityTypeDocumentMoved ActivityType = "DOCUMENT_MOVED" ActivityTypeDocumentCommentAdded ActivityType = "DOCUMENT_COMMENT_ADDED" ActivityTypeDocumentCommentDeleted ActivityType = "DOCUMENT_COMMENT_DELETED" ActivityTypeDocumentAnnotationAdded ActivityType = "DOCUMENT_ANNOTATION_ADDED" ActivityTypeDocumentAnnotationDeleted ActivityType = "DOCUMENT_ANNOTATION_DELETED" ActivityTypeFolderCreated ActivityType = "FOLDER_CREATED" ActivityTypeFolderDeleted ActivityType = "FOLDER_DELETED" ActivityTypeFolderRenamed ActivityType = "FOLDER_RENAMED" ActivityTypeFolderRecycled ActivityType = "FOLDER_RECYCLED" ActivityTypeFolderRestored ActivityType = "FOLDER_RESTORED" ActivityTypeFolderMoved ActivityType = "FOLDER_MOVED" )
Enum values for ActivityType
type AddResourcePermissionsInput ¶
type AddResourcePermissionsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The notification options. NotificationOptions *NotificationOptions `type:"structure"` // The users, groups, or organization being granted permission. // // Principals is a required field Principals []SharePrincipal `type:"list" required:"true"` // The ID of the resource. // // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AddResourcePermissionsRequest
func (AddResourcePermissionsInput) GoString ¶
func (s AddResourcePermissionsInput) GoString() string
GoString returns the string representation
func (*AddResourcePermissionsInput) SetAuthenticationToken ¶
func (s *AddResourcePermissionsInput) SetAuthenticationToken(v string) *AddResourcePermissionsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*AddResourcePermissionsInput) SetNotificationOptions ¶
func (s *AddResourcePermissionsInput) SetNotificationOptions(v *NotificationOptions) *AddResourcePermissionsInput
SetNotificationOptions sets the NotificationOptions field's value.
func (*AddResourcePermissionsInput) SetPrincipals ¶
func (s *AddResourcePermissionsInput) SetPrincipals(v []SharePrincipal) *AddResourcePermissionsInput
SetPrincipals sets the Principals field's value.
func (*AddResourcePermissionsInput) SetResourceId ¶
func (s *AddResourcePermissionsInput) SetResourceId(v string) *AddResourcePermissionsInput
SetResourceId sets the ResourceId field's value.
func (AddResourcePermissionsInput) String ¶
func (s AddResourcePermissionsInput) String() string
String returns the string representation
func (*AddResourcePermissionsInput) Validate ¶
func (s *AddResourcePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddResourcePermissionsOutput ¶
type AddResourcePermissionsOutput struct { ShareResult `type:"list"` // contains filtered or unexported fields }ShareResults []
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AddResourcePermissionsResponse
func (AddResourcePermissionsOutput) GoString ¶
func (s AddResourcePermissionsOutput) GoString() string
GoString returns the string representation
func (AddResourcePermissionsOutput) SDKResponseMetadata ¶
func (s AddResourcePermissionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*AddResourcePermissionsOutput) SetShareResults ¶
func (s *AddResourcePermissionsOutput) SetShareResults(v []ShareResult) *AddResourcePermissionsOutput
SetShareResults sets the ShareResults field's value.
func (AddResourcePermissionsOutput) String ¶
func (s AddResourcePermissionsOutput) String() string
String returns the string representation
type AddResourcePermissionsRequest ¶
type AddResourcePermissionsRequest struct { *aws.Request Input *AddResourcePermissionsInput }
AddResourcePermissionsRequest is a API request type for the AddResourcePermissions API operation.
func (AddResourcePermissionsRequest) Send ¶
func (r AddResourcePermissionsRequest) Send() (*AddResourcePermissionsOutput, error)
Send marshals and sends the AddResourcePermissions API request.
type BooleanEnumType ¶
type BooleanEnumType string
const ( BooleanEnumTypeTrue BooleanEnumType = "TRUE" BooleanEnumTypeFalse BooleanEnumType = "FALSE" )
Enum values for BooleanEnumType
type Comment ¶
type Comment struct { // The ID of the comment. // // CommentId is a required field CommentId *string `min:"1" type:"string" required:"true"` // The details of the user who made the comment. Contributor *User `type:"structure"` // The time that the comment was created. CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The ID of the parent comment. ParentId *string `min:"1" type:"string"` // If the comment is a reply to another user's comment, this field contains // the user ID of the user being replied to. RecipientId *string `min:"1" type:"string"` // The status of the comment. Status CommentStatusType `type:"string" enum:"true"` // The text of the comment. Text *string `min:"1" type:"string"` // The ID of the root comment in the thread. ThreadId *string `min:"1" type:"string"` // The visibility of the comment. Options are either PRIVATE, where the comment // is visible only to the comment author and document owner and co-owners, or // PUBLIC, where the comment is visible to document owners, co-owners, and contributors. Visibility CommentVisibilityType `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a comment. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Comment
func (*Comment) SetCommentId ¶
SetCommentId sets the CommentId field's value.
func (*Comment) SetContributor ¶
SetContributor sets the Contributor field's value.
func (*Comment) SetCreatedTimestamp ¶
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*Comment) SetParentId ¶
SetParentId sets the ParentId field's value.
func (*Comment) SetRecipientId ¶
SetRecipientId sets the RecipientId field's value.
func (*Comment) SetStatus ¶
func (s *Comment) SetStatus(v CommentStatusType) *Comment
SetStatus sets the Status field's value.
func (*Comment) SetThreadId ¶
SetThreadId sets the ThreadId field's value.
func (*Comment) SetVisibility ¶
func (s *Comment) SetVisibility(v CommentVisibilityType) *Comment
SetVisibility sets the Visibility field's value.
type CommentMetadata ¶
type CommentMetadata struct { // The ID of the comment. CommentId *string `min:"1" type:"string"` // The status of the comment. CommentStatus CommentStatusType `type:"string" enum:"true"` // The user who made the comment. Contributor *User `type:"structure"` // The timestamp that the comment was created. CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The ID of the user being replied to. RecipientId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes the metadata of a comment. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CommentMetadata
func (CommentMetadata) GoString ¶
func (s CommentMetadata) GoString() string
GoString returns the string representation
func (*CommentMetadata) SetCommentId ¶
func (s *CommentMetadata) SetCommentId(v string) *CommentMetadata
SetCommentId sets the CommentId field's value.
func (*CommentMetadata) SetCommentStatus ¶
func (s *CommentMetadata) SetCommentStatus(v CommentStatusType) *CommentMetadata
SetCommentStatus sets the CommentStatus field's value.
func (*CommentMetadata) SetContributor ¶
func (s *CommentMetadata) SetContributor(v *User) *CommentMetadata
SetContributor sets the Contributor field's value.
func (*CommentMetadata) SetCreatedTimestamp ¶
func (s *CommentMetadata) SetCreatedTimestamp(v time.Time) *CommentMetadata
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*CommentMetadata) SetRecipientId ¶
func (s *CommentMetadata) SetRecipientId(v string) *CommentMetadata
SetRecipientId sets the RecipientId field's value.
func (CommentMetadata) String ¶
func (s CommentMetadata) String() string
String returns the string representation
type CommentStatusType ¶
type CommentStatusType string
const ( CommentStatusTypeDraft CommentStatusType = "DRAFT" CommentStatusTypePublished CommentStatusType = "PUBLISHED" CommentStatusTypeDeleted CommentStatusType = "DELETED" )
Enum values for CommentStatusType
type CommentVisibilityType ¶
type CommentVisibilityType string
const ( CommentVisibilityTypePublic CommentVisibilityType = "PUBLIC" CommentVisibilityTypePrivate CommentVisibilityType = "PRIVATE" )
Enum values for CommentVisibilityType
type CreateCommentInput ¶
type CreateCommentInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // Set this parameter to TRUE to send an email out to the document collaborators // after the comment is created. NotifyCollaborators *bool `type:"boolean"` // The ID of the parent comment. ParentId *string `min:"1" type:"string"` // The text of the comment. // // Text is a required field Text *string `min:"1" type:"string" required:"true"` // The ID of the root comment in the thread. ThreadId *string `min:"1" type:"string"` // The ID of the document version. // // VersionId is a required field VersionId *string `location:"uri" locationName:"VersionId" min:"1" type:"string" required:"true"` // The visibility of the comment. Options are either PRIVATE, where the comment // is visible only to the comment author and document owner and co-owners, or // PUBLIC, where the comment is visible to document owners, co-owners, and contributors. Visibility CommentVisibilityType `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCommentRequest
func (CreateCommentInput) GoString ¶
func (s CreateCommentInput) GoString() string
GoString returns the string representation
func (*CreateCommentInput) SetAuthenticationToken ¶
func (s *CreateCommentInput) SetAuthenticationToken(v string) *CreateCommentInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*CreateCommentInput) SetDocumentId ¶
func (s *CreateCommentInput) SetDocumentId(v string) *CreateCommentInput
SetDocumentId sets the DocumentId field's value.
func (*CreateCommentInput) SetNotifyCollaborators ¶
func (s *CreateCommentInput) SetNotifyCollaborators(v bool) *CreateCommentInput
SetNotifyCollaborators sets the NotifyCollaborators field's value.
func (*CreateCommentInput) SetParentId ¶
func (s *CreateCommentInput) SetParentId(v string) *CreateCommentInput
SetParentId sets the ParentId field's value.
func (*CreateCommentInput) SetText ¶
func (s *CreateCommentInput) SetText(v string) *CreateCommentInput
SetText sets the Text field's value.
func (*CreateCommentInput) SetThreadId ¶
func (s *CreateCommentInput) SetThreadId(v string) *CreateCommentInput
SetThreadId sets the ThreadId field's value.
func (*CreateCommentInput) SetVersionId ¶
func (s *CreateCommentInput) SetVersionId(v string) *CreateCommentInput
SetVersionId sets the VersionId field's value.
func (*CreateCommentInput) SetVisibility ¶
func (s *CreateCommentInput) SetVisibility(v CommentVisibilityType) *CreateCommentInput
SetVisibility sets the Visibility field's value.
func (CreateCommentInput) String ¶
func (s CreateCommentInput) String() string
String returns the string representation
func (*CreateCommentInput) Validate ¶
func (s *CreateCommentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCommentOutput ¶
type CreateCommentOutput struct { // The comment that has been created. Comment *Comment `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCommentResponse
func (CreateCommentOutput) GoString ¶
func (s CreateCommentOutput) GoString() string
GoString returns the string representation
func (CreateCommentOutput) SDKResponseMetadata ¶
func (s CreateCommentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateCommentOutput) SetComment ¶
func (s *CreateCommentOutput) SetComment(v *Comment) *CreateCommentOutput
SetComment sets the Comment field's value.
func (CreateCommentOutput) String ¶
func (s CreateCommentOutput) String() string
String returns the string representation
type CreateCommentRequest ¶
type CreateCommentRequest struct { *aws.Request Input *CreateCommentInput }
CreateCommentRequest is a API request type for the CreateComment API operation.
func (CreateCommentRequest) Send ¶
func (r CreateCommentRequest) Send() (*CreateCommentOutput, error)
Send marshals and sends the CreateComment API request.
type CreateCustomMetadataInput ¶
type CreateCustomMetadataInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // Custom metadata in the form of name-value pairs. // // CustomMetadata is a required field CustomMetadata map[string]string `min:"1" type:"map" required:"true"` // The ID of the resource. // // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" min:"1" type:"string" required:"true"` // The ID of the version, if the custom metadata is being added to a document // version. VersionId *string `location:"querystring" locationName:"versionid" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCustomMetadataRequest
func (CreateCustomMetadataInput) GoString ¶
func (s CreateCustomMetadataInput) GoString() string
GoString returns the string representation
func (*CreateCustomMetadataInput) SetAuthenticationToken ¶
func (s *CreateCustomMetadataInput) SetAuthenticationToken(v string) *CreateCustomMetadataInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*CreateCustomMetadataInput) SetCustomMetadata ¶
func (s *CreateCustomMetadataInput) SetCustomMetadata(v map[string]string) *CreateCustomMetadataInput
SetCustomMetadata sets the CustomMetadata field's value.
func (*CreateCustomMetadataInput) SetResourceId ¶
func (s *CreateCustomMetadataInput) SetResourceId(v string) *CreateCustomMetadataInput
SetResourceId sets the ResourceId field's value.
func (*CreateCustomMetadataInput) SetVersionId ¶
func (s *CreateCustomMetadataInput) SetVersionId(v string) *CreateCustomMetadataInput
SetVersionId sets the VersionId field's value.
func (CreateCustomMetadataInput) String ¶
func (s CreateCustomMetadataInput) String() string
String returns the string representation
func (*CreateCustomMetadataInput) Validate ¶
func (s *CreateCustomMetadataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCustomMetadataOutput ¶
type CreateCustomMetadataOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCustomMetadataResponse
func (CreateCustomMetadataOutput) GoString ¶
func (s CreateCustomMetadataOutput) GoString() string
GoString returns the string representation
func (CreateCustomMetadataOutput) SDKResponseMetadata ¶
func (s CreateCustomMetadataOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateCustomMetadataOutput) String ¶
func (s CreateCustomMetadataOutput) String() string
String returns the string representation
type CreateCustomMetadataRequest ¶
type CreateCustomMetadataRequest struct { *aws.Request Input *CreateCustomMetadataInput }
CreateCustomMetadataRequest is a API request type for the CreateCustomMetadata API operation.
func (CreateCustomMetadataRequest) Send ¶
func (r CreateCustomMetadataRequest) Send() (*CreateCustomMetadataOutput, error)
Send marshals and sends the CreateCustomMetadata API request.
type CreateFolderInput ¶
type CreateFolderInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The name of the new folder. Name *string `min:"1" type:"string"` // The ID of the parent folder. // // ParentFolderId is a required field ParentFolderId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateFolderRequest
func (CreateFolderInput) GoString ¶
func (s CreateFolderInput) GoString() string
GoString returns the string representation
func (*CreateFolderInput) SetAuthenticationToken ¶
func (s *CreateFolderInput) SetAuthenticationToken(v string) *CreateFolderInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*CreateFolderInput) SetName ¶
func (s *CreateFolderInput) SetName(v string) *CreateFolderInput
SetName sets the Name field's value.
func (*CreateFolderInput) SetParentFolderId ¶
func (s *CreateFolderInput) SetParentFolderId(v string) *CreateFolderInput
SetParentFolderId sets the ParentFolderId field's value.
func (CreateFolderInput) String ¶
func (s CreateFolderInput) String() string
String returns the string representation
func (*CreateFolderInput) Validate ¶
func (s *CreateFolderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFolderOutput ¶
type CreateFolderOutput struct { // The metadata of the folder. Metadata *FolderMetadata `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateFolderResponse
func (CreateFolderOutput) GoString ¶
func (s CreateFolderOutput) GoString() string
GoString returns the string representation
func (CreateFolderOutput) SDKResponseMetadata ¶
func (s CreateFolderOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateFolderOutput) SetMetadata ¶
func (s *CreateFolderOutput) SetMetadata(v *FolderMetadata) *CreateFolderOutput
SetMetadata sets the Metadata field's value.
func (CreateFolderOutput) String ¶
func (s CreateFolderOutput) String() string
String returns the string representation
type CreateFolderRequest ¶
type CreateFolderRequest struct { *aws.Request Input *CreateFolderInput }
CreateFolderRequest is a API request type for the CreateFolder API operation.
func (CreateFolderRequest) Send ¶
func (r CreateFolderRequest) Send() (*CreateFolderOutput, error)
Send marshals and sends the CreateFolder API request.
type CreateLabelsInput ¶
type CreateLabelsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // List of labels to add to the resource. // // Labels is a required field Labels []string `type:"list" required:"true"` // The ID of the resource. // // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabelsRequest
func (CreateLabelsInput) GoString ¶
func (s CreateLabelsInput) GoString() string
GoString returns the string representation
func (*CreateLabelsInput) SetAuthenticationToken ¶
func (s *CreateLabelsInput) SetAuthenticationToken(v string) *CreateLabelsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*CreateLabelsInput) SetLabels ¶
func (s *CreateLabelsInput) SetLabels(v []string) *CreateLabelsInput
SetLabels sets the Labels field's value.
func (*CreateLabelsInput) SetResourceId ¶
func (s *CreateLabelsInput) SetResourceId(v string) *CreateLabelsInput
SetResourceId sets the ResourceId field's value.
func (CreateLabelsInput) String ¶
func (s CreateLabelsInput) String() string
String returns the string representation
func (*CreateLabelsInput) Validate ¶
func (s *CreateLabelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLabelsOutput ¶
type CreateLabelsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabelsResponse
func (CreateLabelsOutput) GoString ¶
func (s CreateLabelsOutput) GoString() string
GoString returns the string representation
func (CreateLabelsOutput) SDKResponseMetadata ¶
func (s CreateLabelsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateLabelsOutput) String ¶
func (s CreateLabelsOutput) String() string
String returns the string representation
type CreateLabelsRequest ¶
type CreateLabelsRequest struct { *aws.Request Input *CreateLabelsInput }
CreateLabelsRequest is a API request type for the CreateLabels API operation.
func (CreateLabelsRequest) Send ¶
func (r CreateLabelsRequest) Send() (*CreateLabelsOutput, error)
Send marshals and sends the CreateLabels API request.
type CreateNotificationSubscriptionInput ¶
type CreateNotificationSubscriptionInput struct { // The endpoint to receive the notifications. If the protocol is HTTPS, the // endpoint is a URL that begins with "https://". // // Endpoint is a required field Endpoint *string `min:"1" type:"string" required:"true"` // The ID of the organization. // // OrganizationId is a required field OrganizationId *string `location:"uri" locationName:"OrganizationId" min:"1" type:"string" required:"true"` // The protocol to use. The supported value is https, which delivers JSON-encoded // messages using HTTPS POST. // // Protocol is a required field Protocol SubscriptionProtocolType `type:"string" required:"true" enum:"true"` // The notification type. // // SubscriptionType is a required field SubscriptionType SubscriptionType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateNotificationSubscriptionRequest
func (CreateNotificationSubscriptionInput) GoString ¶
func (s CreateNotificationSubscriptionInput) GoString() string
GoString returns the string representation
func (*CreateNotificationSubscriptionInput) SetEndpoint ¶
func (s *CreateNotificationSubscriptionInput) SetEndpoint(v string) *CreateNotificationSubscriptionInput
SetEndpoint sets the Endpoint field's value.
func (*CreateNotificationSubscriptionInput) SetOrganizationId ¶
func (s *CreateNotificationSubscriptionInput) SetOrganizationId(v string) *CreateNotificationSubscriptionInput
SetOrganizationId sets the OrganizationId field's value.
func (*CreateNotificationSubscriptionInput) SetProtocol ¶
func (s *CreateNotificationSubscriptionInput) SetProtocol(v SubscriptionProtocolType) *CreateNotificationSubscriptionInput
SetProtocol sets the Protocol field's value.
func (*CreateNotificationSubscriptionInput) SetSubscriptionType ¶
func (s *CreateNotificationSubscriptionInput) SetSubscriptionType(v SubscriptionType) *CreateNotificationSubscriptionInput
SetSubscriptionType sets the SubscriptionType field's value.
func (CreateNotificationSubscriptionInput) String ¶
func (s CreateNotificationSubscriptionInput) String() string
String returns the string representation
func (*CreateNotificationSubscriptionInput) Validate ¶
func (s *CreateNotificationSubscriptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNotificationSubscriptionOutput ¶
type CreateNotificationSubscriptionOutput struct { // The subscription. Subscription *Subscription `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateNotificationSubscriptionResponse
func (CreateNotificationSubscriptionOutput) GoString ¶
func (s CreateNotificationSubscriptionOutput) GoString() string
GoString returns the string representation
func (CreateNotificationSubscriptionOutput) SDKResponseMetadata ¶
func (s CreateNotificationSubscriptionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateNotificationSubscriptionOutput) SetSubscription ¶
func (s *CreateNotificationSubscriptionOutput) SetSubscription(v *Subscription) *CreateNotificationSubscriptionOutput
SetSubscription sets the Subscription field's value.
func (CreateNotificationSubscriptionOutput) String ¶
func (s CreateNotificationSubscriptionOutput) String() string
String returns the string representation
type CreateNotificationSubscriptionRequest ¶
type CreateNotificationSubscriptionRequest struct { *aws.Request Input *CreateNotificationSubscriptionInput }
CreateNotificationSubscriptionRequest is a API request type for the CreateNotificationSubscription API operation.
func (CreateNotificationSubscriptionRequest) Send ¶
func (r CreateNotificationSubscriptionRequest) Send() (*CreateNotificationSubscriptionOutput, error)
Send marshals and sends the CreateNotificationSubscription API request.
type CreateUserInput ¶
type CreateUserInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The email address of the user. EmailAddress *string `min:"1" type:"string"` // The given name of the user. // // GivenName is a required field GivenName *string `min:"1" type:"string" required:"true"` // The ID of the organization. OrganizationId *string `min:"1" type:"string"` // The password of the user. // // Password is a required field Password *string `min:"4" type:"string" required:"true"` // The amount of storage for the user. StorageRule *StorageRuleType `type:"structure"` // The surname of the user. // // Surname is a required field Surname *string `min:"1" type:"string" required:"true"` // The time zone ID of the user. TimeZoneId *string `min:"1" type:"string"` // The login name of the user. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUserRequest
func (CreateUserInput) GoString ¶
func (s CreateUserInput) GoString() string
GoString returns the string representation
func (*CreateUserInput) SetAuthenticationToken ¶
func (s *CreateUserInput) SetAuthenticationToken(v string) *CreateUserInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*CreateUserInput) SetEmailAddress ¶
func (s *CreateUserInput) SetEmailAddress(v string) *CreateUserInput
SetEmailAddress sets the EmailAddress field's value.
func (*CreateUserInput) SetGivenName ¶
func (s *CreateUserInput) SetGivenName(v string) *CreateUserInput
SetGivenName sets the GivenName field's value.
func (*CreateUserInput) SetOrganizationId ¶
func (s *CreateUserInput) SetOrganizationId(v string) *CreateUserInput
SetOrganizationId sets the OrganizationId field's value.
func (*CreateUserInput) SetPassword ¶
func (s *CreateUserInput) SetPassword(v string) *CreateUserInput
SetPassword sets the Password field's value.
func (*CreateUserInput) SetStorageRule ¶
func (s *CreateUserInput) SetStorageRule(v *StorageRuleType) *CreateUserInput
SetStorageRule sets the StorageRule field's value.
func (*CreateUserInput) SetSurname ¶
func (s *CreateUserInput) SetSurname(v string) *CreateUserInput
SetSurname sets the Surname field's value.
func (*CreateUserInput) SetTimeZoneId ¶
func (s *CreateUserInput) SetTimeZoneId(v string) *CreateUserInput
SetTimeZoneId sets the TimeZoneId field's value.
func (*CreateUserInput) SetUsername ¶
func (s *CreateUserInput) SetUsername(v string) *CreateUserInput
SetUsername sets the Username field's value.
func (CreateUserInput) String ¶
func (s CreateUserInput) String() string
String returns the string representation
func (*CreateUserInput) Validate ¶
func (s *CreateUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateUserOutput ¶
type CreateUserOutput struct { // The user information. User *User `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUserResponse
func (CreateUserOutput) GoString ¶
func (s CreateUserOutput) GoString() string
GoString returns the string representation
func (CreateUserOutput) SDKResponseMetadata ¶
func (s CreateUserOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateUserOutput) SetUser ¶
func (s *CreateUserOutput) SetUser(v *User) *CreateUserOutput
SetUser sets the User field's value.
func (CreateUserOutput) String ¶
func (s CreateUserOutput) String() string
String returns the string representation
type CreateUserRequest ¶
type CreateUserRequest struct { *aws.Request Input *CreateUserInput }
CreateUserRequest is a API request type for the CreateUser API operation.
func (CreateUserRequest) Send ¶
func (r CreateUserRequest) Send() (*CreateUserOutput, error)
Send marshals and sends the CreateUser API request.
type DeactivateUserInput ¶
type DeactivateUserInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the user. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUserRequest
func (DeactivateUserInput) GoString ¶
func (s DeactivateUserInput) GoString() string
GoString returns the string representation
func (*DeactivateUserInput) SetAuthenticationToken ¶
func (s *DeactivateUserInput) SetAuthenticationToken(v string) *DeactivateUserInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DeactivateUserInput) SetUserId ¶
func (s *DeactivateUserInput) SetUserId(v string) *DeactivateUserInput
SetUserId sets the UserId field's value.
func (DeactivateUserInput) String ¶
func (s DeactivateUserInput) String() string
String returns the string representation
func (*DeactivateUserInput) Validate ¶
func (s *DeactivateUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeactivateUserOutput ¶
type DeactivateUserOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUserOutput
func (DeactivateUserOutput) GoString ¶
func (s DeactivateUserOutput) GoString() string
GoString returns the string representation
func (DeactivateUserOutput) SDKResponseMetadata ¶
func (s DeactivateUserOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeactivateUserOutput) String ¶
func (s DeactivateUserOutput) String() string
String returns the string representation
type DeactivateUserRequest ¶
type DeactivateUserRequest struct { *aws.Request Input *DeactivateUserInput }
DeactivateUserRequest is a API request type for the DeactivateUser API operation.
func (DeactivateUserRequest) Send ¶
func (r DeactivateUserRequest) Send() (*DeactivateUserOutput, error)
Send marshals and sends the DeactivateUser API request.
type DeleteCommentInput ¶
type DeleteCommentInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the comment. // // CommentId is a required field CommentId *string `location:"uri" locationName:"CommentId" min:"1" type:"string" required:"true"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // The ID of the document version. // // VersionId is a required field VersionId *string `location:"uri" locationName:"VersionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCommentRequest
func (DeleteCommentInput) GoString ¶
func (s DeleteCommentInput) GoString() string
GoString returns the string representation
func (*DeleteCommentInput) SetAuthenticationToken ¶
func (s *DeleteCommentInput) SetAuthenticationToken(v string) *DeleteCommentInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DeleteCommentInput) SetCommentId ¶
func (s *DeleteCommentInput) SetCommentId(v string) *DeleteCommentInput
SetCommentId sets the CommentId field's value.
func (*DeleteCommentInput) SetDocumentId ¶
func (s *DeleteCommentInput) SetDocumentId(v string) *DeleteCommentInput
SetDocumentId sets the DocumentId field's value.
func (*DeleteCommentInput) SetVersionId ¶
func (s *DeleteCommentInput) SetVersionId(v string) *DeleteCommentInput
SetVersionId sets the VersionId field's value.
func (DeleteCommentInput) String ¶
func (s DeleteCommentInput) String() string
String returns the string representation
func (*DeleteCommentInput) Validate ¶
func (s *DeleteCommentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCommentOutput ¶
type DeleteCommentOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCommentOutput
func (DeleteCommentOutput) GoString ¶
func (s DeleteCommentOutput) GoString() string
GoString returns the string representation
func (DeleteCommentOutput) SDKResponseMetadata ¶
func (s DeleteCommentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteCommentOutput) String ¶
func (s DeleteCommentOutput) String() string
String returns the string representation
type DeleteCommentRequest ¶
type DeleteCommentRequest struct { *aws.Request Input *DeleteCommentInput }
DeleteCommentRequest is a API request type for the DeleteComment API operation.
func (DeleteCommentRequest) Send ¶
func (r DeleteCommentRequest) Send() (*DeleteCommentOutput, error)
Send marshals and sends the DeleteComment API request.
type DeleteCustomMetadataInput ¶
type DeleteCustomMetadataInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // Flag to indicate removal of all custom metadata properties from the specified // resource. DeleteAll *bool `location:"querystring" locationName:"deleteAll" type:"boolean"` // List of properties to remove. Keys []string `location:"querystring" locationName:"keys" type:"list"` // The ID of the resource, either a document or folder. // // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" min:"1" type:"string" required:"true"` // The ID of the version, if the custom metadata is being deleted from a document // version. VersionId *string `location:"querystring" locationName:"versionId" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCustomMetadataRequest
func (DeleteCustomMetadataInput) GoString ¶
func (s DeleteCustomMetadataInput) GoString() string
GoString returns the string representation
func (*DeleteCustomMetadataInput) SetAuthenticationToken ¶
func (s *DeleteCustomMetadataInput) SetAuthenticationToken(v string) *DeleteCustomMetadataInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DeleteCustomMetadataInput) SetDeleteAll ¶
func (s *DeleteCustomMetadataInput) SetDeleteAll(v bool) *DeleteCustomMetadataInput
SetDeleteAll sets the DeleteAll field's value.
func (*DeleteCustomMetadataInput) SetKeys ¶
func (s *DeleteCustomMetadataInput) SetKeys(v []string) *DeleteCustomMetadataInput
SetKeys sets the Keys field's value.
func (*DeleteCustomMetadataInput) SetResourceId ¶
func (s *DeleteCustomMetadataInput) SetResourceId(v string) *DeleteCustomMetadataInput
SetResourceId sets the ResourceId field's value.
func (*DeleteCustomMetadataInput) SetVersionId ¶
func (s *DeleteCustomMetadataInput) SetVersionId(v string) *DeleteCustomMetadataInput
SetVersionId sets the VersionId field's value.
func (DeleteCustomMetadataInput) String ¶
func (s DeleteCustomMetadataInput) String() string
String returns the string representation
func (*DeleteCustomMetadataInput) Validate ¶
func (s *DeleteCustomMetadataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCustomMetadataOutput ¶
type DeleteCustomMetadataOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCustomMetadataResponse
func (DeleteCustomMetadataOutput) GoString ¶
func (s DeleteCustomMetadataOutput) GoString() string
GoString returns the string representation
func (DeleteCustomMetadataOutput) SDKResponseMetadata ¶
func (s DeleteCustomMetadataOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteCustomMetadataOutput) String ¶
func (s DeleteCustomMetadataOutput) String() string
String returns the string representation
type DeleteCustomMetadataRequest ¶
type DeleteCustomMetadataRequest struct { *aws.Request Input *DeleteCustomMetadataInput }
DeleteCustomMetadataRequest is a API request type for the DeleteCustomMetadata API operation.
func (DeleteCustomMetadataRequest) Send ¶
func (r DeleteCustomMetadataRequest) Send() (*DeleteCustomMetadataOutput, error)
Send marshals and sends the DeleteCustomMetadata API request.
type DeleteDocumentInput ¶
type DeleteDocumentInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteDocumentRequest
func (DeleteDocumentInput) GoString ¶
func (s DeleteDocumentInput) GoString() string
GoString returns the string representation
func (*DeleteDocumentInput) SetAuthenticationToken ¶
func (s *DeleteDocumentInput) SetAuthenticationToken(v string) *DeleteDocumentInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DeleteDocumentInput) SetDocumentId ¶
func (s *DeleteDocumentInput) SetDocumentId(v string) *DeleteDocumentInput
SetDocumentId sets the DocumentId field's value.
func (DeleteDocumentInput) String ¶
func (s DeleteDocumentInput) String() string
String returns the string representation
func (*DeleteDocumentInput) Validate ¶
func (s *DeleteDocumentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDocumentOutput ¶
type DeleteDocumentOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteDocumentOutput
func (DeleteDocumentOutput) GoString ¶
func (s DeleteDocumentOutput) GoString() string
GoString returns the string representation
func (DeleteDocumentOutput) SDKResponseMetadata ¶
func (s DeleteDocumentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteDocumentOutput) String ¶
func (s DeleteDocumentOutput) String() string
String returns the string representation
type DeleteDocumentRequest ¶
type DeleteDocumentRequest struct { *aws.Request Input *DeleteDocumentInput }
DeleteDocumentRequest is a API request type for the DeleteDocument API operation.
func (DeleteDocumentRequest) Send ¶
func (r DeleteDocumentRequest) Send() (*DeleteDocumentOutput, error)
Send marshals and sends the DeleteDocument API request.
type DeleteFolderContentsInput ¶
type DeleteFolderContentsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the folder. // // FolderId is a required field FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderContentsRequest
func (DeleteFolderContentsInput) GoString ¶
func (s DeleteFolderContentsInput) GoString() string
GoString returns the string representation
func (*DeleteFolderContentsInput) SetAuthenticationToken ¶
func (s *DeleteFolderContentsInput) SetAuthenticationToken(v string) *DeleteFolderContentsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DeleteFolderContentsInput) SetFolderId ¶
func (s *DeleteFolderContentsInput) SetFolderId(v string) *DeleteFolderContentsInput
SetFolderId sets the FolderId field's value.
func (DeleteFolderContentsInput) String ¶
func (s DeleteFolderContentsInput) String() string
String returns the string representation
func (*DeleteFolderContentsInput) Validate ¶
func (s *DeleteFolderContentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFolderContentsOutput ¶
type DeleteFolderContentsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderContentsOutput
func (DeleteFolderContentsOutput) GoString ¶
func (s DeleteFolderContentsOutput) GoString() string
GoString returns the string representation
func (DeleteFolderContentsOutput) SDKResponseMetadata ¶
func (s DeleteFolderContentsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteFolderContentsOutput) String ¶
func (s DeleteFolderContentsOutput) String() string
String returns the string representation
type DeleteFolderContentsRequest ¶
type DeleteFolderContentsRequest struct { *aws.Request Input *DeleteFolderContentsInput }
DeleteFolderContentsRequest is a API request type for the DeleteFolderContents API operation.
func (DeleteFolderContentsRequest) Send ¶
func (r DeleteFolderContentsRequest) Send() (*DeleteFolderContentsOutput, error)
Send marshals and sends the DeleteFolderContents API request.
type DeleteFolderInput ¶
type DeleteFolderInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the folder. // // FolderId is a required field FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderRequest
func (DeleteFolderInput) GoString ¶
func (s DeleteFolderInput) GoString() string
GoString returns the string representation
func (*DeleteFolderInput) SetAuthenticationToken ¶
func (s *DeleteFolderInput) SetAuthenticationToken(v string) *DeleteFolderInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DeleteFolderInput) SetFolderId ¶
func (s *DeleteFolderInput) SetFolderId(v string) *DeleteFolderInput
SetFolderId sets the FolderId field's value.
func (DeleteFolderInput) String ¶
func (s DeleteFolderInput) String() string
String returns the string representation
func (*DeleteFolderInput) Validate ¶
func (s *DeleteFolderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFolderOutput ¶
type DeleteFolderOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderOutput
func (DeleteFolderOutput) GoString ¶
func (s DeleteFolderOutput) GoString() string
GoString returns the string representation
func (DeleteFolderOutput) SDKResponseMetadata ¶
func (s DeleteFolderOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteFolderOutput) String ¶
func (s DeleteFolderOutput) String() string
String returns the string representation
type DeleteFolderRequest ¶
type DeleteFolderRequest struct { *aws.Request Input *DeleteFolderInput }
DeleteFolderRequest is a API request type for the DeleteFolder API operation.
func (DeleteFolderRequest) Send ¶
func (r DeleteFolderRequest) Send() (*DeleteFolderOutput, error)
Send marshals and sends the DeleteFolder API request.
type DeleteLabelsInput ¶
type DeleteLabelsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // Flag to request removal of all labels from the specified resource. DeleteAll *bool `location:"querystring" locationName:"deleteAll" type:"boolean"` // List of labels to delete from the resource. Labels []string `location:"querystring" locationName:"labels" type:"list"` // The ID of the resource. // // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteLabelsRequest
func (DeleteLabelsInput) GoString ¶
func (s DeleteLabelsInput) GoString() string
GoString returns the string representation
func (*DeleteLabelsInput) SetAuthenticationToken ¶
func (s *DeleteLabelsInput) SetAuthenticationToken(v string) *DeleteLabelsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DeleteLabelsInput) SetDeleteAll ¶
func (s *DeleteLabelsInput) SetDeleteAll(v bool) *DeleteLabelsInput
SetDeleteAll sets the DeleteAll field's value.
func (*DeleteLabelsInput) SetLabels ¶
func (s *DeleteLabelsInput) SetLabels(v []string) *DeleteLabelsInput
SetLabels sets the Labels field's value.
func (*DeleteLabelsInput) SetResourceId ¶
func (s *DeleteLabelsInput) SetResourceId(v string) *DeleteLabelsInput
SetResourceId sets the ResourceId field's value.
func (DeleteLabelsInput) String ¶
func (s DeleteLabelsInput) String() string
String returns the string representation
func (*DeleteLabelsInput) Validate ¶
func (s *DeleteLabelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLabelsOutput ¶
type DeleteLabelsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteLabelsResponse
func (DeleteLabelsOutput) GoString ¶
func (s DeleteLabelsOutput) GoString() string
GoString returns the string representation
func (DeleteLabelsOutput) SDKResponseMetadata ¶
func (s DeleteLabelsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteLabelsOutput) String ¶
func (s DeleteLabelsOutput) String() string
String returns the string representation
type DeleteLabelsRequest ¶
type DeleteLabelsRequest struct { *aws.Request Input *DeleteLabelsInput }
DeleteLabelsRequest is a API request type for the DeleteLabels API operation.
func (DeleteLabelsRequest) Send ¶
func (r DeleteLabelsRequest) Send() (*DeleteLabelsOutput, error)
Send marshals and sends the DeleteLabels API request.
type DeleteNotificationSubscriptionInput ¶
type DeleteNotificationSubscriptionInput struct { // The ID of the organization. // // OrganizationId is a required field OrganizationId *string `location:"uri" locationName:"OrganizationId" min:"1" type:"string" required:"true"` // The ID of the subscription. // // SubscriptionId is a required field SubscriptionId *string `location:"uri" locationName:"SubscriptionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteNotificationSubscriptionRequest
func (DeleteNotificationSubscriptionInput) GoString ¶
func (s DeleteNotificationSubscriptionInput) GoString() string
GoString returns the string representation
func (*DeleteNotificationSubscriptionInput) SetOrganizationId ¶
func (s *DeleteNotificationSubscriptionInput) SetOrganizationId(v string) *DeleteNotificationSubscriptionInput
SetOrganizationId sets the OrganizationId field's value.
func (*DeleteNotificationSubscriptionInput) SetSubscriptionId ¶
func (s *DeleteNotificationSubscriptionInput) SetSubscriptionId(v string) *DeleteNotificationSubscriptionInput
SetSubscriptionId sets the SubscriptionId field's value.
func (DeleteNotificationSubscriptionInput) String ¶
func (s DeleteNotificationSubscriptionInput) String() string
String returns the string representation
func (*DeleteNotificationSubscriptionInput) Validate ¶
func (s *DeleteNotificationSubscriptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNotificationSubscriptionOutput ¶
type DeleteNotificationSubscriptionOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteNotificationSubscriptionOutput
func (DeleteNotificationSubscriptionOutput) GoString ¶
func (s DeleteNotificationSubscriptionOutput) GoString() string
GoString returns the string representation
func (DeleteNotificationSubscriptionOutput) SDKResponseMetadata ¶
func (s DeleteNotificationSubscriptionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteNotificationSubscriptionOutput) String ¶
func (s DeleteNotificationSubscriptionOutput) String() string
String returns the string representation
type DeleteNotificationSubscriptionRequest ¶
type DeleteNotificationSubscriptionRequest struct { *aws.Request Input *DeleteNotificationSubscriptionInput }
DeleteNotificationSubscriptionRequest is a API request type for the DeleteNotificationSubscription API operation.
func (DeleteNotificationSubscriptionRequest) Send ¶
func (r DeleteNotificationSubscriptionRequest) Send() (*DeleteNotificationSubscriptionOutput, error)
Send marshals and sends the DeleteNotificationSubscription API request.
type DeleteUserInput ¶
type DeleteUserInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the user. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteUserRequest
func (DeleteUserInput) GoString ¶
func (s DeleteUserInput) GoString() string
GoString returns the string representation
func (*DeleteUserInput) SetAuthenticationToken ¶
func (s *DeleteUserInput) SetAuthenticationToken(v string) *DeleteUserInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DeleteUserInput) SetUserId ¶
func (s *DeleteUserInput) SetUserId(v string) *DeleteUserInput
SetUserId sets the UserId field's value.
func (DeleteUserInput) String ¶
func (s DeleteUserInput) String() string
String returns the string representation
func (*DeleteUserInput) Validate ¶
func (s *DeleteUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteUserOutput ¶
type DeleteUserOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteUserOutput
func (DeleteUserOutput) GoString ¶
func (s DeleteUserOutput) GoString() string
GoString returns the string representation
func (DeleteUserOutput) SDKResponseMetadata ¶
func (s DeleteUserOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteUserOutput) String ¶
func (s DeleteUserOutput) String() string
String returns the string representation
type DeleteUserRequest ¶
type DeleteUserRequest struct { *aws.Request Input *DeleteUserInput }
DeleteUserRequest is a API request type for the DeleteUser API operation.
func (DeleteUserRequest) Send ¶
func (r DeleteUserRequest) Send() (*DeleteUserOutput, error)
Send marshals and sends the DeleteUser API request.
type DescribeActivitiesInput ¶
type DescribeActivitiesInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The timestamp that determines the end time of the activities. The response // includes the activities performed before the specified timestamp. EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" timestampFormat:"unix"` // The maximum number of items to return. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The marker for the next set of results. Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // The ID of the organization. This is a mandatory parameter when using administrative // API (SigV4) requests. OrganizationId *string `location:"querystring" locationName:"organizationId" min:"1" type:"string"` // The timestamp that determines the starting time of the activities. The response // includes the activities performed after the specified timestamp. StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" timestampFormat:"unix"` // The ID of the user who performed the action. The response includes activities // pertaining to this user. This is an optional parameter and is only applicable // for administrative API (SigV4) requests. UserId *string `location:"querystring" locationName:"userId" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeActivitiesRequest
func (DescribeActivitiesInput) GoString ¶
func (s DescribeActivitiesInput) GoString() string
GoString returns the string representation
func (*DescribeActivitiesInput) SetAuthenticationToken ¶
func (s *DescribeActivitiesInput) SetAuthenticationToken(v string) *DescribeActivitiesInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DescribeActivitiesInput) SetEndTime ¶
func (s *DescribeActivitiesInput) SetEndTime(v time.Time) *DescribeActivitiesInput
SetEndTime sets the EndTime field's value.
func (*DescribeActivitiesInput) SetLimit ¶
func (s *DescribeActivitiesInput) SetLimit(v int64) *DescribeActivitiesInput
SetLimit sets the Limit field's value.
func (*DescribeActivitiesInput) SetMarker ¶
func (s *DescribeActivitiesInput) SetMarker(v string) *DescribeActivitiesInput
SetMarker sets the Marker field's value.
func (*DescribeActivitiesInput) SetOrganizationId ¶
func (s *DescribeActivitiesInput) SetOrganizationId(v string) *DescribeActivitiesInput
SetOrganizationId sets the OrganizationId field's value.
func (*DescribeActivitiesInput) SetStartTime ¶
func (s *DescribeActivitiesInput) SetStartTime(v time.Time) *DescribeActivitiesInput
SetStartTime sets the StartTime field's value.
func (*DescribeActivitiesInput) SetUserId ¶
func (s *DescribeActivitiesInput) SetUserId(v string) *DescribeActivitiesInput
SetUserId sets the UserId field's value.
func (DescribeActivitiesInput) String ¶
func (s DescribeActivitiesInput) String() string
String returns the string representation
func (*DescribeActivitiesInput) Validate ¶
func (s *DescribeActivitiesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeActivitiesOutput ¶
type DescribeActivitiesOutput struct { // The marker for the next set of results. Marker *string `min:"1" type:"string"` // The list of activities for the specified user and time period. UserActivities []Activity `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeActivitiesResponse
func (DescribeActivitiesOutput) GoString ¶
func (s DescribeActivitiesOutput) GoString() string
GoString returns the string representation
func (DescribeActivitiesOutput) SDKResponseMetadata ¶
func (s DescribeActivitiesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeActivitiesOutput) SetMarker ¶
func (s *DescribeActivitiesOutput) SetMarker(v string) *DescribeActivitiesOutput
SetMarker sets the Marker field's value.
func (*DescribeActivitiesOutput) SetUserActivities ¶
func (s *DescribeActivitiesOutput) SetUserActivities(v []Activity) *DescribeActivitiesOutput
SetUserActivities sets the UserActivities field's value.
func (DescribeActivitiesOutput) String ¶
func (s DescribeActivitiesOutput) String() string
String returns the string representation
type DescribeActivitiesRequest ¶
type DescribeActivitiesRequest struct { *aws.Request Input *DescribeActivitiesInput }
DescribeActivitiesRequest is a API request type for the DescribeActivities API operation.
func (DescribeActivitiesRequest) Send ¶
func (r DescribeActivitiesRequest) Send() (*DescribeActivitiesOutput, error)
Send marshals and sends the DescribeActivities API request.
type DescribeCommentsInput ¶
type DescribeCommentsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // The maximum number of items to return. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The marker for the next set of results. This marker was received from a previous // call. Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // The ID of the document version. // // VersionId is a required field VersionId *string `location:"uri" locationName:"VersionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeCommentsRequest
func (DescribeCommentsInput) GoString ¶
func (s DescribeCommentsInput) GoString() string
GoString returns the string representation
func (*DescribeCommentsInput) SetAuthenticationToken ¶
func (s *DescribeCommentsInput) SetAuthenticationToken(v string) *DescribeCommentsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DescribeCommentsInput) SetDocumentId ¶
func (s *DescribeCommentsInput) SetDocumentId(v string) *DescribeCommentsInput
SetDocumentId sets the DocumentId field's value.
func (*DescribeCommentsInput) SetLimit ¶
func (s *DescribeCommentsInput) SetLimit(v int64) *DescribeCommentsInput
SetLimit sets the Limit field's value.
func (*DescribeCommentsInput) SetMarker ¶
func (s *DescribeCommentsInput) SetMarker(v string) *DescribeCommentsInput
SetMarker sets the Marker field's value.
func (*DescribeCommentsInput) SetVersionId ¶
func (s *DescribeCommentsInput) SetVersionId(v string) *DescribeCommentsInput
SetVersionId sets the VersionId field's value.
func (DescribeCommentsInput) String ¶
func (s DescribeCommentsInput) String() string
String returns the string representation
func (*DescribeCommentsInput) Validate ¶
func (s *DescribeCommentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCommentsOutput ¶
type DescribeCommentsOutput struct { // The list of comments for the specified document version. Comments []Comment `type:"list"` // The marker for the next set of results. This marker was received from a previous // call. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeCommentsResponse
func (DescribeCommentsOutput) GoString ¶
func (s DescribeCommentsOutput) GoString() string
GoString returns the string representation
func (DescribeCommentsOutput) SDKResponseMetadata ¶
func (s DescribeCommentsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeCommentsOutput) SetComments ¶
func (s *DescribeCommentsOutput) SetComments(v []Comment) *DescribeCommentsOutput
SetComments sets the Comments field's value.
func (*DescribeCommentsOutput) SetMarker ¶
func (s *DescribeCommentsOutput) SetMarker(v string) *DescribeCommentsOutput
SetMarker sets the Marker field's value.
func (DescribeCommentsOutput) String ¶
func (s DescribeCommentsOutput) String() string
String returns the string representation
type DescribeCommentsRequest ¶
type DescribeCommentsRequest struct { *aws.Request Input *DescribeCommentsInput }
DescribeCommentsRequest is a API request type for the DescribeComments API operation.
func (DescribeCommentsRequest) Send ¶
func (r DescribeCommentsRequest) Send() (*DescribeCommentsOutput, error)
Send marshals and sends the DescribeComments API request.
type DescribeDocumentVersionsInput ¶
type DescribeDocumentVersionsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // Specify "SOURCE" to include initialized versions and a URL for the source // document. Fields *string `location:"querystring" locationName:"fields" min:"1" type:"string"` // A comma-separated list of values. Specify "INITIALIZED" to include incomplete // versions. Include *string `location:"querystring" locationName:"include" min:"1" type:"string"` // The maximum number of versions to return with this call. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The marker for the next set of results. (You received this marker from a // previous call.) Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeDocumentVersionsRequest
func (DescribeDocumentVersionsInput) GoString ¶
func (s DescribeDocumentVersionsInput) GoString() string
GoString returns the string representation
func (*DescribeDocumentVersionsInput) SetAuthenticationToken ¶
func (s *DescribeDocumentVersionsInput) SetAuthenticationToken(v string) *DescribeDocumentVersionsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DescribeDocumentVersionsInput) SetDocumentId ¶
func (s *DescribeDocumentVersionsInput) SetDocumentId(v string) *DescribeDocumentVersionsInput
SetDocumentId sets the DocumentId field's value.
func (*DescribeDocumentVersionsInput) SetFields ¶
func (s *DescribeDocumentVersionsInput) SetFields(v string) *DescribeDocumentVersionsInput
SetFields sets the Fields field's value.
func (*DescribeDocumentVersionsInput) SetInclude ¶
func (s *DescribeDocumentVersionsInput) SetInclude(v string) *DescribeDocumentVersionsInput
SetInclude sets the Include field's value.
func (*DescribeDocumentVersionsInput) SetLimit ¶
func (s *DescribeDocumentVersionsInput) SetLimit(v int64) *DescribeDocumentVersionsInput
SetLimit sets the Limit field's value.
func (*DescribeDocumentVersionsInput) SetMarker ¶
func (s *DescribeDocumentVersionsInput) SetMarker(v string) *DescribeDocumentVersionsInput
SetMarker sets the Marker field's value.
func (DescribeDocumentVersionsInput) String ¶
func (s DescribeDocumentVersionsInput) String() string
String returns the string representation
func (*DescribeDocumentVersionsInput) Validate ¶
func (s *DescribeDocumentVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDocumentVersionsOutput ¶
type DescribeDocumentVersionsOutput struct { // The document versions. DocumentVersions []DocumentVersionMetadata `type:"list"` // The marker to use when requesting the next set of results. If there are no // additional results, the string is empty. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeDocumentVersionsResponse
func (DescribeDocumentVersionsOutput) GoString ¶
func (s DescribeDocumentVersionsOutput) GoString() string
GoString returns the string representation
func (DescribeDocumentVersionsOutput) SDKResponseMetadata ¶
func (s DescribeDocumentVersionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeDocumentVersionsOutput) SetDocumentVersions ¶
func (s *DescribeDocumentVersionsOutput) SetDocumentVersions(v []DocumentVersionMetadata) *DescribeDocumentVersionsOutput
SetDocumentVersions sets the DocumentVersions field's value.
func (*DescribeDocumentVersionsOutput) SetMarker ¶
func (s *DescribeDocumentVersionsOutput) SetMarker(v string) *DescribeDocumentVersionsOutput
SetMarker sets the Marker field's value.
func (DescribeDocumentVersionsOutput) String ¶
func (s DescribeDocumentVersionsOutput) String() string
String returns the string representation
type DescribeDocumentVersionsRequest ¶
type DescribeDocumentVersionsRequest struct { *aws.Request Input *DescribeDocumentVersionsInput }
DescribeDocumentVersionsRequest is a API request type for the DescribeDocumentVersions API operation.
func (DescribeDocumentVersionsRequest) Send ¶
func (r DescribeDocumentVersionsRequest) Send() (*DescribeDocumentVersionsOutput, error)
Send marshals and sends the DescribeDocumentVersions API request.
type DescribeFolderContentsInput ¶
type DescribeFolderContentsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the folder. // // FolderId is a required field FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` // The contents to include. Specify "INITIALIZED" to include initialized documents. Include *string `location:"querystring" locationName:"include" min:"1" type:"string"` // The maximum number of items to return with this call. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The marker for the next set of results. This marker was received from a previous // call. Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // The order for the contents of the folder. Order OrderType `location:"querystring" locationName:"order" type:"string" enum:"true"` // The sorting criteria. Sort ResourceSortType `location:"querystring" locationName:"sort" type:"string" enum:"true"` // The type of items. Type FolderContentType `location:"querystring" locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeFolderContentsRequest
func (DescribeFolderContentsInput) GoString ¶
func (s DescribeFolderContentsInput) GoString() string
GoString returns the string representation
func (*DescribeFolderContentsInput) SetAuthenticationToken ¶
func (s *DescribeFolderContentsInput) SetAuthenticationToken(v string) *DescribeFolderContentsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DescribeFolderContentsInput) SetFolderId ¶
func (s *DescribeFolderContentsInput) SetFolderId(v string) *DescribeFolderContentsInput
SetFolderId sets the FolderId field's value.
func (*DescribeFolderContentsInput) SetInclude ¶
func (s *DescribeFolderContentsInput) SetInclude(v string) *DescribeFolderContentsInput
SetInclude sets the Include field's value.
func (*DescribeFolderContentsInput) SetLimit ¶
func (s *DescribeFolderContentsInput) SetLimit(v int64) *DescribeFolderContentsInput
SetLimit sets the Limit field's value.
func (*DescribeFolderContentsInput) SetMarker ¶
func (s *DescribeFolderContentsInput) SetMarker(v string) *DescribeFolderContentsInput
SetMarker sets the Marker field's value.
func (*DescribeFolderContentsInput) SetOrder ¶
func (s *DescribeFolderContentsInput) SetOrder(v OrderType) *DescribeFolderContentsInput
SetOrder sets the Order field's value.
func (*DescribeFolderContentsInput) SetSort ¶
func (s *DescribeFolderContentsInput) SetSort(v ResourceSortType) *DescribeFolderContentsInput
SetSort sets the Sort field's value.
func (*DescribeFolderContentsInput) SetType ¶
func (s *DescribeFolderContentsInput) SetType(v FolderContentType) *DescribeFolderContentsInput
SetType sets the Type field's value.
func (DescribeFolderContentsInput) String ¶
func (s DescribeFolderContentsInput) String() string
String returns the string representation
func (*DescribeFolderContentsInput) Validate ¶
func (s *DescribeFolderContentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeFolderContentsOutput ¶
type DescribeFolderContentsOutput struct { // The documents in the specified folder. Documents []DocumentMetadata `type:"list"` // The subfolders in the specified folder. Folders []FolderMetadata `type:"list"` // The marker to use when requesting the next set of results. If there are no // additional results, the string is empty. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeFolderContentsResponse
func (DescribeFolderContentsOutput) GoString ¶
func (s DescribeFolderContentsOutput) GoString() string
GoString returns the string representation
func (DescribeFolderContentsOutput) SDKResponseMetadata ¶
func (s DescribeFolderContentsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeFolderContentsOutput) SetDocuments ¶
func (s *DescribeFolderContentsOutput) SetDocuments(v []DocumentMetadata) *DescribeFolderContentsOutput
SetDocuments sets the Documents field's value.
func (*DescribeFolderContentsOutput) SetFolders ¶
func (s *DescribeFolderContentsOutput) SetFolders(v []FolderMetadata) *DescribeFolderContentsOutput
SetFolders sets the Folders field's value.
func (*DescribeFolderContentsOutput) SetMarker ¶
func (s *DescribeFolderContentsOutput) SetMarker(v string) *DescribeFolderContentsOutput
SetMarker sets the Marker field's value.
func (DescribeFolderContentsOutput) String ¶
func (s DescribeFolderContentsOutput) String() string
String returns the string representation
type DescribeFolderContentsRequest ¶
type DescribeFolderContentsRequest struct { *aws.Request Input *DescribeFolderContentsInput }
DescribeFolderContentsRequest is a API request type for the DescribeFolderContents API operation.
func (DescribeFolderContentsRequest) Send ¶
func (r DescribeFolderContentsRequest) Send() (*DescribeFolderContentsOutput, error)
Send marshals and sends the DescribeFolderContents API request.
type DescribeGroupsInput ¶
type DescribeGroupsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The maximum number of items to return with this call. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The marker for the next set of results. (You received this marker from a // previous call.) Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // The ID of the organization. OrganizationId *string `location:"querystring" locationName:"organizationId" min:"1" type:"string"` // A query to describe groups by group name. // // SearchQuery is a required field SearchQuery *string `location:"querystring" locationName:"searchQuery" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeGroupsRequest
func (DescribeGroupsInput) GoString ¶
func (s DescribeGroupsInput) GoString() string
GoString returns the string representation
func (*DescribeGroupsInput) SetAuthenticationToken ¶
func (s *DescribeGroupsInput) SetAuthenticationToken(v string) *DescribeGroupsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DescribeGroupsInput) SetLimit ¶
func (s *DescribeGroupsInput) SetLimit(v int64) *DescribeGroupsInput
SetLimit sets the Limit field's value.
func (*DescribeGroupsInput) SetMarker ¶
func (s *DescribeGroupsInput) SetMarker(v string) *DescribeGroupsInput
SetMarker sets the Marker field's value.
func (*DescribeGroupsInput) SetOrganizationId ¶
func (s *DescribeGroupsInput) SetOrganizationId(v string) *DescribeGroupsInput
SetOrganizationId sets the OrganizationId field's value.
func (*DescribeGroupsInput) SetSearchQuery ¶
func (s *DescribeGroupsInput) SetSearchQuery(v string) *DescribeGroupsInput
SetSearchQuery sets the SearchQuery field's value.
func (DescribeGroupsInput) String ¶
func (s DescribeGroupsInput) String() string
String returns the string representation
func (*DescribeGroupsInput) Validate ¶
func (s *DescribeGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeGroupsOutput ¶
type DescribeGroupsOutput struct { // The list of groups. Groups []GroupMetadata `type:"list"` // The marker to use when requesting the next set of results. If there are no // additional results, the string is empty. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeGroupsResponse
func (DescribeGroupsOutput) GoString ¶
func (s DescribeGroupsOutput) GoString() string
GoString returns the string representation
func (DescribeGroupsOutput) SDKResponseMetadata ¶
func (s DescribeGroupsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeGroupsOutput) SetGroups ¶
func (s *DescribeGroupsOutput) SetGroups(v []GroupMetadata) *DescribeGroupsOutput
SetGroups sets the Groups field's value.
func (*DescribeGroupsOutput) SetMarker ¶
func (s *DescribeGroupsOutput) SetMarker(v string) *DescribeGroupsOutput
SetMarker sets the Marker field's value.
func (DescribeGroupsOutput) String ¶
func (s DescribeGroupsOutput) String() string
String returns the string representation
type DescribeGroupsRequest ¶
type DescribeGroupsRequest struct { *aws.Request Input *DescribeGroupsInput }
DescribeGroupsRequest is a API request type for the DescribeGroups API operation.
func (DescribeGroupsRequest) Send ¶
func (r DescribeGroupsRequest) Send() (*DescribeGroupsOutput, error)
Send marshals and sends the DescribeGroups API request.
type DescribeNotificationSubscriptionsInput ¶
type DescribeNotificationSubscriptionsInput struct { // The maximum number of items to return with this call. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The marker for the next set of results. (You received this marker from a // previous call.) Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // The ID of the organization. // // OrganizationId is a required field OrganizationId *string `location:"uri" locationName:"OrganizationId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeNotificationSubscriptionsRequest
func (DescribeNotificationSubscriptionsInput) GoString ¶
func (s DescribeNotificationSubscriptionsInput) GoString() string
GoString returns the string representation
func (*DescribeNotificationSubscriptionsInput) SetLimit ¶
func (s *DescribeNotificationSubscriptionsInput) SetLimit(v int64) *DescribeNotificationSubscriptionsInput
SetLimit sets the Limit field's value.
func (*DescribeNotificationSubscriptionsInput) SetMarker ¶
func (s *DescribeNotificationSubscriptionsInput) SetMarker(v string) *DescribeNotificationSubscriptionsInput
SetMarker sets the Marker field's value.
func (*DescribeNotificationSubscriptionsInput) SetOrganizationId ¶
func (s *DescribeNotificationSubscriptionsInput) SetOrganizationId(v string) *DescribeNotificationSubscriptionsInput
SetOrganizationId sets the OrganizationId field's value.
func (DescribeNotificationSubscriptionsInput) String ¶
func (s DescribeNotificationSubscriptionsInput) String() string
String returns the string representation
func (*DescribeNotificationSubscriptionsInput) Validate ¶
func (s *DescribeNotificationSubscriptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeNotificationSubscriptionsOutput ¶
type DescribeNotificationSubscriptionsOutput struct { // The marker to use when requesting the next set of results. If there are no // additional results, the string is empty. Marker *string `min:"1" type:"string"` // The subscriptions. Subscriptions []Subscription `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeNotificationSubscriptionsResponse
func (DescribeNotificationSubscriptionsOutput) GoString ¶
func (s DescribeNotificationSubscriptionsOutput) GoString() string
GoString returns the string representation
func (DescribeNotificationSubscriptionsOutput) SDKResponseMetadata ¶
func (s DescribeNotificationSubscriptionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeNotificationSubscriptionsOutput) SetMarker ¶
func (s *DescribeNotificationSubscriptionsOutput) SetMarker(v string) *DescribeNotificationSubscriptionsOutput
SetMarker sets the Marker field's value.
func (*DescribeNotificationSubscriptionsOutput) SetSubscriptions ¶
func (s *DescribeNotificationSubscriptionsOutput) SetSubscriptions(v []Subscription) *DescribeNotificationSubscriptionsOutput
SetSubscriptions sets the Subscriptions field's value.
func (DescribeNotificationSubscriptionsOutput) String ¶
func (s DescribeNotificationSubscriptionsOutput) String() string
String returns the string representation
type DescribeNotificationSubscriptionsRequest ¶
type DescribeNotificationSubscriptionsRequest struct { *aws.Request Input *DescribeNotificationSubscriptionsInput }
DescribeNotificationSubscriptionsRequest is a API request type for the DescribeNotificationSubscriptions API operation.
func (DescribeNotificationSubscriptionsRequest) Send ¶
func (r DescribeNotificationSubscriptionsRequest) Send() (*DescribeNotificationSubscriptionsOutput, error)
Send marshals and sends the DescribeNotificationSubscriptions API request.
type DescribeResourcePermissionsInput ¶
type DescribeResourcePermissionsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The maximum number of items to return with this call. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The marker for the next set of results. (You received this marker from a // previous call) Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // The ID of the principal to filter permissions by. PrincipalId *string `location:"querystring" locationName:"principalId" min:"1" type:"string"` // The ID of the resource. // // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeResourcePermissionsRequest
func (DescribeResourcePermissionsInput) GoString ¶
func (s DescribeResourcePermissionsInput) GoString() string
GoString returns the string representation
func (*DescribeResourcePermissionsInput) SetAuthenticationToken ¶
func (s *DescribeResourcePermissionsInput) SetAuthenticationToken(v string) *DescribeResourcePermissionsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DescribeResourcePermissionsInput) SetLimit ¶
func (s *DescribeResourcePermissionsInput) SetLimit(v int64) *DescribeResourcePermissionsInput
SetLimit sets the Limit field's value.
func (*DescribeResourcePermissionsInput) SetMarker ¶
func (s *DescribeResourcePermissionsInput) SetMarker(v string) *DescribeResourcePermissionsInput
SetMarker sets the Marker field's value.
func (*DescribeResourcePermissionsInput) SetPrincipalId ¶
func (s *DescribeResourcePermissionsInput) SetPrincipalId(v string) *DescribeResourcePermissionsInput
SetPrincipalId sets the PrincipalId field's value.
func (*DescribeResourcePermissionsInput) SetResourceId ¶
func (s *DescribeResourcePermissionsInput) SetResourceId(v string) *DescribeResourcePermissionsInput
SetResourceId sets the ResourceId field's value.
func (DescribeResourcePermissionsInput) String ¶
func (s DescribeResourcePermissionsInput) String() string
String returns the string representation
func (*DescribeResourcePermissionsInput) Validate ¶
func (s *DescribeResourcePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeResourcePermissionsOutput ¶
type DescribeResourcePermissionsOutput struct { // The marker to use when requesting the next set of results. If there are no // additional results, the string is empty. Marker *string `min:"1" type:"string"` // The principals. Principals []Principal `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeResourcePermissionsResponse
func (DescribeResourcePermissionsOutput) GoString ¶
func (s DescribeResourcePermissionsOutput) GoString() string
GoString returns the string representation
func (DescribeResourcePermissionsOutput) SDKResponseMetadata ¶
func (s DescribeResourcePermissionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeResourcePermissionsOutput) SetMarker ¶
func (s *DescribeResourcePermissionsOutput) SetMarker(v string) *DescribeResourcePermissionsOutput
SetMarker sets the Marker field's value.
func (*DescribeResourcePermissionsOutput) SetPrincipals ¶
func (s *DescribeResourcePermissionsOutput) SetPrincipals(v []Principal) *DescribeResourcePermissionsOutput
SetPrincipals sets the Principals field's value.
func (DescribeResourcePermissionsOutput) String ¶
func (s DescribeResourcePermissionsOutput) String() string
String returns the string representation
type DescribeResourcePermissionsRequest ¶
type DescribeResourcePermissionsRequest struct { *aws.Request Input *DescribeResourcePermissionsInput }
DescribeResourcePermissionsRequest is a API request type for the DescribeResourcePermissions API operation.
func (DescribeResourcePermissionsRequest) Send ¶
func (r DescribeResourcePermissionsRequest) Send() (*DescribeResourcePermissionsOutput, error)
Send marshals and sends the DescribeResourcePermissions API request.
type DescribeRootFoldersInput ¶
type DescribeRootFoldersInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. // // AuthenticationToken is a required field AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string" required:"true"` // The maximum number of items to return. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The marker for the next set of results. (You received this marker from a // previous call.) Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeRootFoldersRequest
func (DescribeRootFoldersInput) GoString ¶
func (s DescribeRootFoldersInput) GoString() string
GoString returns the string representation
func (*DescribeRootFoldersInput) SetAuthenticationToken ¶
func (s *DescribeRootFoldersInput) SetAuthenticationToken(v string) *DescribeRootFoldersInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DescribeRootFoldersInput) SetLimit ¶
func (s *DescribeRootFoldersInput) SetLimit(v int64) *DescribeRootFoldersInput
SetLimit sets the Limit field's value.
func (*DescribeRootFoldersInput) SetMarker ¶
func (s *DescribeRootFoldersInput) SetMarker(v string) *DescribeRootFoldersInput
SetMarker sets the Marker field's value.
func (DescribeRootFoldersInput) String ¶
func (s DescribeRootFoldersInput) String() string
String returns the string representation
func (*DescribeRootFoldersInput) Validate ¶
func (s *DescribeRootFoldersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRootFoldersOutput ¶
type DescribeRootFoldersOutput struct { // The user's special folders. Folders []FolderMetadata `type:"list"` // The marker for the next set of results. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeRootFoldersResponse
func (DescribeRootFoldersOutput) GoString ¶
func (s DescribeRootFoldersOutput) GoString() string
GoString returns the string representation
func (DescribeRootFoldersOutput) SDKResponseMetadata ¶
func (s DescribeRootFoldersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeRootFoldersOutput) SetFolders ¶
func (s *DescribeRootFoldersOutput) SetFolders(v []FolderMetadata) *DescribeRootFoldersOutput
SetFolders sets the Folders field's value.
func (*DescribeRootFoldersOutput) SetMarker ¶
func (s *DescribeRootFoldersOutput) SetMarker(v string) *DescribeRootFoldersOutput
SetMarker sets the Marker field's value.
func (DescribeRootFoldersOutput) String ¶
func (s DescribeRootFoldersOutput) String() string
String returns the string representation
type DescribeRootFoldersRequest ¶
type DescribeRootFoldersRequest struct { *aws.Request Input *DescribeRootFoldersInput }
DescribeRootFoldersRequest is a API request type for the DescribeRootFolders API operation.
func (DescribeRootFoldersRequest) Send ¶
func (r DescribeRootFoldersRequest) Send() (*DescribeRootFoldersOutput, error)
Send marshals and sends the DescribeRootFolders API request.
type DescribeUsersInput ¶
type DescribeUsersInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // A comma-separated list of values. Specify "STORAGE_METADATA" to include the // user storage quota and utilization information. Fields *string `location:"querystring" locationName:"fields" min:"1" type:"string"` // The state of the users. Specify "ALL" to include inactive users. Include UserFilterType `location:"querystring" locationName:"include" type:"string" enum:"true"` // The maximum number of items to return. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The marker for the next set of results. (You received this marker from a // previous call.) Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // The order for the results. Order OrderType `location:"querystring" locationName:"order" type:"string" enum:"true"` // The ID of the organization. OrganizationId *string `location:"querystring" locationName:"organizationId" min:"1" type:"string"` // A query to filter users by user name. Query *string `location:"querystring" locationName:"query" min:"1" type:"string"` // The sorting criteria. Sort UserSortType `location:"querystring" locationName:"sort" type:"string" enum:"true"` // The IDs of the users. UserIds *string `location:"querystring" locationName:"userIds" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeUsersRequest
func (DescribeUsersInput) GoString ¶
func (s DescribeUsersInput) GoString() string
GoString returns the string representation
func (*DescribeUsersInput) SetAuthenticationToken ¶
func (s *DescribeUsersInput) SetAuthenticationToken(v string) *DescribeUsersInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*DescribeUsersInput) SetFields ¶
func (s *DescribeUsersInput) SetFields(v string) *DescribeUsersInput
SetFields sets the Fields field's value.
func (*DescribeUsersInput) SetInclude ¶
func (s *DescribeUsersInput) SetInclude(v UserFilterType) *DescribeUsersInput
SetInclude sets the Include field's value.
func (*DescribeUsersInput) SetLimit ¶
func (s *DescribeUsersInput) SetLimit(v int64) *DescribeUsersInput
SetLimit sets the Limit field's value.
func (*DescribeUsersInput) SetMarker ¶
func (s *DescribeUsersInput) SetMarker(v string) *DescribeUsersInput
SetMarker sets the Marker field's value.
func (*DescribeUsersInput) SetOrder ¶
func (s *DescribeUsersInput) SetOrder(v OrderType) *DescribeUsersInput
SetOrder sets the Order field's value.
func (*DescribeUsersInput) SetOrganizationId ¶
func (s *DescribeUsersInput) SetOrganizationId(v string) *DescribeUsersInput
SetOrganizationId sets the OrganizationId field's value.
func (*DescribeUsersInput) SetQuery ¶
func (s *DescribeUsersInput) SetQuery(v string) *DescribeUsersInput
SetQuery sets the Query field's value.
func (*DescribeUsersInput) SetSort ¶
func (s *DescribeUsersInput) SetSort(v UserSortType) *DescribeUsersInput
SetSort sets the Sort field's value.
func (*DescribeUsersInput) SetUserIds ¶
func (s *DescribeUsersInput) SetUserIds(v string) *DescribeUsersInput
SetUserIds sets the UserIds field's value.
func (DescribeUsersInput) String ¶
func (s DescribeUsersInput) String() string
String returns the string representation
func (*DescribeUsersInput) Validate ¶
func (s *DescribeUsersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUsersOutput ¶
type DescribeUsersOutput struct { // The marker to use when requesting the next set of results. If there are no // additional results, the string is empty. Marker *string `min:"1" type:"string"` // The total number of users included in the results. TotalNumberOfUsers *int64 `deprecated:"true" type:"long"` // The users. Users []User `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeUsersResponse
func (DescribeUsersOutput) GoString ¶
func (s DescribeUsersOutput) GoString() string
GoString returns the string representation
func (DescribeUsersOutput) SDKResponseMetadata ¶
func (s DescribeUsersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeUsersOutput) SetMarker ¶
func (s *DescribeUsersOutput) SetMarker(v string) *DescribeUsersOutput
SetMarker sets the Marker field's value.
func (*DescribeUsersOutput) SetTotalNumberOfUsers ¶
func (s *DescribeUsersOutput) SetTotalNumberOfUsers(v int64) *DescribeUsersOutput
SetTotalNumberOfUsers sets the TotalNumberOfUsers field's value.
func (*DescribeUsersOutput) SetUsers ¶
func (s *DescribeUsersOutput) SetUsers(v []User) *DescribeUsersOutput
SetUsers sets the Users field's value.
func (DescribeUsersOutput) String ¶
func (s DescribeUsersOutput) String() string
String returns the string representation
type DescribeUsersRequest ¶
type DescribeUsersRequest struct { *aws.Request Input *DescribeUsersInput }
DescribeUsersRequest is a API request type for the DescribeUsers API operation.
func (DescribeUsersRequest) Send ¶
func (r DescribeUsersRequest) Send() (*DescribeUsersOutput, error)
Send marshals and sends the DescribeUsers API request.
type DocumentMetadata ¶
type DocumentMetadata struct { // The time when the document was created. CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The ID of the creator. CreatorId *string `min:"1" type:"string"` // The ID of the document. Id *string `min:"1" type:"string"` // List of labels on the document. Labels []string `type:"list"` // The latest version of the document. LatestVersionMetadata *DocumentVersionMetadata `type:"structure"` // The time when the document was updated. ModifiedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The ID of the parent folder. ParentFolderId *string `min:"1" type:"string"` // The resource state. ResourceState ResourceStateType `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the document. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DocumentMetadata
func (DocumentMetadata) GoString ¶
func (s DocumentMetadata) GoString() string
GoString returns the string representation
func (*DocumentMetadata) SetCreatedTimestamp ¶
func (s *DocumentMetadata) SetCreatedTimestamp(v time.Time) *DocumentMetadata
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*DocumentMetadata) SetCreatorId ¶
func (s *DocumentMetadata) SetCreatorId(v string) *DocumentMetadata
SetCreatorId sets the CreatorId field's value.
func (*DocumentMetadata) SetId ¶
func (s *DocumentMetadata) SetId(v string) *DocumentMetadata
SetId sets the Id field's value.
func (*DocumentMetadata) SetLabels ¶
func (s *DocumentMetadata) SetLabels(v []string) *DocumentMetadata
SetLabels sets the Labels field's value.
func (*DocumentMetadata) SetLatestVersionMetadata ¶
func (s *DocumentMetadata) SetLatestVersionMetadata(v *DocumentVersionMetadata) *DocumentMetadata
SetLatestVersionMetadata sets the LatestVersionMetadata field's value.
func (*DocumentMetadata) SetModifiedTimestamp ¶
func (s *DocumentMetadata) SetModifiedTimestamp(v time.Time) *DocumentMetadata
SetModifiedTimestamp sets the ModifiedTimestamp field's value.
func (*DocumentMetadata) SetParentFolderId ¶
func (s *DocumentMetadata) SetParentFolderId(v string) *DocumentMetadata
SetParentFolderId sets the ParentFolderId field's value.
func (*DocumentMetadata) SetResourceState ¶
func (s *DocumentMetadata) SetResourceState(v ResourceStateType) *DocumentMetadata
SetResourceState sets the ResourceState field's value.
func (DocumentMetadata) String ¶
func (s DocumentMetadata) String() string
String returns the string representation
type DocumentSourceType ¶
type DocumentSourceType string
const ( DocumentSourceTypeOriginal DocumentSourceType = "ORIGINAL" DocumentSourceTypeWithComments DocumentSourceType = "WITH_COMMENTS" )
Enum values for DocumentSourceType
type DocumentStatusType ¶
type DocumentStatusType string
const ( DocumentStatusTypeInitialized DocumentStatusType = "INITIALIZED" DocumentStatusTypeActive DocumentStatusType = "ACTIVE" )
Enum values for DocumentStatusType
type DocumentThumbnailType ¶
type DocumentThumbnailType string
const ( DocumentThumbnailTypeSmall DocumentThumbnailType = "SMALL" DocumentThumbnailTypeSmallHq DocumentThumbnailType = "SMALL_HQ" DocumentThumbnailTypeLarge DocumentThumbnailType = "LARGE" )
Enum values for DocumentThumbnailType
type DocumentVersionMetadata ¶
type DocumentVersionMetadata struct { // The timestamp when the content of the document was originally created. ContentCreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The timestamp when the content of the document was modified. ContentModifiedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The content type of the document. ContentType *string `min:"1" type:"string"` // The timestamp when the document was first uploaded. CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The ID of the creator. CreatorId *string `min:"1" type:"string"` // The ID of the version. Id *string `min:"1" type:"string"` // The timestamp when the document was last uploaded. ModifiedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The name of the version. Name *string `min:"1" type:"string"` // The signature of the document. Signature *string `type:"string"` // The size of the document, in bytes. Size *int64 `type:"long"` // The source of the document. Source map[string]string `type:"map"` // The status of the document. Status DocumentStatusType `type:"string" enum:"true"` // The thumbnail of the document. Thumbnail map[string]string `type:"map"` // contains filtered or unexported fields }
Describes a version of a document. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DocumentVersionMetadata
func (DocumentVersionMetadata) GoString ¶
func (s DocumentVersionMetadata) GoString() string
GoString returns the string representation
func (*DocumentVersionMetadata) SetContentCreatedTimestamp ¶
func (s *DocumentVersionMetadata) SetContentCreatedTimestamp(v time.Time) *DocumentVersionMetadata
SetContentCreatedTimestamp sets the ContentCreatedTimestamp field's value.
func (*DocumentVersionMetadata) SetContentModifiedTimestamp ¶
func (s *DocumentVersionMetadata) SetContentModifiedTimestamp(v time.Time) *DocumentVersionMetadata
SetContentModifiedTimestamp sets the ContentModifiedTimestamp field's value.
func (*DocumentVersionMetadata) SetContentType ¶
func (s *DocumentVersionMetadata) SetContentType(v string) *DocumentVersionMetadata
SetContentType sets the ContentType field's value.
func (*DocumentVersionMetadata) SetCreatedTimestamp ¶
func (s *DocumentVersionMetadata) SetCreatedTimestamp(v time.Time) *DocumentVersionMetadata
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*DocumentVersionMetadata) SetCreatorId ¶
func (s *DocumentVersionMetadata) SetCreatorId(v string) *DocumentVersionMetadata
SetCreatorId sets the CreatorId field's value.
func (*DocumentVersionMetadata) SetId ¶
func (s *DocumentVersionMetadata) SetId(v string) *DocumentVersionMetadata
SetId sets the Id field's value.
func (*DocumentVersionMetadata) SetModifiedTimestamp ¶
func (s *DocumentVersionMetadata) SetModifiedTimestamp(v time.Time) *DocumentVersionMetadata
SetModifiedTimestamp sets the ModifiedTimestamp field's value.
func (*DocumentVersionMetadata) SetName ¶
func (s *DocumentVersionMetadata) SetName(v string) *DocumentVersionMetadata
SetName sets the Name field's value.
func (*DocumentVersionMetadata) SetSignature ¶
func (s *DocumentVersionMetadata) SetSignature(v string) *DocumentVersionMetadata
SetSignature sets the Signature field's value.
func (*DocumentVersionMetadata) SetSize ¶
func (s *DocumentVersionMetadata) SetSize(v int64) *DocumentVersionMetadata
SetSize sets the Size field's value.
func (*DocumentVersionMetadata) SetSource ¶
func (s *DocumentVersionMetadata) SetSource(v map[string]string) *DocumentVersionMetadata
SetSource sets the Source field's value.
func (*DocumentVersionMetadata) SetStatus ¶
func (s *DocumentVersionMetadata) SetStatus(v DocumentStatusType) *DocumentVersionMetadata
SetStatus sets the Status field's value.
func (*DocumentVersionMetadata) SetThumbnail ¶
func (s *DocumentVersionMetadata) SetThumbnail(v map[string]string) *DocumentVersionMetadata
SetThumbnail sets the Thumbnail field's value.
func (DocumentVersionMetadata) String ¶
func (s DocumentVersionMetadata) String() string
String returns the string representation
type DocumentVersionStatus ¶
type DocumentVersionStatus string
const (
DocumentVersionStatusActive DocumentVersionStatus = "ACTIVE"
)
Enum values for DocumentVersionStatus
type FolderContentType ¶
type FolderContentType string
const ( FolderContentTypeAll FolderContentType = "ALL" FolderContentTypeDocument FolderContentType = "DOCUMENT" FolderContentTypeFolder FolderContentType = "FOLDER" )
Enum values for FolderContentType
type FolderMetadata ¶
type FolderMetadata struct { // The time when the folder was created. CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The ID of the creator. CreatorId *string `min:"1" type:"string"` // The ID of the folder. Id *string `min:"1" type:"string"` // List of labels on the folder. Labels []string `type:"list"` // The size of the latest version of the folder metadata. LatestVersionSize *int64 `type:"long"` // The time when the folder was updated. ModifiedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The name of the folder. Name *string `min:"1" type:"string"` // The ID of the parent folder. ParentFolderId *string `min:"1" type:"string"` // The resource state of the folder. ResourceState ResourceStateType `type:"string" enum:"true"` // The unique identifier created from the subfolders and documents of the folder. Signature *string `type:"string"` // The size of the folder metadata. Size *int64 `type:"long"` // contains filtered or unexported fields }
Describes a folder. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/FolderMetadata
func (FolderMetadata) GoString ¶
func (s FolderMetadata) GoString() string
GoString returns the string representation
func (*FolderMetadata) SetCreatedTimestamp ¶
func (s *FolderMetadata) SetCreatedTimestamp(v time.Time) *FolderMetadata
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*FolderMetadata) SetCreatorId ¶
func (s *FolderMetadata) SetCreatorId(v string) *FolderMetadata
SetCreatorId sets the CreatorId field's value.
func (*FolderMetadata) SetId ¶
func (s *FolderMetadata) SetId(v string) *FolderMetadata
SetId sets the Id field's value.
func (*FolderMetadata) SetLabels ¶
func (s *FolderMetadata) SetLabels(v []string) *FolderMetadata
SetLabels sets the Labels field's value.
func (*FolderMetadata) SetLatestVersionSize ¶
func (s *FolderMetadata) SetLatestVersionSize(v int64) *FolderMetadata
SetLatestVersionSize sets the LatestVersionSize field's value.
func (*FolderMetadata) SetModifiedTimestamp ¶
func (s *FolderMetadata) SetModifiedTimestamp(v time.Time) *FolderMetadata
SetModifiedTimestamp sets the ModifiedTimestamp field's value.
func (*FolderMetadata) SetName ¶
func (s *FolderMetadata) SetName(v string) *FolderMetadata
SetName sets the Name field's value.
func (*FolderMetadata) SetParentFolderId ¶
func (s *FolderMetadata) SetParentFolderId(v string) *FolderMetadata
SetParentFolderId sets the ParentFolderId field's value.
func (*FolderMetadata) SetResourceState ¶
func (s *FolderMetadata) SetResourceState(v ResourceStateType) *FolderMetadata
SetResourceState sets the ResourceState field's value.
func (*FolderMetadata) SetSignature ¶
func (s *FolderMetadata) SetSignature(v string) *FolderMetadata
SetSignature sets the Signature field's value.
func (*FolderMetadata) SetSize ¶
func (s *FolderMetadata) SetSize(v int64) *FolderMetadata
SetSize sets the Size field's value.
func (FolderMetadata) String ¶
func (s FolderMetadata) String() string
String returns the string representation
type GetCurrentUserInput ¶
type GetCurrentUserInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. // // AuthenticationToken is a required field AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetCurrentUserRequest
func (GetCurrentUserInput) GoString ¶
func (s GetCurrentUserInput) GoString() string
GoString returns the string representation
func (*GetCurrentUserInput) SetAuthenticationToken ¶
func (s *GetCurrentUserInput) SetAuthenticationToken(v string) *GetCurrentUserInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (GetCurrentUserInput) String ¶
func (s GetCurrentUserInput) String() string
String returns the string representation
func (*GetCurrentUserInput) Validate ¶
func (s *GetCurrentUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCurrentUserOutput ¶
type GetCurrentUserOutput struct { // Metadata of the user. User *User `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetCurrentUserResponse
func (GetCurrentUserOutput) GoString ¶
func (s GetCurrentUserOutput) GoString() string
GoString returns the string representation
func (GetCurrentUserOutput) SDKResponseMetadata ¶
func (s GetCurrentUserOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetCurrentUserOutput) SetUser ¶
func (s *GetCurrentUserOutput) SetUser(v *User) *GetCurrentUserOutput
SetUser sets the User field's value.
func (GetCurrentUserOutput) String ¶
func (s GetCurrentUserOutput) String() string
String returns the string representation
type GetCurrentUserRequest ¶
type GetCurrentUserRequest struct { *aws.Request Input *GetCurrentUserInput }
GetCurrentUserRequest is a API request type for the GetCurrentUser API operation.
func (GetCurrentUserRequest) Send ¶
func (r GetCurrentUserRequest) Send() (*GetCurrentUserOutput, error)
Send marshals and sends the GetCurrentUser API request.
type GetDocumentInput ¶
type GetDocumentInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // Set this to TRUE to include custom metadata in the response. IncludeCustomMetadata *bool `location:"querystring" locationName:"includeCustomMetadata" type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentRequest
func (GetDocumentInput) GoString ¶
func (s GetDocumentInput) GoString() string
GoString returns the string representation
func (*GetDocumentInput) SetAuthenticationToken ¶
func (s *GetDocumentInput) SetAuthenticationToken(v string) *GetDocumentInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*GetDocumentInput) SetDocumentId ¶
func (s *GetDocumentInput) SetDocumentId(v string) *GetDocumentInput
SetDocumentId sets the DocumentId field's value.
func (*GetDocumentInput) SetIncludeCustomMetadata ¶
func (s *GetDocumentInput) SetIncludeCustomMetadata(v bool) *GetDocumentInput
SetIncludeCustomMetadata sets the IncludeCustomMetadata field's value.
func (GetDocumentInput) String ¶
func (s GetDocumentInput) String() string
String returns the string representation
func (*GetDocumentInput) Validate ¶
func (s *GetDocumentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDocumentOutput ¶
type GetDocumentOutput struct { // The custom metadata on the document. CustomMetadata map[string]string `min:"1" type:"map"` // The metadata details of the document. Metadata *DocumentMetadata `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentResponse
func (GetDocumentOutput) GoString ¶
func (s GetDocumentOutput) GoString() string
GoString returns the string representation
func (GetDocumentOutput) SDKResponseMetadata ¶
func (s GetDocumentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDocumentOutput) SetCustomMetadata ¶
func (s *GetDocumentOutput) SetCustomMetadata(v map[string]string) *GetDocumentOutput
SetCustomMetadata sets the CustomMetadata field's value.
func (*GetDocumentOutput) SetMetadata ¶
func (s *GetDocumentOutput) SetMetadata(v *DocumentMetadata) *GetDocumentOutput
SetMetadata sets the Metadata field's value.
func (GetDocumentOutput) String ¶
func (s GetDocumentOutput) String() string
String returns the string representation
type GetDocumentPathInput ¶
type GetDocumentPathInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // A comma-separated list of values. Specify NAME to include the names of the // parent folders. Fields *string `location:"querystring" locationName:"fields" min:"1" type:"string"` // The maximum number of levels in the hierarchy to return. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // This value is not supported. Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentPathRequest
func (GetDocumentPathInput) GoString ¶
func (s GetDocumentPathInput) GoString() string
GoString returns the string representation
func (*GetDocumentPathInput) SetAuthenticationToken ¶
func (s *GetDocumentPathInput) SetAuthenticationToken(v string) *GetDocumentPathInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*GetDocumentPathInput) SetDocumentId ¶
func (s *GetDocumentPathInput) SetDocumentId(v string) *GetDocumentPathInput
SetDocumentId sets the DocumentId field's value.
func (*GetDocumentPathInput) SetFields ¶
func (s *GetDocumentPathInput) SetFields(v string) *GetDocumentPathInput
SetFields sets the Fields field's value.
func (*GetDocumentPathInput) SetLimit ¶
func (s *GetDocumentPathInput) SetLimit(v int64) *GetDocumentPathInput
SetLimit sets the Limit field's value.
func (*GetDocumentPathInput) SetMarker ¶
func (s *GetDocumentPathInput) SetMarker(v string) *GetDocumentPathInput
SetMarker sets the Marker field's value.
func (GetDocumentPathInput) String ¶
func (s GetDocumentPathInput) String() string
String returns the string representation
func (*GetDocumentPathInput) Validate ¶
func (s *GetDocumentPathInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDocumentPathOutput ¶
type GetDocumentPathOutput struct { // The path information. Path *ResourcePath `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentPathResponse
func (GetDocumentPathOutput) GoString ¶
func (s GetDocumentPathOutput) GoString() string
GoString returns the string representation
func (GetDocumentPathOutput) SDKResponseMetadata ¶
func (s GetDocumentPathOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDocumentPathOutput) SetPath ¶
func (s *GetDocumentPathOutput) SetPath(v *ResourcePath) *GetDocumentPathOutput
SetPath sets the Path field's value.
func (GetDocumentPathOutput) String ¶
func (s GetDocumentPathOutput) String() string
String returns the string representation
type GetDocumentPathRequest ¶
type GetDocumentPathRequest struct { *aws.Request Input *GetDocumentPathInput }
GetDocumentPathRequest is a API request type for the GetDocumentPath API operation.
func (GetDocumentPathRequest) Send ¶
func (r GetDocumentPathRequest) Send() (*GetDocumentPathOutput, error)
Send marshals and sends the GetDocumentPath API request.
type GetDocumentRequest ¶
type GetDocumentRequest struct { *aws.Request Input *GetDocumentInput }
GetDocumentRequest is a API request type for the GetDocument API operation.
func (GetDocumentRequest) Send ¶
func (r GetDocumentRequest) Send() (*GetDocumentOutput, error)
Send marshals and sends the GetDocument API request.
type GetDocumentVersionInput ¶
type GetDocumentVersionInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // A comma-separated list of values. Specify "SOURCE" to include a URL for the // source document. Fields *string `location:"querystring" locationName:"fields" min:"1" type:"string"` // Set this to TRUE to include custom metadata in the response. IncludeCustomMetadata *bool `location:"querystring" locationName:"includeCustomMetadata" type:"boolean"` // The version ID of the document. // // VersionId is a required field VersionId *string `location:"uri" locationName:"VersionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentVersionRequest
func (GetDocumentVersionInput) GoString ¶
func (s GetDocumentVersionInput) GoString() string
GoString returns the string representation
func (*GetDocumentVersionInput) SetAuthenticationToken ¶
func (s *GetDocumentVersionInput) SetAuthenticationToken(v string) *GetDocumentVersionInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*GetDocumentVersionInput) SetDocumentId ¶
func (s *GetDocumentVersionInput) SetDocumentId(v string) *GetDocumentVersionInput
SetDocumentId sets the DocumentId field's value.
func (*GetDocumentVersionInput) SetFields ¶
func (s *GetDocumentVersionInput) SetFields(v string) *GetDocumentVersionInput
SetFields sets the Fields field's value.
func (*GetDocumentVersionInput) SetIncludeCustomMetadata ¶
func (s *GetDocumentVersionInput) SetIncludeCustomMetadata(v bool) *GetDocumentVersionInput
SetIncludeCustomMetadata sets the IncludeCustomMetadata field's value.
func (*GetDocumentVersionInput) SetVersionId ¶
func (s *GetDocumentVersionInput) SetVersionId(v string) *GetDocumentVersionInput
SetVersionId sets the VersionId field's value.
func (GetDocumentVersionInput) String ¶
func (s GetDocumentVersionInput) String() string
String returns the string representation
func (*GetDocumentVersionInput) Validate ¶
func (s *GetDocumentVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDocumentVersionOutput ¶
type GetDocumentVersionOutput struct { // The custom metadata on the document version. CustomMetadata map[string]string `min:"1" type:"map"` // The version metadata. Metadata *DocumentVersionMetadata `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentVersionResponse
func (GetDocumentVersionOutput) GoString ¶
func (s GetDocumentVersionOutput) GoString() string
GoString returns the string representation
func (GetDocumentVersionOutput) SDKResponseMetadata ¶
func (s GetDocumentVersionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDocumentVersionOutput) SetCustomMetadata ¶
func (s *GetDocumentVersionOutput) SetCustomMetadata(v map[string]string) *GetDocumentVersionOutput
SetCustomMetadata sets the CustomMetadata field's value.
func (*GetDocumentVersionOutput) SetMetadata ¶
func (s *GetDocumentVersionOutput) SetMetadata(v *DocumentVersionMetadata) *GetDocumentVersionOutput
SetMetadata sets the Metadata field's value.
func (GetDocumentVersionOutput) String ¶
func (s GetDocumentVersionOutput) String() string
String returns the string representation
type GetDocumentVersionRequest ¶
type GetDocumentVersionRequest struct { *aws.Request Input *GetDocumentVersionInput }
GetDocumentVersionRequest is a API request type for the GetDocumentVersion API operation.
func (GetDocumentVersionRequest) Send ¶
func (r GetDocumentVersionRequest) Send() (*GetDocumentVersionOutput, error)
Send marshals and sends the GetDocumentVersion API request.
type GetFolderInput ¶
type GetFolderInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the folder. // // FolderId is a required field FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` // Set to TRUE to include custom metadata in the response. IncludeCustomMetadata *bool `location:"querystring" locationName:"includeCustomMetadata" type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderRequest
func (GetFolderInput) GoString ¶
func (s GetFolderInput) GoString() string
GoString returns the string representation
func (*GetFolderInput) SetAuthenticationToken ¶
func (s *GetFolderInput) SetAuthenticationToken(v string) *GetFolderInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*GetFolderInput) SetFolderId ¶
func (s *GetFolderInput) SetFolderId(v string) *GetFolderInput
SetFolderId sets the FolderId field's value.
func (*GetFolderInput) SetIncludeCustomMetadata ¶
func (s *GetFolderInput) SetIncludeCustomMetadata(v bool) *GetFolderInput
SetIncludeCustomMetadata sets the IncludeCustomMetadata field's value.
func (GetFolderInput) String ¶
func (s GetFolderInput) String() string
String returns the string representation
func (*GetFolderInput) Validate ¶
func (s *GetFolderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFolderOutput ¶
type GetFolderOutput struct { // The custom metadata on the folder. CustomMetadata map[string]string `min:"1" type:"map"` // The metadata of the folder. Metadata *FolderMetadata `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderResponse
func (GetFolderOutput) GoString ¶
func (s GetFolderOutput) GoString() string
GoString returns the string representation
func (GetFolderOutput) SDKResponseMetadata ¶
func (s GetFolderOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetFolderOutput) SetCustomMetadata ¶
func (s *GetFolderOutput) SetCustomMetadata(v map[string]string) *GetFolderOutput
SetCustomMetadata sets the CustomMetadata field's value.
func (*GetFolderOutput) SetMetadata ¶
func (s *GetFolderOutput) SetMetadata(v *FolderMetadata) *GetFolderOutput
SetMetadata sets the Metadata field's value.
func (GetFolderOutput) String ¶
func (s GetFolderOutput) String() string
String returns the string representation
type GetFolderPathInput ¶
type GetFolderPathInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // A comma-separated list of values. Specify "NAME" to include the names of // the parent folders. Fields *string `location:"querystring" locationName:"fields" min:"1" type:"string"` // The ID of the folder. // // FolderId is a required field FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` // The maximum number of levels in the hierarchy to return. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // This value is not supported. Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderPathRequest
func (GetFolderPathInput) GoString ¶
func (s GetFolderPathInput) GoString() string
GoString returns the string representation
func (*GetFolderPathInput) SetAuthenticationToken ¶
func (s *GetFolderPathInput) SetAuthenticationToken(v string) *GetFolderPathInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*GetFolderPathInput) SetFields ¶
func (s *GetFolderPathInput) SetFields(v string) *GetFolderPathInput
SetFields sets the Fields field's value.
func (*GetFolderPathInput) SetFolderId ¶
func (s *GetFolderPathInput) SetFolderId(v string) *GetFolderPathInput
SetFolderId sets the FolderId field's value.
func (*GetFolderPathInput) SetLimit ¶
func (s *GetFolderPathInput) SetLimit(v int64) *GetFolderPathInput
SetLimit sets the Limit field's value.
func (*GetFolderPathInput) SetMarker ¶
func (s *GetFolderPathInput) SetMarker(v string) *GetFolderPathInput
SetMarker sets the Marker field's value.
func (GetFolderPathInput) String ¶
func (s GetFolderPathInput) String() string
String returns the string representation
func (*GetFolderPathInput) Validate ¶
func (s *GetFolderPathInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFolderPathOutput ¶
type GetFolderPathOutput struct { // The path information. Path *ResourcePath `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderPathResponse
func (GetFolderPathOutput) GoString ¶
func (s GetFolderPathOutput) GoString() string
GoString returns the string representation
func (GetFolderPathOutput) SDKResponseMetadata ¶
func (s GetFolderPathOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetFolderPathOutput) SetPath ¶
func (s *GetFolderPathOutput) SetPath(v *ResourcePath) *GetFolderPathOutput
SetPath sets the Path field's value.
func (GetFolderPathOutput) String ¶
func (s GetFolderPathOutput) String() string
String returns the string representation
type GetFolderPathRequest ¶
type GetFolderPathRequest struct { *aws.Request Input *GetFolderPathInput }
GetFolderPathRequest is a API request type for the GetFolderPath API operation.
func (GetFolderPathRequest) Send ¶
func (r GetFolderPathRequest) Send() (*GetFolderPathOutput, error)
Send marshals and sends the GetFolderPath API request.
type GetFolderRequest ¶
type GetFolderRequest struct { *aws.Request Input *GetFolderInput }
GetFolderRequest is a API request type for the GetFolder API operation.
func (GetFolderRequest) Send ¶
func (r GetFolderRequest) Send() (*GetFolderOutput, error)
Send marshals and sends the GetFolder API request.
type GroupMetadata ¶
type GroupMetadata struct { // The ID of the user group. Id *string `min:"1" type:"string"` // The name of the group. Name *string `type:"string"` // contains filtered or unexported fields }
Describes the metadata of a user group. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GroupMetadata
func (GroupMetadata) GoString ¶
func (s GroupMetadata) GoString() string
GoString returns the string representation
func (*GroupMetadata) SetId ¶
func (s *GroupMetadata) SetId(v string) *GroupMetadata
SetId sets the Id field's value.
func (*GroupMetadata) SetName ¶
func (s *GroupMetadata) SetName(v string) *GroupMetadata
SetName sets the Name field's value.
func (GroupMetadata) String ¶
func (s GroupMetadata) String() string
String returns the string representation
type InitiateDocumentVersionUploadInput ¶
type InitiateDocumentVersionUploadInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The timestamp when the content of the document was originally created. ContentCreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The timestamp when the content of the document was modified. ContentModifiedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The content type of the document. ContentType *string `min:"1" type:"string"` // The size of the document, in bytes. DocumentSizeInBytes *int64 `type:"long"` // The ID of the document. Id *string `min:"1" type:"string"` // The name of the document. Name *string `min:"1" type:"string"` // The ID of the parent folder. // // ParentFolderId is a required field ParentFolderId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InitiateDocumentVersionUploadRequest
func (InitiateDocumentVersionUploadInput) GoString ¶
func (s InitiateDocumentVersionUploadInput) GoString() string
GoString returns the string representation
func (*InitiateDocumentVersionUploadInput) SetAuthenticationToken ¶
func (s *InitiateDocumentVersionUploadInput) SetAuthenticationToken(v string) *InitiateDocumentVersionUploadInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*InitiateDocumentVersionUploadInput) SetContentCreatedTimestamp ¶
func (s *InitiateDocumentVersionUploadInput) SetContentCreatedTimestamp(v time.Time) *InitiateDocumentVersionUploadInput
SetContentCreatedTimestamp sets the ContentCreatedTimestamp field's value.
func (*InitiateDocumentVersionUploadInput) SetContentModifiedTimestamp ¶
func (s *InitiateDocumentVersionUploadInput) SetContentModifiedTimestamp(v time.Time) *InitiateDocumentVersionUploadInput
SetContentModifiedTimestamp sets the ContentModifiedTimestamp field's value.
func (*InitiateDocumentVersionUploadInput) SetContentType ¶
func (s *InitiateDocumentVersionUploadInput) SetContentType(v string) *InitiateDocumentVersionUploadInput
SetContentType sets the ContentType field's value.
func (*InitiateDocumentVersionUploadInput) SetDocumentSizeInBytes ¶
func (s *InitiateDocumentVersionUploadInput) SetDocumentSizeInBytes(v int64) *InitiateDocumentVersionUploadInput
SetDocumentSizeInBytes sets the DocumentSizeInBytes field's value.
func (*InitiateDocumentVersionUploadInput) SetId ¶
func (s *InitiateDocumentVersionUploadInput) SetId(v string) *InitiateDocumentVersionUploadInput
SetId sets the Id field's value.
func (*InitiateDocumentVersionUploadInput) SetName ¶
func (s *InitiateDocumentVersionUploadInput) SetName(v string) *InitiateDocumentVersionUploadInput
SetName sets the Name field's value.
func (*InitiateDocumentVersionUploadInput) SetParentFolderId ¶
func (s *InitiateDocumentVersionUploadInput) SetParentFolderId(v string) *InitiateDocumentVersionUploadInput
SetParentFolderId sets the ParentFolderId field's value.
func (InitiateDocumentVersionUploadInput) String ¶
func (s InitiateDocumentVersionUploadInput) String() string
String returns the string representation
func (*InitiateDocumentVersionUploadInput) Validate ¶
func (s *InitiateDocumentVersionUploadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InitiateDocumentVersionUploadOutput ¶
type InitiateDocumentVersionUploadOutput struct { // The document metadata. Metadata *DocumentMetadata `type:"structure"` // The upload metadata. UploadMetadata *UploadMetadata `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InitiateDocumentVersionUploadResponse
func (InitiateDocumentVersionUploadOutput) GoString ¶
func (s InitiateDocumentVersionUploadOutput) GoString() string
GoString returns the string representation
func (InitiateDocumentVersionUploadOutput) SDKResponseMetadata ¶
func (s InitiateDocumentVersionUploadOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*InitiateDocumentVersionUploadOutput) SetMetadata ¶
func (s *InitiateDocumentVersionUploadOutput) SetMetadata(v *DocumentMetadata) *InitiateDocumentVersionUploadOutput
SetMetadata sets the Metadata field's value.
func (*InitiateDocumentVersionUploadOutput) SetUploadMetadata ¶
func (s *InitiateDocumentVersionUploadOutput) SetUploadMetadata(v *UploadMetadata) *InitiateDocumentVersionUploadOutput
SetUploadMetadata sets the UploadMetadata field's value.
func (InitiateDocumentVersionUploadOutput) String ¶
func (s InitiateDocumentVersionUploadOutput) String() string
String returns the string representation
type InitiateDocumentVersionUploadRequest ¶
type InitiateDocumentVersionUploadRequest struct { *aws.Request Input *InitiateDocumentVersionUploadInput }
InitiateDocumentVersionUploadRequest is a API request type for the InitiateDocumentVersionUpload API operation.
func (InitiateDocumentVersionUploadRequest) Send ¶
func (r InitiateDocumentVersionUploadRequest) Send() (*InitiateDocumentVersionUploadOutput, error)
Send marshals and sends the InitiateDocumentVersionUpload API request.
type LocaleType ¶
type LocaleType string
const ( LocaleTypeEn LocaleType = "en" LocaleTypeFr LocaleType = "fr" LocaleTypeKo LocaleType = "ko" LocaleTypeDe LocaleType = "de" LocaleTypeEs LocaleType = "es" LocaleTypeJa LocaleType = "ja" LocaleTypeRu LocaleType = "ru" LocaleTypeZhCn LocaleType = "zh_CN" LocaleTypeZhTw LocaleType = "zh_TW" LocaleTypePtBr LocaleType = "pt_BR" LocaleTypeDefault LocaleType = "default" )
Enum values for LocaleType
type NotificationOptions ¶
type NotificationOptions struct { // Text value to be included in the email body. EmailMessage *string `type:"string"` // Boolean value to indicate an email notification should be sent to the receipients. SendEmail *bool `type:"boolean"` // contains filtered or unexported fields }
Set of options which defines notification preferences of given action. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/NotificationOptions
func (NotificationOptions) GoString ¶
func (s NotificationOptions) GoString() string
GoString returns the string representation
func (*NotificationOptions) SetEmailMessage ¶
func (s *NotificationOptions) SetEmailMessage(v string) *NotificationOptions
SetEmailMessage sets the EmailMessage field's value.
func (*NotificationOptions) SetSendEmail ¶
func (s *NotificationOptions) SetSendEmail(v bool) *NotificationOptions
SetSendEmail sets the SendEmail field's value.
func (NotificationOptions) String ¶
func (s NotificationOptions) String() string
String returns the string representation
type Participants ¶
type Participants struct { // The list of user groups. Groups []GroupMetadata `type:"list"` // The list of users. Users []UserMetadata `type:"list"` // contains filtered or unexported fields }
Describes the users or user groups. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Participants
func (Participants) GoString ¶
func (s Participants) GoString() string
GoString returns the string representation
func (*Participants) SetGroups ¶
func (s *Participants) SetGroups(v []GroupMetadata) *Participants
SetGroups sets the Groups field's value.
func (*Participants) SetUsers ¶
func (s *Participants) SetUsers(v []UserMetadata) *Participants
SetUsers sets the Users field's value.
func (Participants) String ¶
func (s Participants) String() string
String returns the string representation
type PermissionInfo ¶
type PermissionInfo struct { // The role of the user. Role RoleType `type:"string" enum:"true"` // The type of permissions. Type RolePermissionType `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the permissions. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/PermissionInfo
func (PermissionInfo) GoString ¶
func (s PermissionInfo) GoString() string
GoString returns the string representation
func (*PermissionInfo) SetRole ¶
func (s *PermissionInfo) SetRole(v RoleType) *PermissionInfo
SetRole sets the Role field's value.
func (*PermissionInfo) SetType ¶
func (s *PermissionInfo) SetType(v RolePermissionType) *PermissionInfo
SetType sets the Type field's value.
func (PermissionInfo) String ¶
func (s PermissionInfo) String() string
String returns the string representation
type Principal ¶
type Principal struct { // The ID of the resource. Id *string `min:"1" type:"string"` // The permission information for the resource. Roles []PermissionInfo `type:"list"` // The type of resource. Type PrincipalType `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Principal
func (*Principal) SetRoles ¶
func (s *Principal) SetRoles(v []PermissionInfo) *Principal
SetRoles sets the Roles field's value.
func (*Principal) SetType ¶
func (s *Principal) SetType(v PrincipalType) *Principal
SetType sets the Type field's value.
type PrincipalType ¶
type PrincipalType string
const ( PrincipalTypeUser PrincipalType = "USER" PrincipalTypeGroup PrincipalType = "GROUP" PrincipalTypeInvite PrincipalType = "INVITE" PrincipalTypeAnonymous PrincipalType = "ANONYMOUS" PrincipalTypeOrganization PrincipalType = "ORGANIZATION" )
Enum values for PrincipalType
type RemoveAllResourcePermissionsInput ¶
type RemoveAllResourcePermissionsInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the resource. // // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveAllResourcePermissionsRequest
func (RemoveAllResourcePermissionsInput) GoString ¶
func (s RemoveAllResourcePermissionsInput) GoString() string
GoString returns the string representation
func (*RemoveAllResourcePermissionsInput) SetAuthenticationToken ¶
func (s *RemoveAllResourcePermissionsInput) SetAuthenticationToken(v string) *RemoveAllResourcePermissionsInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*RemoveAllResourcePermissionsInput) SetResourceId ¶
func (s *RemoveAllResourcePermissionsInput) SetResourceId(v string) *RemoveAllResourcePermissionsInput
SetResourceId sets the ResourceId field's value.
func (RemoveAllResourcePermissionsInput) String ¶
func (s RemoveAllResourcePermissionsInput) String() string
String returns the string representation
func (*RemoveAllResourcePermissionsInput) Validate ¶
func (s *RemoveAllResourcePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveAllResourcePermissionsOutput ¶
type RemoveAllResourcePermissionsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveAllResourcePermissionsOutput
func (RemoveAllResourcePermissionsOutput) GoString ¶
func (s RemoveAllResourcePermissionsOutput) GoString() string
GoString returns the string representation
func (RemoveAllResourcePermissionsOutput) SDKResponseMetadata ¶
func (s RemoveAllResourcePermissionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RemoveAllResourcePermissionsOutput) String ¶
func (s RemoveAllResourcePermissionsOutput) String() string
String returns the string representation
type RemoveAllResourcePermissionsRequest ¶
type RemoveAllResourcePermissionsRequest struct { *aws.Request Input *RemoveAllResourcePermissionsInput }
RemoveAllResourcePermissionsRequest is a API request type for the RemoveAllResourcePermissions API operation.
func (RemoveAllResourcePermissionsRequest) Send ¶
func (r RemoveAllResourcePermissionsRequest) Send() (*RemoveAllResourcePermissionsOutput, error)
Send marshals and sends the RemoveAllResourcePermissions API request.
type RemoveResourcePermissionInput ¶
type RemoveResourcePermissionInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The principal ID of the resource. // // PrincipalId is a required field PrincipalId *string `location:"uri" locationName:"PrincipalId" min:"1" type:"string" required:"true"` // The principal type of the resource. PrincipalType PrincipalType `location:"querystring" locationName:"type" type:"string" enum:"true"` // The ID of the resource. // // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveResourcePermissionRequest
func (RemoveResourcePermissionInput) GoString ¶
func (s RemoveResourcePermissionInput) GoString() string
GoString returns the string representation
func (*RemoveResourcePermissionInput) SetAuthenticationToken ¶
func (s *RemoveResourcePermissionInput) SetAuthenticationToken(v string) *RemoveResourcePermissionInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*RemoveResourcePermissionInput) SetPrincipalId ¶
func (s *RemoveResourcePermissionInput) SetPrincipalId(v string) *RemoveResourcePermissionInput
SetPrincipalId sets the PrincipalId field's value.
func (*RemoveResourcePermissionInput) SetPrincipalType ¶
func (s *RemoveResourcePermissionInput) SetPrincipalType(v PrincipalType) *RemoveResourcePermissionInput
SetPrincipalType sets the PrincipalType field's value.
func (*RemoveResourcePermissionInput) SetResourceId ¶
func (s *RemoveResourcePermissionInput) SetResourceId(v string) *RemoveResourcePermissionInput
SetResourceId sets the ResourceId field's value.
func (RemoveResourcePermissionInput) String ¶
func (s RemoveResourcePermissionInput) String() string
String returns the string representation
func (*RemoveResourcePermissionInput) Validate ¶
func (s *RemoveResourcePermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveResourcePermissionOutput ¶
type RemoveResourcePermissionOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveResourcePermissionOutput
func (RemoveResourcePermissionOutput) GoString ¶
func (s RemoveResourcePermissionOutput) GoString() string
GoString returns the string representation
func (RemoveResourcePermissionOutput) SDKResponseMetadata ¶
func (s RemoveResourcePermissionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RemoveResourcePermissionOutput) String ¶
func (s RemoveResourcePermissionOutput) String() string
String returns the string representation
type RemoveResourcePermissionRequest ¶
type RemoveResourcePermissionRequest struct { *aws.Request Input *RemoveResourcePermissionInput }
RemoveResourcePermissionRequest is a API request type for the RemoveResourcePermission API operation.
func (RemoveResourcePermissionRequest) Send ¶
func (r RemoveResourcePermissionRequest) Send() (*RemoveResourcePermissionOutput, error)
Send marshals and sends the RemoveResourcePermission API request.
type ResourceMetadata ¶
type ResourceMetadata struct { // The ID of the resource. Id *string `min:"1" type:"string"` // The name of the resource. Name *string `min:"1" type:"string"` // The original name of the resource before a rename operation. OriginalName *string `min:"1" type:"string"` // The owner of the resource. Owner *UserMetadata `type:"structure"` // The parent ID of the resource before a rename operation. ParentId *string `min:"1" type:"string"` // The type of resource. Type ResourceType `type:"string" enum:"true"` // The version ID of the resource. This is an optional field and is filled for // action on document version. VersionId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes the metadata of a resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ResourceMetadata
func (ResourceMetadata) GoString ¶
func (s ResourceMetadata) GoString() string
GoString returns the string representation
func (*ResourceMetadata) SetId ¶
func (s *ResourceMetadata) SetId(v string) *ResourceMetadata
SetId sets the Id field's value.
func (*ResourceMetadata) SetName ¶
func (s *ResourceMetadata) SetName(v string) *ResourceMetadata
SetName sets the Name field's value.
func (*ResourceMetadata) SetOriginalName ¶
func (s *ResourceMetadata) SetOriginalName(v string) *ResourceMetadata
SetOriginalName sets the OriginalName field's value.
func (*ResourceMetadata) SetOwner ¶
func (s *ResourceMetadata) SetOwner(v *UserMetadata) *ResourceMetadata
SetOwner sets the Owner field's value.
func (*ResourceMetadata) SetParentId ¶
func (s *ResourceMetadata) SetParentId(v string) *ResourceMetadata
SetParentId sets the ParentId field's value.
func (*ResourceMetadata) SetType ¶
func (s *ResourceMetadata) SetType(v ResourceType) *ResourceMetadata
SetType sets the Type field's value.
func (*ResourceMetadata) SetVersionId ¶
func (s *ResourceMetadata) SetVersionId(v string) *ResourceMetadata
SetVersionId sets the VersionId field's value.
func (ResourceMetadata) String ¶
func (s ResourceMetadata) String() string
String returns the string representation
type ResourcePath ¶
type ResourcePath struct { // The components of the resource path. Components []ResourcePathComponent `type:"list"` // contains filtered or unexported fields }
Describes the path information of a resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ResourcePath
func (ResourcePath) GoString ¶
func (s ResourcePath) GoString() string
GoString returns the string representation
func (*ResourcePath) SetComponents ¶
func (s *ResourcePath) SetComponents(v []ResourcePathComponent) *ResourcePath
SetComponents sets the Components field's value.
func (ResourcePath) String ¶
func (s ResourcePath) String() string
String returns the string representation
type ResourcePathComponent ¶
type ResourcePathComponent struct { // The ID of the resource path. Id *string `min:"1" type:"string"` // The name of the resource path. Name *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes the resource path. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ResourcePathComponent
func (ResourcePathComponent) GoString ¶
func (s ResourcePathComponent) GoString() string
GoString returns the string representation
func (*ResourcePathComponent) SetId ¶
func (s *ResourcePathComponent) SetId(v string) *ResourcePathComponent
SetId sets the Id field's value.
func (*ResourcePathComponent) SetName ¶
func (s *ResourcePathComponent) SetName(v string) *ResourcePathComponent
SetName sets the Name field's value.
func (ResourcePathComponent) String ¶
func (s ResourcePathComponent) String() string
String returns the string representation
type ResourceSortType ¶
type ResourceSortType string
const ( ResourceSortTypeDate ResourceSortType = "DATE" ResourceSortTypeName ResourceSortType = "NAME" )
Enum values for ResourceSortType
type ResourceStateType ¶
type ResourceStateType string
const ( ResourceStateTypeActive ResourceStateType = "ACTIVE" ResourceStateTypeRestoring ResourceStateType = "RESTORING" ResourceStateTypeRecycling ResourceStateType = "RECYCLING" ResourceStateTypeRecycled ResourceStateType = "RECYCLED" )
Enum values for ResourceStateType
type ResourceType ¶
type ResourceType string
const ( ResourceTypeFolder ResourceType = "FOLDER" ResourceTypeDocument ResourceType = "DOCUMENT" )
Enum values for ResourceType
type RolePermissionType ¶
type RolePermissionType string
const ( RolePermissionTypeDirect RolePermissionType = "DIRECT" RolePermissionTypeInherited RolePermissionType = "INHERITED" )
Enum values for RolePermissionType
type SharePrincipal ¶
type SharePrincipal struct { // // Id is a required field Id *string `min:"1" type:"string" required:"true"` // // Role is a required field Role RoleType `type:"string" required:"true" enum:"true"` // // Type is a required field Type PrincipalType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Describes the recipient type and ID, if available. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/SharePrincipal
func (SharePrincipal) GoString ¶
func (s SharePrincipal) GoString() string
GoString returns the string representation
func (*SharePrincipal) SetId ¶
func (s *SharePrincipal) SetId(v string) *SharePrincipal
SetId sets the Id field's value.
func (*SharePrincipal) SetRole ¶
func (s *SharePrincipal) SetRole(v RoleType) *SharePrincipal
SetRole sets the Role field's value.
func (*SharePrincipal) SetType ¶
func (s *SharePrincipal) SetType(v PrincipalType) *SharePrincipal
SetType sets the Type field's value.
func (SharePrincipal) String ¶
func (s SharePrincipal) String() string
String returns the string representation
func (*SharePrincipal) Validate ¶
func (s *SharePrincipal) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ShareResult ¶
type ShareResult struct { string `min:"1" type:"string"` Role RoleType `type:"string" enum:"true"` ShareId *string `min:"1" type:"string"` Status ShareStatusType `type:"string" enum:"true"` StatusMessage *string `type:"string"` // contains filtered or unexported fields }PrincipalId *
Describes the share results of a resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ShareResult
func (ShareResult) GoString ¶
func (s ShareResult) GoString() string
GoString returns the string representation
func (*ShareResult) SetPrincipalId ¶
func (s *ShareResult) SetPrincipalId(v string) *ShareResult
SetPrincipalId sets the PrincipalId field's value.
func (*ShareResult) SetRole ¶
func (s *ShareResult) SetRole(v RoleType) *ShareResult
SetRole sets the Role field's value.
func (*ShareResult) SetShareId ¶
func (s *ShareResult) SetShareId(v string) *ShareResult
SetShareId sets the ShareId field's value.
func (*ShareResult) SetStatus ¶
func (s *ShareResult) SetStatus(v ShareStatusType) *ShareResult
SetStatus sets the Status field's value.
func (*ShareResult) SetStatusMessage ¶
func (s *ShareResult) SetStatusMessage(v string) *ShareResult
SetStatusMessage sets the StatusMessage field's value.
func (ShareResult) String ¶
func (s ShareResult) String() string
String returns the string representation
type StorageRuleType ¶
type StorageRuleType struct { // The amount of storage allocated, in bytes. StorageAllocatedInBytes *int64 `type:"long"` // The type of storage. StorageType StorageType `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the storage for a user. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/StorageRuleType
func (StorageRuleType) GoString ¶
func (s StorageRuleType) GoString() string
GoString returns the string representation
func (*StorageRuleType) SetStorageAllocatedInBytes ¶
func (s *StorageRuleType) SetStorageAllocatedInBytes(v int64) *StorageRuleType
SetStorageAllocatedInBytes sets the StorageAllocatedInBytes field's value.
func (*StorageRuleType) SetStorageType ¶
func (s *StorageRuleType) SetStorageType(v StorageType) *StorageRuleType
SetStorageType sets the StorageType field's value.
func (StorageRuleType) String ¶
func (s StorageRuleType) String() string
String returns the string representation
type StorageType ¶
type StorageType string
const ( StorageTypeUnlimited StorageType = "UNLIMITED" StorageTypeQuota StorageType = "QUOTA" )
Enum values for StorageType
type Subscription ¶
type Subscription struct { // The endpoint of the subscription. EndPoint *string `min:"1" type:"string"` // The protocol of the subscription. Protocol SubscriptionProtocolType `type:"string" enum:"true"` // The ID of the subscription. SubscriptionId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes a subscription. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Subscription
func (Subscription) GoString ¶
func (s Subscription) GoString() string
GoString returns the string representation
func (*Subscription) SetEndPoint ¶
func (s *Subscription) SetEndPoint(v string) *Subscription
SetEndPoint sets the EndPoint field's value.
func (*Subscription) SetProtocol ¶
func (s *Subscription) SetProtocol(v SubscriptionProtocolType) *Subscription
SetProtocol sets the Protocol field's value.
func (*Subscription) SetSubscriptionId ¶
func (s *Subscription) SetSubscriptionId(v string) *Subscription
SetSubscriptionId sets the SubscriptionId field's value.
func (Subscription) String ¶
func (s Subscription) String() string
String returns the string representation
type SubscriptionProtocolType ¶
type SubscriptionProtocolType string
const (
SubscriptionProtocolTypeHttps SubscriptionProtocolType = "HTTPS"
)
Enum values for SubscriptionProtocolType
type SubscriptionType ¶
type SubscriptionType string
const (
SubscriptionTypeAll SubscriptionType = "ALL"
)
Enum values for SubscriptionType
type UpdateDocumentInput ¶
type UpdateDocumentInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // The name of the document. Name *string `min:"1" type:"string"` // The ID of the parent folder. ParentFolderId *string `min:"1" type:"string"` // The resource state of the document. Only ACTIVE and RECYCLED are supported. ResourceState ResourceStateType `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentRequest
func (UpdateDocumentInput) GoString ¶
func (s UpdateDocumentInput) GoString() string
GoString returns the string representation
func (*UpdateDocumentInput) SetAuthenticationToken ¶
func (s *UpdateDocumentInput) SetAuthenticationToken(v string) *UpdateDocumentInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*UpdateDocumentInput) SetDocumentId ¶
func (s *UpdateDocumentInput) SetDocumentId(v string) *UpdateDocumentInput
SetDocumentId sets the DocumentId field's value.
func (*UpdateDocumentInput) SetName ¶
func (s *UpdateDocumentInput) SetName(v string) *UpdateDocumentInput
SetName sets the Name field's value.
func (*UpdateDocumentInput) SetParentFolderId ¶
func (s *UpdateDocumentInput) SetParentFolderId(v string) *UpdateDocumentInput
SetParentFolderId sets the ParentFolderId field's value.
func (*UpdateDocumentInput) SetResourceState ¶
func (s *UpdateDocumentInput) SetResourceState(v ResourceStateType) *UpdateDocumentInput
SetResourceState sets the ResourceState field's value.
func (UpdateDocumentInput) String ¶
func (s UpdateDocumentInput) String() string
String returns the string representation
func (*UpdateDocumentInput) Validate ¶
func (s *UpdateDocumentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDocumentOutput ¶
type UpdateDocumentOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentOutput
func (UpdateDocumentOutput) GoString ¶
func (s UpdateDocumentOutput) GoString() string
GoString returns the string representation
func (UpdateDocumentOutput) SDKResponseMetadata ¶
func (s UpdateDocumentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateDocumentOutput) String ¶
func (s UpdateDocumentOutput) String() string
String returns the string representation
type UpdateDocumentRequest ¶
type UpdateDocumentRequest struct { *aws.Request Input *UpdateDocumentInput }
UpdateDocumentRequest is a API request type for the UpdateDocument API operation.
func (UpdateDocumentRequest) Send ¶
func (r UpdateDocumentRequest) Send() (*UpdateDocumentOutput, error)
Send marshals and sends the UpdateDocument API request.
type UpdateDocumentVersionInput ¶
type UpdateDocumentVersionInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the document. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` // The version ID of the document. // // VersionId is a required field VersionId *string `location:"uri" locationName:"VersionId" min:"1" type:"string" required:"true"` // The status of the version. VersionStatus DocumentVersionStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentVersionRequest
func (UpdateDocumentVersionInput) GoString ¶
func (s UpdateDocumentVersionInput) GoString() string
GoString returns the string representation
func (*UpdateDocumentVersionInput) SetAuthenticationToken ¶
func (s *UpdateDocumentVersionInput) SetAuthenticationToken(v string) *UpdateDocumentVersionInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*UpdateDocumentVersionInput) SetDocumentId ¶
func (s *UpdateDocumentVersionInput) SetDocumentId(v string) *UpdateDocumentVersionInput
SetDocumentId sets the DocumentId field's value.
func (*UpdateDocumentVersionInput) SetVersionId ¶
func (s *UpdateDocumentVersionInput) SetVersionId(v string) *UpdateDocumentVersionInput
SetVersionId sets the VersionId field's value.
func (*UpdateDocumentVersionInput) SetVersionStatus ¶
func (s *UpdateDocumentVersionInput) SetVersionStatus(v DocumentVersionStatus) *UpdateDocumentVersionInput
SetVersionStatus sets the VersionStatus field's value.
func (UpdateDocumentVersionInput) String ¶
func (s UpdateDocumentVersionInput) String() string
String returns the string representation
func (*UpdateDocumentVersionInput) Validate ¶
func (s *UpdateDocumentVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDocumentVersionOutput ¶
type UpdateDocumentVersionOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentVersionOutput
func (UpdateDocumentVersionOutput) GoString ¶
func (s UpdateDocumentVersionOutput) GoString() string
GoString returns the string representation
func (UpdateDocumentVersionOutput) SDKResponseMetadata ¶
func (s UpdateDocumentVersionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateDocumentVersionOutput) String ¶
func (s UpdateDocumentVersionOutput) String() string
String returns the string representation
type UpdateDocumentVersionRequest ¶
type UpdateDocumentVersionRequest struct { *aws.Request Input *UpdateDocumentVersionInput }
UpdateDocumentVersionRequest is a API request type for the UpdateDocumentVersion API operation.
func (UpdateDocumentVersionRequest) Send ¶
func (r UpdateDocumentVersionRequest) Send() (*UpdateDocumentVersionOutput, error)
Send marshals and sends the UpdateDocumentVersion API request.
type UpdateFolderInput ¶
type UpdateFolderInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The ID of the folder. // // FolderId is a required field FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"` // The name of the folder. Name *string `min:"1" type:"string"` // The ID of the parent folder. ParentFolderId *string `min:"1" type:"string"` // The resource state of the folder. Only ACTIVE and RECYCLED are accepted values // from the API. ResourceState ResourceStateType `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateFolderRequest
func (UpdateFolderInput) GoString ¶
func (s UpdateFolderInput) GoString() string
GoString returns the string representation
func (*UpdateFolderInput) SetAuthenticationToken ¶
func (s *UpdateFolderInput) SetAuthenticationToken(v string) *UpdateFolderInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*UpdateFolderInput) SetFolderId ¶
func (s *UpdateFolderInput) SetFolderId(v string) *UpdateFolderInput
SetFolderId sets the FolderId field's value.
func (*UpdateFolderInput) SetName ¶
func (s *UpdateFolderInput) SetName(v string) *UpdateFolderInput
SetName sets the Name field's value.
func (*UpdateFolderInput) SetParentFolderId ¶
func (s *UpdateFolderInput) SetParentFolderId(v string) *UpdateFolderInput
SetParentFolderId sets the ParentFolderId field's value.
func (*UpdateFolderInput) SetResourceState ¶
func (s *UpdateFolderInput) SetResourceState(v ResourceStateType) *UpdateFolderInput
SetResourceState sets the ResourceState field's value.
func (UpdateFolderInput) String ¶
func (s UpdateFolderInput) String() string
String returns the string representation
func (*UpdateFolderInput) Validate ¶
func (s *UpdateFolderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFolderOutput ¶
type UpdateFolderOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateFolderOutput
func (UpdateFolderOutput) GoString ¶
func (s UpdateFolderOutput) GoString() string
GoString returns the string representation
func (UpdateFolderOutput) SDKResponseMetadata ¶
func (s UpdateFolderOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateFolderOutput) String ¶
func (s UpdateFolderOutput) String() string
String returns the string representation
type UpdateFolderRequest ¶
type UpdateFolderRequest struct { *aws.Request Input *UpdateFolderInput }
UpdateFolderRequest is a API request type for the UpdateFolder API operation.
func (UpdateFolderRequest) Send ¶
func (r UpdateFolderRequest) Send() (*UpdateFolderOutput, error)
Send marshals and sends the UpdateFolder API request.
type UpdateUserInput ¶
type UpdateUserInput struct { // Amazon WorkDocs authentication token. Do not set this field when using administrative // API actions, as in accessing the API using AWS credentials. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string"` // The given name of the user. GivenName *string `min:"1" type:"string"` // Boolean value to determine whether the user is granted Poweruser privileges. GrantPoweruserPrivileges BooleanEnumType `type:"string" enum:"true"` // The locale of the user. Locale LocaleType `type:"string" enum:"true"` // The amount of storage for the user. StorageRule *StorageRuleType `type:"structure"` // The surname of the user. Surname *string `min:"1" type:"string"` // The time zone ID of the user. TimeZoneId *string `min:"1" type:"string"` // The type of the user. Type UserType `type:"string" enum:"true"` // The ID of the user. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateUserRequest
func (UpdateUserInput) GoString ¶
func (s UpdateUserInput) GoString() string
GoString returns the string representation
func (*UpdateUserInput) SetAuthenticationToken ¶
func (s *UpdateUserInput) SetAuthenticationToken(v string) *UpdateUserInput
SetAuthenticationToken sets the AuthenticationToken field's value.
func (*UpdateUserInput) SetGivenName ¶
func (s *UpdateUserInput) SetGivenName(v string) *UpdateUserInput
SetGivenName sets the GivenName field's value.
func (*UpdateUserInput) SetGrantPoweruserPrivileges ¶
func (s *UpdateUserInput) SetGrantPoweruserPrivileges(v BooleanEnumType) *UpdateUserInput
SetGrantPoweruserPrivileges sets the GrantPoweruserPrivileges field's value.
func (*UpdateUserInput) SetLocale ¶
func (s *UpdateUserInput) SetLocale(v LocaleType) *UpdateUserInput
SetLocale sets the Locale field's value.
func (*UpdateUserInput) SetStorageRule ¶
func (s *UpdateUserInput) SetStorageRule(v *StorageRuleType) *UpdateUserInput
SetStorageRule sets the StorageRule field's value.
func (*UpdateUserInput) SetSurname ¶
func (s *UpdateUserInput) SetSurname(v string) *UpdateUserInput
SetSurname sets the Surname field's value.
func (*UpdateUserInput) SetTimeZoneId ¶
func (s *UpdateUserInput) SetTimeZoneId(v string) *UpdateUserInput
SetTimeZoneId sets the TimeZoneId field's value.
func (*UpdateUserInput) SetType ¶
func (s *UpdateUserInput) SetType(v UserType) *UpdateUserInput
SetType sets the Type field's value.
func (*UpdateUserInput) SetUserId ¶
func (s *UpdateUserInput) SetUserId(v string) *UpdateUserInput
SetUserId sets the UserId field's value.
func (UpdateUserInput) String ¶
func (s UpdateUserInput) String() string
String returns the string representation
func (*UpdateUserInput) Validate ¶
func (s *UpdateUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserOutput ¶
type UpdateUserOutput struct { // The user information. User *User `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateUserResponse
func (UpdateUserOutput) GoString ¶
func (s UpdateUserOutput) GoString() string
GoString returns the string representation
func (UpdateUserOutput) SDKResponseMetadata ¶
func (s UpdateUserOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateUserOutput) SetUser ¶
func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput
SetUser sets the User field's value.
func (UpdateUserOutput) String ¶
func (s UpdateUserOutput) String() string
String returns the string representation
type UpdateUserRequest ¶
type UpdateUserRequest struct { *aws.Request Input *UpdateUserInput }
UpdateUserRequest is a API request type for the UpdateUser API operation.
func (UpdateUserRequest) Send ¶
func (r UpdateUserRequest) Send() (*UpdateUserOutput, error)
Send marshals and sends the UpdateUser API request.
type UploadMetadata ¶
type UploadMetadata struct { // The signed headers. SignedHeaders map[string]string `type:"map"` // The URL of the upload. UploadUrl *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes the upload. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UploadMetadata
func (UploadMetadata) GoString ¶
func (s UploadMetadata) GoString() string
GoString returns the string representation
func (*UploadMetadata) SetSignedHeaders ¶
func (s *UploadMetadata) SetSignedHeaders(v map[string]string) *UploadMetadata
SetSignedHeaders sets the SignedHeaders field's value.
func (*UploadMetadata) SetUploadUrl ¶
func (s *UploadMetadata) SetUploadUrl(v string) *UploadMetadata
SetUploadUrl sets the UploadUrl field's value.
func (UploadMetadata) String ¶
func (s UploadMetadata) String() string
String returns the string representation
type User ¶
type User struct { // The time when the user was created. CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The email address of the user. EmailAddress *string `min:"1" type:"string"` // The given name of the user. GivenName *string `min:"1" type:"string"` // The ID of the user. Id *string `min:"1" type:"string"` // The locale of the user. Locale LocaleType `type:"string" enum:"true"` // The time when the user was modified. ModifiedTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The ID of the organization. OrganizationId *string `min:"1" type:"string"` // The ID of the recycle bin folder. RecycleBinFolderId *string `min:"1" type:"string"` // The ID of the root folder. RootFolderId *string `min:"1" type:"string"` // The status of the user. Status UserStatusType `type:"string" enum:"true"` // The storage for the user. Storage *UserStorageMetadata `type:"structure"` // The surname of the user. Surname *string `min:"1" type:"string"` // The time zone ID of the user. TimeZoneId *string `min:"1" type:"string"` // The type of user. Type UserType `type:"string" enum:"true"` // The login name of the user. Username *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes a user. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/User
func (*User) SetCreatedTimestamp ¶
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*User) SetEmailAddress ¶
SetEmailAddress sets the EmailAddress field's value.
func (*User) SetGivenName ¶
SetGivenName sets the GivenName field's value.
func (*User) SetLocale ¶
func (s *User) SetLocale(v LocaleType) *User
SetLocale sets the Locale field's value.
func (*User) SetModifiedTimestamp ¶
SetModifiedTimestamp sets the ModifiedTimestamp field's value.
func (*User) SetOrganizationId ¶
SetOrganizationId sets the OrganizationId field's value.
func (*User) SetRecycleBinFolderId ¶
SetRecycleBinFolderId sets the RecycleBinFolderId field's value.
func (*User) SetRootFolderId ¶
SetRootFolderId sets the RootFolderId field's value.
func (*User) SetStatus ¶
func (s *User) SetStatus(v UserStatusType) *User
SetStatus sets the Status field's value.
func (*User) SetStorage ¶
func (s *User) SetStorage(v *UserStorageMetadata) *User
SetStorage sets the Storage field's value.
func (*User) SetSurname ¶
SetSurname sets the Surname field's value.
func (*User) SetTimeZoneId ¶
SetTimeZoneId sets the TimeZoneId field's value.
func (*User) SetUsername ¶
SetUsername sets the Username field's value.
type UserFilterType ¶
type UserFilterType string
const ( UserFilterTypeAll UserFilterType = "ALL" UserFilterTypeActivePending UserFilterType = "ACTIVE_PENDING" )
Enum values for UserFilterType
type UserMetadata ¶
type UserMetadata struct { // The email address of the user. EmailAddress *string `min:"1" type:"string"` // The given name of the user before a rename operation. GivenName *string `min:"1" type:"string"` // The ID of the user. Id *string `min:"1" type:"string"` // The surname of the user. Surname *string `min:"1" type:"string"` // The name of the user. Username *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes the metadata of the user. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UserMetadata
func (UserMetadata) GoString ¶
func (s UserMetadata) GoString() string
GoString returns the string representation
func (*UserMetadata) SetEmailAddress ¶
func (s *UserMetadata) SetEmailAddress(v string) *UserMetadata
SetEmailAddress sets the EmailAddress field's value.
func (*UserMetadata) SetGivenName ¶
func (s *UserMetadata) SetGivenName(v string) *UserMetadata
SetGivenName sets the GivenName field's value.
func (*UserMetadata) SetId ¶
func (s *UserMetadata) SetId(v string) *UserMetadata
SetId sets the Id field's value.
func (*UserMetadata) SetSurname ¶
func (s *UserMetadata) SetSurname(v string) *UserMetadata
SetSurname sets the Surname field's value.
func (*UserMetadata) SetUsername ¶
func (s *UserMetadata) SetUsername(v string) *UserMetadata
SetUsername sets the Username field's value.
func (UserMetadata) String ¶
func (s UserMetadata) String() string
String returns the string representation
type UserSortType ¶
type UserSortType string
const ( UserSortTypeUserName UserSortType = "USER_NAME" UserSortTypeFullName UserSortType = "FULL_NAME" UserSortTypeStorageLimit UserSortType = "STORAGE_LIMIT" UserSortTypeUserStatus UserSortType = "USER_STATUS" UserSortTypeStorageUsed UserSortType = "STORAGE_USED" )
Enum values for UserSortType
type UserStatusType ¶
type UserStatusType string
const ( UserStatusTypeActive UserStatusType = "ACTIVE" UserStatusTypeInactive UserStatusType = "INACTIVE" UserStatusTypePending UserStatusType = "PENDING" )
Enum values for UserStatusType
type UserStorageMetadata ¶
type UserStorageMetadata struct { // The storage for a user. StorageRule *StorageRuleType `type:"structure"` // The amount of storage used, in bytes. StorageUtilizedInBytes *int64 `type:"long"` // contains filtered or unexported fields }
Describes the storage for a user. Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UserStorageMetadata
func (UserStorageMetadata) GoString ¶
func (s UserStorageMetadata) GoString() string
GoString returns the string representation
func (*UserStorageMetadata) SetStorageRule ¶
func (s *UserStorageMetadata) SetStorageRule(v *StorageRuleType) *UserStorageMetadata
SetStorageRule sets the StorageRule field's value.
func (*UserStorageMetadata) SetStorageUtilizedInBytes ¶
func (s *UserStorageMetadata) SetStorageUtilizedInBytes(v int64) *UserStorageMetadata
SetStorageUtilizedInBytes sets the StorageUtilizedInBytes field's value.
func (UserStorageMetadata) String ¶
func (s UserStorageMetadata) String() string
String returns the string representation
type WorkDocs ¶
WorkDocs provides the API operation methods for making requests to Amazon WorkDocs. See this package's package overview docs for details on the service.
WorkDocs methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the WorkDocs client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a WorkDocs client from just a config. svc := workdocs.New(myConfig) // Create a WorkDocs client with additional configuration svc := workdocs.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*WorkDocs) AbortDocumentVersionUploadRequest ¶
func (c *WorkDocs) AbortDocumentVersionUploadRequest(input *AbortDocumentVersionUploadInput) AbortDocumentVersionUploadRequest
AbortDocumentVersionUploadRequest returns a request value for making API operation for Amazon WorkDocs.
Aborts the upload of the specified document version that was previously initiated by InitiateDocumentVersionUpload. The client should make this call only when it no longer intends to upload the document version, or fails to do so.
// Example sending a request using the AbortDocumentVersionUploadRequest method. req := client.AbortDocumentVersionUploadRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AbortDocumentVersionUpload
func (*WorkDocs) ActivateUserRequest ¶
func (c *WorkDocs) ActivateUserRequest(input *ActivateUserInput) ActivateUserRequest
ActivateUserRequest returns a request value for making API operation for Amazon WorkDocs.
Activates the specified user. Only active users can access Amazon WorkDocs.
// Example sending a request using the ActivateUserRequest method. req := client.ActivateUserRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ActivateUser
func (*WorkDocs) AddResourcePermissionsRequest ¶
func (c *WorkDocs) AddResourcePermissionsRequest(input *AddResourcePermissionsInput) AddResourcePermissionsRequest
AddResourcePermissionsRequest returns a request value for making API operation for Amazon WorkDocs.
Creates a set of permissions for the specified folder or document. The resource permissions are overwritten if the principals already have different permissions.
// Example sending a request using the AddResourcePermissionsRequest method. req := client.AddResourcePermissionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AddResourcePermissions
func (*WorkDocs) CreateCommentRequest ¶
func (c *WorkDocs) CreateCommentRequest(input *CreateCommentInput) CreateCommentRequest
CreateCommentRequest returns a request value for making API operation for Amazon WorkDocs.
Adds a new comment to the specified document version.
// Example sending a request using the CreateCommentRequest method. req := client.CreateCommentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateComment
func (*WorkDocs) CreateCustomMetadataRequest ¶
func (c *WorkDocs) CreateCustomMetadataRequest(input *CreateCustomMetadataInput) CreateCustomMetadataRequest
CreateCustomMetadataRequest returns a request value for making API operation for Amazon WorkDocs.
Adds one or more custom properties to the specified resource (a folder, document, or version).
// Example sending a request using the CreateCustomMetadataRequest method. req := client.CreateCustomMetadataRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCustomMetadata
func (*WorkDocs) CreateFolderRequest ¶
func (c *WorkDocs) CreateFolderRequest(input *CreateFolderInput) CreateFolderRequest
CreateFolderRequest returns a request value for making API operation for Amazon WorkDocs.
Creates a folder with the specified name and parent folder.
// Example sending a request using the CreateFolderRequest method. req := client.CreateFolderRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateFolder
func (*WorkDocs) CreateLabelsRequest ¶
func (c *WorkDocs) CreateLabelsRequest(input *CreateLabelsInput) CreateLabelsRequest
CreateLabelsRequest returns a request value for making API operation for Amazon WorkDocs.
Adds the specified list of labels to the given resource (a document or folder)
// Example sending a request using the CreateLabelsRequest method. req := client.CreateLabelsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabels
func (*WorkDocs) CreateNotificationSubscriptionRequest ¶
func (c *WorkDocs) CreateNotificationSubscriptionRequest(input *CreateNotificationSubscriptionInput) CreateNotificationSubscriptionRequest
CreateNotificationSubscriptionRequest returns a request value for making API operation for Amazon WorkDocs.
Configure WorkDocs to use Amazon SNS notifications.
The endpoint receives a confirmation message, and must confirm the subscription. For more information, see Confirm the Subscription (http://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html#SendMessageToHttp.confirm) in the Amazon Simple Notification Service Developer Guide.
// Example sending a request using the CreateNotificationSubscriptionRequest method. req := client.CreateNotificationSubscriptionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateNotificationSubscription
func (*WorkDocs) CreateUserRequest ¶
func (c *WorkDocs) CreateUserRequest(input *CreateUserInput) CreateUserRequest
CreateUserRequest returns a request value for making API operation for Amazon WorkDocs.
Creates a user in a Simple AD or Microsoft AD directory. The status of a newly created user is "ACTIVE". New users can access Amazon WorkDocs.
// Example sending a request using the CreateUserRequest method. req := client.CreateUserRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUser
func (*WorkDocs) DeactivateUserRequest ¶
func (c *WorkDocs) DeactivateUserRequest(input *DeactivateUserInput) DeactivateUserRequest
DeactivateUserRequest returns a request value for making API operation for Amazon WorkDocs.
Deactivates the specified user, which revokes the user's access to Amazon WorkDocs.
// Example sending a request using the DeactivateUserRequest method. req := client.DeactivateUserRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUser
func (*WorkDocs) DeleteCommentRequest ¶
func (c *WorkDocs) DeleteCommentRequest(input *DeleteCommentInput) DeleteCommentRequest
DeleteCommentRequest returns a request value for making API operation for Amazon WorkDocs.
Deletes the specified comment from the document version.
// Example sending a request using the DeleteCommentRequest method. req := client.DeleteCommentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteComment
func (*WorkDocs) DeleteCustomMetadataRequest ¶
func (c *WorkDocs) DeleteCustomMetadataRequest(input *DeleteCustomMetadataInput) DeleteCustomMetadataRequest
DeleteCustomMetadataRequest returns a request value for making API operation for Amazon WorkDocs.
Deletes custom metadata from the specified resource.
// Example sending a request using the DeleteCustomMetadataRequest method. req := client.DeleteCustomMetadataRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCustomMetadata
func (*WorkDocs) DeleteDocumentRequest ¶
func (c *WorkDocs) DeleteDocumentRequest(input *DeleteDocumentInput) DeleteDocumentRequest
DeleteDocumentRequest returns a request value for making API operation for Amazon WorkDocs.
Permanently deletes the specified document and its associated metadata.
// Example sending a request using the DeleteDocumentRequest method. req := client.DeleteDocumentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteDocument
func (*WorkDocs) DeleteFolderContentsRequest ¶
func (c *WorkDocs) DeleteFolderContentsRequest(input *DeleteFolderContentsInput) DeleteFolderContentsRequest
DeleteFolderContentsRequest returns a request value for making API operation for Amazon WorkDocs.
Deletes the contents of the specified folder.
// Example sending a request using the DeleteFolderContentsRequest method. req := client.DeleteFolderContentsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderContents
func (*WorkDocs) DeleteFolderRequest ¶
func (c *WorkDocs) DeleteFolderRequest(input *DeleteFolderInput) DeleteFolderRequest
DeleteFolderRequest returns a request value for making API operation for Amazon WorkDocs.
Permanently deletes the specified folder and its contents.
// Example sending a request using the DeleteFolderRequest method. req := client.DeleteFolderRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolder
func (*WorkDocs) DeleteLabelsRequest ¶
func (c *WorkDocs) DeleteLabelsRequest(input *DeleteLabelsInput) DeleteLabelsRequest
DeleteLabelsRequest returns a request value for making API operation for Amazon WorkDocs.
Deletes the specified list of labels from a resource.
// Example sending a request using the DeleteLabelsRequest method. req := client.DeleteLabelsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteLabels
func (*WorkDocs) DeleteNotificationSubscriptionRequest ¶
func (c *WorkDocs) DeleteNotificationSubscriptionRequest(input *DeleteNotificationSubscriptionInput) DeleteNotificationSubscriptionRequest
DeleteNotificationSubscriptionRequest returns a request value for making API operation for Amazon WorkDocs.
Deletes the specified subscription from the specified organization.
// Example sending a request using the DeleteNotificationSubscriptionRequest method. req := client.DeleteNotificationSubscriptionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteNotificationSubscription
func (*WorkDocs) DeleteUserRequest ¶
func (c *WorkDocs) DeleteUserRequest(input *DeleteUserInput) DeleteUserRequest
DeleteUserRequest returns a request value for making API operation for Amazon WorkDocs.
Deletes the specified user from a Simple AD or Microsoft AD directory.
// Example sending a request using the DeleteUserRequest method. req := client.DeleteUserRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteUser
func (*WorkDocs) DescribeActivitiesRequest ¶
func (c *WorkDocs) DescribeActivitiesRequest(input *DescribeActivitiesInput) DescribeActivitiesRequest
DescribeActivitiesRequest returns a request value for making API operation for Amazon WorkDocs.
Describes the user activities in a specified time period.
// Example sending a request using the DescribeActivitiesRequest method. req := client.DescribeActivitiesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeActivities
func (*WorkDocs) DescribeCommentsRequest ¶
func (c *WorkDocs) DescribeCommentsRequest(input *DescribeCommentsInput) DescribeCommentsRequest
DescribeCommentsRequest returns a request value for making API operation for Amazon WorkDocs.
List all the comments for the specified document version.
// Example sending a request using the DescribeCommentsRequest method. req := client.DescribeCommentsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeComments
func (*WorkDocs) DescribeDocumentVersionsPages ¶
func (c *WorkDocs) DescribeDocumentVersionsPages(input *DescribeDocumentVersionsInput, fn func(*DescribeDocumentVersionsOutput, bool) bool) error
DescribeDocumentVersionsPages iterates over the pages of a DescribeDocumentVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDocumentVersions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeDocumentVersions operation. pageNum := 0 err := client.DescribeDocumentVersionsPages(params, func(page *DescribeDocumentVersionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*WorkDocs) DescribeDocumentVersionsPagesWithContext ¶
func (c *WorkDocs) DescribeDocumentVersionsPagesWithContext(ctx aws.Context, input *DescribeDocumentVersionsInput, fn func(*DescribeDocumentVersionsOutput, bool) bool, opts ...aws.Option) error
DescribeDocumentVersionsPagesWithContext same as DescribeDocumentVersionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*WorkDocs) DescribeDocumentVersionsRequest ¶
func (c *WorkDocs) DescribeDocumentVersionsRequest(input *DescribeDocumentVersionsInput) DescribeDocumentVersionsRequest
DescribeDocumentVersionsRequest returns a request value for making API operation for Amazon WorkDocs.
Retrieves the document versions for the specified document.
By default, only active versions are returned.
// Example sending a request using the DescribeDocumentVersionsRequest method. req := client.DescribeDocumentVersionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeDocumentVersions
func (*WorkDocs) DescribeFolderContentsPages ¶
func (c *WorkDocs) DescribeFolderContentsPages(input *DescribeFolderContentsInput, fn func(*DescribeFolderContentsOutput, bool) bool) error
DescribeFolderContentsPages iterates over the pages of a DescribeFolderContents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeFolderContents method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeFolderContents operation. pageNum := 0 err := client.DescribeFolderContentsPages(params, func(page *DescribeFolderContentsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*WorkDocs) DescribeFolderContentsPagesWithContext ¶
func (c *WorkDocs) DescribeFolderContentsPagesWithContext(ctx aws.Context, input *DescribeFolderContentsInput, fn func(*DescribeFolderContentsOutput, bool) bool, opts ...aws.Option) error
DescribeFolderContentsPagesWithContext same as DescribeFolderContentsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*WorkDocs) DescribeFolderContentsRequest ¶
func (c *WorkDocs) DescribeFolderContentsRequest(input *DescribeFolderContentsInput) DescribeFolderContentsRequest
DescribeFolderContentsRequest returns a request value for making API operation for Amazon WorkDocs.
Describes the contents of the specified folder, including its documents and subfolders.
By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.
// Example sending a request using the DescribeFolderContentsRequest method. req := client.DescribeFolderContentsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeFolderContents
func (*WorkDocs) DescribeGroupsRequest ¶
func (c *WorkDocs) DescribeGroupsRequest(input *DescribeGroupsInput) DescribeGroupsRequest
DescribeGroupsRequest returns a request value for making API operation for Amazon WorkDocs.
Describes the groups specified by query.
// Example sending a request using the DescribeGroupsRequest method. req := client.DescribeGroupsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeGroups
func (*WorkDocs) DescribeNotificationSubscriptionsRequest ¶
func (c *WorkDocs) DescribeNotificationSubscriptionsRequest(input *DescribeNotificationSubscriptionsInput) DescribeNotificationSubscriptionsRequest
DescribeNotificationSubscriptionsRequest returns a request value for making API operation for Amazon WorkDocs.
Lists the specified notification subscriptions.
// Example sending a request using the DescribeNotificationSubscriptionsRequest method. req := client.DescribeNotificationSubscriptionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeNotificationSubscriptions
func (*WorkDocs) DescribeResourcePermissionsRequest ¶
func (c *WorkDocs) DescribeResourcePermissionsRequest(input *DescribeResourcePermissionsInput) DescribeResourcePermissionsRequest
DescribeResourcePermissionsRequest returns a request value for making API operation for Amazon WorkDocs.
Describes the permissions of a specified resource.
// Example sending a request using the DescribeResourcePermissionsRequest method. req := client.DescribeResourcePermissionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeResourcePermissions
func (*WorkDocs) DescribeRootFoldersRequest ¶
func (c *WorkDocs) DescribeRootFoldersRequest(input *DescribeRootFoldersInput) DescribeRootFoldersRequest
DescribeRootFoldersRequest returns a request value for making API operation for Amazon WorkDocs.
Describes the current user's special folders; the RootFolder and the RecycleBin. RootFolder is the root of user's files and folders and RecycleBin is the root of recycled items. This is not a valid action for SigV4 (administrative API) clients.
// Example sending a request using the DescribeRootFoldersRequest method. req := client.DescribeRootFoldersRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeRootFolders
func (*WorkDocs) DescribeUsersPages ¶
func (c *WorkDocs) DescribeUsersPages(input *DescribeUsersInput, fn func(*DescribeUsersOutput, bool) bool) error
DescribeUsersPages iterates over the pages of a DescribeUsers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeUsers method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeUsers operation. pageNum := 0 err := client.DescribeUsersPages(params, func(page *DescribeUsersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*WorkDocs) DescribeUsersPagesWithContext ¶
func (c *WorkDocs) DescribeUsersPagesWithContext(ctx aws.Context, input *DescribeUsersInput, fn func(*DescribeUsersOutput, bool) bool, opts ...aws.Option) error
DescribeUsersPagesWithContext same as DescribeUsersPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*WorkDocs) DescribeUsersRequest ¶
func (c *WorkDocs) DescribeUsersRequest(input *DescribeUsersInput) DescribeUsersRequest
DescribeUsersRequest returns a request value for making API operation for Amazon WorkDocs.
Describes the specified users. You can describe all users or filter the results (for example, by status or organization).
By default, Amazon WorkDocs returns the first 24 active or pending users. If there are more results, the response includes a marker that you can use to request the next set of results.
// Example sending a request using the DescribeUsersRequest method. req := client.DescribeUsersRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeUsers
func (*WorkDocs) GetCurrentUserRequest ¶
func (c *WorkDocs) GetCurrentUserRequest(input *GetCurrentUserInput) GetCurrentUserRequest
GetCurrentUserRequest returns a request value for making API operation for Amazon WorkDocs.
Retrieves details of the current user for whom the authentication token was generated. This is not a valid action for SigV4 (administrative API) clients.
// Example sending a request using the GetCurrentUserRequest method. req := client.GetCurrentUserRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetCurrentUser
func (*WorkDocs) GetDocumentPathRequest ¶
func (c *WorkDocs) GetDocumentPathRequest(input *GetDocumentPathInput) GetDocumentPathRequest
GetDocumentPathRequest returns a request value for making API operation for Amazon WorkDocs.
Retrieves the path information (the hierarchy from the root folder) for the requested document.
By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested document and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the names of the parent folders.
// Example sending a request using the GetDocumentPathRequest method. req := client.GetDocumentPathRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentPath
func (*WorkDocs) GetDocumentRequest ¶
func (c *WorkDocs) GetDocumentRequest(input *GetDocumentInput) GetDocumentRequest
GetDocumentRequest returns a request value for making API operation for Amazon WorkDocs.
Retrieves details of a document.
// Example sending a request using the GetDocumentRequest method. req := client.GetDocumentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocument
func (*WorkDocs) GetDocumentVersionRequest ¶
func (c *WorkDocs) GetDocumentVersionRequest(input *GetDocumentVersionInput) GetDocumentVersionRequest
GetDocumentVersionRequest returns a request value for making API operation for Amazon WorkDocs.
Retrieves version metadata for the specified document.
// Example sending a request using the GetDocumentVersionRequest method. req := client.GetDocumentVersionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentVersion
func (*WorkDocs) GetFolderPathRequest ¶
func (c *WorkDocs) GetFolderPathRequest(input *GetFolderPathInput) GetFolderPathRequest
GetFolderPathRequest returns a request value for making API operation for Amazon WorkDocs.
Retrieves the path information (the hierarchy from the root folder) for the specified folder.
By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested folder and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the parent folder names.
// Example sending a request using the GetFolderPathRequest method. req := client.GetFolderPathRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderPath
func (*WorkDocs) GetFolderRequest ¶
func (c *WorkDocs) GetFolderRequest(input *GetFolderInput) GetFolderRequest
GetFolderRequest returns a request value for making API operation for Amazon WorkDocs.
Retrieves the metadata of the specified folder.
// Example sending a request using the GetFolderRequest method. req := client.GetFolderRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolder
func (*WorkDocs) InitiateDocumentVersionUploadRequest ¶
func (c *WorkDocs) InitiateDocumentVersionUploadRequest(input *InitiateDocumentVersionUploadInput) InitiateDocumentVersionUploadRequest
InitiateDocumentVersionUploadRequest returns a request value for making API operation for Amazon WorkDocs.
Creates a new document object and version object.
The client specifies the parent folder ID and name of the document to upload. The ID is optionally specified when creating a new version of an existing document. This is the first step to upload a document. Next, upload the document to the URL returned from the call, and then call UpdateDocumentVersion.
To cancel the document upload, call AbortDocumentVersionUpload.
// Example sending a request using the InitiateDocumentVersionUploadRequest method. req := client.InitiateDocumentVersionUploadRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InitiateDocumentVersionUpload
func (*WorkDocs) RemoveAllResourcePermissionsRequest ¶
func (c *WorkDocs) RemoveAllResourcePermissionsRequest(input *RemoveAllResourcePermissionsInput) RemoveAllResourcePermissionsRequest
RemoveAllResourcePermissionsRequest returns a request value for making API operation for Amazon WorkDocs.
Removes all the permissions from the specified resource.
// Example sending a request using the RemoveAllResourcePermissionsRequest method. req := client.RemoveAllResourcePermissionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveAllResourcePermissions
func (*WorkDocs) RemoveResourcePermissionRequest ¶
func (c *WorkDocs) RemoveResourcePermissionRequest(input *RemoveResourcePermissionInput) RemoveResourcePermissionRequest
RemoveResourcePermissionRequest returns a request value for making API operation for Amazon WorkDocs.
Removes the permission for the specified principal from the specified resource.
// Example sending a request using the RemoveResourcePermissionRequest method. req := client.RemoveResourcePermissionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveResourcePermission
func (*WorkDocs) UpdateDocumentRequest ¶
func (c *WorkDocs) UpdateDocumentRequest(input *UpdateDocumentInput) UpdateDocumentRequest
UpdateDocumentRequest returns a request value for making API operation for Amazon WorkDocs.
Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable.
// Example sending a request using the UpdateDocumentRequest method. req := client.UpdateDocumentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocument
func (*WorkDocs) UpdateDocumentVersionRequest ¶
func (c *WorkDocs) UpdateDocumentVersionRequest(input *UpdateDocumentVersionInput) UpdateDocumentVersionRequest
UpdateDocumentVersionRequest returns a request value for making API operation for Amazon WorkDocs.
Changes the status of the document version to ACTIVE.
Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by InitiateDocumentVersionUpload.
// Example sending a request using the UpdateDocumentVersionRequest method. req := client.UpdateDocumentVersionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentVersion
func (*WorkDocs) UpdateFolderRequest ¶
func (c *WorkDocs) UpdateFolderRequest(input *UpdateFolderInput) UpdateFolderRequest
UpdateFolderRequest returns a request value for making API operation for Amazon WorkDocs.
Updates the specified attributes of the specified folder. The user must have access to both the folder and its parent folder, if applicable.
// Example sending a request using the UpdateFolderRequest method. req := client.UpdateFolderRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateFolder
func (*WorkDocs) UpdateUserRequest ¶
func (c *WorkDocs) UpdateUserRequest(input *UpdateUserInput) UpdateUserRequest
UpdateUserRequest returns a request value for making API operation for Amazon WorkDocs.
Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.
// Example sending a request using the UpdateUserRequest method. req := client.UpdateUserRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateUser
Directories ¶
Path | Synopsis |
---|---|
Package workdocsiface provides an interface to enable mocking the Amazon WorkDocs service client for testing your code.
|
Package workdocsiface provides an interface to enable mocking the Amazon WorkDocs service client for testing your code. |