@aws-sdk/client-workdocs 3.193.0 → 3.196.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 (196) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/WorkDocsClient.js +11 -8
  3. package/dist-cjs/commands/AbortDocumentVersionUploadCommand.js +10 -0
  4. package/dist-cjs/commands/ActivateUserCommand.js +10 -0
  5. package/dist-cjs/commands/AddResourcePermissionsCommand.js +10 -0
  6. package/dist-cjs/commands/CreateCommentCommand.js +10 -0
  7. package/dist-cjs/commands/CreateCustomMetadataCommand.js +10 -0
  8. package/dist-cjs/commands/CreateFolderCommand.js +10 -0
  9. package/dist-cjs/commands/CreateLabelsCommand.js +10 -0
  10. package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js +10 -0
  11. package/dist-cjs/commands/CreateUserCommand.js +10 -0
  12. package/dist-cjs/commands/DeactivateUserCommand.js +10 -0
  13. package/dist-cjs/commands/DeleteCommentCommand.js +10 -0
  14. package/dist-cjs/commands/DeleteCustomMetadataCommand.js +10 -0
  15. package/dist-cjs/commands/DeleteDocumentCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteFolderCommand.js +10 -0
  17. package/dist-cjs/commands/DeleteFolderContentsCommand.js +10 -0
  18. package/dist-cjs/commands/DeleteLabelsCommand.js +10 -0
  19. package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js +10 -0
  20. package/dist-cjs/commands/DeleteUserCommand.js +10 -0
  21. package/dist-cjs/commands/DescribeActivitiesCommand.js +10 -0
  22. package/dist-cjs/commands/DescribeCommentsCommand.js +10 -0
  23. package/dist-cjs/commands/DescribeDocumentVersionsCommand.js +10 -0
  24. package/dist-cjs/commands/DescribeFolderContentsCommand.js +10 -0
  25. package/dist-cjs/commands/DescribeGroupsCommand.js +10 -0
  26. package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js +10 -0
  27. package/dist-cjs/commands/DescribeResourcePermissionsCommand.js +10 -0
  28. package/dist-cjs/commands/DescribeRootFoldersCommand.js +10 -0
  29. package/dist-cjs/commands/DescribeUsersCommand.js +10 -0
  30. package/dist-cjs/commands/GetCurrentUserCommand.js +10 -0
  31. package/dist-cjs/commands/GetDocumentCommand.js +10 -0
  32. package/dist-cjs/commands/GetDocumentPathCommand.js +10 -0
  33. package/dist-cjs/commands/GetDocumentVersionCommand.js +10 -0
  34. package/dist-cjs/commands/GetFolderCommand.js +10 -0
  35. package/dist-cjs/commands/GetFolderPathCommand.js +10 -0
  36. package/dist-cjs/commands/GetResourcesCommand.js +10 -0
  37. package/dist-cjs/commands/InitiateDocumentVersionUploadCommand.js +10 -0
  38. package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js +10 -0
  39. package/dist-cjs/commands/RemoveResourcePermissionCommand.js +10 -0
  40. package/dist-cjs/commands/UpdateDocumentCommand.js +10 -0
  41. package/dist-cjs/commands/UpdateDocumentVersionCommand.js +10 -0
  42. package/dist-cjs/commands/UpdateFolderCommand.js +10 -0
  43. package/dist-cjs/commands/UpdateUserCommand.js +10 -0
  44. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  45. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  46. package/dist-cjs/endpoint/ruleset.js +318 -0
  47. package/dist-cjs/runtimeConfig.shared.js +3 -3
  48. package/dist-es/WorkDocsClient.js +12 -9
  49. package/dist-es/commands/AbortDocumentVersionUploadCommand.js +10 -0
  50. package/dist-es/commands/ActivateUserCommand.js +10 -0
  51. package/dist-es/commands/AddResourcePermissionsCommand.js +10 -0
  52. package/dist-es/commands/CreateCommentCommand.js +10 -0
  53. package/dist-es/commands/CreateCustomMetadataCommand.js +10 -0
  54. package/dist-es/commands/CreateFolderCommand.js +10 -0
  55. package/dist-es/commands/CreateLabelsCommand.js +10 -0
  56. package/dist-es/commands/CreateNotificationSubscriptionCommand.js +10 -0
  57. package/dist-es/commands/CreateUserCommand.js +10 -0
  58. package/dist-es/commands/DeactivateUserCommand.js +10 -0
  59. package/dist-es/commands/DeleteCommentCommand.js +10 -0
  60. package/dist-es/commands/DeleteCustomMetadataCommand.js +10 -0
  61. package/dist-es/commands/DeleteDocumentCommand.js +10 -0
  62. package/dist-es/commands/DeleteFolderCommand.js +10 -0
  63. package/dist-es/commands/DeleteFolderContentsCommand.js +10 -0
  64. package/dist-es/commands/DeleteLabelsCommand.js +10 -0
  65. package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +10 -0
  66. package/dist-es/commands/DeleteUserCommand.js +10 -0
  67. package/dist-es/commands/DescribeActivitiesCommand.js +10 -0
  68. package/dist-es/commands/DescribeCommentsCommand.js +10 -0
  69. package/dist-es/commands/DescribeDocumentVersionsCommand.js +10 -0
  70. package/dist-es/commands/DescribeFolderContentsCommand.js +10 -0
  71. package/dist-es/commands/DescribeGroupsCommand.js +10 -0
  72. package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +10 -0
  73. package/dist-es/commands/DescribeResourcePermissionsCommand.js +10 -0
  74. package/dist-es/commands/DescribeRootFoldersCommand.js +10 -0
  75. package/dist-es/commands/DescribeUsersCommand.js +10 -0
  76. package/dist-es/commands/GetCurrentUserCommand.js +10 -0
  77. package/dist-es/commands/GetDocumentCommand.js +10 -0
  78. package/dist-es/commands/GetDocumentPathCommand.js +10 -0
  79. package/dist-es/commands/GetDocumentVersionCommand.js +10 -0
  80. package/dist-es/commands/GetFolderCommand.js +10 -0
  81. package/dist-es/commands/GetFolderPathCommand.js +10 -0
  82. package/dist-es/commands/GetResourcesCommand.js +10 -0
  83. package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +10 -0
  84. package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +10 -0
  85. package/dist-es/commands/RemoveResourcePermissionCommand.js +10 -0
  86. package/dist-es/commands/UpdateDocumentCommand.js +10 -0
  87. package/dist-es/commands/UpdateDocumentVersionCommand.js +10 -0
  88. package/dist-es/commands/UpdateFolderCommand.js +10 -0
  89. package/dist-es/commands/UpdateUserCommand.js +10 -0
  90. package/dist-es/endpoint/EndpointParameters.js +8 -0
  91. package/dist-es/endpoint/endpointResolver.js +8 -0
  92. package/dist-es/endpoint/ruleset.js +315 -0
  93. package/dist-es/runtimeConfig.shared.js +2 -2
  94. package/dist-types/WorkDocsClient.d.ts +6 -9
  95. package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +2 -0
  96. package/dist-types/commands/ActivateUserCommand.d.ts +2 -0
  97. package/dist-types/commands/AddResourcePermissionsCommand.d.ts +2 -0
  98. package/dist-types/commands/CreateCommentCommand.d.ts +2 -0
  99. package/dist-types/commands/CreateCustomMetadataCommand.d.ts +2 -0
  100. package/dist-types/commands/CreateFolderCommand.d.ts +2 -0
  101. package/dist-types/commands/CreateLabelsCommand.d.ts +2 -0
  102. package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +2 -0
  103. package/dist-types/commands/CreateUserCommand.d.ts +2 -0
  104. package/dist-types/commands/DeactivateUserCommand.d.ts +2 -0
  105. package/dist-types/commands/DeleteCommentCommand.d.ts +2 -0
  106. package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +2 -0
  107. package/dist-types/commands/DeleteDocumentCommand.d.ts +2 -0
  108. package/dist-types/commands/DeleteFolderCommand.d.ts +2 -0
  109. package/dist-types/commands/DeleteFolderContentsCommand.d.ts +2 -0
  110. package/dist-types/commands/DeleteLabelsCommand.d.ts +2 -0
  111. package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +2 -0
  112. package/dist-types/commands/DeleteUserCommand.d.ts +2 -0
  113. package/dist-types/commands/DescribeActivitiesCommand.d.ts +2 -0
  114. package/dist-types/commands/DescribeCommentsCommand.d.ts +2 -0
  115. package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +2 -0
  116. package/dist-types/commands/DescribeFolderContentsCommand.d.ts +2 -0
  117. package/dist-types/commands/DescribeGroupsCommand.d.ts +2 -0
  118. package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +2 -0
  119. package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +2 -0
  120. package/dist-types/commands/DescribeRootFoldersCommand.d.ts +2 -0
  121. package/dist-types/commands/DescribeUsersCommand.d.ts +2 -0
  122. package/dist-types/commands/GetCurrentUserCommand.d.ts +2 -0
  123. package/dist-types/commands/GetDocumentCommand.d.ts +2 -0
  124. package/dist-types/commands/GetDocumentPathCommand.d.ts +2 -0
  125. package/dist-types/commands/GetDocumentVersionCommand.d.ts +2 -0
  126. package/dist-types/commands/GetFolderCommand.d.ts +2 -0
  127. package/dist-types/commands/GetFolderPathCommand.d.ts +2 -0
  128. package/dist-types/commands/GetResourcesCommand.d.ts +2 -0
  129. package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +2 -0
  130. package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +2 -0
  131. package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +2 -0
  132. package/dist-types/commands/UpdateDocumentCommand.d.ts +2 -0
  133. package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +2 -0
  134. package/dist-types/commands/UpdateFolderCommand.d.ts +2 -0
  135. package/dist-types/commands/UpdateUserCommand.d.ts +2 -0
  136. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  137. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  138. package/dist-types/endpoint/ruleset.d.ts +2 -0
  139. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  140. package/dist-types/runtimeConfig.d.ts +4 -2
  141. package/dist-types/runtimeConfig.native.d.ts +4 -2
  142. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  143. package/dist-types/ts3.4/WorkDocsClient.d.ts +15 -8
  144. package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +2 -0
  145. package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +2 -0
  146. package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +2 -0
  147. package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +2 -0
  148. package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +2 -0
  149. package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +2 -0
  150. package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +2 -0
  151. package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +2 -0
  152. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -0
  153. package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +2 -0
  154. package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +2 -0
  155. package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +2 -0
  156. package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +2 -0
  157. package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +2 -0
  158. package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +2 -0
  159. package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +2 -0
  160. package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +2 -0
  161. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
  162. package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +2 -0
  163. package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +2 -0
  164. package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +2 -0
  165. package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +2 -0
  166. package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +2 -0
  167. package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +2 -0
  168. package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +2 -0
  169. package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +2 -0
  170. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +2 -0
  171. package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +2 -0
  172. package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +2 -0
  173. package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +2 -0
  174. package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +2 -0
  175. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +2 -0
  176. package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +2 -0
  177. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +2 -0
  178. package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +2 -0
  179. package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +2 -0
  180. package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +2 -0
  181. package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +2 -0
  182. package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +2 -0
  183. package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +2 -0
  184. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -0
  185. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  186. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  187. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  188. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  189. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  190. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  191. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  192. package/package.json +5 -3
  193. package/dist-cjs/endpoints.js +0 -151
  194. package/dist-es/endpoints.js +0 -147
  195. package/dist-types/endpoints.d.ts +0 -2
  196. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DeleteFolderContentsRequest } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface DeleteFolderContentsCommandOutput extends __MetadataBearer {
25
26
  */
26
27
  export declare class DeleteFolderContentsCommand extends $Command<DeleteFolderContentsCommandInput, DeleteFolderContentsCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: DeleteFolderContentsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteFolderContentsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DeleteLabelsRequest, DeleteLabelsResponse } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface DeleteLabelsCommandOutput extends DeleteLabelsResponse, __Metad
25
26
  */
26
27
  export declare class DeleteLabelsCommand extends $Command<DeleteLabelsCommandInput, DeleteLabelsCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: DeleteLabelsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteLabelsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DeleteNotificationSubscriptionRequest } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface DeleteNotificationSubscriptionCommandOutput extends __MetadataB
25
26
  */
26
27
  export declare class DeleteNotificationSubscriptionCommand extends $Command<DeleteNotificationSubscriptionCommandInput, DeleteNotificationSubscriptionCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: DeleteNotificationSubscriptionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteNotificationSubscriptionCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DeleteUserRequest } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface DeleteUserCommandOutput extends __MetadataBearer {
25
26
  */
26
27
  export declare class DeleteUserCommand extends $Command<DeleteUserCommandInput, DeleteUserCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: DeleteUserCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteUserCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DescribeActivitiesRequest, DescribeActivitiesResponse } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface DescribeActivitiesCommandOutput extends DescribeActivitiesRespo
25
26
  */
26
27
  export declare class DescribeActivitiesCommand extends $Command<DescribeActivitiesCommandInput, DescribeActivitiesCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: DescribeActivitiesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeActivitiesCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DescribeCommentsRequest, DescribeCommentsResponse } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface DescribeCommentsCommandOutput extends DescribeCommentsResponse,
25
26
  */
26
27
  export declare class DescribeCommentsCommand extends $Command<DescribeCommentsCommandInput, DescribeCommentsCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: DescribeCommentsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeCommentsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DescribeDocumentVersionsRequest, DescribeDocumentVersionsResponse } from "../models/models_0";
@@ -26,6 +27,7 @@ export interface DescribeDocumentVersionsCommandOutput extends DescribeDocumentV
26
27
  */
27
28
  export declare class DescribeDocumentVersionsCommand extends $Command<DescribeDocumentVersionsCommandInput, DescribeDocumentVersionsCommandOutput, WorkDocsClientResolvedConfig> {
28
29
  readonly input: DescribeDocumentVersionsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: DescribeDocumentVersionsCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DescribeFolderContentsRequest, DescribeFolderContentsResponse } from "../models/models_0";
@@ -30,6 +31,7 @@ export interface DescribeFolderContentsCommandOutput extends DescribeFolderConte
30
31
  */
31
32
  export declare class DescribeFolderContentsCommand extends $Command<DescribeFolderContentsCommandInput, DescribeFolderContentsCommandOutput, WorkDocsClientResolvedConfig> {
32
33
  readonly input: DescribeFolderContentsCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
35
  constructor(input: DescribeFolderContentsCommandInput);
34
36
  /**
35
37
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DescribeGroupsRequest, DescribeGroupsResponse } from "../models/models_0";
@@ -26,6 +27,7 @@ export interface DescribeGroupsCommandOutput extends DescribeGroupsResponse, __M
26
27
  */
27
28
  export declare class DescribeGroupsCommand extends $Command<DescribeGroupsCommandInput, DescribeGroupsCommandOutput, WorkDocsClientResolvedConfig> {
28
29
  readonly input: DescribeGroupsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: DescribeGroupsCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DescribeNotificationSubscriptionsRequest, DescribeNotificationSubscriptionsResponse } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface DescribeNotificationSubscriptionsCommandOutput extends Describe
25
26
  */
26
27
  export declare class DescribeNotificationSubscriptionsCommand extends $Command<DescribeNotificationSubscriptionsCommandInput, DescribeNotificationSubscriptionsCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: DescribeNotificationSubscriptionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeNotificationSubscriptionsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DescribeResourcePermissionsRequest, DescribeResourcePermissionsResponse } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface DescribeResourcePermissionsCommandOutput extends DescribeResour
25
26
  */
26
27
  export declare class DescribeResourcePermissionsCommand extends $Command<DescribeResourcePermissionsCommandInput, DescribeResourcePermissionsCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: DescribeResourcePermissionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeResourcePermissionsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DescribeRootFoldersRequest, DescribeRootFoldersResponse } from "../models/models_0";
@@ -33,6 +34,7 @@ export interface DescribeRootFoldersCommandOutput extends DescribeRootFoldersRes
33
34
  */
34
35
  export declare class DescribeRootFoldersCommand extends $Command<DescribeRootFoldersCommandInput, DescribeRootFoldersCommandOutput, WorkDocsClientResolvedConfig> {
35
36
  readonly input: DescribeRootFoldersCommandInput;
37
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
36
38
  constructor(input: DescribeRootFoldersCommandInput);
37
39
  /**
38
40
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { DescribeUsersRequest, DescribeUsersResponse } from "../models/models_0";
@@ -29,6 +30,7 @@ export interface DescribeUsersCommandOutput extends DescribeUsersResponse, __Met
29
30
  */
30
31
  export declare class DescribeUsersCommand extends $Command<DescribeUsersCommandInput, DescribeUsersCommandOutput, WorkDocsClientResolvedConfig> {
31
32
  readonly input: DescribeUsersCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: DescribeUsersCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { GetCurrentUserRequest, GetCurrentUserResponse } from "../models/models_0";
@@ -31,6 +32,7 @@ export interface GetCurrentUserCommandOutput extends GetCurrentUserResponse, __M
31
32
  */
32
33
  export declare class GetCurrentUserCommand extends $Command<GetCurrentUserCommandInput, GetCurrentUserCommandOutput, WorkDocsClientResolvedConfig> {
33
34
  readonly input: GetCurrentUserCommandInput;
35
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
34
36
  constructor(input: GetCurrentUserCommandInput);
35
37
  /**
36
38
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { GetDocumentRequest, GetDocumentResponse } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface GetDocumentCommandOutput extends GetDocumentResponse, __Metadat
25
26
  */
26
27
  export declare class GetDocumentCommand extends $Command<GetDocumentCommandInput, GetDocumentCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: GetDocumentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetDocumentCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { GetDocumentPathRequest, GetDocumentPathResponse } from "../models/models_0";
@@ -30,6 +31,7 @@ export interface GetDocumentPathCommandOutput extends GetDocumentPathResponse, _
30
31
  */
31
32
  export declare class GetDocumentPathCommand extends $Command<GetDocumentPathCommandInput, GetDocumentPathCommandOutput, WorkDocsClientResolvedConfig> {
32
33
  readonly input: GetDocumentPathCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
35
  constructor(input: GetDocumentPathCommandInput);
34
36
  /**
35
37
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { GetDocumentVersionRequest, GetDocumentVersionResponse } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface GetDocumentVersionCommandOutput extends GetDocumentVersionRespo
25
26
  */
26
27
  export declare class GetDocumentVersionCommand extends $Command<GetDocumentVersionCommandInput, GetDocumentVersionCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: GetDocumentVersionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetDocumentVersionCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { GetFolderRequest, GetFolderResponse } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface GetFolderCommandOutput extends GetFolderResponse, __MetadataBea
25
26
  */
26
27
  export declare class GetFolderCommand extends $Command<GetFolderCommandInput, GetFolderCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: GetFolderCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetFolderCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { GetFolderPathRequest, GetFolderPathResponse } from "../models/models_0";
@@ -30,6 +31,7 @@ export interface GetFolderPathCommandOutput extends GetFolderPathResponse, __Met
30
31
  */
31
32
  export declare class GetFolderPathCommand extends $Command<GetFolderPathCommandInput, GetFolderPathCommandOutput, WorkDocsClientResolvedConfig> {
32
33
  readonly input: GetFolderPathCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
35
  constructor(input: GetFolderPathCommandInput);
34
36
  /**
35
37
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { GetResourcesRequest, GetResourcesResponse } from "../models/models_0";
@@ -26,6 +27,7 @@ export interface GetResourcesCommandOutput extends GetResourcesResponse, __Metad
26
27
  */
27
28
  export declare class GetResourcesCommand extends $Command<GetResourcesCommandInput, GetResourcesCommandOutput, WorkDocsClientResolvedConfig> {
28
29
  readonly input: GetResourcesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: GetResourcesCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { InitiateDocumentVersionUploadRequest, InitiateDocumentVersionUploadResponse } from "../models/models_0";
@@ -30,6 +31,7 @@ export interface InitiateDocumentVersionUploadCommandOutput extends InitiateDocu
30
31
  */
31
32
  export declare class InitiateDocumentVersionUploadCommand extends $Command<InitiateDocumentVersionUploadCommandInput, InitiateDocumentVersionUploadCommandOutput, WorkDocsClientResolvedConfig> {
32
33
  readonly input: InitiateDocumentVersionUploadCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
35
  constructor(input: InitiateDocumentVersionUploadCommandInput);
34
36
  /**
35
37
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { RemoveAllResourcePermissionsRequest } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface RemoveAllResourcePermissionsCommandOutput extends __MetadataBea
25
26
  */
26
27
  export declare class RemoveAllResourcePermissionsCommand extends $Command<RemoveAllResourcePermissionsCommandInput, RemoveAllResourcePermissionsCommandOutput, WorkDocsClientResolvedConfig> {
27
28
  readonly input: RemoveAllResourcePermissionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RemoveAllResourcePermissionsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { RemoveResourcePermissionRequest } from "../models/models_0";
@@ -26,6 +27,7 @@ export interface RemoveResourcePermissionCommandOutput extends __MetadataBearer
26
27
  */
27
28
  export declare class RemoveResourcePermissionCommand extends $Command<RemoveResourcePermissionCommandInput, RemoveResourcePermissionCommandOutput, WorkDocsClientResolvedConfig> {
28
29
  readonly input: RemoveResourcePermissionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: RemoveResourcePermissionCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UpdateDocumentRequest } from "../models/models_0";
@@ -26,6 +27,7 @@ export interface UpdateDocumentCommandOutput extends __MetadataBearer {
26
27
  */
27
28
  export declare class UpdateDocumentCommand extends $Command<UpdateDocumentCommandInput, UpdateDocumentCommandOutput, WorkDocsClientResolvedConfig> {
28
29
  readonly input: UpdateDocumentCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: UpdateDocumentCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UpdateDocumentVersionRequest } from "../models/models_0";
@@ -28,6 +29,7 @@ export interface UpdateDocumentVersionCommandOutput extends __MetadataBearer {
28
29
  */
29
30
  export declare class UpdateDocumentVersionCommand extends $Command<UpdateDocumentVersionCommandInput, UpdateDocumentVersionCommandOutput, WorkDocsClientResolvedConfig> {
30
31
  readonly input: UpdateDocumentVersionCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
33
  constructor(input: UpdateDocumentVersionCommandInput);
32
34
  /**
33
35
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UpdateFolderRequest } from "../models/models_0";
@@ -26,6 +27,7 @@ export interface UpdateFolderCommandOutput extends __MetadataBearer {
26
27
  */
27
28
  export declare class UpdateFolderCommand extends $Command<UpdateFolderCommandInput, UpdateFolderCommandOutput, WorkDocsClientResolvedConfig> {
28
29
  readonly input: UpdateFolderCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: UpdateFolderCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UpdateUserRequest, UpdateUserResponse } from "../models/models_0";
@@ -26,6 +27,7 @@ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataB
26
27
  */
27
28
  export declare class UpdateUserCommand extends $Command<UpdateUserCommandInput, UpdateUserCommandOutput, WorkDocsClientResolvedConfig> {
28
29
  readonly input: UpdateUserCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: UpdateUserCommandInput);
30
32
  /**
31
33
  * @internal
@@ -0,0 +1,19 @@
1
+ import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
23
23
  serviceId: string;
24
24
  region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
26
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
30
32
  tls?: boolean | undefined;
31
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
34
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -6,8 +6,10 @@ import { WorkDocsClientConfig } from "./WorkDocsClient";
6
6
  export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
7
7
  apiVersion: string;
8
8
  disableHostPrefix: boolean;
9
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
+ logger?: __Logger | undefined;
11
+ }) => import("@aws-sdk/types").EndpointV2;
9
12
  logger: __Logger;
10
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
13
  serviceId: string;
12
14
  urlParser: import("@aws-sdk/types").UrlParser;
13
15
  };
@@ -1,9 +1,11 @@
1
1
  import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
2
  RegionInputConfig,
5
3
  RegionResolvedConfig,
6
4
  } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
7
9
  import {
8
10
  HostHeaderInputConfig,
9
11
  HostHeaderResolvedConfig,
@@ -37,7 +39,6 @@ import {
37
39
  Logger as __Logger,
38
40
  Provider as __Provider,
39
41
  Provider,
40
- RegionInfoProvider,
41
42
  StreamCollector as __StreamCollector,
42
43
  UrlParser as __UrlParser,
43
44
  UserAgent as __UserAgent,
@@ -206,6 +207,11 @@ import {
206
207
  UpdateUserCommandInput,
207
208
  UpdateUserCommandOutput,
208
209
  } from "./commands/UpdateUserCommand";
210
+ import {
211
+ ClientInputEndpointParameters,
212
+ ClientResolvedEndpointParameters,
213
+ EndpointParameters,
214
+ } from "./endpoint/EndpointParameters";
209
215
  export declare type ServiceInputTypes =
210
216
  | AbortDocumentVersionUploadCommandInput
211
217
  | ActivateUserCommandInput
@@ -311,7 +317,6 @@ export interface ClientDefaults
311
317
  serviceId?: string;
312
318
  region?: string | __Provider<string>;
313
319
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
314
- regionInfoProvider?: RegionInfoProvider;
315
320
  defaultUserAgentProvider?: Provider<__UserAgent>;
316
321
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
317
322
  }
@@ -320,21 +325,23 @@ declare type WorkDocsClientConfigType = Partial<
320
325
  > &
321
326
  ClientDefaults &
322
327
  RegionInputConfig &
323
- EndpointsInputConfig &
328
+ EndpointInputConfig<EndpointParameters> &
324
329
  RetryInputConfig &
325
330
  HostHeaderInputConfig &
326
331
  AwsAuthInputConfig &
327
- UserAgentInputConfig;
332
+ UserAgentInputConfig &
333
+ ClientInputEndpointParameters;
328
334
  export interface WorkDocsClientConfig extends WorkDocsClientConfigType {}
329
335
  declare type WorkDocsClientResolvedConfigType =
330
336
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
331
337
  Required<ClientDefaults> &
332
338
  RegionResolvedConfig &
333
- EndpointsResolvedConfig &
339
+ EndpointResolvedConfig<EndpointParameters> &
334
340
  RetryResolvedConfig &
335
341
  HostHeaderResolvedConfig &
336
342
  AwsAuthResolvedConfig &
337
- UserAgentResolvedConfig;
343
+ UserAgentResolvedConfig &
344
+ ClientResolvedEndpointParameters;
338
345
  export interface WorkDocsClientResolvedConfig
339
346
  extends WorkDocsClientResolvedConfigType {}
340
347
  export declare class WorkDocsClient extends __Client<
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class AbortDocumentVersionUploadCommand extends $Command<
21
22
  WorkDocsClientResolvedConfig
22
23
  > {
23
24
  readonly input: AbortDocumentVersionUploadCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: AbortDocumentVersionUploadCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ActivateUserCommand extends $Command<
21
22
  WorkDocsClientResolvedConfig
22
23
  > {
23
24
  readonly input: ActivateUserCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ActivateUserCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class AddResourcePermissionsCommand extends $Command<
25
26
  WorkDocsClientResolvedConfig
26
27
  > {
27
28
  readonly input: AddResourcePermissionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: AddResourcePermissionsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class CreateCommentCommand extends $Command<
24
25
  WorkDocsClientResolvedConfig
25
26
  > {
26
27
  readonly input: CreateCommentCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: CreateCommentCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class CreateCustomMetadataCommand extends $Command<
25
26
  WorkDocsClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateCustomMetadataCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateCustomMetadataCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class CreateFolderCommand extends $Command<
21
22
  WorkDocsClientResolvedConfig
22
23
  > {
23
24
  readonly input: CreateFolderCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: CreateFolderCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,