@aws-sdk/client-directory-service-data 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
 
@@ -367,10 +367,10 @@ const _hQ = "httpQuery";
367
367
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.directoryservicedata";
368
368
  const _se = "server";
369
369
  const n0 = "com.amazonaws.directoryservicedata";
370
- const _s_registry = TypeRegistry.for(_s);
370
+ const _s_registry = new TypeRegistry(_s);
371
371
  var DirectoryServiceDataServiceException$ = [-3, _s, "DirectoryServiceDataServiceException", 0, [], []];
372
372
  _s_registry.registerError(DirectoryServiceDataServiceException$, DirectoryServiceDataServiceException);
373
- const n0_registry = TypeRegistry.for(n0);
373
+ const n0_registry = new TypeRegistry(n0);
374
374
  var AccessDeniedException$ = [-3, n0, _ADE,
375
375
  { [_e]: _c, [_hE]: 403 },
376
376
  [_M, _R],
@@ -118,10 +118,10 @@ const n0 = "com.amazonaws.directoryservicedata";
118
118
  import { TypeRegistry } from "@smithy/core/schema";
119
119
  import { DirectoryServiceDataServiceException } from "../models/DirectoryServiceDataServiceException";
120
120
  import { AccessDeniedException, ConflictException, DirectoryUnavailableException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
121
- const _s_registry = TypeRegistry.for(_s);
121
+ const _s_registry = new TypeRegistry(_s);
122
122
  export var DirectoryServiceDataServiceException$ = [-3, _s, "DirectoryServiceDataServiceException", 0, [], []];
123
123
  _s_registry.registerError(DirectoryServiceDataServiceException$, DirectoryServiceDataServiceException);
124
- const n0_registry = TypeRegistry.for(n0);
124
+ const n0_registry = new TypeRegistry(n0);
125
125
  export var AccessDeniedException$ = [-3, n0, _ADE,
126
126
  { [_e]: _c, [_hE]: 403 },
127
127
  [_M, _R],
@@ -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 AddGroupMemberCommandInput, type AddGroupMemberCommandOutput } from "./commands/AddGroupMemberCommand";
3
3
  import { type CreateGroupCommandInput, type CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
4
4
  import { type CreateUserCommandInput, type CreateUserCommandOutput } from "./commands/CreateUserCommand";
@@ -17,109 +17,115 @@ import { type SearchUsersCommandInput, type SearchUsersCommandOutput } from "./c
17
17
  import { type UpdateGroupCommandInput, type UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
18
18
  import { type UpdateUserCommandInput, type UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
19
19
  import { DirectoryServiceDataClient } from "./DirectoryServiceDataClient";
20
+ /**
21
+ * @public
22
+ */
23
+ export interface DirectoryServiceDataRequestOptions extends __HttpHandlerOptions {
24
+ metricsRecorder?: __MetricsRecorder<unknown>;
25
+ }
20
26
  export interface DirectoryServiceData {
21
27
  /**
22
28
  * @see {@link AddGroupMemberCommand}
23
29
  */
24
- addGroupMember(args: AddGroupMemberCommandInput, options?: __HttpHandlerOptions): Promise<AddGroupMemberCommandOutput>;
30
+ addGroupMember(args: AddGroupMemberCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<AddGroupMemberCommandOutput>;
25
31
  addGroupMember(args: AddGroupMemberCommandInput, cb: (err: any, data?: AddGroupMemberCommandOutput) => void): void;
26
- addGroupMember(args: AddGroupMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddGroupMemberCommandOutput) => void): void;
32
+ addGroupMember(args: AddGroupMemberCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: AddGroupMemberCommandOutput) => void): void;
27
33
  /**
28
34
  * @see {@link CreateGroupCommand}
29
35
  */
30
- createGroup(args: CreateGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateGroupCommandOutput>;
36
+ createGroup(args: CreateGroupCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<CreateGroupCommandOutput>;
31
37
  createGroup(args: CreateGroupCommandInput, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
32
- createGroup(args: CreateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
38
+ createGroup(args: CreateGroupCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
33
39
  /**
34
40
  * @see {@link CreateUserCommand}
35
41
  */
36
- createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
42
+ createUser(args: CreateUserCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<CreateUserCommandOutput>;
37
43
  createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
38
- createUser(args: CreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
44
+ createUser(args: CreateUserCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
39
45
  /**
40
46
  * @see {@link DeleteGroupCommand}
41
47
  */
42
- deleteGroup(args: DeleteGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGroupCommandOutput>;
48
+ deleteGroup(args: DeleteGroupCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<DeleteGroupCommandOutput>;
43
49
  deleteGroup(args: DeleteGroupCommandInput, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
44
- deleteGroup(args: DeleteGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
50
+ deleteGroup(args: DeleteGroupCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
45
51
  /**
46
52
  * @see {@link DeleteUserCommand}
47
53
  */
48
- deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
54
+ deleteUser(args: DeleteUserCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<DeleteUserCommandOutput>;
49
55
  deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
50
- deleteUser(args: DeleteUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
56
+ deleteUser(args: DeleteUserCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
51
57
  /**
52
58
  * @see {@link DescribeGroupCommand}
53
59
  */
54
- describeGroup(args: DescribeGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribeGroupCommandOutput>;
60
+ describeGroup(args: DescribeGroupCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<DescribeGroupCommandOutput>;
55
61
  describeGroup(args: DescribeGroupCommandInput, cb: (err: any, data?: DescribeGroupCommandOutput) => void): void;
56
- describeGroup(args: DescribeGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGroupCommandOutput) => void): void;
62
+ describeGroup(args: DescribeGroupCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: DescribeGroupCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link DescribeUserCommand}
59
65
  */
60
- describeUser(args: DescribeUserCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUserCommandOutput>;
66
+ describeUser(args: DescribeUserCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<DescribeUserCommandOutput>;
61
67
  describeUser(args: DescribeUserCommandInput, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
62
- describeUser(args: DescribeUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
68
+ describeUser(args: DescribeUserCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
63
69
  /**
64
70
  * @see {@link DisableUserCommand}
65
71
  */
66
- disableUser(args: DisableUserCommandInput, options?: __HttpHandlerOptions): Promise<DisableUserCommandOutput>;
72
+ disableUser(args: DisableUserCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<DisableUserCommandOutput>;
67
73
  disableUser(args: DisableUserCommandInput, cb: (err: any, data?: DisableUserCommandOutput) => void): void;
68
- disableUser(args: DisableUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableUserCommandOutput) => void): void;
74
+ disableUser(args: DisableUserCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: DisableUserCommandOutput) => void): void;
69
75
  /**
70
76
  * @see {@link ListGroupMembersCommand}
71
77
  */
72
- listGroupMembers(args: ListGroupMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupMembersCommandOutput>;
78
+ listGroupMembers(args: ListGroupMembersCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<ListGroupMembersCommandOutput>;
73
79
  listGroupMembers(args: ListGroupMembersCommandInput, cb: (err: any, data?: ListGroupMembersCommandOutput) => void): void;
74
- listGroupMembers(args: ListGroupMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupMembersCommandOutput) => void): void;
80
+ listGroupMembers(args: ListGroupMembersCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: ListGroupMembersCommandOutput) => void): void;
75
81
  /**
76
82
  * @see {@link ListGroupsCommand}
77
83
  */
78
- listGroups(args: ListGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsCommandOutput>;
84
+ listGroups(args: ListGroupsCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<ListGroupsCommandOutput>;
79
85
  listGroups(args: ListGroupsCommandInput, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
80
- listGroups(args: ListGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
86
+ listGroups(args: ListGroupsCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
81
87
  /**
82
88
  * @see {@link ListGroupsForMemberCommand}
83
89
  */
84
- listGroupsForMember(args: ListGroupsForMemberCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsForMemberCommandOutput>;
90
+ listGroupsForMember(args: ListGroupsForMemberCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<ListGroupsForMemberCommandOutput>;
85
91
  listGroupsForMember(args: ListGroupsForMemberCommandInput, cb: (err: any, data?: ListGroupsForMemberCommandOutput) => void): void;
86
- listGroupsForMember(args: ListGroupsForMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupsForMemberCommandOutput) => void): void;
92
+ listGroupsForMember(args: ListGroupsForMemberCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: ListGroupsForMemberCommandOutput) => void): void;
87
93
  /**
88
94
  * @see {@link ListUsersCommand}
89
95
  */
90
- listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
96
+ listUsers(args: ListUsersCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<ListUsersCommandOutput>;
91
97
  listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
92
- listUsers(args: ListUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
98
+ listUsers(args: ListUsersCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
93
99
  /**
94
100
  * @see {@link RemoveGroupMemberCommand}
95
101
  */
96
- removeGroupMember(args: RemoveGroupMemberCommandInput, options?: __HttpHandlerOptions): Promise<RemoveGroupMemberCommandOutput>;
102
+ removeGroupMember(args: RemoveGroupMemberCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<RemoveGroupMemberCommandOutput>;
97
103
  removeGroupMember(args: RemoveGroupMemberCommandInput, cb: (err: any, data?: RemoveGroupMemberCommandOutput) => void): void;
98
- removeGroupMember(args: RemoveGroupMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveGroupMemberCommandOutput) => void): void;
104
+ removeGroupMember(args: RemoveGroupMemberCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: RemoveGroupMemberCommandOutput) => void): void;
99
105
  /**
100
106
  * @see {@link SearchGroupsCommand}
101
107
  */
102
- searchGroups(args: SearchGroupsCommandInput, options?: __HttpHandlerOptions): Promise<SearchGroupsCommandOutput>;
108
+ searchGroups(args: SearchGroupsCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<SearchGroupsCommandOutput>;
103
109
  searchGroups(args: SearchGroupsCommandInput, cb: (err: any, data?: SearchGroupsCommandOutput) => void): void;
104
- searchGroups(args: SearchGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchGroupsCommandOutput) => void): void;
110
+ searchGroups(args: SearchGroupsCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: SearchGroupsCommandOutput) => void): void;
105
111
  /**
106
112
  * @see {@link SearchUsersCommand}
107
113
  */
108
- searchUsers(args: SearchUsersCommandInput, options?: __HttpHandlerOptions): Promise<SearchUsersCommandOutput>;
114
+ searchUsers(args: SearchUsersCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<SearchUsersCommandOutput>;
109
115
  searchUsers(args: SearchUsersCommandInput, cb: (err: any, data?: SearchUsersCommandOutput) => void): void;
110
- searchUsers(args: SearchUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchUsersCommandOutput) => void): void;
116
+ searchUsers(args: SearchUsersCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: SearchUsersCommandOutput) => void): void;
111
117
  /**
112
118
  * @see {@link UpdateGroupCommand}
113
119
  */
114
- updateGroup(args: UpdateGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupCommandOutput>;
120
+ updateGroup(args: UpdateGroupCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<UpdateGroupCommandOutput>;
115
121
  updateGroup(args: UpdateGroupCommandInput, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
116
- updateGroup(args: UpdateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
122
+ updateGroup(args: UpdateGroupCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
117
123
  /**
118
124
  * @see {@link UpdateUserCommand}
119
125
  */
120
- updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
126
+ updateUser(args: UpdateUserCommandInput, options?: DirectoryServiceDataRequestOptions): Promise<UpdateUserCommandOutput>;
121
127
  updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
122
- updateUser(args: UpdateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
128
+ updateUser(args: UpdateUserCommandInput, options: DirectoryServiceDataRequestOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
123
129
  /**
124
130
  * @see {@link ListGroupMembersCommand}
125
131
  * @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";
@@ -42,10 +43,13 @@ import { SearchUsersCommandInput, SearchUsersCommandOutput } from "./commands/Se
42
43
  import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
43
44
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
44
45
  import { DirectoryServiceDataClient } from "./DirectoryServiceDataClient";
46
+ export interface DirectoryServiceDataRequestOptions extends __HttpHandlerOptions {
47
+ metricsRecorder?: __MetricsRecorder<unknown>;
48
+ }
45
49
  export interface DirectoryServiceData {
46
50
  addGroupMember(
47
51
  args: AddGroupMemberCommandInput,
48
- options?: __HttpHandlerOptions,
52
+ options?: DirectoryServiceDataRequestOptions,
49
53
  ): Promise<AddGroupMemberCommandOutput>;
50
54
  addGroupMember(
51
55
  args: AddGroupMemberCommandInput,
@@ -53,12 +57,12 @@ export interface DirectoryServiceData {
53
57
  ): void;
54
58
  addGroupMember(
55
59
  args: AddGroupMemberCommandInput,
56
- options: __HttpHandlerOptions,
60
+ options: DirectoryServiceDataRequestOptions,
57
61
  cb: (err: any, data?: AddGroupMemberCommandOutput) => void,
58
62
  ): void;
59
63
  createGroup(
60
64
  args: CreateGroupCommandInput,
61
- options?: __HttpHandlerOptions,
65
+ options?: DirectoryServiceDataRequestOptions,
62
66
  ): Promise<CreateGroupCommandOutput>;
63
67
  createGroup(
64
68
  args: CreateGroupCommandInput,
@@ -66,12 +70,12 @@ export interface DirectoryServiceData {
66
70
  ): void;
67
71
  createGroup(
68
72
  args: CreateGroupCommandInput,
69
- options: __HttpHandlerOptions,
73
+ options: DirectoryServiceDataRequestOptions,
70
74
  cb: (err: any, data?: CreateGroupCommandOutput) => void,
71
75
  ): void;
72
76
  createUser(
73
77
  args: CreateUserCommandInput,
74
- options?: __HttpHandlerOptions,
78
+ options?: DirectoryServiceDataRequestOptions,
75
79
  ): Promise<CreateUserCommandOutput>;
76
80
  createUser(
77
81
  args: CreateUserCommandInput,
@@ -79,12 +83,12 @@ export interface DirectoryServiceData {
79
83
  ): void;
80
84
  createUser(
81
85
  args: CreateUserCommandInput,
82
- options: __HttpHandlerOptions,
86
+ options: DirectoryServiceDataRequestOptions,
83
87
  cb: (err: any, data?: CreateUserCommandOutput) => void,
84
88
  ): void;
85
89
  deleteGroup(
86
90
  args: DeleteGroupCommandInput,
87
- options?: __HttpHandlerOptions,
91
+ options?: DirectoryServiceDataRequestOptions,
88
92
  ): Promise<DeleteGroupCommandOutput>;
89
93
  deleteGroup(
90
94
  args: DeleteGroupCommandInput,
@@ -92,12 +96,12 @@ export interface DirectoryServiceData {
92
96
  ): void;
93
97
  deleteGroup(
94
98
  args: DeleteGroupCommandInput,
95
- options: __HttpHandlerOptions,
99
+ options: DirectoryServiceDataRequestOptions,
96
100
  cb: (err: any, data?: DeleteGroupCommandOutput) => void,
97
101
  ): void;
98
102
  deleteUser(
99
103
  args: DeleteUserCommandInput,
100
- options?: __HttpHandlerOptions,
104
+ options?: DirectoryServiceDataRequestOptions,
101
105
  ): Promise<DeleteUserCommandOutput>;
102
106
  deleteUser(
103
107
  args: DeleteUserCommandInput,
@@ -105,12 +109,12 @@ export interface DirectoryServiceData {
105
109
  ): void;
106
110
  deleteUser(
107
111
  args: DeleteUserCommandInput,
108
- options: __HttpHandlerOptions,
112
+ options: DirectoryServiceDataRequestOptions,
109
113
  cb: (err: any, data?: DeleteUserCommandOutput) => void,
110
114
  ): void;
111
115
  describeGroup(
112
116
  args: DescribeGroupCommandInput,
113
- options?: __HttpHandlerOptions,
117
+ options?: DirectoryServiceDataRequestOptions,
114
118
  ): Promise<DescribeGroupCommandOutput>;
115
119
  describeGroup(
116
120
  args: DescribeGroupCommandInput,
@@ -118,12 +122,12 @@ export interface DirectoryServiceData {
118
122
  ): void;
119
123
  describeGroup(
120
124
  args: DescribeGroupCommandInput,
121
- options: __HttpHandlerOptions,
125
+ options: DirectoryServiceDataRequestOptions,
122
126
  cb: (err: any, data?: DescribeGroupCommandOutput) => void,
123
127
  ): void;
124
128
  describeUser(
125
129
  args: DescribeUserCommandInput,
126
- options?: __HttpHandlerOptions,
130
+ options?: DirectoryServiceDataRequestOptions,
127
131
  ): Promise<DescribeUserCommandOutput>;
128
132
  describeUser(
129
133
  args: DescribeUserCommandInput,
@@ -131,12 +135,12 @@ export interface DirectoryServiceData {
131
135
  ): void;
132
136
  describeUser(
133
137
  args: DescribeUserCommandInput,
134
- options: __HttpHandlerOptions,
138
+ options: DirectoryServiceDataRequestOptions,
135
139
  cb: (err: any, data?: DescribeUserCommandOutput) => void,
136
140
  ): void;
137
141
  disableUser(
138
142
  args: DisableUserCommandInput,
139
- options?: __HttpHandlerOptions,
143
+ options?: DirectoryServiceDataRequestOptions,
140
144
  ): Promise<DisableUserCommandOutput>;
141
145
  disableUser(
142
146
  args: DisableUserCommandInput,
@@ -144,12 +148,12 @@ export interface DirectoryServiceData {
144
148
  ): void;
145
149
  disableUser(
146
150
  args: DisableUserCommandInput,
147
- options: __HttpHandlerOptions,
151
+ options: DirectoryServiceDataRequestOptions,
148
152
  cb: (err: any, data?: DisableUserCommandOutput) => void,
149
153
  ): void;
150
154
  listGroupMembers(
151
155
  args: ListGroupMembersCommandInput,
152
- options?: __HttpHandlerOptions,
156
+ options?: DirectoryServiceDataRequestOptions,
153
157
  ): Promise<ListGroupMembersCommandOutput>;
154
158
  listGroupMembers(
155
159
  args: ListGroupMembersCommandInput,
@@ -157,12 +161,12 @@ export interface DirectoryServiceData {
157
161
  ): void;
158
162
  listGroupMembers(
159
163
  args: ListGroupMembersCommandInput,
160
- options: __HttpHandlerOptions,
164
+ options: DirectoryServiceDataRequestOptions,
161
165
  cb: (err: any, data?: ListGroupMembersCommandOutput) => void,
162
166
  ): void;
163
167
  listGroups(
164
168
  args: ListGroupsCommandInput,
165
- options?: __HttpHandlerOptions,
169
+ options?: DirectoryServiceDataRequestOptions,
166
170
  ): Promise<ListGroupsCommandOutput>;
167
171
  listGroups(
168
172
  args: ListGroupsCommandInput,
@@ -170,12 +174,12 @@ export interface DirectoryServiceData {
170
174
  ): void;
171
175
  listGroups(
172
176
  args: ListGroupsCommandInput,
173
- options: __HttpHandlerOptions,
177
+ options: DirectoryServiceDataRequestOptions,
174
178
  cb: (err: any, data?: ListGroupsCommandOutput) => void,
175
179
  ): void;
176
180
  listGroupsForMember(
177
181
  args: ListGroupsForMemberCommandInput,
178
- options?: __HttpHandlerOptions,
182
+ options?: DirectoryServiceDataRequestOptions,
179
183
  ): Promise<ListGroupsForMemberCommandOutput>;
180
184
  listGroupsForMember(
181
185
  args: ListGroupsForMemberCommandInput,
@@ -183,12 +187,12 @@ export interface DirectoryServiceData {
183
187
  ): void;
184
188
  listGroupsForMember(
185
189
  args: ListGroupsForMemberCommandInput,
186
- options: __HttpHandlerOptions,
190
+ options: DirectoryServiceDataRequestOptions,
187
191
  cb: (err: any, data?: ListGroupsForMemberCommandOutput) => void,
188
192
  ): void;
189
193
  listUsers(
190
194
  args: ListUsersCommandInput,
191
- options?: __HttpHandlerOptions,
195
+ options?: DirectoryServiceDataRequestOptions,
192
196
  ): Promise<ListUsersCommandOutput>;
193
197
  listUsers(
194
198
  args: ListUsersCommandInput,
@@ -196,12 +200,12 @@ export interface DirectoryServiceData {
196
200
  ): void;
197
201
  listUsers(
198
202
  args: ListUsersCommandInput,
199
- options: __HttpHandlerOptions,
203
+ options: DirectoryServiceDataRequestOptions,
200
204
  cb: (err: any, data?: ListUsersCommandOutput) => void,
201
205
  ): void;
202
206
  removeGroupMember(
203
207
  args: RemoveGroupMemberCommandInput,
204
- options?: __HttpHandlerOptions,
208
+ options?: DirectoryServiceDataRequestOptions,
205
209
  ): Promise<RemoveGroupMemberCommandOutput>;
206
210
  removeGroupMember(
207
211
  args: RemoveGroupMemberCommandInput,
@@ -209,12 +213,12 @@ export interface DirectoryServiceData {
209
213
  ): void;
210
214
  removeGroupMember(
211
215
  args: RemoveGroupMemberCommandInput,
212
- options: __HttpHandlerOptions,
216
+ options: DirectoryServiceDataRequestOptions,
213
217
  cb: (err: any, data?: RemoveGroupMemberCommandOutput) => void,
214
218
  ): void;
215
219
  searchGroups(
216
220
  args: SearchGroupsCommandInput,
217
- options?: __HttpHandlerOptions,
221
+ options?: DirectoryServiceDataRequestOptions,
218
222
  ): Promise<SearchGroupsCommandOutput>;
219
223
  searchGroups(
220
224
  args: SearchGroupsCommandInput,
@@ -222,12 +226,12 @@ export interface DirectoryServiceData {
222
226
  ): void;
223
227
  searchGroups(
224
228
  args: SearchGroupsCommandInput,
225
- options: __HttpHandlerOptions,
229
+ options: DirectoryServiceDataRequestOptions,
226
230
  cb: (err: any, data?: SearchGroupsCommandOutput) => void,
227
231
  ): void;
228
232
  searchUsers(
229
233
  args: SearchUsersCommandInput,
230
- options?: __HttpHandlerOptions,
234
+ options?: DirectoryServiceDataRequestOptions,
231
235
  ): Promise<SearchUsersCommandOutput>;
232
236
  searchUsers(
233
237
  args: SearchUsersCommandInput,
@@ -235,12 +239,12 @@ export interface DirectoryServiceData {
235
239
  ): void;
236
240
  searchUsers(
237
241
  args: SearchUsersCommandInput,
238
- options: __HttpHandlerOptions,
242
+ options: DirectoryServiceDataRequestOptions,
239
243
  cb: (err: any, data?: SearchUsersCommandOutput) => void,
240
244
  ): void;
241
245
  updateGroup(
242
246
  args: UpdateGroupCommandInput,
243
- options?: __HttpHandlerOptions,
247
+ options?: DirectoryServiceDataRequestOptions,
244
248
  ): Promise<UpdateGroupCommandOutput>;
245
249
  updateGroup(
246
250
  args: UpdateGroupCommandInput,
@@ -248,12 +252,12 @@ export interface DirectoryServiceData {
248
252
  ): void;
249
253
  updateGroup(
250
254
  args: UpdateGroupCommandInput,
251
- options: __HttpHandlerOptions,
255
+ options: DirectoryServiceDataRequestOptions,
252
256
  cb: (err: any, data?: UpdateGroupCommandOutput) => void,
253
257
  ): void;
254
258
  updateUser(
255
259
  args: UpdateUserCommandInput,
256
- options?: __HttpHandlerOptions,
260
+ options?: DirectoryServiceDataRequestOptions,
257
261
  ): Promise<UpdateUserCommandOutput>;
258
262
  updateUser(
259
263
  args: UpdateUserCommandInput,
@@ -261,7 +265,7 @@ export interface DirectoryServiceData {
261
265
  ): void;
262
266
  updateUser(
263
267
  args: UpdateUserCommandInput,
264
- options: __HttpHandlerOptions,
268
+ options: DirectoryServiceDataRequestOptions,
265
269
  cb: (err: any, data?: UpdateUserCommandOutput) => void,
266
270
  ): void;
267
271
  paginateListGroupMembers(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-directory-service-data",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Directory Service Data Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-directory-service-data",
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": {