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.
434 435 436 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 434 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.
469 470 471 472 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 469 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.
519 520 521 522 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 519 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.
577 578 579 580 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 577 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.
662 663 664 665 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 662 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).
701 702 703 704 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 701 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.
749 750 751 752 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 749 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)
781 782 783 784 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 781 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.
834 835 836 837 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 834 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.
916 917 918 919 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 916 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.
944 945 946 947 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 944 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.
979 980 981 982 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 979 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.
1020 1021 1022 1023 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1020 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.
1048 1049 1050 1051 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1048 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.
1083 1084 1085 1086 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1083 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.
1110 1111 1112 1113 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1110 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.
1137 1138 1139 1140 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1137 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.
1172 1173 1174 1175 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1172 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.
1198 1199 1200 1201 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1198 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.
1230 1231 1232 1233 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1230 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.
1372 1373 1374 1375 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1372 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.
1447 1448 1449 1450 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1447 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.
1520 1521 1522 1523 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1520 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.
1626 1627 1628 1629 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1626 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.
1679 1680 1681 1682 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1679 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.
1723 1724 1725 1726 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1723 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.
1778 1779 1780 1781 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1778 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.
1843 1844 1845 1846 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1843 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.
1959 1960 1961 1962 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 1959 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.
2014 2015 2016 2017 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2014 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.
2076 2077 2078 2079 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2076 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.
2130 2131 2132 2133 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2130 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.
2193 2194 2195 2196 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2193 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.
2244 2245 2246 2247 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2244 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.
2298 2299 2300 2301 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2298 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
.
2385 2386 2387 2388 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2385 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.
2476 2477 2478 2479 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2476 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.
2503 2504 2505 2506 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2503 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.
2539 2540 2541 2542 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2539 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.
2566 2567 2568 2569 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2566 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.
2742 2743 2744 2745 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2742 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.
2783 2784 2785 2786 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2783 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.
2823 2824 2825 2826 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2823 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.
2865 2866 2867 2868 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2865 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.
2947 2948 2949 2950 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb', line 2947 def update_user(params = {}, = {}) req = build_request(:update_user, params) req.send_request() end |