@aws-sdk/client-workdocs 3.300.0 → 3.301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +1 -1
  2. package/dist-types/commands/ActivateUserCommand.d.ts +1 -1
  3. package/dist-types/commands/AddResourcePermissionsCommand.d.ts +4 -4
  4. package/dist-types/commands/CreateCommentCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateCustomMetadataCommand.d.ts +2 -2
  6. package/dist-types/commands/CreateFolderCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateLabelsCommand.d.ts +2 -2
  8. package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateUserCommand.d.ts +2 -2
  10. package/dist-types/commands/DeactivateUserCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteCommentCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +2 -2
  13. package/dist-types/commands/DeleteDocumentCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteFolderCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteFolderContentsCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteLabelsCommand.d.ts +2 -2
  18. package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeActivitiesCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeCommentsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeFolderContentsCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeGroupsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeRootFoldersCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeUsersCommand.d.ts +1 -1
  29. package/dist-types/commands/GetCurrentUserCommand.d.ts +1 -1
  30. package/dist-types/commands/GetDocumentCommand.d.ts +1 -1
  31. package/dist-types/commands/GetDocumentPathCommand.d.ts +1 -1
  32. package/dist-types/commands/GetDocumentVersionCommand.d.ts +1 -1
  33. package/dist-types/commands/GetFolderCommand.d.ts +1 -1
  34. package/dist-types/commands/GetFolderPathCommand.d.ts +1 -1
  35. package/dist-types/commands/GetResourcesCommand.d.ts +1 -1
  36. package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +1 -1
  37. package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +1 -1
  38. package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +1 -1
  39. package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +1 -1
  40. package/dist-types/commands/SearchResourcesCommand.d.ts +17 -17
  41. package/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateFolderCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateUserCommand.d.ts +2 -2
  45. package/package.json +3 -3
@@ -29,7 +29,7 @@ export interface AbortDocumentVersionUploadCommandOutput extends __MetadataBeare
29
29
  * import { WorkDocsClient, AbortDocumentVersionUploadCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
30
  * // const { WorkDocsClient, AbortDocumentVersionUploadCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
31
  * const client = new WorkDocsClient(config);
32
- * const input = {
32
+ * const input = { // AbortDocumentVersionUploadRequest
33
33
  * AuthenticationToken: "STRING_VALUE",
34
34
  * DocumentId: "STRING_VALUE", // required
35
35
  * VersionId: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface ActivateUserCommandOutput extends ActivateUserResponse, __Metad
27
27
  * import { WorkDocsClient, ActivateUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, ActivateUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // ActivateUserRequest
31
31
  * UserId: "STRING_VALUE", // required
32
32
  * AuthenticationToken: "STRING_VALUE",
33
33
  * };
@@ -28,17 +28,17 @@ export interface AddResourcePermissionsCommandOutput extends AddResourcePermissi
28
28
  * import { WorkDocsClient, AddResourcePermissionsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
29
29
  * // const { WorkDocsClient, AddResourcePermissionsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
30
30
  * const client = new WorkDocsClient(config);
31
- * const input = {
31
+ * const input = { // AddResourcePermissionsRequest
32
32
  * AuthenticationToken: "STRING_VALUE",
33
33
  * ResourceId: "STRING_VALUE", // required
34
- * Principals: [ // required
35
- * {
34
+ * Principals: [ // SharePrincipalList // required
35
+ * { // SharePrincipal
36
36
  * Id: "STRING_VALUE", // required
37
37
  * Type: "USER" || "GROUP" || "INVITE" || "ANONYMOUS" || "ORGANIZATION", // required
38
38
  * Role: "VIEWER" || "CONTRIBUTOR" || "OWNER" || "COOWNER", // required
39
39
  * },
40
40
  * ],
41
- * NotificationOptions: {
41
+ * NotificationOptions: { // NotificationOptions
42
42
  * SendEmail: true || false,
43
43
  * EmailMessage: "STRING_VALUE",
44
44
  * },
@@ -26,7 +26,7 @@ export interface CreateCommentCommandOutput extends CreateCommentResponse, __Met
26
26
  * import { WorkDocsClient, CreateCommentCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, CreateCommentCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // CreateCommentRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * DocumentId: "STRING_VALUE", // required
32
32
  * VersionId: "STRING_VALUE", // required
@@ -27,11 +27,11 @@ export interface CreateCustomMetadataCommandOutput extends CreateCustomMetadataR
27
27
  * import { WorkDocsClient, CreateCustomMetadataCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, CreateCustomMetadataCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // CreateCustomMetadataRequest
31
31
  * AuthenticationToken: "STRING_VALUE",
32
32
  * ResourceId: "STRING_VALUE", // required
33
33
  * VersionId: "STRING_VALUE",
34
- * CustomMetadata: { // required
34
+ * CustomMetadata: { // CustomMetadataMap // required
35
35
  * "<keys>": "STRING_VALUE",
36
36
  * },
37
37
  * };
@@ -26,7 +26,7 @@ export interface CreateFolderCommandOutput extends CreateFolderResponse, __Metad
26
26
  * import { WorkDocsClient, CreateFolderCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, CreateFolderCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // CreateFolderRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * Name: "STRING_VALUE",
32
32
  * ParentFolderId: "STRING_VALUE", // required
@@ -27,9 +27,9 @@ export interface CreateLabelsCommandOutput extends CreateLabelsResponse, __Metad
27
27
  * import { WorkDocsClient, CreateLabelsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, CreateLabelsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // CreateLabelsRequest
31
31
  * ResourceId: "STRING_VALUE", // required
32
- * Labels: [ // required
32
+ * Labels: [ // SharedLabels // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * AuthenticationToken: "STRING_VALUE",
@@ -29,7 +29,7 @@ export interface CreateNotificationSubscriptionCommandOutput extends CreateNotif
29
29
  * import { WorkDocsClient, CreateNotificationSubscriptionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
30
  * // const { WorkDocsClient, CreateNotificationSubscriptionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
31
  * const client = new WorkDocsClient(config);
32
- * const input = {
32
+ * const input = { // CreateNotificationSubscriptionRequest
33
33
  * OrganizationId: "STRING_VALUE", // required
34
34
  * Endpoint: "STRING_VALUE", // required
35
35
  * Protocol: "HTTPS" || "SQS", // required
@@ -27,7 +27,7 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
27
27
  * import { WorkDocsClient, CreateUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, CreateUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // CreateUserRequest
31
31
  * OrganizationId: "STRING_VALUE",
32
32
  * Username: "STRING_VALUE", // required
33
33
  * EmailAddress: "STRING_VALUE",
@@ -35,7 +35,7 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
35
35
  * Surname: "STRING_VALUE", // required
36
36
  * Password: "STRING_VALUE", // required
37
37
  * TimeZoneId: "STRING_VALUE",
38
- * StorageRule: {
38
+ * StorageRule: { // StorageRuleType
39
39
  * StorageAllocatedInBytes: Number("long"),
40
40
  * StorageType: "UNLIMITED" || "QUOTA",
41
41
  * },
@@ -27,7 +27,7 @@ export interface DeactivateUserCommandOutput extends __MetadataBearer {
27
27
  * import { WorkDocsClient, DeactivateUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, DeactivateUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // DeactivateUserRequest
31
31
  * UserId: "STRING_VALUE", // required
32
32
  * AuthenticationToken: "STRING_VALUE",
33
33
  * };
@@ -26,7 +26,7 @@ export interface DeleteCommentCommandOutput extends __MetadataBearer {
26
26
  * import { WorkDocsClient, DeleteCommentCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DeleteCommentCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteCommentRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * DocumentId: "STRING_VALUE", // required
32
32
  * VersionId: "STRING_VALUE", // required
@@ -26,11 +26,11 @@ export interface DeleteCustomMetadataCommandOutput extends DeleteCustomMetadataR
26
26
  * import { WorkDocsClient, DeleteCustomMetadataCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DeleteCustomMetadataCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteCustomMetadataRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * ResourceId: "STRING_VALUE", // required
32
32
  * VersionId: "STRING_VALUE",
33
- * Keys: [
33
+ * Keys: [ // CustomMetadataKeyList
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * DeleteAll: true || false,
@@ -26,7 +26,7 @@ export interface DeleteDocumentCommandOutput extends __MetadataBearer {
26
26
  * import { WorkDocsClient, DeleteDocumentCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DeleteDocumentCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteDocumentRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * DocumentId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface DeleteDocumentVersionCommandOutput extends __MetadataBearer {
26
26
  * import { WorkDocsClient, DeleteDocumentVersionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DeleteDocumentVersionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteDocumentVersionRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * DocumentId: "STRING_VALUE", // required
32
32
  * VersionId: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface DeleteFolderCommandOutput extends __MetadataBearer {
26
26
  * import { WorkDocsClient, DeleteFolderCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DeleteFolderCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteFolderRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * FolderId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface DeleteFolderContentsCommandOutput extends __MetadataBearer {
26
26
  * import { WorkDocsClient, DeleteFolderContentsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DeleteFolderContentsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteFolderContentsRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * FolderId: "STRING_VALUE", // required
32
32
  * };
@@ -26,10 +26,10 @@ export interface DeleteLabelsCommandOutput extends DeleteLabelsResponse, __Metad
26
26
  * import { WorkDocsClient, DeleteLabelsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DeleteLabelsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteLabelsRequest
30
30
  * ResourceId: "STRING_VALUE", // required
31
31
  * AuthenticationToken: "STRING_VALUE",
32
- * Labels: [
32
+ * Labels: [ // SharedLabels
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * DeleteAll: true || false,
@@ -26,7 +26,7 @@ export interface DeleteNotificationSubscriptionCommandOutput extends __MetadataB
26
26
  * import { WorkDocsClient, DeleteNotificationSubscriptionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DeleteNotificationSubscriptionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteNotificationSubscriptionRequest
30
30
  * SubscriptionId: "STRING_VALUE", // required
31
31
  * OrganizationId: "STRING_VALUE", // required
32
32
  * };
@@ -29,7 +29,7 @@ export interface DeleteUserCommandOutput extends __MetadataBearer {
29
29
  * import { WorkDocsClient, DeleteUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
30
  * // const { WorkDocsClient, DeleteUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
31
  * const client = new WorkDocsClient(config);
32
- * const input = {
32
+ * const input = { // DeleteUserRequest
33
33
  * AuthenticationToken: "STRING_VALUE",
34
34
  * UserId: "STRING_VALUE", // required
35
35
  * };
@@ -26,7 +26,7 @@ export interface DescribeActivitiesCommandOutput extends DescribeActivitiesRespo
26
26
  * import { WorkDocsClient, DescribeActivitiesCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DescribeActivitiesCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DescribeActivitiesRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * StartTime: new Date("TIMESTAMP"),
32
32
  * EndTime: new Date("TIMESTAMP"),
@@ -26,7 +26,7 @@ export interface DescribeCommentsCommandOutput extends DescribeCommentsResponse,
26
26
  * import { WorkDocsClient, DescribeCommentsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DescribeCommentsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DescribeCommentsRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * DocumentId: "STRING_VALUE", // required
32
32
  * VersionId: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface DescribeDocumentVersionsCommandOutput extends DescribeDocumentV
27
27
  * import { WorkDocsClient, DescribeDocumentVersionsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, DescribeDocumentVersionsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // DescribeDocumentVersionsRequest
31
31
  * AuthenticationToken: "STRING_VALUE",
32
32
  * DocumentId: "STRING_VALUE", // required
33
33
  * Marker: "STRING_VALUE",
@@ -31,7 +31,7 @@ export interface DescribeFolderContentsCommandOutput extends DescribeFolderConte
31
31
  * import { WorkDocsClient, DescribeFolderContentsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
32
32
  * // const { WorkDocsClient, DescribeFolderContentsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
33
33
  * const client = new WorkDocsClient(config);
34
- * const input = {
34
+ * const input = { // DescribeFolderContentsRequest
35
35
  * AuthenticationToken: "STRING_VALUE",
36
36
  * FolderId: "STRING_VALUE", // required
37
37
  * Sort: "DATE" || "NAME",
@@ -27,7 +27,7 @@ export interface DescribeGroupsCommandOutput extends DescribeGroupsResponse, __M
27
27
  * import { WorkDocsClient, DescribeGroupsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, DescribeGroupsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // DescribeGroupsRequest
31
31
  * AuthenticationToken: "STRING_VALUE",
32
32
  * SearchQuery: "STRING_VALUE", // required
33
33
  * OrganizationId: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DescribeNotificationSubscriptionsCommandOutput extends Describe
26
26
  * import { WorkDocsClient, DescribeNotificationSubscriptionsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DescribeNotificationSubscriptionsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DescribeNotificationSubscriptionsRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * Marker: "STRING_VALUE",
32
32
  * Limit: Number("int"),
@@ -26,7 +26,7 @@ export interface DescribeResourcePermissionsCommandOutput extends DescribeResour
26
26
  * import { WorkDocsClient, DescribeResourcePermissionsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, DescribeResourcePermissionsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // DescribeResourcePermissionsRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * ResourceId: "STRING_VALUE", // required
32
32
  * PrincipalId: "STRING_VALUE",
@@ -34,7 +34,7 @@ export interface DescribeRootFoldersCommandOutput extends DescribeRootFoldersRes
34
34
  * import { WorkDocsClient, DescribeRootFoldersCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
35
35
  * // const { WorkDocsClient, DescribeRootFoldersCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
36
36
  * const client = new WorkDocsClient(config);
37
- * const input = {
37
+ * const input = { // DescribeRootFoldersRequest
38
38
  * AuthenticationToken: "STRING_VALUE", // required
39
39
  * Limit: Number("int"),
40
40
  * Marker: "STRING_VALUE",
@@ -30,7 +30,7 @@ export interface DescribeUsersCommandOutput extends DescribeUsersResponse, __Met
30
30
  * import { WorkDocsClient, DescribeUsersCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
31
31
  * // const { WorkDocsClient, DescribeUsersCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
32
32
  * const client = new WorkDocsClient(config);
33
- * const input = {
33
+ * const input = { // DescribeUsersRequest
34
34
  * AuthenticationToken: "STRING_VALUE",
35
35
  * OrganizationId: "STRING_VALUE",
36
36
  * UserIds: "STRING_VALUE",
@@ -32,7 +32,7 @@ export interface GetCurrentUserCommandOutput extends GetCurrentUserResponse, __M
32
32
  * import { WorkDocsClient, GetCurrentUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
33
33
  * // const { WorkDocsClient, GetCurrentUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
34
34
  * const client = new WorkDocsClient(config);
35
- * const input = {
35
+ * const input = { // GetCurrentUserRequest
36
36
  * AuthenticationToken: "STRING_VALUE", // required
37
37
  * };
38
38
  * const command = new GetCurrentUserCommand(input);
@@ -26,7 +26,7 @@ export interface GetDocumentCommandOutput extends GetDocumentResponse, __Metadat
26
26
  * import { WorkDocsClient, GetDocumentCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, GetDocumentCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // GetDocumentRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * DocumentId: "STRING_VALUE", // required
32
32
  * IncludeCustomMetadata: true || false,
@@ -31,7 +31,7 @@ export interface GetDocumentPathCommandOutput extends GetDocumentPathResponse, _
31
31
  * import { WorkDocsClient, GetDocumentPathCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
32
32
  * // const { WorkDocsClient, GetDocumentPathCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
33
33
  * const client = new WorkDocsClient(config);
34
- * const input = {
34
+ * const input = { // GetDocumentPathRequest
35
35
  * AuthenticationToken: "STRING_VALUE",
36
36
  * DocumentId: "STRING_VALUE", // required
37
37
  * Limit: Number("int"),
@@ -26,7 +26,7 @@ export interface GetDocumentVersionCommandOutput extends GetDocumentVersionRespo
26
26
  * import { WorkDocsClient, GetDocumentVersionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, GetDocumentVersionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // GetDocumentVersionRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * DocumentId: "STRING_VALUE", // required
32
32
  * VersionId: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface GetFolderCommandOutput extends GetFolderResponse, __MetadataBea
26
26
  * import { WorkDocsClient, GetFolderCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, GetFolderCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // GetFolderRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * FolderId: "STRING_VALUE", // required
32
32
  * IncludeCustomMetadata: true || false,
@@ -31,7 +31,7 @@ export interface GetFolderPathCommandOutput extends GetFolderPathResponse, __Met
31
31
  * import { WorkDocsClient, GetFolderPathCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
32
32
  * // const { WorkDocsClient, GetFolderPathCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
33
33
  * const client = new WorkDocsClient(config);
34
- * const input = {
34
+ * const input = { // GetFolderPathRequest
35
35
  * AuthenticationToken: "STRING_VALUE",
36
36
  * FolderId: "STRING_VALUE", // required
37
37
  * Limit: Number("int"),
@@ -27,7 +27,7 @@ export interface GetResourcesCommandOutput extends GetResourcesResponse, __Metad
27
27
  * import { WorkDocsClient, GetResourcesCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, GetResourcesCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // GetResourcesRequest
31
31
  * AuthenticationToken: "STRING_VALUE",
32
32
  * UserId: "STRING_VALUE",
33
33
  * CollectionType: "SHARED_WITH_ME",
@@ -31,7 +31,7 @@ export interface InitiateDocumentVersionUploadCommandOutput extends InitiateDocu
31
31
  * import { WorkDocsClient, InitiateDocumentVersionUploadCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
32
32
  * // const { WorkDocsClient, InitiateDocumentVersionUploadCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
33
33
  * const client = new WorkDocsClient(config);
34
- * const input = {
34
+ * const input = { // InitiateDocumentVersionUploadRequest
35
35
  * AuthenticationToken: "STRING_VALUE",
36
36
  * Id: "STRING_VALUE",
37
37
  * Name: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface RemoveAllResourcePermissionsCommandOutput extends __MetadataBea
26
26
  * import { WorkDocsClient, RemoveAllResourcePermissionsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, RemoveAllResourcePermissionsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // RemoveAllResourcePermissionsRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * ResourceId: "STRING_VALUE", // required
32
32
  * };
@@ -27,7 +27,7 @@ export interface RemoveResourcePermissionCommandOutput extends __MetadataBearer
27
27
  * import { WorkDocsClient, RemoveResourcePermissionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, RemoveResourcePermissionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // RemoveResourcePermissionRequest
31
31
  * AuthenticationToken: "STRING_VALUE",
32
32
  * ResourceId: "STRING_VALUE", // required
33
33
  * PrincipalId: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface RestoreDocumentVersionsCommandOutput extends __MetadataBearer {
26
26
  * import { WorkDocsClient, RestoreDocumentVersionsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, RestoreDocumentVersionsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // RestoreDocumentVersionsRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * DocumentId: "STRING_VALUE", // required
32
32
  * };
@@ -26,48 +26,48 @@ export interface SearchResourcesCommandOutput extends SearchResourcesResponse, _
26
26
  * import { WorkDocsClient, SearchResourcesCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
27
27
  * // const { WorkDocsClient, SearchResourcesCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
28
28
  * const client = new WorkDocsClient(config);
29
- * const input = {
29
+ * const input = { // SearchResourcesRequest
30
30
  * AuthenticationToken: "STRING_VALUE",
31
31
  * QueryText: "STRING_VALUE",
32
- * QueryScopes: [
32
+ * QueryScopes: [ // SearchQueryScopeTypeList
33
33
  * "NAME" || "CONTENT",
34
34
  * ],
35
35
  * OrganizationId: "STRING_VALUE",
36
- * AdditionalResponseFields: [
36
+ * AdditionalResponseFields: [ // AdditionalResponseFieldsList
37
37
  * "WEBURL",
38
38
  * ],
39
- * Filters: {
40
- * TextLocales: [
39
+ * Filters: { // Filters
40
+ * TextLocales: [ // TextLocaleTypeList
41
41
  * "AR" || "BG" || "BN" || "DA" || "DE" || "CS" || "EL" || "EN" || "ES" || "FA" || "FI" || "FR" || "HI" || "HU" || "ID" || "IT" || "JA" || "KO" || "LT" || "LV" || "NL" || "NO" || "PT" || "RO" || "RU" || "SV" || "SW" || "TH" || "TR" || "ZH" || "DEFAULT",
42
42
  * ],
43
- * ContentCategories: [
43
+ * ContentCategories: [ // SearchContentCategoryTypeList
44
44
  * "IMAGE" || "DOCUMENT" || "PDF" || "SPREADSHEET" || "PRESENTATION" || "AUDIO" || "VIDEO" || "SOURCE_CODE" || "OTHER",
45
45
  * ],
46
- * ResourceTypes: [
46
+ * ResourceTypes: [ // SearchResourceTypeList
47
47
  * "FOLDER" || "DOCUMENT" || "COMMENT" || "DOCUMENT_VERSION",
48
48
  * ],
49
- * Labels: [
49
+ * Labels: [ // SearchLabelList
50
50
  * "STRING_VALUE",
51
51
  * ],
52
- * Principals: [
53
- * {
52
+ * Principals: [ // SearchPrincipalTypeList
53
+ * { // SearchPrincipalType
54
54
  * Id: "STRING_VALUE", // required
55
- * Roles: [
55
+ * Roles: [ // SearchPrincipalRoleList
56
56
  * "VIEWER" || "CONTRIBUTOR" || "OWNER" || "COOWNER",
57
57
  * ],
58
58
  * },
59
59
  * ],
60
- * AncestorIds: [
60
+ * AncestorIds: [ // SearchAncestorIdList
61
61
  * "STRING_VALUE",
62
62
  * ],
63
- * SearchCollectionTypes: [
63
+ * SearchCollectionTypes: [ // SearchCollectionTypeList
64
64
  * "OWNED" || "SHARED_WITH_ME",
65
65
  * ],
66
- * SizeRange: {
66
+ * SizeRange: { // LongRangeType
67
67
  * StartValue: Number("long"),
68
68
  * EndValue: Number("long"),
69
69
  * },
70
- * CreatedRange: {
70
+ * CreatedRange: { // DateRangeType
71
71
  * StartValue: new Date("TIMESTAMP"),
72
72
  * EndValue: new Date("TIMESTAMP"),
73
73
  * },
@@ -76,8 +76,8 @@ export interface SearchResourcesCommandOutput extends SearchResourcesResponse, _
76
76
  * EndValue: new Date("TIMESTAMP"),
77
77
  * },
78
78
  * },
79
- * OrderBy: [
80
- * {
79
+ * OrderBy: [ // SearchResultSortList
80
+ * { // SearchSortResult
81
81
  * Field: "RELEVANCE" || "NAME" || "SIZE" || "CREATED_TIMESTAMP" || "MODIFIED_TIMESTAMP",
82
82
  * Order: "ASC" || "DESC",
83
83
  * },
@@ -27,7 +27,7 @@ export interface UpdateDocumentCommandOutput extends __MetadataBearer {
27
27
  * import { WorkDocsClient, UpdateDocumentCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, UpdateDocumentCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // UpdateDocumentRequest
31
31
  * AuthenticationToken: "STRING_VALUE",
32
32
  * DocumentId: "STRING_VALUE", // required
33
33
  * Name: "STRING_VALUE",
@@ -29,7 +29,7 @@ export interface UpdateDocumentVersionCommandOutput extends __MetadataBearer {
29
29
  * import { WorkDocsClient, UpdateDocumentVersionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
30
  * // const { WorkDocsClient, UpdateDocumentVersionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
31
  * const client = new WorkDocsClient(config);
32
- * const input = {
32
+ * const input = { // UpdateDocumentVersionRequest
33
33
  * AuthenticationToken: "STRING_VALUE",
34
34
  * DocumentId: "STRING_VALUE", // required
35
35
  * VersionId: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface UpdateFolderCommandOutput extends __MetadataBearer {
27
27
  * import { WorkDocsClient, UpdateFolderCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, UpdateFolderCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // UpdateFolderRequest
31
31
  * AuthenticationToken: "STRING_VALUE",
32
32
  * FolderId: "STRING_VALUE", // required
33
33
  * Name: "STRING_VALUE",
@@ -27,13 +27,13 @@ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataB
27
27
  * import { WorkDocsClient, UpdateUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
28
28
  * // const { WorkDocsClient, UpdateUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
29
29
  * const client = new WorkDocsClient(config);
30
- * const input = {
30
+ * const input = { // UpdateUserRequest
31
31
  * AuthenticationToken: "STRING_VALUE",
32
32
  * UserId: "STRING_VALUE", // required
33
33
  * GivenName: "STRING_VALUE",
34
34
  * Surname: "STRING_VALUE",
35
35
  * Type: "USER" || "ADMIN" || "POWERUSER" || "MINIMALUSER" || "WORKSPACESUSER",
36
- * StorageRule: {
36
+ * StorageRule: { // StorageRuleType
37
37
  * StorageAllocatedInBytes: Number("long"),
38
38
  * StorageType: "UNLIMITED" || "QUOTA",
39
39
  * },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workdocs",
3
3
  "description": "AWS SDK for JavaScript Workdocs Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
25
  "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",