Class: Aws::WorkDocs::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::WorkDocs::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb
Overview
An API client for WorkDocs. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::WorkDocs::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#abort_document_version_upload(params = {}) ⇒ Struct
Aborts the upload of the specified document version that was previously initiated by InitiateDocumentVersionUpload.
-
#activate_user(params = {}) ⇒ Types::ActivateUserResponse
Activates the specified user.
-
#add_resource_permissions(params = {}) ⇒ Types::AddResourcePermissionsResponse
Creates a set of permissions for the specified folder or document.
-
#create_comment(params = {}) ⇒ Types::CreateCommentResponse
Adds a new comment to the specified document version.
-
#create_custom_metadata(params = {}) ⇒ Struct
Adds one or more custom properties to the specified resource (a folder, document, or version).
-
#create_folder(params = {}) ⇒ Types::CreateFolderResponse
Creates a folder with the specified name and parent folder.
-
#create_labels(params = {}) ⇒ Struct
Adds the specified list of labels to the given resource (a document or folder).
-
#create_notification_subscription(params = {}) ⇒ Types::CreateNotificationSubscriptionResponse
Configure Amazon WorkDocs to use Amazon SNS notifications.
-
#create_user(params = {}) ⇒ Types::CreateUserResponse
Creates a user in a Simple AD or Microsoft AD directory.
-
#deactivate_user(params = {}) ⇒ Struct
Deactivates the specified user, which revokes the user's access to Amazon WorkDocs.
-
#delete_comment(params = {}) ⇒ Struct
Deletes the specified comment from the document version.
-
#delete_custom_metadata(params = {}) ⇒ Struct
Deletes custom metadata from the specified resource.
-
#delete_document(params = {}) ⇒ Struct
Permanently deletes the specified document and its associated metadata.
-
#delete_document_version(params = {}) ⇒ Struct
Deletes a specific version of a document.
-
#delete_folder(params = {}) ⇒ Struct
Permanently deletes the specified folder and its contents.
-
#delete_folder_contents(params = {}) ⇒ Struct
Deletes the contents of the specified folder.
-
#delete_labels(params = {}) ⇒ Struct
Deletes the specified list of labels from a resource.
-
#delete_notification_subscription(params = {}) ⇒ Struct
Deletes the specified subscription from the specified organization.
-
#delete_user(params = {}) ⇒ Struct
Deletes the specified user from a Simple AD or Microsoft AD directory.
-
#describe_activities(params = {}) ⇒ Types::DescribeActivitiesResponse
Describes the user activities in a specified time period.
-
#describe_comments(params = {}) ⇒ Types::DescribeCommentsResponse
List all the comments for the specified document version.
-
#describe_document_versions(params = {}) ⇒ Types::DescribeDocumentVersionsResponse
Retrieves the document versions for the specified document.
-
#describe_folder_contents(params = {}) ⇒ Types::DescribeFolderContentsResponse
Describes the contents of the specified folder, including its documents and subfolders.
-
#describe_groups(params = {}) ⇒ Types::DescribeGroupsResponse
Describes the groups specified by the query.
-
#describe_notification_subscriptions(params = {}) ⇒ Types::DescribeNotificationSubscriptionsResponse
Lists the specified notification subscriptions.
-
#describe_resource_permissions(params = {}) ⇒ Types::DescribeResourcePermissionsResponse
Describes the permissions of a specified resource.
-
#describe_root_folders(params = {}) ⇒ Types::DescribeRootFoldersResponse
Describes the current user's special folders; the
RootFolder
and theRecycleBin
. -
#describe_users(params = {}) ⇒ Types::DescribeUsersResponse
Describes the specified users.
-
#get_current_user(params = {}) ⇒ Types::GetCurrentUserResponse
Retrieves details of the current user for whom the authentication token was generated.
-
#get_document(params = {}) ⇒ Types::GetDocumentResponse
Retrieves details of a document.
-
#get_document_path(params = {}) ⇒ Types::GetDocumentPathResponse
Retrieves the path information (the hierarchy from the root folder) for the requested document.
-
#get_document_version(params = {}) ⇒ Types::GetDocumentVersionResponse
Retrieves version metadata for the specified document.
-
#get_folder(params = {}) ⇒ Types::GetFolderResponse
Retrieves the metadata of the specified folder.
-
#get_folder_path(params = {}) ⇒ Types::GetFolderPathResponse
Retrieves the path information (the hierarchy from the root folder) for the specified folder.
-
#get_resources(params = {}) ⇒ Types::GetResourcesResponse
Retrieves a collection of resources, including folders and documents.
-
#initiate_document_version_upload(params = {}) ⇒ Types::InitiateDocumentVersionUploadResponse
Creates a new document object and version object.
-
#remove_all_resource_permissions(params = {}) ⇒ Struct
Removes all the permissions from the specified resource.
-
#remove_resource_permission(params = {}) ⇒ Struct
Removes the permission for the specified principal from the specified resource.
-
#restore_document_versions(params = {}) ⇒ Struct
Recovers a deleted version of an Amazon WorkDocs document.
-
#search_resources(params = {}) ⇒ Types::SearchResourcesResponse
Searches metadata and the content of folders, documents, document versions, and comments.
-
#update_document(params = {}) ⇒ Struct
Updates the specified attributes of a document.
-
#update_document_version(params = {}) ⇒ Struct
Changes the status of the document version to ACTIVE.
-
#update_folder(params = {}) ⇒ Struct
Updates the specified attributes of the specified folder.
-
#update_user(params = {}) ⇒ Types::UpdateUserResponse
Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
467 468 469 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 467 def initialize(*args) super end |
Instance Method Details
#abort_document_version_upload(params = {}) ⇒ Struct
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.
502 503 504 505 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 502 def abort_document_version_upload(params = {}, = {}) req = build_request(:abort_document_version_upload, params) req.send_request() end |
#activate_user(params = {}) ⇒ Types::ActivateUserResponse
Activates the specified user. Only active users can access Amazon WorkDocs.
552 553 554 555 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 552 def activate_user(params = {}, = {}) req = build_request(:activate_user, params) req.send_request() end |
#add_resource_permissions(params = {}) ⇒ Types::AddResourcePermissionsResponse
Creates a set of permissions for the specified folder or document. The resource permissions are overwritten if the principals already have different permissions.
610 611 612 613 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 610 def (params = {}, = {}) req = build_request(:add_resource_permissions, params) req.send_request() end |
#create_comment(params = {}) ⇒ Types::CreateCommentResponse
Adds a new comment to the specified document version.
695 696 697 698 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 695 def create_comment(params = {}, = {}) req = build_request(:create_comment, params) req.send_request() end |
#create_custom_metadata(params = {}) ⇒ Struct
Adds one or more custom properties to the specified resource (a folder, document, or version).
734 735 736 737 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 734 def (params = {}, = {}) req = build_request(:create_custom_metadata, params) req.send_request() end |
#create_folder(params = {}) ⇒ Types::CreateFolderResponse
Creates a folder with the specified name and parent folder.
782 783 784 785 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 782 def create_folder(params = {}, = {}) req = build_request(:create_folder, params) req.send_request() end |
#create_labels(params = {}) ⇒ Struct
Adds the specified list of labels to the given resource (a document or folder)
814 815 816 817 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 814 def create_labels(params = {}, = {}) req = build_request(:create_labels, params) req.send_request() end |
#create_notification_subscription(params = {}) ⇒ Types::CreateNotificationSubscriptionResponse
Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a confirmation message, and must confirm the subscription.
For more information, see Setting up notifications for an IAM user or role in the Amazon WorkDocs Developer Guide.
867 868 869 870 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 867 def create_notification_subscription(params = {}, = {}) req = build_request(:create_notification_subscription, params) req.send_request() end |
#create_user(params = {}) ⇒ Types::CreateUserResponse
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.
949 950 951 952 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 949 def create_user(params = {}, = {}) req = build_request(:create_user, params) req.send_request() end |
#deactivate_user(params = {}) ⇒ Struct
Deactivates the specified user, which revokes the user's access to Amazon WorkDocs.
977 978 979 980 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 977 def deactivate_user(params = {}, = {}) req = build_request(:deactivate_user, params) req.send_request() end |
#delete_comment(params = {}) ⇒ Struct
Deletes the specified comment from the document version.
1012 1013 1014 1015 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1012 def delete_comment(params = {}, = {}) req = build_request(:delete_comment, params) req.send_request() end |
#delete_custom_metadata(params = {}) ⇒ Struct
Deletes custom metadata from the specified resource.
1053 1054 1055 1056 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1053 def (params = {}, = {}) req = build_request(:delete_custom_metadata, params) req.send_request() end |
#delete_document(params = {}) ⇒ Struct
Permanently deletes the specified document and its associated metadata.
1081 1082 1083 1084 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1081 def delete_document(params = {}, = {}) req = build_request(:delete_document, params) req.send_request() end |
#delete_document_version(params = {}) ⇒ Struct
Deletes a specific version of a document.
1116 1117 1118 1119 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1116 def delete_document_version(params = {}, = {}) req = build_request(:delete_document_version, params) req.send_request() end |
#delete_folder(params = {}) ⇒ Struct
Permanently deletes the specified folder and its contents.
1143 1144 1145 1146 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1143 def delete_folder(params = {}, = {}) req = build_request(:delete_folder, params) req.send_request() end |
#delete_folder_contents(params = {}) ⇒ Struct
Deletes the contents of the specified folder.
1170 1171 1172 1173 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1170 def delete_folder_contents(params = {}, = {}) req = build_request(:delete_folder_contents, params) req.send_request() end |
#delete_labels(params = {}) ⇒ Struct
Deletes the specified list of labels from a resource.
1205 1206 1207 1208 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1205 def delete_labels(params = {}, = {}) req = build_request(:delete_labels, params) req.send_request() end |
#delete_notification_subscription(params = {}) ⇒ Struct
Deletes the specified subscription from the specified organization.
1231 1232 1233 1234 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1231 def delete_notification_subscription(params = {}, = {}) req = build_request(:delete_notification_subscription, params) req.send_request() end |
#delete_user(params = {}) ⇒ Struct
Deletes the specified user from a Simple AD or Microsoft AD directory.
Deleting a user immediately and permanently deletes all content in that user's folder structure. Site retention policies do NOT apply to this type of deletion.
1263 1264 1265 1266 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1263 def delete_user(params = {}, = {}) req = build_request(:delete_user, params) req.send_request() end |
#describe_activities(params = {}) ⇒ Types::DescribeActivitiesResponse
Describes the user activities in a specified time period.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1405 1406 1407 1408 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1405 def describe_activities(params = {}, = {}) req = build_request(:describe_activities, params) req.send_request() end |
#describe_comments(params = {}) ⇒ Types::DescribeCommentsResponse
List all the comments for the specified document version.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1480 1481 1482 1483 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1480 def describe_comments(params = {}, = {}) req = build_request(:describe_comments, params) req.send_request() end |
#describe_document_versions(params = {}) ⇒ Types::DescribeDocumentVersionsResponse
Retrieves the document versions for the specified document.
By default, only active versions are returned.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1553 1554 1555 1556 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1553 def describe_document_versions(params = {}, = {}) req = build_request(:describe_document_versions, params) req.send_request() end |
#describe_folder_contents(params = {}) ⇒ Types::DescribeFolderContentsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1659 1660 1661 1662 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1659 def describe_folder_contents(params = {}, = {}) req = build_request(:describe_folder_contents, params) req.send_request() end |
#describe_groups(params = {}) ⇒ Types::DescribeGroupsResponse
Describes the groups specified by the query. Groups are defined by the underlying Active Directory.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1712 1713 1714 1715 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1712 def describe_groups(params = {}, = {}) req = build_request(:describe_groups, params) req.send_request() end |
#describe_notification_subscriptions(params = {}) ⇒ Types::DescribeNotificationSubscriptionsResponse
Lists the specified notification subscriptions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1756 1757 1758 1759 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1756 def describe_notification_subscriptions(params = {}, = {}) req = build_request(:describe_notification_subscriptions, params) req.send_request() end |
#describe_resource_permissions(params = {}) ⇒ Types::DescribeResourcePermissionsResponse
Describes the permissions of a specified resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1811 1812 1813 1814 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1811 def (params = {}, = {}) req = build_request(:describe_resource_permissions, params) req.send_request() end |
#describe_root_folders(params = {}) ⇒ Types::DescribeRootFoldersResponse
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.
This action requires an authentication token. To get an authentication token, register an application with Amazon WorkDocs. For more information, see Authentication and Access Control for User Applications in the Amazon WorkDocs Developer Guide.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1876 1877 1878 1879 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1876 def describe_root_folders(params = {}, = {}) req = build_request(:describe_root_folders, params) req.send_request() end |
#describe_users(params = {}) ⇒ Types::DescribeUsersResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1992 1993 1994 1995 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1992 def describe_users(params = {}, = {}) req = build_request(:describe_users, params) req.send_request() end |
#get_current_user(params = {}) ⇒ Types::GetCurrentUserResponse
Retrieves details of the current user for whom the authentication token was generated. This is not a valid action for SigV4 (administrative API) clients.
This action requires an authentication token. To get an authentication token, register an application with Amazon WorkDocs. For more information, see Authentication and Access Control for User Applications in the Amazon WorkDocs Developer Guide.
2047 2048 2049 2050 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2047 def get_current_user(params = {}, = {}) req = build_request(:get_current_user, params) req.send_request() end |
#get_document(params = {}) ⇒ Types::GetDocumentResponse
Retrieves details of a document.
2109 2110 2111 2112 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2109 def get_document(params = {}, = {}) req = build_request(:get_document, params) req.send_request() end |
#get_document_path(params = {}) ⇒ Types::GetDocumentPathResponse
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.
2163 2164 2165 2166 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2163 def get_document_path(params = {}, = {}) req = build_request(:get_document_path, params) req.send_request() end |
#get_document_version(params = {}) ⇒ Types::GetDocumentVersionResponse
Retrieves version metadata for the specified document.
2226 2227 2228 2229 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2226 def get_document_version(params = {}, = {}) req = build_request(:get_document_version, params) req.send_request() end |
#get_folder(params = {}) ⇒ Types::GetFolderResponse
Retrieves the metadata of the specified folder.
2277 2278 2279 2280 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2277 def get_folder(params = {}, = {}) req = build_request(:get_folder, params) req.send_request() end |
#get_folder_path(params = {}) ⇒ Types::GetFolderPathResponse
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.
2331 2332 2333 2334 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2331 def get_folder_path(params = {}, = {}) req = build_request(:get_folder_path, params) req.send_request() end |
#get_resources(params = {}) ⇒ Types::GetResourcesResponse
Retrieves a collection of resources, including folders and documents.
The only CollectionType
supported is SHARED_WITH_ME
.
2418 2419 2420 2421 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2418 def get_resources(params = {}, = {}) req = build_request(:get_resources, params) req.send_request() end |
#initiate_document_version_upload(params = {}) ⇒ Types::InitiateDocumentVersionUploadResponse
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.
2509 2510 2511 2512 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2509 def initiate_document_version_upload(params = {}, = {}) req = build_request(:initiate_document_version_upload, params) req.send_request() end |
#remove_all_resource_permissions(params = {}) ⇒ Struct
Removes all the permissions from the specified resource.
2536 2537 2538 2539 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2536 def (params = {}, = {}) req = build_request(:remove_all_resource_permissions, params) req.send_request() end |
#remove_resource_permission(params = {}) ⇒ Struct
Removes the permission for the specified principal from the specified resource.
2572 2573 2574 2575 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2572 def (params = {}, = {}) req = build_request(:remove_resource_permission, params) req.send_request() end |
#restore_document_versions(params = {}) ⇒ Struct
Recovers a deleted version of an Amazon WorkDocs document.
2599 2600 2601 2602 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2599 def restore_document_versions(params = {}, = {}) req = build_request(:restore_document_versions, params) req.send_request() end |
#search_resources(params = {}) ⇒ Types::SearchResourcesResponse
Searches metadata and the content of folders, documents, document versions, and comments.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2775 2776 2777 2778 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2775 def search_resources(params = {}, = {}) req = build_request(:search_resources, params) req.send_request() end |
#update_document(params = {}) ⇒ Struct
Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable.
2816 2817 2818 2819 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2816 def update_document(params = {}, = {}) req = build_request(:update_document, params) req.send_request() end |
#update_document_version(params = {}) ⇒ Struct
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.
2856 2857 2858 2859 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2856 def update_document_version(params = {}, = {}) req = build_request(:update_document_version, params) req.send_request() end |
#update_folder(params = {}) ⇒ Struct
Updates the specified attributes of the specified folder. The user must have access to both the folder and its parent folder, if applicable.
2898 2899 2900 2901 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2898 def update_folder(params = {}, = {}) req = build_request(:update_folder, params) req.send_request() end |
#update_user(params = {}) ⇒ Types::UpdateUserResponse
Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.
2980 2981 2982 2983 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2980 def update_user(params = {}, = {}) req = build_request(:update_user, params) req.send_request() end |