@aws-sdk/client-workdocs 3.1076.0 → 3.1078.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 (152) hide show
  1. package/dist-cjs/index.js +141 -531
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AbortDocumentVersionUploadCommand.js +2 -14
  4. package/dist-es/commands/ActivateUserCommand.js +2 -14
  5. package/dist-es/commands/AddResourcePermissionsCommand.js +2 -14
  6. package/dist-es/commands/CreateCommentCommand.js +2 -14
  7. package/dist-es/commands/CreateCustomMetadataCommand.js +2 -14
  8. package/dist-es/commands/CreateFolderCommand.js +2 -14
  9. package/dist-es/commands/CreateLabelsCommand.js +2 -14
  10. package/dist-es/commands/CreateNotificationSubscriptionCommand.js +2 -14
  11. package/dist-es/commands/CreateUserCommand.js +2 -14
  12. package/dist-es/commands/DeactivateUserCommand.js +2 -14
  13. package/dist-es/commands/DeleteCommentCommand.js +2 -14
  14. package/dist-es/commands/DeleteCustomMetadataCommand.js +2 -14
  15. package/dist-es/commands/DeleteDocumentCommand.js +2 -14
  16. package/dist-es/commands/DeleteDocumentVersionCommand.js +2 -14
  17. package/dist-es/commands/DeleteFolderCommand.js +2 -14
  18. package/dist-es/commands/DeleteFolderContentsCommand.js +2 -14
  19. package/dist-es/commands/DeleteLabelsCommand.js +2 -14
  20. package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +2 -14
  21. package/dist-es/commands/DeleteUserCommand.js +2 -14
  22. package/dist-es/commands/DescribeActivitiesCommand.js +2 -14
  23. package/dist-es/commands/DescribeCommentsCommand.js +2 -14
  24. package/dist-es/commands/DescribeDocumentVersionsCommand.js +2 -14
  25. package/dist-es/commands/DescribeFolderContentsCommand.js +2 -14
  26. package/dist-es/commands/DescribeGroupsCommand.js +2 -14
  27. package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +2 -14
  28. package/dist-es/commands/DescribeResourcePermissionsCommand.js +2 -14
  29. package/dist-es/commands/DescribeRootFoldersCommand.js +2 -14
  30. package/dist-es/commands/DescribeUsersCommand.js +2 -14
  31. package/dist-es/commands/GetCurrentUserCommand.js +2 -14
  32. package/dist-es/commands/GetDocumentCommand.js +2 -14
  33. package/dist-es/commands/GetDocumentPathCommand.js +2 -14
  34. package/dist-es/commands/GetDocumentVersionCommand.js +2 -14
  35. package/dist-es/commands/GetFolderCommand.js +2 -14
  36. package/dist-es/commands/GetFolderPathCommand.js +2 -14
  37. package/dist-es/commands/GetResourcesCommand.js +2 -14
  38. package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +2 -14
  39. package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +2 -14
  40. package/dist-es/commands/RemoveResourcePermissionCommand.js +2 -14
  41. package/dist-es/commands/RestoreDocumentVersionsCommand.js +2 -14
  42. package/dist-es/commands/SearchResourcesCommand.js +2 -14
  43. package/dist-es/commands/UpdateDocumentCommand.js +2 -14
  44. package/dist-es/commands/UpdateDocumentVersionCommand.js +2 -14
  45. package/dist-es/commands/UpdateFolderCommand.js +2 -14
  46. package/dist-es/commands/UpdateUserCommand.js +2 -14
  47. package/dist-es/index.js +1 -0
  48. package/dist-es/runtimeConfig.browser.js +0 -2
  49. package/dist-es/runtimeConfig.js +1 -2
  50. package/dist-es/runtimeConfig.native.js +0 -2
  51. package/dist-es/runtimeConfig.shared.js +2 -0
  52. package/dist-types/commandBuilder.d.ts +18 -0
  53. package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +3 -8
  54. package/dist-types/commands/ActivateUserCommand.d.ts +3 -8
  55. package/dist-types/commands/AddResourcePermissionsCommand.d.ts +3 -8
  56. package/dist-types/commands/CreateCommentCommand.d.ts +3 -8
  57. package/dist-types/commands/CreateCustomMetadataCommand.d.ts +3 -8
  58. package/dist-types/commands/CreateFolderCommand.d.ts +3 -8
  59. package/dist-types/commands/CreateLabelsCommand.d.ts +3 -8
  60. package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +3 -8
  61. package/dist-types/commands/CreateUserCommand.d.ts +3 -8
  62. package/dist-types/commands/DeactivateUserCommand.d.ts +3 -8
  63. package/dist-types/commands/DeleteCommentCommand.d.ts +3 -8
  64. package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +3 -8
  65. package/dist-types/commands/DeleteDocumentCommand.d.ts +3 -8
  66. package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +3 -8
  67. package/dist-types/commands/DeleteFolderCommand.d.ts +3 -8
  68. package/dist-types/commands/DeleteFolderContentsCommand.d.ts +3 -8
  69. package/dist-types/commands/DeleteLabelsCommand.d.ts +3 -8
  70. package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +3 -8
  71. package/dist-types/commands/DeleteUserCommand.d.ts +3 -8
  72. package/dist-types/commands/DescribeActivitiesCommand.d.ts +3 -8
  73. package/dist-types/commands/DescribeCommentsCommand.d.ts +3 -8
  74. package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +3 -8
  75. package/dist-types/commands/DescribeFolderContentsCommand.d.ts +3 -8
  76. package/dist-types/commands/DescribeGroupsCommand.d.ts +3 -8
  77. package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +3 -8
  78. package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +3 -8
  79. package/dist-types/commands/DescribeRootFoldersCommand.d.ts +3 -8
  80. package/dist-types/commands/DescribeUsersCommand.d.ts +3 -8
  81. package/dist-types/commands/GetCurrentUserCommand.d.ts +3 -8
  82. package/dist-types/commands/GetDocumentCommand.d.ts +3 -8
  83. package/dist-types/commands/GetDocumentPathCommand.d.ts +3 -8
  84. package/dist-types/commands/GetDocumentVersionCommand.d.ts +3 -8
  85. package/dist-types/commands/GetFolderCommand.d.ts +3 -8
  86. package/dist-types/commands/GetFolderPathCommand.d.ts +3 -8
  87. package/dist-types/commands/GetResourcesCommand.d.ts +3 -8
  88. package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +3 -8
  89. package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +3 -8
  90. package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +3 -8
  91. package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +3 -8
  92. package/dist-types/commands/SearchResourcesCommand.d.ts +3 -8
  93. package/dist-types/commands/UpdateDocumentCommand.d.ts +3 -8
  94. package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +3 -8
  95. package/dist-types/commands/UpdateFolderCommand.d.ts +3 -8
  96. package/dist-types/commands/UpdateUserCommand.d.ts +3 -8
  97. package/dist-types/index.d.ts +1 -0
  98. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  99. package/dist-types/runtimeConfig.d.ts +1 -1
  100. package/dist-types/runtimeConfig.native.d.ts +1 -1
  101. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  102. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  103. package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/DeleteDocumentVersionCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/RestoreDocumentVersionsCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/index.d.ts +1 -0
  148. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  149. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  150. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  151. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  152. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultWorkDocsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1764,6 +1766,7 @@ const getRuntimeConfig$1 = (config) => {
1764
1766
  serviceTarget: "AWSGorillaBoyService",
1765
1767
  },
1766
1768
  serviceId: config?.serviceId ?? "WorkDocs",
1769
+ sha256: config?.sha256 ?? Sha256,
1767
1770
  urlParser: config?.urlParser ?? parseUrl,
1768
1771
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1769
1772
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1797,7 +1800,6 @@ const getRuntimeConfig = (config) => {
1797
1800
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1798
1801
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1799
1802
  }, config),
1800
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1801
1803
  streamCollector: config?.streamCollector ?? streamCollector,
1802
1804
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1803
1805
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1885,532 +1887,140 @@ class WorkDocsClient extends Client {
1885
1887
  }
1886
1888
  }
1887
1889
 
1888
- class AbortDocumentVersionUploadCommand extends Command
1889
- .classBuilder()
1890
- .ep(commonParams)
1891
- .m(function (Command, cs, config, o) {
1892
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1893
- })
1894
- .s("AWSGorillaBoyService", "AbortDocumentVersionUpload", {})
1895
- .n("WorkDocsClient", "AbortDocumentVersionUploadCommand")
1896
- .sc(AbortDocumentVersionUpload$)
1897
- .build() {
1898
- }
1899
-
1900
- class ActivateUserCommand extends Command
1901
- .classBuilder()
1902
- .ep(commonParams)
1903
- .m(function (Command, cs, config, o) {
1904
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1905
- })
1906
- .s("AWSGorillaBoyService", "ActivateUser", {})
1907
- .n("WorkDocsClient", "ActivateUserCommand")
1908
- .sc(ActivateUser$)
1909
- .build() {
1910
- }
1911
-
1912
- class AddResourcePermissionsCommand extends Command
1913
- .classBuilder()
1914
- .ep(commonParams)
1915
- .m(function (Command, cs, config, o) {
1916
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1917
- })
1918
- .s("AWSGorillaBoyService", "AddResourcePermissions", {})
1919
- .n("WorkDocsClient", "AddResourcePermissionsCommand")
1920
- .sc(AddResourcePermissions$)
1921
- .build() {
1922
- }
1923
-
1924
- class CreateCommentCommand extends Command
1925
- .classBuilder()
1926
- .ep(commonParams)
1927
- .m(function (Command, cs, config, o) {
1928
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1929
- })
1930
- .s("AWSGorillaBoyService", "CreateComment", {})
1931
- .n("WorkDocsClient", "CreateCommentCommand")
1932
- .sc(CreateComment$)
1933
- .build() {
1934
- }
1935
-
1936
- class CreateCustomMetadataCommand extends Command
1937
- .classBuilder()
1938
- .ep(commonParams)
1939
- .m(function (Command, cs, config, o) {
1940
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1941
- })
1942
- .s("AWSGorillaBoyService", "CreateCustomMetadata", {})
1943
- .n("WorkDocsClient", "CreateCustomMetadataCommand")
1944
- .sc(CreateCustomMetadata$)
1945
- .build() {
1946
- }
1947
-
1948
- class CreateFolderCommand extends Command
1949
- .classBuilder()
1950
- .ep(commonParams)
1951
- .m(function (Command, cs, config, o) {
1952
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1953
- })
1954
- .s("AWSGorillaBoyService", "CreateFolder", {})
1955
- .n("WorkDocsClient", "CreateFolderCommand")
1956
- .sc(CreateFolder$)
1957
- .build() {
1958
- }
1959
-
1960
- class CreateLabelsCommand extends Command
1961
- .classBuilder()
1962
- .ep(commonParams)
1963
- .m(function (Command, cs, config, o) {
1964
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1965
- })
1966
- .s("AWSGorillaBoyService", "CreateLabels", {})
1967
- .n("WorkDocsClient", "CreateLabelsCommand")
1968
- .sc(CreateLabels$)
1969
- .build() {
1970
- }
1971
-
1972
- class CreateNotificationSubscriptionCommand extends Command
1973
- .classBuilder()
1974
- .ep(commonParams)
1975
- .m(function (Command, cs, config, o) {
1976
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1977
- })
1978
- .s("AWSGorillaBoyService", "CreateNotificationSubscription", {})
1979
- .n("WorkDocsClient", "CreateNotificationSubscriptionCommand")
1980
- .sc(CreateNotificationSubscription$)
1981
- .build() {
1982
- }
1983
-
1984
- class CreateUserCommand extends Command
1985
- .classBuilder()
1986
- .ep(commonParams)
1987
- .m(function (Command, cs, config, o) {
1988
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1989
- })
1990
- .s("AWSGorillaBoyService", "CreateUser", {})
1991
- .n("WorkDocsClient", "CreateUserCommand")
1992
- .sc(CreateUser$)
1993
- .build() {
1994
- }
1995
-
1996
- class DeactivateUserCommand extends Command
1997
- .classBuilder()
1998
- .ep(commonParams)
1999
- .m(function (Command, cs, config, o) {
2000
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2001
- })
2002
- .s("AWSGorillaBoyService", "DeactivateUser", {})
2003
- .n("WorkDocsClient", "DeactivateUserCommand")
2004
- .sc(DeactivateUser$)
2005
- .build() {
2006
- }
2007
-
2008
- class DeleteCommentCommand extends Command
2009
- .classBuilder()
2010
- .ep(commonParams)
2011
- .m(function (Command, cs, config, o) {
2012
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2013
- })
2014
- .s("AWSGorillaBoyService", "DeleteComment", {})
2015
- .n("WorkDocsClient", "DeleteCommentCommand")
2016
- .sc(DeleteComment$)
2017
- .build() {
2018
- }
2019
-
2020
- class DeleteCustomMetadataCommand extends Command
2021
- .classBuilder()
2022
- .ep(commonParams)
2023
- .m(function (Command, cs, config, o) {
2024
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2025
- })
2026
- .s("AWSGorillaBoyService", "DeleteCustomMetadata", {})
2027
- .n("WorkDocsClient", "DeleteCustomMetadataCommand")
2028
- .sc(DeleteCustomMetadata$)
2029
- .build() {
2030
- }
2031
-
2032
- class DeleteDocumentCommand extends Command
2033
- .classBuilder()
2034
- .ep(commonParams)
2035
- .m(function (Command, cs, config, o) {
2036
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2037
- })
2038
- .s("AWSGorillaBoyService", "DeleteDocument", {})
2039
- .n("WorkDocsClient", "DeleteDocumentCommand")
2040
- .sc(DeleteDocument$)
2041
- .build() {
2042
- }
2043
-
2044
- class DeleteDocumentVersionCommand extends Command
2045
- .classBuilder()
2046
- .ep(commonParams)
2047
- .m(function (Command, cs, config, o) {
2048
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2049
- })
2050
- .s("AWSGorillaBoyService", "DeleteDocumentVersion", {})
2051
- .n("WorkDocsClient", "DeleteDocumentVersionCommand")
2052
- .sc(DeleteDocumentVersion$)
2053
- .build() {
2054
- }
2055
-
2056
- class DeleteFolderCommand extends Command
2057
- .classBuilder()
2058
- .ep(commonParams)
2059
- .m(function (Command, cs, config, o) {
2060
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2061
- })
2062
- .s("AWSGorillaBoyService", "DeleteFolder", {})
2063
- .n("WorkDocsClient", "DeleteFolderCommand")
2064
- .sc(DeleteFolder$)
2065
- .build() {
2066
- }
2067
-
2068
- class DeleteFolderContentsCommand extends Command
2069
- .classBuilder()
2070
- .ep(commonParams)
2071
- .m(function (Command, cs, config, o) {
2072
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2073
- })
2074
- .s("AWSGorillaBoyService", "DeleteFolderContents", {})
2075
- .n("WorkDocsClient", "DeleteFolderContentsCommand")
2076
- .sc(DeleteFolderContents$)
2077
- .build() {
2078
- }
2079
-
2080
- class DeleteLabelsCommand extends Command
2081
- .classBuilder()
2082
- .ep(commonParams)
2083
- .m(function (Command, cs, config, o) {
2084
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2085
- })
2086
- .s("AWSGorillaBoyService", "DeleteLabels", {})
2087
- .n("WorkDocsClient", "DeleteLabelsCommand")
2088
- .sc(DeleteLabels$)
2089
- .build() {
2090
- }
2091
-
2092
- class DeleteNotificationSubscriptionCommand extends Command
2093
- .classBuilder()
2094
- .ep(commonParams)
2095
- .m(function (Command, cs, config, o) {
2096
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2097
- })
2098
- .s("AWSGorillaBoyService", "DeleteNotificationSubscription", {})
2099
- .n("WorkDocsClient", "DeleteNotificationSubscriptionCommand")
2100
- .sc(DeleteNotificationSubscription$)
2101
- .build() {
2102
- }
2103
-
2104
- class DeleteUserCommand extends Command
2105
- .classBuilder()
2106
- .ep(commonParams)
2107
- .m(function (Command, cs, config, o) {
2108
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2109
- })
2110
- .s("AWSGorillaBoyService", "DeleteUser", {})
2111
- .n("WorkDocsClient", "DeleteUserCommand")
2112
- .sc(DeleteUser$)
2113
- .build() {
2114
- }
2115
-
2116
- class DescribeActivitiesCommand extends Command
2117
- .classBuilder()
2118
- .ep(commonParams)
2119
- .m(function (Command, cs, config, o) {
2120
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2121
- })
2122
- .s("AWSGorillaBoyService", "DescribeActivities", {})
2123
- .n("WorkDocsClient", "DescribeActivitiesCommand")
2124
- .sc(DescribeActivities$)
2125
- .build() {
2126
- }
2127
-
2128
- class DescribeCommentsCommand extends Command
2129
- .classBuilder()
2130
- .ep(commonParams)
2131
- .m(function (Command, cs, config, o) {
2132
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2133
- })
2134
- .s("AWSGorillaBoyService", "DescribeComments", {})
2135
- .n("WorkDocsClient", "DescribeCommentsCommand")
2136
- .sc(DescribeComments$)
2137
- .build() {
2138
- }
2139
-
2140
- class DescribeDocumentVersionsCommand extends Command
2141
- .classBuilder()
2142
- .ep(commonParams)
2143
- .m(function (Command, cs, config, o) {
2144
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2145
- })
2146
- .s("AWSGorillaBoyService", "DescribeDocumentVersions", {})
2147
- .n("WorkDocsClient", "DescribeDocumentVersionsCommand")
2148
- .sc(DescribeDocumentVersions$)
2149
- .build() {
2150
- }
2151
-
2152
- class DescribeFolderContentsCommand extends Command
2153
- .classBuilder()
2154
- .ep(commonParams)
2155
- .m(function (Command, cs, config, o) {
2156
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2157
- })
2158
- .s("AWSGorillaBoyService", "DescribeFolderContents", {})
2159
- .n("WorkDocsClient", "DescribeFolderContentsCommand")
2160
- .sc(DescribeFolderContents$)
2161
- .build() {
2162
- }
2163
-
2164
- class DescribeGroupsCommand extends Command
2165
- .classBuilder()
2166
- .ep(commonParams)
2167
- .m(function (Command, cs, config, o) {
2168
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2169
- })
2170
- .s("AWSGorillaBoyService", "DescribeGroups", {})
2171
- .n("WorkDocsClient", "DescribeGroupsCommand")
2172
- .sc(DescribeGroups$)
2173
- .build() {
2174
- }
2175
-
2176
- class DescribeNotificationSubscriptionsCommand extends Command
2177
- .classBuilder()
2178
- .ep(commonParams)
2179
- .m(function (Command, cs, config, o) {
2180
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2181
- })
2182
- .s("AWSGorillaBoyService", "DescribeNotificationSubscriptions", {})
2183
- .n("WorkDocsClient", "DescribeNotificationSubscriptionsCommand")
2184
- .sc(DescribeNotificationSubscriptions$)
2185
- .build() {
2186
- }
2187
-
2188
- class DescribeResourcePermissionsCommand extends Command
2189
- .classBuilder()
2190
- .ep(commonParams)
2191
- .m(function (Command, cs, config, o) {
2192
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2193
- })
2194
- .s("AWSGorillaBoyService", "DescribeResourcePermissions", {})
2195
- .n("WorkDocsClient", "DescribeResourcePermissionsCommand")
2196
- .sc(DescribeResourcePermissions$)
2197
- .build() {
2198
- }
2199
-
2200
- class DescribeRootFoldersCommand extends Command
2201
- .classBuilder()
2202
- .ep(commonParams)
2203
- .m(function (Command, cs, config, o) {
2204
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2205
- })
2206
- .s("AWSGorillaBoyService", "DescribeRootFolders", {})
2207
- .n("WorkDocsClient", "DescribeRootFoldersCommand")
2208
- .sc(DescribeRootFolders$)
2209
- .build() {
2210
- }
2211
-
2212
- class DescribeUsersCommand extends Command
2213
- .classBuilder()
2214
- .ep(commonParams)
2215
- .m(function (Command, cs, config, o) {
2216
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2217
- })
2218
- .s("AWSGorillaBoyService", "DescribeUsers", {})
2219
- .n("WorkDocsClient", "DescribeUsersCommand")
2220
- .sc(DescribeUsers$)
2221
- .build() {
2222
- }
2223
-
2224
- class GetCurrentUserCommand extends Command
2225
- .classBuilder()
2226
- .ep(commonParams)
2227
- .m(function (Command, cs, config, o) {
2228
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2229
- })
2230
- .s("AWSGorillaBoyService", "GetCurrentUser", {})
2231
- .n("WorkDocsClient", "GetCurrentUserCommand")
2232
- .sc(GetCurrentUser$)
2233
- .build() {
2234
- }
2235
-
2236
- class GetDocumentCommand extends Command
2237
- .classBuilder()
2238
- .ep(commonParams)
2239
- .m(function (Command, cs, config, o) {
2240
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2241
- })
2242
- .s("AWSGorillaBoyService", "GetDocument", {})
2243
- .n("WorkDocsClient", "GetDocumentCommand")
2244
- .sc(GetDocument$)
2245
- .build() {
2246
- }
2247
-
2248
- class GetDocumentPathCommand extends Command
2249
- .classBuilder()
2250
- .ep(commonParams)
2251
- .m(function (Command, cs, config, o) {
2252
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2253
- })
2254
- .s("AWSGorillaBoyService", "GetDocumentPath", {})
2255
- .n("WorkDocsClient", "GetDocumentPathCommand")
2256
- .sc(GetDocumentPath$)
2257
- .build() {
2258
- }
2259
-
2260
- class GetDocumentVersionCommand extends Command
2261
- .classBuilder()
2262
- .ep(commonParams)
2263
- .m(function (Command, cs, config, o) {
2264
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2265
- })
2266
- .s("AWSGorillaBoyService", "GetDocumentVersion", {})
2267
- .n("WorkDocsClient", "GetDocumentVersionCommand")
2268
- .sc(GetDocumentVersion$)
2269
- .build() {
2270
- }
2271
-
2272
- class GetFolderCommand extends Command
2273
- .classBuilder()
2274
- .ep(commonParams)
2275
- .m(function (Command, cs, config, o) {
2276
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2277
- })
2278
- .s("AWSGorillaBoyService", "GetFolder", {})
2279
- .n("WorkDocsClient", "GetFolderCommand")
2280
- .sc(GetFolder$)
2281
- .build() {
2282
- }
2283
-
2284
- class GetFolderPathCommand extends Command
2285
- .classBuilder()
2286
- .ep(commonParams)
2287
- .m(function (Command, cs, config, o) {
2288
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2289
- })
2290
- .s("AWSGorillaBoyService", "GetFolderPath", {})
2291
- .n("WorkDocsClient", "GetFolderPathCommand")
2292
- .sc(GetFolderPath$)
2293
- .build() {
2294
- }
2295
-
2296
- class GetResourcesCommand extends Command
2297
- .classBuilder()
2298
- .ep(commonParams)
2299
- .m(function (Command, cs, config, o) {
2300
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2301
- })
2302
- .s("AWSGorillaBoyService", "GetResources", {})
2303
- .n("WorkDocsClient", "GetResourcesCommand")
2304
- .sc(GetResources$)
2305
- .build() {
2306
- }
2307
-
2308
- class InitiateDocumentVersionUploadCommand extends Command
2309
- .classBuilder()
2310
- .ep(commonParams)
2311
- .m(function (Command, cs, config, o) {
2312
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2313
- })
2314
- .s("AWSGorillaBoyService", "InitiateDocumentVersionUpload", {})
2315
- .n("WorkDocsClient", "InitiateDocumentVersionUploadCommand")
2316
- .sc(InitiateDocumentVersionUpload$)
2317
- .build() {
2318
- }
2319
-
2320
- class RemoveAllResourcePermissionsCommand extends Command
2321
- .classBuilder()
2322
- .ep(commonParams)
2323
- .m(function (Command, cs, config, o) {
2324
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2325
- })
2326
- .s("AWSGorillaBoyService", "RemoveAllResourcePermissions", {})
2327
- .n("WorkDocsClient", "RemoveAllResourcePermissionsCommand")
2328
- .sc(RemoveAllResourcePermissions$)
2329
- .build() {
2330
- }
2331
-
2332
- class RemoveResourcePermissionCommand extends Command
2333
- .classBuilder()
2334
- .ep(commonParams)
2335
- .m(function (Command, cs, config, o) {
2336
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2337
- })
2338
- .s("AWSGorillaBoyService", "RemoveResourcePermission", {})
2339
- .n("WorkDocsClient", "RemoveResourcePermissionCommand")
2340
- .sc(RemoveResourcePermission$)
2341
- .build() {
2342
- }
2343
-
2344
- class RestoreDocumentVersionsCommand extends Command
2345
- .classBuilder()
2346
- .ep(commonParams)
2347
- .m(function (Command, cs, config, o) {
2348
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2349
- })
2350
- .s("AWSGorillaBoyService", "RestoreDocumentVersions", {})
2351
- .n("WorkDocsClient", "RestoreDocumentVersionsCommand")
2352
- .sc(RestoreDocumentVersions$)
2353
- .build() {
2354
- }
2355
-
2356
- class SearchResourcesCommand extends Command
2357
- .classBuilder()
2358
- .ep(commonParams)
2359
- .m(function (Command, cs, config, o) {
2360
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2361
- })
2362
- .s("AWSGorillaBoyService", "SearchResources", {})
2363
- .n("WorkDocsClient", "SearchResourcesCommand")
2364
- .sc(SearchResources$)
2365
- .build() {
2366
- }
2367
-
2368
- class UpdateDocumentCommand extends Command
2369
- .classBuilder()
2370
- .ep(commonParams)
2371
- .m(function (Command, cs, config, o) {
2372
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2373
- })
2374
- .s("AWSGorillaBoyService", "UpdateDocument", {})
2375
- .n("WorkDocsClient", "UpdateDocumentCommand")
2376
- .sc(UpdateDocument$)
2377
- .build() {
2378
- }
2379
-
2380
- class UpdateDocumentVersionCommand extends Command
2381
- .classBuilder()
2382
- .ep(commonParams)
2383
- .m(function (Command, cs, config, o) {
2384
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2385
- })
2386
- .s("AWSGorillaBoyService", "UpdateDocumentVersion", {})
2387
- .n("WorkDocsClient", "UpdateDocumentVersionCommand")
2388
- .sc(UpdateDocumentVersion$)
2389
- .build() {
2390
- }
2391
-
2392
- class UpdateFolderCommand extends Command
2393
- .classBuilder()
2394
- .ep(commonParams)
2395
- .m(function (Command, cs, config, o) {
2396
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2397
- })
2398
- .s("AWSGorillaBoyService", "UpdateFolder", {})
2399
- .n("WorkDocsClient", "UpdateFolderCommand")
2400
- .sc(UpdateFolder$)
2401
- .build() {
2402
- }
2403
-
2404
- class UpdateUserCommand extends Command
2405
- .classBuilder()
2406
- .ep(commonParams)
2407
- .m(function (Command, cs, config, o) {
2408
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2409
- })
2410
- .s("AWSGorillaBoyService", "UpdateUser", {})
2411
- .n("WorkDocsClient", "UpdateUserCommand")
2412
- .sc(UpdateUser$)
2413
- .build() {
1890
+ const command = makeBuilder(commonParams, "AWSGorillaBoyService", "WorkDocsClient", getEndpointPlugin);
1891
+ const _ep0 = {};
1892
+ const _mw0 = (Command, cs, config, o) => [];
1893
+
1894
+ class AbortDocumentVersionUploadCommand extends command(_ep0, _mw0, "AbortDocumentVersionUpload", AbortDocumentVersionUpload$) {
1895
+ }
1896
+
1897
+ class ActivateUserCommand extends command(_ep0, _mw0, "ActivateUser", ActivateUser$) {
1898
+ }
1899
+
1900
+ class AddResourcePermissionsCommand extends command(_ep0, _mw0, "AddResourcePermissions", AddResourcePermissions$) {
1901
+ }
1902
+
1903
+ class CreateCommentCommand extends command(_ep0, _mw0, "CreateComment", CreateComment$) {
1904
+ }
1905
+
1906
+ class CreateCustomMetadataCommand extends command(_ep0, _mw0, "CreateCustomMetadata", CreateCustomMetadata$) {
1907
+ }
1908
+
1909
+ class CreateFolderCommand extends command(_ep0, _mw0, "CreateFolder", CreateFolder$) {
1910
+ }
1911
+
1912
+ class CreateLabelsCommand extends command(_ep0, _mw0, "CreateLabels", CreateLabels$) {
1913
+ }
1914
+
1915
+ class CreateNotificationSubscriptionCommand extends command(_ep0, _mw0, "CreateNotificationSubscription", CreateNotificationSubscription$) {
1916
+ }
1917
+
1918
+ class CreateUserCommand extends command(_ep0, _mw0, "CreateUser", CreateUser$) {
1919
+ }
1920
+
1921
+ class DeactivateUserCommand extends command(_ep0, _mw0, "DeactivateUser", DeactivateUser$) {
1922
+ }
1923
+
1924
+ class DeleteCommentCommand extends command(_ep0, _mw0, "DeleteComment", DeleteComment$) {
1925
+ }
1926
+
1927
+ class DeleteCustomMetadataCommand extends command(_ep0, _mw0, "DeleteCustomMetadata", DeleteCustomMetadata$) {
1928
+ }
1929
+
1930
+ class DeleteDocumentCommand extends command(_ep0, _mw0, "DeleteDocument", DeleteDocument$) {
1931
+ }
1932
+
1933
+ class DeleteDocumentVersionCommand extends command(_ep0, _mw0, "DeleteDocumentVersion", DeleteDocumentVersion$) {
1934
+ }
1935
+
1936
+ class DeleteFolderCommand extends command(_ep0, _mw0, "DeleteFolder", DeleteFolder$) {
1937
+ }
1938
+
1939
+ class DeleteFolderContentsCommand extends command(_ep0, _mw0, "DeleteFolderContents", DeleteFolderContents$) {
1940
+ }
1941
+
1942
+ class DeleteLabelsCommand extends command(_ep0, _mw0, "DeleteLabels", DeleteLabels$) {
1943
+ }
1944
+
1945
+ class DeleteNotificationSubscriptionCommand extends command(_ep0, _mw0, "DeleteNotificationSubscription", DeleteNotificationSubscription$) {
1946
+ }
1947
+
1948
+ class DeleteUserCommand extends command(_ep0, _mw0, "DeleteUser", DeleteUser$) {
1949
+ }
1950
+
1951
+ class DescribeActivitiesCommand extends command(_ep0, _mw0, "DescribeActivities", DescribeActivities$) {
1952
+ }
1953
+
1954
+ class DescribeCommentsCommand extends command(_ep0, _mw0, "DescribeComments", DescribeComments$) {
1955
+ }
1956
+
1957
+ class DescribeDocumentVersionsCommand extends command(_ep0, _mw0, "DescribeDocumentVersions", DescribeDocumentVersions$) {
1958
+ }
1959
+
1960
+ class DescribeFolderContentsCommand extends command(_ep0, _mw0, "DescribeFolderContents", DescribeFolderContents$) {
1961
+ }
1962
+
1963
+ class DescribeGroupsCommand extends command(_ep0, _mw0, "DescribeGroups", DescribeGroups$) {
1964
+ }
1965
+
1966
+ class DescribeNotificationSubscriptionsCommand extends command(_ep0, _mw0, "DescribeNotificationSubscriptions", DescribeNotificationSubscriptions$) {
1967
+ }
1968
+
1969
+ class DescribeResourcePermissionsCommand extends command(_ep0, _mw0, "DescribeResourcePermissions", DescribeResourcePermissions$) {
1970
+ }
1971
+
1972
+ class DescribeRootFoldersCommand extends command(_ep0, _mw0, "DescribeRootFolders", DescribeRootFolders$) {
1973
+ }
1974
+
1975
+ class DescribeUsersCommand extends command(_ep0, _mw0, "DescribeUsers", DescribeUsers$) {
1976
+ }
1977
+
1978
+ class GetCurrentUserCommand extends command(_ep0, _mw0, "GetCurrentUser", GetCurrentUser$) {
1979
+ }
1980
+
1981
+ class GetDocumentCommand extends command(_ep0, _mw0, "GetDocument", GetDocument$) {
1982
+ }
1983
+
1984
+ class GetDocumentPathCommand extends command(_ep0, _mw0, "GetDocumentPath", GetDocumentPath$) {
1985
+ }
1986
+
1987
+ class GetDocumentVersionCommand extends command(_ep0, _mw0, "GetDocumentVersion", GetDocumentVersion$) {
1988
+ }
1989
+
1990
+ class GetFolderCommand extends command(_ep0, _mw0, "GetFolder", GetFolder$) {
1991
+ }
1992
+
1993
+ class GetFolderPathCommand extends command(_ep0, _mw0, "GetFolderPath", GetFolderPath$) {
1994
+ }
1995
+
1996
+ class GetResourcesCommand extends command(_ep0, _mw0, "GetResources", GetResources$) {
1997
+ }
1998
+
1999
+ class InitiateDocumentVersionUploadCommand extends command(_ep0, _mw0, "InitiateDocumentVersionUpload", InitiateDocumentVersionUpload$) {
2000
+ }
2001
+
2002
+ class RemoveAllResourcePermissionsCommand extends command(_ep0, _mw0, "RemoveAllResourcePermissions", RemoveAllResourcePermissions$) {
2003
+ }
2004
+
2005
+ class RemoveResourcePermissionCommand extends command(_ep0, _mw0, "RemoveResourcePermission", RemoveResourcePermission$) {
2006
+ }
2007
+
2008
+ class RestoreDocumentVersionsCommand extends command(_ep0, _mw0, "RestoreDocumentVersions", RestoreDocumentVersions$) {
2009
+ }
2010
+
2011
+ class SearchResourcesCommand extends command(_ep0, _mw0, "SearchResources", SearchResources$) {
2012
+ }
2013
+
2014
+ class UpdateDocumentCommand extends command(_ep0, _mw0, "UpdateDocument", UpdateDocument$) {
2015
+ }
2016
+
2017
+ class UpdateDocumentVersionCommand extends command(_ep0, _mw0, "UpdateDocumentVersion", UpdateDocumentVersion$) {
2018
+ }
2019
+
2020
+ class UpdateFolderCommand extends command(_ep0, _mw0, "UpdateFolder", UpdateFolder$) {
2021
+ }
2022
+
2023
+ class UpdateUserCommand extends command(_ep0, _mw0, "UpdateUser", UpdateUser$) {
2414
2024
  }
2415
2025
 
2416
2026
  const paginateDescribeActivities = createPaginator(WorkDocsClient, DescribeActivitiesCommand, "Marker", "Marker", "Limit");