@aws-sdk/client-workdocs 3.1137.0 → 3.1138.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -859,10 +859,10 @@ const _uIs = "userIds";
859
859
  const _v = "versionid";
860
860
  const _vI = "versionId";
861
861
  const n0 = "com.amazonaws.workdocs";
862
- const _s_registry = TypeRegistry.for(_s);
862
+ const _s_registry = new TypeRegistry(_s);
863
863
  var WorkDocsServiceException$ = [-3, _s, "WorkDocsServiceException", 0, [], []];
864
864
  _s_registry.registerError(WorkDocsServiceException$, WorkDocsServiceException);
865
- const n0_registry = TypeRegistry.for(n0);
865
+ const n0_registry = new TypeRegistry(n0);
866
866
  var ConcurrentModificationException$ = [-3, n0, _CME,
867
867
  { [_e]: _c, [_hE]: 409 },
868
868
  [_M],
@@ -365,10 +365,10 @@ const n0 = "com.amazonaws.workdocs";
365
365
  import { TypeRegistry } from "@smithy/core/schema";
366
366
  import { ConcurrentModificationException, ConflictingOperationException, CustomMetadataLimitExceededException, DeactivatingLastSystemUserException, DocumentLockedForCommentsException, DraftUploadOutOfSyncException, EntityAlreadyExistsException, EntityNotExistsException, FailedDependencyException, IllegalUserStateException, InvalidArgumentException, InvalidCommentOperationException, InvalidOperationException, InvalidPasswordException, LimitExceededException, ProhibitedStateException, RequestedEntityTooLargeException, ResourceAlreadyCheckedOutException, ServiceUnavailableException, StorageLimitExceededException, StorageLimitWillExceedException, TooManyLabelsException, TooManySubscriptionsException, UnauthorizedOperationException, UnauthorizedResourceAccessException, } from "../models/errors";
367
367
  import { WorkDocsServiceException } from "../models/WorkDocsServiceException";
368
- const _s_registry = TypeRegistry.for(_s);
368
+ const _s_registry = new TypeRegistry(_s);
369
369
  export var WorkDocsServiceException$ = [-3, _s, "WorkDocsServiceException", 0, [], []];
370
370
  _s_registry.registerError(WorkDocsServiceException$, WorkDocsServiceException);
371
- const n0_registry = TypeRegistry.for(n0);
371
+ const n0_registry = new TypeRegistry(n0);
372
372
  export var ConcurrentModificationException$ = [-3, n0, _CME,
373
373
  { [_e]: _c, [_hE]: 409 },
374
374
  [_M],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type AbortDocumentVersionUploadCommandInput, type AbortDocumentVersionUploadCommandOutput } from "./commands/AbortDocumentVersionUploadCommand";
3
3
  import { type ActivateUserCommandInput, type ActivateUserCommandOutput } from "./commands/ActivateUserCommand";
4
4
  import { type AddResourcePermissionsCommandInput, type AddResourcePermissionsCommandOutput } from "./commands/AddResourcePermissionsCommand";
@@ -44,276 +44,282 @@ import { type UpdateDocumentVersionCommandInput, type UpdateDocumentVersionComma
44
44
  import { type UpdateFolderCommandInput, type UpdateFolderCommandOutput } from "./commands/UpdateFolderCommand";
45
45
  import { type UpdateUserCommandInput, type UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
46
46
  import { WorkDocsClient } from "./WorkDocsClient";
47
+ /**
48
+ * @public
49
+ */
50
+ export interface WorkDocsRequestOptions extends __HttpHandlerOptions {
51
+ metricsRecorder?: __MetricsRecorder<unknown>;
52
+ }
47
53
  export interface WorkDocs {
48
54
  /**
49
55
  * @see {@link AbortDocumentVersionUploadCommand}
50
56
  */
51
- abortDocumentVersionUpload(args: AbortDocumentVersionUploadCommandInput, options?: __HttpHandlerOptions): Promise<AbortDocumentVersionUploadCommandOutput>;
57
+ abortDocumentVersionUpload(args: AbortDocumentVersionUploadCommandInput, options?: WorkDocsRequestOptions): Promise<AbortDocumentVersionUploadCommandOutput>;
52
58
  abortDocumentVersionUpload(args: AbortDocumentVersionUploadCommandInput, cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void): void;
53
- abortDocumentVersionUpload(args: AbortDocumentVersionUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void): void;
59
+ abortDocumentVersionUpload(args: AbortDocumentVersionUploadCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void): void;
54
60
  /**
55
61
  * @see {@link ActivateUserCommand}
56
62
  */
57
- activateUser(args: ActivateUserCommandInput, options?: __HttpHandlerOptions): Promise<ActivateUserCommandOutput>;
63
+ activateUser(args: ActivateUserCommandInput, options?: WorkDocsRequestOptions): Promise<ActivateUserCommandOutput>;
58
64
  activateUser(args: ActivateUserCommandInput, cb: (err: any, data?: ActivateUserCommandOutput) => void): void;
59
- activateUser(args: ActivateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ActivateUserCommandOutput) => void): void;
65
+ activateUser(args: ActivateUserCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: ActivateUserCommandOutput) => void): void;
60
66
  /**
61
67
  * @see {@link AddResourcePermissionsCommand}
62
68
  */
63
- addResourcePermissions(args: AddResourcePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<AddResourcePermissionsCommandOutput>;
69
+ addResourcePermissions(args: AddResourcePermissionsCommandInput, options?: WorkDocsRequestOptions): Promise<AddResourcePermissionsCommandOutput>;
64
70
  addResourcePermissions(args: AddResourcePermissionsCommandInput, cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void): void;
65
- addResourcePermissions(args: AddResourcePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void): void;
71
+ addResourcePermissions(args: AddResourcePermissionsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void): void;
66
72
  /**
67
73
  * @see {@link CreateCommentCommand}
68
74
  */
69
- createComment(args: CreateCommentCommandInput, options?: __HttpHandlerOptions): Promise<CreateCommentCommandOutput>;
75
+ createComment(args: CreateCommentCommandInput, options?: WorkDocsRequestOptions): Promise<CreateCommentCommandOutput>;
70
76
  createComment(args: CreateCommentCommandInput, cb: (err: any, data?: CreateCommentCommandOutput) => void): void;
71
- createComment(args: CreateCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCommentCommandOutput) => void): void;
77
+ createComment(args: CreateCommentCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: CreateCommentCommandOutput) => void): void;
72
78
  /**
73
79
  * @see {@link CreateCustomMetadataCommand}
74
80
  */
75
- createCustomMetadata(args: CreateCustomMetadataCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomMetadataCommandOutput>;
81
+ createCustomMetadata(args: CreateCustomMetadataCommandInput, options?: WorkDocsRequestOptions): Promise<CreateCustomMetadataCommandOutput>;
76
82
  createCustomMetadata(args: CreateCustomMetadataCommandInput, cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void): void;
77
- createCustomMetadata(args: CreateCustomMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void): void;
83
+ createCustomMetadata(args: CreateCustomMetadataCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void): void;
78
84
  /**
79
85
  * @see {@link CreateFolderCommand}
80
86
  */
81
- createFolder(args: CreateFolderCommandInput, options?: __HttpHandlerOptions): Promise<CreateFolderCommandOutput>;
87
+ createFolder(args: CreateFolderCommandInput, options?: WorkDocsRequestOptions): Promise<CreateFolderCommandOutput>;
82
88
  createFolder(args: CreateFolderCommandInput, cb: (err: any, data?: CreateFolderCommandOutput) => void): void;
83
- createFolder(args: CreateFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFolderCommandOutput) => void): void;
89
+ createFolder(args: CreateFolderCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: CreateFolderCommandOutput) => void): void;
84
90
  /**
85
91
  * @see {@link CreateLabelsCommand}
86
92
  */
87
- createLabels(args: CreateLabelsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLabelsCommandOutput>;
93
+ createLabels(args: CreateLabelsCommandInput, options?: WorkDocsRequestOptions): Promise<CreateLabelsCommandOutput>;
88
94
  createLabels(args: CreateLabelsCommandInput, cb: (err: any, data?: CreateLabelsCommandOutput) => void): void;
89
- createLabels(args: CreateLabelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLabelsCommandOutput) => void): void;
95
+ createLabels(args: CreateLabelsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: CreateLabelsCommandOutput) => void): void;
90
96
  /**
91
97
  * @see {@link CreateNotificationSubscriptionCommand}
92
98
  */
93
- createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotificationSubscriptionCommandOutput>;
99
+ createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, options?: WorkDocsRequestOptions): Promise<CreateNotificationSubscriptionCommandOutput>;
94
100
  createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void): void;
95
- createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void): void;
101
+ createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void): void;
96
102
  /**
97
103
  * @see {@link CreateUserCommand}
98
104
  */
99
- createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
105
+ createUser(args: CreateUserCommandInput, options?: WorkDocsRequestOptions): Promise<CreateUserCommandOutput>;
100
106
  createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
101
- createUser(args: CreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
107
+ createUser(args: CreateUserCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
102
108
  /**
103
109
  * @see {@link DeactivateUserCommand}
104
110
  */
105
- deactivateUser(args: DeactivateUserCommandInput, options?: __HttpHandlerOptions): Promise<DeactivateUserCommandOutput>;
111
+ deactivateUser(args: DeactivateUserCommandInput, options?: WorkDocsRequestOptions): Promise<DeactivateUserCommandOutput>;
106
112
  deactivateUser(args: DeactivateUserCommandInput, cb: (err: any, data?: DeactivateUserCommandOutput) => void): void;
107
- deactivateUser(args: DeactivateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeactivateUserCommandOutput) => void): void;
113
+ deactivateUser(args: DeactivateUserCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeactivateUserCommandOutput) => void): void;
108
114
  /**
109
115
  * @see {@link DeleteCommentCommand}
110
116
  */
111
- deleteComment(args: DeleteCommentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCommentCommandOutput>;
117
+ deleteComment(args: DeleteCommentCommandInput, options?: WorkDocsRequestOptions): Promise<DeleteCommentCommandOutput>;
112
118
  deleteComment(args: DeleteCommentCommandInput, cb: (err: any, data?: DeleteCommentCommandOutput) => void): void;
113
- deleteComment(args: DeleteCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommentCommandOutput) => void): void;
119
+ deleteComment(args: DeleteCommentCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeleteCommentCommandOutput) => void): void;
114
120
  /**
115
121
  * @see {@link DeleteCustomMetadataCommand}
116
122
  */
117
- deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomMetadataCommandOutput>;
123
+ deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, options?: WorkDocsRequestOptions): Promise<DeleteCustomMetadataCommandOutput>;
118
124
  deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void): void;
119
- deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void): void;
125
+ deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void): void;
120
126
  /**
121
127
  * @see {@link DeleteDocumentCommand}
122
128
  */
123
- deleteDocument(args: DeleteDocumentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDocumentCommandOutput>;
129
+ deleteDocument(args: DeleteDocumentCommandInput, options?: WorkDocsRequestOptions): Promise<DeleteDocumentCommandOutput>;
124
130
  deleteDocument(args: DeleteDocumentCommandInput, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void;
125
- deleteDocument(args: DeleteDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void;
131
+ deleteDocument(args: DeleteDocumentCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void;
126
132
  /**
127
133
  * @see {@link DeleteDocumentVersionCommand}
128
134
  */
129
- deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDocumentVersionCommandOutput>;
135
+ deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options?: WorkDocsRequestOptions): Promise<DeleteDocumentVersionCommandOutput>;
130
136
  deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void): void;
131
- deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void): void;
137
+ deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void): void;
132
138
  /**
133
139
  * @see {@link DeleteFolderCommand}
134
140
  */
135
- deleteFolder(args: DeleteFolderCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFolderCommandOutput>;
141
+ deleteFolder(args: DeleteFolderCommandInput, options?: WorkDocsRequestOptions): Promise<DeleteFolderCommandOutput>;
136
142
  deleteFolder(args: DeleteFolderCommandInput, cb: (err: any, data?: DeleteFolderCommandOutput) => void): void;
137
- deleteFolder(args: DeleteFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFolderCommandOutput) => void): void;
143
+ deleteFolder(args: DeleteFolderCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeleteFolderCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link DeleteFolderContentsCommand}
140
146
  */
141
- deleteFolderContents(args: DeleteFolderContentsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFolderContentsCommandOutput>;
147
+ deleteFolderContents(args: DeleteFolderContentsCommandInput, options?: WorkDocsRequestOptions): Promise<DeleteFolderContentsCommandOutput>;
142
148
  deleteFolderContents(args: DeleteFolderContentsCommandInput, cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void): void;
143
- deleteFolderContents(args: DeleteFolderContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void): void;
149
+ deleteFolderContents(args: DeleteFolderContentsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link DeleteLabelsCommand}
146
152
  */
147
- deleteLabels(args: DeleteLabelsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLabelsCommandOutput>;
153
+ deleteLabels(args: DeleteLabelsCommandInput, options?: WorkDocsRequestOptions): Promise<DeleteLabelsCommandOutput>;
148
154
  deleteLabels(args: DeleteLabelsCommandInput, cb: (err: any, data?: DeleteLabelsCommandOutput) => void): void;
149
- deleteLabels(args: DeleteLabelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLabelsCommandOutput) => void): void;
155
+ deleteLabels(args: DeleteLabelsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeleteLabelsCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link DeleteNotificationSubscriptionCommand}
152
158
  */
153
- deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationSubscriptionCommandOutput>;
159
+ deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, options?: WorkDocsRequestOptions): Promise<DeleteNotificationSubscriptionCommandOutput>;
154
160
  deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void): void;
155
- deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void): void;
161
+ deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void): void;
156
162
  /**
157
163
  * @see {@link DeleteUserCommand}
158
164
  */
159
- deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
165
+ deleteUser(args: DeleteUserCommandInput, options?: WorkDocsRequestOptions): Promise<DeleteUserCommandOutput>;
160
166
  deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
161
- deleteUser(args: DeleteUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
167
+ deleteUser(args: DeleteUserCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
162
168
  /**
163
169
  * @see {@link DescribeActivitiesCommand}
164
170
  */
165
171
  describeActivities(): Promise<DescribeActivitiesCommandOutput>;
166
- describeActivities(args: DescribeActivitiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeActivitiesCommandOutput>;
172
+ describeActivities(args: DescribeActivitiesCommandInput, options?: WorkDocsRequestOptions): Promise<DescribeActivitiesCommandOutput>;
167
173
  describeActivities(args: DescribeActivitiesCommandInput, cb: (err: any, data?: DescribeActivitiesCommandOutput) => void): void;
168
- describeActivities(args: DescribeActivitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeActivitiesCommandOutput) => void): void;
174
+ describeActivities(args: DescribeActivitiesCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DescribeActivitiesCommandOutput) => void): void;
169
175
  /**
170
176
  * @see {@link DescribeCommentsCommand}
171
177
  */
172
- describeComments(args: DescribeCommentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCommentsCommandOutput>;
178
+ describeComments(args: DescribeCommentsCommandInput, options?: WorkDocsRequestOptions): Promise<DescribeCommentsCommandOutput>;
173
179
  describeComments(args: DescribeCommentsCommandInput, cb: (err: any, data?: DescribeCommentsCommandOutput) => void): void;
174
- describeComments(args: DescribeCommentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCommentsCommandOutput) => void): void;
180
+ describeComments(args: DescribeCommentsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DescribeCommentsCommandOutput) => void): void;
175
181
  /**
176
182
  * @see {@link DescribeDocumentVersionsCommand}
177
183
  */
178
- describeDocumentVersions(args: DescribeDocumentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDocumentVersionsCommandOutput>;
184
+ describeDocumentVersions(args: DescribeDocumentVersionsCommandInput, options?: WorkDocsRequestOptions): Promise<DescribeDocumentVersionsCommandOutput>;
179
185
  describeDocumentVersions(args: DescribeDocumentVersionsCommandInput, cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void): void;
180
- describeDocumentVersions(args: DescribeDocumentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void): void;
186
+ describeDocumentVersions(args: DescribeDocumentVersionsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void): void;
181
187
  /**
182
188
  * @see {@link DescribeFolderContentsCommand}
183
189
  */
184
- describeFolderContents(args: DescribeFolderContentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFolderContentsCommandOutput>;
190
+ describeFolderContents(args: DescribeFolderContentsCommandInput, options?: WorkDocsRequestOptions): Promise<DescribeFolderContentsCommandOutput>;
185
191
  describeFolderContents(args: DescribeFolderContentsCommandInput, cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void): void;
186
- describeFolderContents(args: DescribeFolderContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void): void;
192
+ describeFolderContents(args: DescribeFolderContentsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void): void;
187
193
  /**
188
194
  * @see {@link DescribeGroupsCommand}
189
195
  */
190
- describeGroups(args: DescribeGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeGroupsCommandOutput>;
196
+ describeGroups(args: DescribeGroupsCommandInput, options?: WorkDocsRequestOptions): Promise<DescribeGroupsCommandOutput>;
191
197
  describeGroups(args: DescribeGroupsCommandInput, cb: (err: any, data?: DescribeGroupsCommandOutput) => void): void;
192
- describeGroups(args: DescribeGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGroupsCommandOutput) => void): void;
198
+ describeGroups(args: DescribeGroupsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DescribeGroupsCommandOutput) => void): void;
193
199
  /**
194
200
  * @see {@link DescribeNotificationSubscriptionsCommand}
195
201
  */
196
- describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationSubscriptionsCommandOutput>;
202
+ describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, options?: WorkDocsRequestOptions): Promise<DescribeNotificationSubscriptionsCommandOutput>;
197
203
  describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void): void;
198
- describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void): void;
204
+ describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void): void;
199
205
  /**
200
206
  * @see {@link DescribeResourcePermissionsCommand}
201
207
  */
202
- describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourcePermissionsCommandOutput>;
208
+ describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, options?: WorkDocsRequestOptions): Promise<DescribeResourcePermissionsCommandOutput>;
203
209
  describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void): void;
204
- describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void): void;
210
+ describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void): void;
205
211
  /**
206
212
  * @see {@link DescribeRootFoldersCommand}
207
213
  */
208
- describeRootFolders(args: DescribeRootFoldersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRootFoldersCommandOutput>;
214
+ describeRootFolders(args: DescribeRootFoldersCommandInput, options?: WorkDocsRequestOptions): Promise<DescribeRootFoldersCommandOutput>;
209
215
  describeRootFolders(args: DescribeRootFoldersCommandInput, cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void): void;
210
- describeRootFolders(args: DescribeRootFoldersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void): void;
216
+ describeRootFolders(args: DescribeRootFoldersCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void): void;
211
217
  /**
212
218
  * @see {@link DescribeUsersCommand}
213
219
  */
214
220
  describeUsers(): Promise<DescribeUsersCommandOutput>;
215
- describeUsers(args: DescribeUsersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUsersCommandOutput>;
221
+ describeUsers(args: DescribeUsersCommandInput, options?: WorkDocsRequestOptions): Promise<DescribeUsersCommandOutput>;
216
222
  describeUsers(args: DescribeUsersCommandInput, cb: (err: any, data?: DescribeUsersCommandOutput) => void): void;
217
- describeUsers(args: DescribeUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUsersCommandOutput) => void): void;
223
+ describeUsers(args: DescribeUsersCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: DescribeUsersCommandOutput) => void): void;
218
224
  /**
219
225
  * @see {@link GetCurrentUserCommand}
220
226
  */
221
- getCurrentUser(args: GetCurrentUserCommandInput, options?: __HttpHandlerOptions): Promise<GetCurrentUserCommandOutput>;
227
+ getCurrentUser(args: GetCurrentUserCommandInput, options?: WorkDocsRequestOptions): Promise<GetCurrentUserCommandOutput>;
222
228
  getCurrentUser(args: GetCurrentUserCommandInput, cb: (err: any, data?: GetCurrentUserCommandOutput) => void): void;
223
- getCurrentUser(args: GetCurrentUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCurrentUserCommandOutput) => void): void;
229
+ getCurrentUser(args: GetCurrentUserCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: GetCurrentUserCommandOutput) => void): void;
224
230
  /**
225
231
  * @see {@link GetDocumentCommand}
226
232
  */
227
- getDocument(args: GetDocumentCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentCommandOutput>;
233
+ getDocument(args: GetDocumentCommandInput, options?: WorkDocsRequestOptions): Promise<GetDocumentCommandOutput>;
228
234
  getDocument(args: GetDocumentCommandInput, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
229
- getDocument(args: GetDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
235
+ getDocument(args: GetDocumentCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
230
236
  /**
231
237
  * @see {@link GetDocumentPathCommand}
232
238
  */
233
- getDocumentPath(args: GetDocumentPathCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentPathCommandOutput>;
239
+ getDocumentPath(args: GetDocumentPathCommandInput, options?: WorkDocsRequestOptions): Promise<GetDocumentPathCommandOutput>;
234
240
  getDocumentPath(args: GetDocumentPathCommandInput, cb: (err: any, data?: GetDocumentPathCommandOutput) => void): void;
235
- getDocumentPath(args: GetDocumentPathCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentPathCommandOutput) => void): void;
241
+ getDocumentPath(args: GetDocumentPathCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: GetDocumentPathCommandOutput) => void): void;
236
242
  /**
237
243
  * @see {@link GetDocumentVersionCommand}
238
244
  */
239
- getDocumentVersion(args: GetDocumentVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentVersionCommandOutput>;
245
+ getDocumentVersion(args: GetDocumentVersionCommandInput, options?: WorkDocsRequestOptions): Promise<GetDocumentVersionCommandOutput>;
240
246
  getDocumentVersion(args: GetDocumentVersionCommandInput, cb: (err: any, data?: GetDocumentVersionCommandOutput) => void): void;
241
- getDocumentVersion(args: GetDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentVersionCommandOutput) => void): void;
247
+ getDocumentVersion(args: GetDocumentVersionCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: GetDocumentVersionCommandOutput) => void): void;
242
248
  /**
243
249
  * @see {@link GetFolderCommand}
244
250
  */
245
- getFolder(args: GetFolderCommandInput, options?: __HttpHandlerOptions): Promise<GetFolderCommandOutput>;
251
+ getFolder(args: GetFolderCommandInput, options?: WorkDocsRequestOptions): Promise<GetFolderCommandOutput>;
246
252
  getFolder(args: GetFolderCommandInput, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
247
- getFolder(args: GetFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
253
+ getFolder(args: GetFolderCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
248
254
  /**
249
255
  * @see {@link GetFolderPathCommand}
250
256
  */
251
- getFolderPath(args: GetFolderPathCommandInput, options?: __HttpHandlerOptions): Promise<GetFolderPathCommandOutput>;
257
+ getFolderPath(args: GetFolderPathCommandInput, options?: WorkDocsRequestOptions): Promise<GetFolderPathCommandOutput>;
252
258
  getFolderPath(args: GetFolderPathCommandInput, cb: (err: any, data?: GetFolderPathCommandOutput) => void): void;
253
- getFolderPath(args: GetFolderPathCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFolderPathCommandOutput) => void): void;
259
+ getFolderPath(args: GetFolderPathCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: GetFolderPathCommandOutput) => void): void;
254
260
  /**
255
261
  * @see {@link GetResourcesCommand}
256
262
  */
257
263
  getResources(): Promise<GetResourcesCommandOutput>;
258
- getResources(args: GetResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcesCommandOutput>;
264
+ getResources(args: GetResourcesCommandInput, options?: WorkDocsRequestOptions): Promise<GetResourcesCommandOutput>;
259
265
  getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
260
- getResources(args: GetResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
266
+ getResources(args: GetResourcesCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
261
267
  /**
262
268
  * @see {@link InitiateDocumentVersionUploadCommand}
263
269
  */
264
270
  initiateDocumentVersionUpload(): Promise<InitiateDocumentVersionUploadCommandOutput>;
265
- initiateDocumentVersionUpload(args: InitiateDocumentVersionUploadCommandInput, options?: __HttpHandlerOptions): Promise<InitiateDocumentVersionUploadCommandOutput>;
271
+ initiateDocumentVersionUpload(args: InitiateDocumentVersionUploadCommandInput, options?: WorkDocsRequestOptions): Promise<InitiateDocumentVersionUploadCommandOutput>;
266
272
  initiateDocumentVersionUpload(args: InitiateDocumentVersionUploadCommandInput, cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void): void;
267
- initiateDocumentVersionUpload(args: InitiateDocumentVersionUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void): void;
273
+ initiateDocumentVersionUpload(args: InitiateDocumentVersionUploadCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void): void;
268
274
  /**
269
275
  * @see {@link RemoveAllResourcePermissionsCommand}
270
276
  */
271
- removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAllResourcePermissionsCommandOutput>;
277
+ removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, options?: WorkDocsRequestOptions): Promise<RemoveAllResourcePermissionsCommandOutput>;
272
278
  removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void): void;
273
- removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void): void;
279
+ removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void): void;
274
280
  /**
275
281
  * @see {@link RemoveResourcePermissionCommand}
276
282
  */
277
- removeResourcePermission(args: RemoveResourcePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemoveResourcePermissionCommandOutput>;
283
+ removeResourcePermission(args: RemoveResourcePermissionCommandInput, options?: WorkDocsRequestOptions): Promise<RemoveResourcePermissionCommandOutput>;
278
284
  removeResourcePermission(args: RemoveResourcePermissionCommandInput, cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void): void;
279
- removeResourcePermission(args: RemoveResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void): void;
285
+ removeResourcePermission(args: RemoveResourcePermissionCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void): void;
280
286
  /**
281
287
  * @see {@link RestoreDocumentVersionsCommand}
282
288
  */
283
- restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<RestoreDocumentVersionsCommandOutput>;
289
+ restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options?: WorkDocsRequestOptions): Promise<RestoreDocumentVersionsCommandOutput>;
284
290
  restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void): void;
285
- restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void): void;
291
+ restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void): void;
286
292
  /**
287
293
  * @see {@link SearchResourcesCommand}
288
294
  */
289
295
  searchResources(): Promise<SearchResourcesCommandOutput>;
290
- searchResources(args: SearchResourcesCommandInput, options?: __HttpHandlerOptions): Promise<SearchResourcesCommandOutput>;
296
+ searchResources(args: SearchResourcesCommandInput, options?: WorkDocsRequestOptions): Promise<SearchResourcesCommandOutput>;
291
297
  searchResources(args: SearchResourcesCommandInput, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
292
- searchResources(args: SearchResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
298
+ searchResources(args: SearchResourcesCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
293
299
  /**
294
300
  * @see {@link UpdateDocumentCommand}
295
301
  */
296
- updateDocument(args: UpdateDocumentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDocumentCommandOutput>;
302
+ updateDocument(args: UpdateDocumentCommandInput, options?: WorkDocsRequestOptions): Promise<UpdateDocumentCommandOutput>;
297
303
  updateDocument(args: UpdateDocumentCommandInput, cb: (err: any, data?: UpdateDocumentCommandOutput) => void): void;
298
- updateDocument(args: UpdateDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDocumentCommandOutput) => void): void;
304
+ updateDocument(args: UpdateDocumentCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: UpdateDocumentCommandOutput) => void): void;
299
305
  /**
300
306
  * @see {@link UpdateDocumentVersionCommand}
301
307
  */
302
- updateDocumentVersion(args: UpdateDocumentVersionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDocumentVersionCommandOutput>;
308
+ updateDocumentVersion(args: UpdateDocumentVersionCommandInput, options?: WorkDocsRequestOptions): Promise<UpdateDocumentVersionCommandOutput>;
303
309
  updateDocumentVersion(args: UpdateDocumentVersionCommandInput, cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void): void;
304
- updateDocumentVersion(args: UpdateDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void): void;
310
+ updateDocumentVersion(args: UpdateDocumentVersionCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void): void;
305
311
  /**
306
312
  * @see {@link UpdateFolderCommand}
307
313
  */
308
- updateFolder(args: UpdateFolderCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFolderCommandOutput>;
314
+ updateFolder(args: UpdateFolderCommandInput, options?: WorkDocsRequestOptions): Promise<UpdateFolderCommandOutput>;
309
315
  updateFolder(args: UpdateFolderCommandInput, cb: (err: any, data?: UpdateFolderCommandOutput) => void): void;
310
- updateFolder(args: UpdateFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFolderCommandOutput) => void): void;
316
+ updateFolder(args: UpdateFolderCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: UpdateFolderCommandOutput) => void): void;
311
317
  /**
312
318
  * @see {@link UpdateUserCommand}
313
319
  */
314
- updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
320
+ updateUser(args: UpdateUserCommandInput, options?: WorkDocsRequestOptions): Promise<UpdateUserCommandOutput>;
315
321
  updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
316
- updateUser(args: UpdateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
322
+ updateUser(args: UpdateUserCommandInput, options: WorkDocsRequestOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
317
323
  /**
318
324
  * @see {@link DescribeActivitiesCommand}
319
325
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -165,10 +166,13 @@ import {
165
166
  } from "./commands/UpdateFolderCommand";
166
167
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
167
168
  import { WorkDocsClient } from "./WorkDocsClient";
169
+ export interface WorkDocsRequestOptions extends __HttpHandlerOptions {
170
+ metricsRecorder?: __MetricsRecorder<unknown>;
171
+ }
168
172
  export interface WorkDocs {
169
173
  abortDocumentVersionUpload(
170
174
  args: AbortDocumentVersionUploadCommandInput,
171
- options?: __HttpHandlerOptions,
175
+ options?: WorkDocsRequestOptions,
172
176
  ): Promise<AbortDocumentVersionUploadCommandOutput>;
173
177
  abortDocumentVersionUpload(
174
178
  args: AbortDocumentVersionUploadCommandInput,
@@ -176,12 +180,12 @@ export interface WorkDocs {
176
180
  ): void;
177
181
  abortDocumentVersionUpload(
178
182
  args: AbortDocumentVersionUploadCommandInput,
179
- options: __HttpHandlerOptions,
183
+ options: WorkDocsRequestOptions,
180
184
  cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void,
181
185
  ): void;
182
186
  activateUser(
183
187
  args: ActivateUserCommandInput,
184
- options?: __HttpHandlerOptions,
188
+ options?: WorkDocsRequestOptions,
185
189
  ): Promise<ActivateUserCommandOutput>;
186
190
  activateUser(
187
191
  args: ActivateUserCommandInput,
@@ -189,12 +193,12 @@ export interface WorkDocs {
189
193
  ): void;
190
194
  activateUser(
191
195
  args: ActivateUserCommandInput,
192
- options: __HttpHandlerOptions,
196
+ options: WorkDocsRequestOptions,
193
197
  cb: (err: any, data?: ActivateUserCommandOutput) => void,
194
198
  ): void;
195
199
  addResourcePermissions(
196
200
  args: AddResourcePermissionsCommandInput,
197
- options?: __HttpHandlerOptions,
201
+ options?: WorkDocsRequestOptions,
198
202
  ): Promise<AddResourcePermissionsCommandOutput>;
199
203
  addResourcePermissions(
200
204
  args: AddResourcePermissionsCommandInput,
@@ -202,12 +206,12 @@ export interface WorkDocs {
202
206
  ): void;
203
207
  addResourcePermissions(
204
208
  args: AddResourcePermissionsCommandInput,
205
- options: __HttpHandlerOptions,
209
+ options: WorkDocsRequestOptions,
206
210
  cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void,
207
211
  ): void;
208
212
  createComment(
209
213
  args: CreateCommentCommandInput,
210
- options?: __HttpHandlerOptions,
214
+ options?: WorkDocsRequestOptions,
211
215
  ): Promise<CreateCommentCommandOutput>;
212
216
  createComment(
213
217
  args: CreateCommentCommandInput,
@@ -215,12 +219,12 @@ export interface WorkDocs {
215
219
  ): void;
216
220
  createComment(
217
221
  args: CreateCommentCommandInput,
218
- options: __HttpHandlerOptions,
222
+ options: WorkDocsRequestOptions,
219
223
  cb: (err: any, data?: CreateCommentCommandOutput) => void,
220
224
  ): void;
221
225
  createCustomMetadata(
222
226
  args: CreateCustomMetadataCommandInput,
223
- options?: __HttpHandlerOptions,
227
+ options?: WorkDocsRequestOptions,
224
228
  ): Promise<CreateCustomMetadataCommandOutput>;
225
229
  createCustomMetadata(
226
230
  args: CreateCustomMetadataCommandInput,
@@ -228,12 +232,12 @@ export interface WorkDocs {
228
232
  ): void;
229
233
  createCustomMetadata(
230
234
  args: CreateCustomMetadataCommandInput,
231
- options: __HttpHandlerOptions,
235
+ options: WorkDocsRequestOptions,
232
236
  cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void,
233
237
  ): void;
234
238
  createFolder(
235
239
  args: CreateFolderCommandInput,
236
- options?: __HttpHandlerOptions,
240
+ options?: WorkDocsRequestOptions,
237
241
  ): Promise<CreateFolderCommandOutput>;
238
242
  createFolder(
239
243
  args: CreateFolderCommandInput,
@@ -241,12 +245,12 @@ export interface WorkDocs {
241
245
  ): void;
242
246
  createFolder(
243
247
  args: CreateFolderCommandInput,
244
- options: __HttpHandlerOptions,
248
+ options: WorkDocsRequestOptions,
245
249
  cb: (err: any, data?: CreateFolderCommandOutput) => void,
246
250
  ): void;
247
251
  createLabels(
248
252
  args: CreateLabelsCommandInput,
249
- options?: __HttpHandlerOptions,
253
+ options?: WorkDocsRequestOptions,
250
254
  ): Promise<CreateLabelsCommandOutput>;
251
255
  createLabels(
252
256
  args: CreateLabelsCommandInput,
@@ -254,12 +258,12 @@ export interface WorkDocs {
254
258
  ): void;
255
259
  createLabels(
256
260
  args: CreateLabelsCommandInput,
257
- options: __HttpHandlerOptions,
261
+ options: WorkDocsRequestOptions,
258
262
  cb: (err: any, data?: CreateLabelsCommandOutput) => void,
259
263
  ): void;
260
264
  createNotificationSubscription(
261
265
  args: CreateNotificationSubscriptionCommandInput,
262
- options?: __HttpHandlerOptions,
266
+ options?: WorkDocsRequestOptions,
263
267
  ): Promise<CreateNotificationSubscriptionCommandOutput>;
264
268
  createNotificationSubscription(
265
269
  args: CreateNotificationSubscriptionCommandInput,
@@ -267,12 +271,12 @@ export interface WorkDocs {
267
271
  ): void;
268
272
  createNotificationSubscription(
269
273
  args: CreateNotificationSubscriptionCommandInput,
270
- options: __HttpHandlerOptions,
274
+ options: WorkDocsRequestOptions,
271
275
  cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void,
272
276
  ): void;
273
277
  createUser(
274
278
  args: CreateUserCommandInput,
275
- options?: __HttpHandlerOptions,
279
+ options?: WorkDocsRequestOptions,
276
280
  ): Promise<CreateUserCommandOutput>;
277
281
  createUser(
278
282
  args: CreateUserCommandInput,
@@ -280,12 +284,12 @@ export interface WorkDocs {
280
284
  ): void;
281
285
  createUser(
282
286
  args: CreateUserCommandInput,
283
- options: __HttpHandlerOptions,
287
+ options: WorkDocsRequestOptions,
284
288
  cb: (err: any, data?: CreateUserCommandOutput) => void,
285
289
  ): void;
286
290
  deactivateUser(
287
291
  args: DeactivateUserCommandInput,
288
- options?: __HttpHandlerOptions,
292
+ options?: WorkDocsRequestOptions,
289
293
  ): Promise<DeactivateUserCommandOutput>;
290
294
  deactivateUser(
291
295
  args: DeactivateUserCommandInput,
@@ -293,12 +297,12 @@ export interface WorkDocs {
293
297
  ): void;
294
298
  deactivateUser(
295
299
  args: DeactivateUserCommandInput,
296
- options: __HttpHandlerOptions,
300
+ options: WorkDocsRequestOptions,
297
301
  cb: (err: any, data?: DeactivateUserCommandOutput) => void,
298
302
  ): void;
299
303
  deleteComment(
300
304
  args: DeleteCommentCommandInput,
301
- options?: __HttpHandlerOptions,
305
+ options?: WorkDocsRequestOptions,
302
306
  ): Promise<DeleteCommentCommandOutput>;
303
307
  deleteComment(
304
308
  args: DeleteCommentCommandInput,
@@ -306,12 +310,12 @@ export interface WorkDocs {
306
310
  ): void;
307
311
  deleteComment(
308
312
  args: DeleteCommentCommandInput,
309
- options: __HttpHandlerOptions,
313
+ options: WorkDocsRequestOptions,
310
314
  cb: (err: any, data?: DeleteCommentCommandOutput) => void,
311
315
  ): void;
312
316
  deleteCustomMetadata(
313
317
  args: DeleteCustomMetadataCommandInput,
314
- options?: __HttpHandlerOptions,
318
+ options?: WorkDocsRequestOptions,
315
319
  ): Promise<DeleteCustomMetadataCommandOutput>;
316
320
  deleteCustomMetadata(
317
321
  args: DeleteCustomMetadataCommandInput,
@@ -319,12 +323,12 @@ export interface WorkDocs {
319
323
  ): void;
320
324
  deleteCustomMetadata(
321
325
  args: DeleteCustomMetadataCommandInput,
322
- options: __HttpHandlerOptions,
326
+ options: WorkDocsRequestOptions,
323
327
  cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void,
324
328
  ): void;
325
329
  deleteDocument(
326
330
  args: DeleteDocumentCommandInput,
327
- options?: __HttpHandlerOptions,
331
+ options?: WorkDocsRequestOptions,
328
332
  ): Promise<DeleteDocumentCommandOutput>;
329
333
  deleteDocument(
330
334
  args: DeleteDocumentCommandInput,
@@ -332,12 +336,12 @@ export interface WorkDocs {
332
336
  ): void;
333
337
  deleteDocument(
334
338
  args: DeleteDocumentCommandInput,
335
- options: __HttpHandlerOptions,
339
+ options: WorkDocsRequestOptions,
336
340
  cb: (err: any, data?: DeleteDocumentCommandOutput) => void,
337
341
  ): void;
338
342
  deleteDocumentVersion(
339
343
  args: DeleteDocumentVersionCommandInput,
340
- options?: __HttpHandlerOptions,
344
+ options?: WorkDocsRequestOptions,
341
345
  ): Promise<DeleteDocumentVersionCommandOutput>;
342
346
  deleteDocumentVersion(
343
347
  args: DeleteDocumentVersionCommandInput,
@@ -345,12 +349,12 @@ export interface WorkDocs {
345
349
  ): void;
346
350
  deleteDocumentVersion(
347
351
  args: DeleteDocumentVersionCommandInput,
348
- options: __HttpHandlerOptions,
352
+ options: WorkDocsRequestOptions,
349
353
  cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void,
350
354
  ): void;
351
355
  deleteFolder(
352
356
  args: DeleteFolderCommandInput,
353
- options?: __HttpHandlerOptions,
357
+ options?: WorkDocsRequestOptions,
354
358
  ): Promise<DeleteFolderCommandOutput>;
355
359
  deleteFolder(
356
360
  args: DeleteFolderCommandInput,
@@ -358,12 +362,12 @@ export interface WorkDocs {
358
362
  ): void;
359
363
  deleteFolder(
360
364
  args: DeleteFolderCommandInput,
361
- options: __HttpHandlerOptions,
365
+ options: WorkDocsRequestOptions,
362
366
  cb: (err: any, data?: DeleteFolderCommandOutput) => void,
363
367
  ): void;
364
368
  deleteFolderContents(
365
369
  args: DeleteFolderContentsCommandInput,
366
- options?: __HttpHandlerOptions,
370
+ options?: WorkDocsRequestOptions,
367
371
  ): Promise<DeleteFolderContentsCommandOutput>;
368
372
  deleteFolderContents(
369
373
  args: DeleteFolderContentsCommandInput,
@@ -371,12 +375,12 @@ export interface WorkDocs {
371
375
  ): void;
372
376
  deleteFolderContents(
373
377
  args: DeleteFolderContentsCommandInput,
374
- options: __HttpHandlerOptions,
378
+ options: WorkDocsRequestOptions,
375
379
  cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void,
376
380
  ): void;
377
381
  deleteLabels(
378
382
  args: DeleteLabelsCommandInput,
379
- options?: __HttpHandlerOptions,
383
+ options?: WorkDocsRequestOptions,
380
384
  ): Promise<DeleteLabelsCommandOutput>;
381
385
  deleteLabels(
382
386
  args: DeleteLabelsCommandInput,
@@ -384,12 +388,12 @@ export interface WorkDocs {
384
388
  ): void;
385
389
  deleteLabels(
386
390
  args: DeleteLabelsCommandInput,
387
- options: __HttpHandlerOptions,
391
+ options: WorkDocsRequestOptions,
388
392
  cb: (err: any, data?: DeleteLabelsCommandOutput) => void,
389
393
  ): void;
390
394
  deleteNotificationSubscription(
391
395
  args: DeleteNotificationSubscriptionCommandInput,
392
- options?: __HttpHandlerOptions,
396
+ options?: WorkDocsRequestOptions,
393
397
  ): Promise<DeleteNotificationSubscriptionCommandOutput>;
394
398
  deleteNotificationSubscription(
395
399
  args: DeleteNotificationSubscriptionCommandInput,
@@ -397,12 +401,12 @@ export interface WorkDocs {
397
401
  ): void;
398
402
  deleteNotificationSubscription(
399
403
  args: DeleteNotificationSubscriptionCommandInput,
400
- options: __HttpHandlerOptions,
404
+ options: WorkDocsRequestOptions,
401
405
  cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void,
402
406
  ): void;
403
407
  deleteUser(
404
408
  args: DeleteUserCommandInput,
405
- options?: __HttpHandlerOptions,
409
+ options?: WorkDocsRequestOptions,
406
410
  ): Promise<DeleteUserCommandOutput>;
407
411
  deleteUser(
408
412
  args: DeleteUserCommandInput,
@@ -410,13 +414,13 @@ export interface WorkDocs {
410
414
  ): void;
411
415
  deleteUser(
412
416
  args: DeleteUserCommandInput,
413
- options: __HttpHandlerOptions,
417
+ options: WorkDocsRequestOptions,
414
418
  cb: (err: any, data?: DeleteUserCommandOutput) => void,
415
419
  ): void;
416
420
  describeActivities(): Promise<DescribeActivitiesCommandOutput>;
417
421
  describeActivities(
418
422
  args: DescribeActivitiesCommandInput,
419
- options?: __HttpHandlerOptions,
423
+ options?: WorkDocsRequestOptions,
420
424
  ): Promise<DescribeActivitiesCommandOutput>;
421
425
  describeActivities(
422
426
  args: DescribeActivitiesCommandInput,
@@ -424,12 +428,12 @@ export interface WorkDocs {
424
428
  ): void;
425
429
  describeActivities(
426
430
  args: DescribeActivitiesCommandInput,
427
- options: __HttpHandlerOptions,
431
+ options: WorkDocsRequestOptions,
428
432
  cb: (err: any, data?: DescribeActivitiesCommandOutput) => void,
429
433
  ): void;
430
434
  describeComments(
431
435
  args: DescribeCommentsCommandInput,
432
- options?: __HttpHandlerOptions,
436
+ options?: WorkDocsRequestOptions,
433
437
  ): Promise<DescribeCommentsCommandOutput>;
434
438
  describeComments(
435
439
  args: DescribeCommentsCommandInput,
@@ -437,12 +441,12 @@ export interface WorkDocs {
437
441
  ): void;
438
442
  describeComments(
439
443
  args: DescribeCommentsCommandInput,
440
- options: __HttpHandlerOptions,
444
+ options: WorkDocsRequestOptions,
441
445
  cb: (err: any, data?: DescribeCommentsCommandOutput) => void,
442
446
  ): void;
443
447
  describeDocumentVersions(
444
448
  args: DescribeDocumentVersionsCommandInput,
445
- options?: __HttpHandlerOptions,
449
+ options?: WorkDocsRequestOptions,
446
450
  ): Promise<DescribeDocumentVersionsCommandOutput>;
447
451
  describeDocumentVersions(
448
452
  args: DescribeDocumentVersionsCommandInput,
@@ -450,12 +454,12 @@ export interface WorkDocs {
450
454
  ): void;
451
455
  describeDocumentVersions(
452
456
  args: DescribeDocumentVersionsCommandInput,
453
- options: __HttpHandlerOptions,
457
+ options: WorkDocsRequestOptions,
454
458
  cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void,
455
459
  ): void;
456
460
  describeFolderContents(
457
461
  args: DescribeFolderContentsCommandInput,
458
- options?: __HttpHandlerOptions,
462
+ options?: WorkDocsRequestOptions,
459
463
  ): Promise<DescribeFolderContentsCommandOutput>;
460
464
  describeFolderContents(
461
465
  args: DescribeFolderContentsCommandInput,
@@ -463,12 +467,12 @@ export interface WorkDocs {
463
467
  ): void;
464
468
  describeFolderContents(
465
469
  args: DescribeFolderContentsCommandInput,
466
- options: __HttpHandlerOptions,
470
+ options: WorkDocsRequestOptions,
467
471
  cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void,
468
472
  ): void;
469
473
  describeGroups(
470
474
  args: DescribeGroupsCommandInput,
471
- options?: __HttpHandlerOptions,
475
+ options?: WorkDocsRequestOptions,
472
476
  ): Promise<DescribeGroupsCommandOutput>;
473
477
  describeGroups(
474
478
  args: DescribeGroupsCommandInput,
@@ -476,12 +480,12 @@ export interface WorkDocs {
476
480
  ): void;
477
481
  describeGroups(
478
482
  args: DescribeGroupsCommandInput,
479
- options: __HttpHandlerOptions,
483
+ options: WorkDocsRequestOptions,
480
484
  cb: (err: any, data?: DescribeGroupsCommandOutput) => void,
481
485
  ): void;
482
486
  describeNotificationSubscriptions(
483
487
  args: DescribeNotificationSubscriptionsCommandInput,
484
- options?: __HttpHandlerOptions,
488
+ options?: WorkDocsRequestOptions,
485
489
  ): Promise<DescribeNotificationSubscriptionsCommandOutput>;
486
490
  describeNotificationSubscriptions(
487
491
  args: DescribeNotificationSubscriptionsCommandInput,
@@ -489,12 +493,12 @@ export interface WorkDocs {
489
493
  ): void;
490
494
  describeNotificationSubscriptions(
491
495
  args: DescribeNotificationSubscriptionsCommandInput,
492
- options: __HttpHandlerOptions,
496
+ options: WorkDocsRequestOptions,
493
497
  cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void,
494
498
  ): void;
495
499
  describeResourcePermissions(
496
500
  args: DescribeResourcePermissionsCommandInput,
497
- options?: __HttpHandlerOptions,
501
+ options?: WorkDocsRequestOptions,
498
502
  ): Promise<DescribeResourcePermissionsCommandOutput>;
499
503
  describeResourcePermissions(
500
504
  args: DescribeResourcePermissionsCommandInput,
@@ -502,12 +506,12 @@ export interface WorkDocs {
502
506
  ): void;
503
507
  describeResourcePermissions(
504
508
  args: DescribeResourcePermissionsCommandInput,
505
- options: __HttpHandlerOptions,
509
+ options: WorkDocsRequestOptions,
506
510
  cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void,
507
511
  ): void;
508
512
  describeRootFolders(
509
513
  args: DescribeRootFoldersCommandInput,
510
- options?: __HttpHandlerOptions,
514
+ options?: WorkDocsRequestOptions,
511
515
  ): Promise<DescribeRootFoldersCommandOutput>;
512
516
  describeRootFolders(
513
517
  args: DescribeRootFoldersCommandInput,
@@ -515,13 +519,13 @@ export interface WorkDocs {
515
519
  ): void;
516
520
  describeRootFolders(
517
521
  args: DescribeRootFoldersCommandInput,
518
- options: __HttpHandlerOptions,
522
+ options: WorkDocsRequestOptions,
519
523
  cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void,
520
524
  ): void;
521
525
  describeUsers(): Promise<DescribeUsersCommandOutput>;
522
526
  describeUsers(
523
527
  args: DescribeUsersCommandInput,
524
- options?: __HttpHandlerOptions,
528
+ options?: WorkDocsRequestOptions,
525
529
  ): Promise<DescribeUsersCommandOutput>;
526
530
  describeUsers(
527
531
  args: DescribeUsersCommandInput,
@@ -529,12 +533,12 @@ export interface WorkDocs {
529
533
  ): void;
530
534
  describeUsers(
531
535
  args: DescribeUsersCommandInput,
532
- options: __HttpHandlerOptions,
536
+ options: WorkDocsRequestOptions,
533
537
  cb: (err: any, data?: DescribeUsersCommandOutput) => void,
534
538
  ): void;
535
539
  getCurrentUser(
536
540
  args: GetCurrentUserCommandInput,
537
- options?: __HttpHandlerOptions,
541
+ options?: WorkDocsRequestOptions,
538
542
  ): Promise<GetCurrentUserCommandOutput>;
539
543
  getCurrentUser(
540
544
  args: GetCurrentUserCommandInput,
@@ -542,12 +546,12 @@ export interface WorkDocs {
542
546
  ): void;
543
547
  getCurrentUser(
544
548
  args: GetCurrentUserCommandInput,
545
- options: __HttpHandlerOptions,
549
+ options: WorkDocsRequestOptions,
546
550
  cb: (err: any, data?: GetCurrentUserCommandOutput) => void,
547
551
  ): void;
548
552
  getDocument(
549
553
  args: GetDocumentCommandInput,
550
- options?: __HttpHandlerOptions,
554
+ options?: WorkDocsRequestOptions,
551
555
  ): Promise<GetDocumentCommandOutput>;
552
556
  getDocument(
553
557
  args: GetDocumentCommandInput,
@@ -555,12 +559,12 @@ export interface WorkDocs {
555
559
  ): void;
556
560
  getDocument(
557
561
  args: GetDocumentCommandInput,
558
- options: __HttpHandlerOptions,
562
+ options: WorkDocsRequestOptions,
559
563
  cb: (err: any, data?: GetDocumentCommandOutput) => void,
560
564
  ): void;
561
565
  getDocumentPath(
562
566
  args: GetDocumentPathCommandInput,
563
- options?: __HttpHandlerOptions,
567
+ options?: WorkDocsRequestOptions,
564
568
  ): Promise<GetDocumentPathCommandOutput>;
565
569
  getDocumentPath(
566
570
  args: GetDocumentPathCommandInput,
@@ -568,12 +572,12 @@ export interface WorkDocs {
568
572
  ): void;
569
573
  getDocumentPath(
570
574
  args: GetDocumentPathCommandInput,
571
- options: __HttpHandlerOptions,
575
+ options: WorkDocsRequestOptions,
572
576
  cb: (err: any, data?: GetDocumentPathCommandOutput) => void,
573
577
  ): void;
574
578
  getDocumentVersion(
575
579
  args: GetDocumentVersionCommandInput,
576
- options?: __HttpHandlerOptions,
580
+ options?: WorkDocsRequestOptions,
577
581
  ): Promise<GetDocumentVersionCommandOutput>;
578
582
  getDocumentVersion(
579
583
  args: GetDocumentVersionCommandInput,
@@ -581,12 +585,12 @@ export interface WorkDocs {
581
585
  ): void;
582
586
  getDocumentVersion(
583
587
  args: GetDocumentVersionCommandInput,
584
- options: __HttpHandlerOptions,
588
+ options: WorkDocsRequestOptions,
585
589
  cb: (err: any, data?: GetDocumentVersionCommandOutput) => void,
586
590
  ): void;
587
591
  getFolder(
588
592
  args: GetFolderCommandInput,
589
- options?: __HttpHandlerOptions,
593
+ options?: WorkDocsRequestOptions,
590
594
  ): Promise<GetFolderCommandOutput>;
591
595
  getFolder(
592
596
  args: GetFolderCommandInput,
@@ -594,12 +598,12 @@ export interface WorkDocs {
594
598
  ): void;
595
599
  getFolder(
596
600
  args: GetFolderCommandInput,
597
- options: __HttpHandlerOptions,
601
+ options: WorkDocsRequestOptions,
598
602
  cb: (err: any, data?: GetFolderCommandOutput) => void,
599
603
  ): void;
600
604
  getFolderPath(
601
605
  args: GetFolderPathCommandInput,
602
- options?: __HttpHandlerOptions,
606
+ options?: WorkDocsRequestOptions,
603
607
  ): Promise<GetFolderPathCommandOutput>;
604
608
  getFolderPath(
605
609
  args: GetFolderPathCommandInput,
@@ -607,13 +611,13 @@ export interface WorkDocs {
607
611
  ): void;
608
612
  getFolderPath(
609
613
  args: GetFolderPathCommandInput,
610
- options: __HttpHandlerOptions,
614
+ options: WorkDocsRequestOptions,
611
615
  cb: (err: any, data?: GetFolderPathCommandOutput) => void,
612
616
  ): void;
613
617
  getResources(): Promise<GetResourcesCommandOutput>;
614
618
  getResources(
615
619
  args: GetResourcesCommandInput,
616
- options?: __HttpHandlerOptions,
620
+ options?: WorkDocsRequestOptions,
617
621
  ): Promise<GetResourcesCommandOutput>;
618
622
  getResources(
619
623
  args: GetResourcesCommandInput,
@@ -621,13 +625,13 @@ export interface WorkDocs {
621
625
  ): void;
622
626
  getResources(
623
627
  args: GetResourcesCommandInput,
624
- options: __HttpHandlerOptions,
628
+ options: WorkDocsRequestOptions,
625
629
  cb: (err: any, data?: GetResourcesCommandOutput) => void,
626
630
  ): void;
627
631
  initiateDocumentVersionUpload(): Promise<InitiateDocumentVersionUploadCommandOutput>;
628
632
  initiateDocumentVersionUpload(
629
633
  args: InitiateDocumentVersionUploadCommandInput,
630
- options?: __HttpHandlerOptions,
634
+ options?: WorkDocsRequestOptions,
631
635
  ): Promise<InitiateDocumentVersionUploadCommandOutput>;
632
636
  initiateDocumentVersionUpload(
633
637
  args: InitiateDocumentVersionUploadCommandInput,
@@ -635,12 +639,12 @@ export interface WorkDocs {
635
639
  ): void;
636
640
  initiateDocumentVersionUpload(
637
641
  args: InitiateDocumentVersionUploadCommandInput,
638
- options: __HttpHandlerOptions,
642
+ options: WorkDocsRequestOptions,
639
643
  cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void,
640
644
  ): void;
641
645
  removeAllResourcePermissions(
642
646
  args: RemoveAllResourcePermissionsCommandInput,
643
- options?: __HttpHandlerOptions,
647
+ options?: WorkDocsRequestOptions,
644
648
  ): Promise<RemoveAllResourcePermissionsCommandOutput>;
645
649
  removeAllResourcePermissions(
646
650
  args: RemoveAllResourcePermissionsCommandInput,
@@ -648,12 +652,12 @@ export interface WorkDocs {
648
652
  ): void;
649
653
  removeAllResourcePermissions(
650
654
  args: RemoveAllResourcePermissionsCommandInput,
651
- options: __HttpHandlerOptions,
655
+ options: WorkDocsRequestOptions,
652
656
  cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void,
653
657
  ): void;
654
658
  removeResourcePermission(
655
659
  args: RemoveResourcePermissionCommandInput,
656
- options?: __HttpHandlerOptions,
660
+ options?: WorkDocsRequestOptions,
657
661
  ): Promise<RemoveResourcePermissionCommandOutput>;
658
662
  removeResourcePermission(
659
663
  args: RemoveResourcePermissionCommandInput,
@@ -661,12 +665,12 @@ export interface WorkDocs {
661
665
  ): void;
662
666
  removeResourcePermission(
663
667
  args: RemoveResourcePermissionCommandInput,
664
- options: __HttpHandlerOptions,
668
+ options: WorkDocsRequestOptions,
665
669
  cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void,
666
670
  ): void;
667
671
  restoreDocumentVersions(
668
672
  args: RestoreDocumentVersionsCommandInput,
669
- options?: __HttpHandlerOptions,
673
+ options?: WorkDocsRequestOptions,
670
674
  ): Promise<RestoreDocumentVersionsCommandOutput>;
671
675
  restoreDocumentVersions(
672
676
  args: RestoreDocumentVersionsCommandInput,
@@ -674,13 +678,13 @@ export interface WorkDocs {
674
678
  ): void;
675
679
  restoreDocumentVersions(
676
680
  args: RestoreDocumentVersionsCommandInput,
677
- options: __HttpHandlerOptions,
681
+ options: WorkDocsRequestOptions,
678
682
  cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void,
679
683
  ): void;
680
684
  searchResources(): Promise<SearchResourcesCommandOutput>;
681
685
  searchResources(
682
686
  args: SearchResourcesCommandInput,
683
- options?: __HttpHandlerOptions,
687
+ options?: WorkDocsRequestOptions,
684
688
  ): Promise<SearchResourcesCommandOutput>;
685
689
  searchResources(
686
690
  args: SearchResourcesCommandInput,
@@ -688,12 +692,12 @@ export interface WorkDocs {
688
692
  ): void;
689
693
  searchResources(
690
694
  args: SearchResourcesCommandInput,
691
- options: __HttpHandlerOptions,
695
+ options: WorkDocsRequestOptions,
692
696
  cb: (err: any, data?: SearchResourcesCommandOutput) => void,
693
697
  ): void;
694
698
  updateDocument(
695
699
  args: UpdateDocumentCommandInput,
696
- options?: __HttpHandlerOptions,
700
+ options?: WorkDocsRequestOptions,
697
701
  ): Promise<UpdateDocumentCommandOutput>;
698
702
  updateDocument(
699
703
  args: UpdateDocumentCommandInput,
@@ -701,12 +705,12 @@ export interface WorkDocs {
701
705
  ): void;
702
706
  updateDocument(
703
707
  args: UpdateDocumentCommandInput,
704
- options: __HttpHandlerOptions,
708
+ options: WorkDocsRequestOptions,
705
709
  cb: (err: any, data?: UpdateDocumentCommandOutput) => void,
706
710
  ): void;
707
711
  updateDocumentVersion(
708
712
  args: UpdateDocumentVersionCommandInput,
709
- options?: __HttpHandlerOptions,
713
+ options?: WorkDocsRequestOptions,
710
714
  ): Promise<UpdateDocumentVersionCommandOutput>;
711
715
  updateDocumentVersion(
712
716
  args: UpdateDocumentVersionCommandInput,
@@ -714,12 +718,12 @@ export interface WorkDocs {
714
718
  ): void;
715
719
  updateDocumentVersion(
716
720
  args: UpdateDocumentVersionCommandInput,
717
- options: __HttpHandlerOptions,
721
+ options: WorkDocsRequestOptions,
718
722
  cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void,
719
723
  ): void;
720
724
  updateFolder(
721
725
  args: UpdateFolderCommandInput,
722
- options?: __HttpHandlerOptions,
726
+ options?: WorkDocsRequestOptions,
723
727
  ): Promise<UpdateFolderCommandOutput>;
724
728
  updateFolder(
725
729
  args: UpdateFolderCommandInput,
@@ -727,12 +731,12 @@ export interface WorkDocs {
727
731
  ): void;
728
732
  updateFolder(
729
733
  args: UpdateFolderCommandInput,
730
- options: __HttpHandlerOptions,
734
+ options: WorkDocsRequestOptions,
731
735
  cb: (err: any, data?: UpdateFolderCommandOutput) => void,
732
736
  ): void;
733
737
  updateUser(
734
738
  args: UpdateUserCommandInput,
735
- options?: __HttpHandlerOptions,
739
+ options?: WorkDocsRequestOptions,
736
740
  ): Promise<UpdateUserCommandOutput>;
737
741
  updateUser(
738
742
  args: UpdateUserCommandInput,
@@ -740,7 +744,7 @@ export interface WorkDocs {
740
744
  ): void;
741
745
  updateUser(
742
746
  args: UpdateUserCommandInput,
743
- options: __HttpHandlerOptions,
747
+ options: WorkDocsRequestOptions,
744
748
  cb: (err: any, data?: UpdateUserCommandOutput) => void,
745
749
  ): void;
746
750
  paginateDescribeActivities(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workdocs",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Workdocs Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-workdocs",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {