@aws-sdk/client-directory-service-data 3.686.0 → 3.691.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.
@@ -10,8 +10,8 @@ export type AccessDeniedReason =
10
10
  export declare class AccessDeniedException extends __BaseException {
11
11
  readonly name: "AccessDeniedException";
12
12
  readonly $fault: "client";
13
- Message?: string;
14
- Reason?: AccessDeniedReason;
13
+ Message?: string | undefined;
14
+ Reason?: AccessDeniedReason | undefined;
15
15
  constructor(
16
16
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
17
17
  );
@@ -20,14 +20,14 @@ export interface AddGroupMemberRequest {
20
20
  DirectoryId: string | undefined;
21
21
  GroupName: string | undefined;
22
22
  MemberName: string | undefined;
23
- MemberRealm?: string;
24
- ClientToken?: string;
23
+ MemberRealm?: string | undefined;
24
+ ClientToken?: string | undefined;
25
25
  }
26
26
  export interface AddGroupMemberResult {}
27
27
  export declare class ConflictException extends __BaseException {
28
28
  readonly name: "ConflictException";
29
29
  readonly $fault: "client";
30
- Message?: string;
30
+ Message?: string | undefined;
31
31
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
32
32
  }
33
33
  export declare const DirectoryUnavailableReason: {
@@ -43,8 +43,8 @@ export declare class DirectoryUnavailableException extends __BaseException {
43
43
  readonly name: "DirectoryUnavailableException";
44
44
  readonly $fault: "client";
45
45
  $retryable: {};
46
- Message?: string;
47
- Reason?: DirectoryUnavailableReason;
46
+ Message?: string | undefined;
47
+ Reason?: DirectoryUnavailableReason | undefined;
48
48
  constructor(
49
49
  opts: __ExceptionOptionType<DirectoryUnavailableException, __BaseException>
50
50
  );
@@ -53,7 +53,7 @@ export declare class InternalServerException extends __BaseException {
53
53
  readonly name: "InternalServerException";
54
54
  readonly $fault: "server";
55
55
  $retryable: {};
56
- Message?: string;
56
+ Message?: string | undefined;
57
57
  constructor(
58
58
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
59
59
  );
@@ -61,7 +61,7 @@ export declare class InternalServerException extends __BaseException {
61
61
  export declare class ResourceNotFoundException extends __BaseException {
62
62
  readonly name: "ResourceNotFoundException";
63
63
  readonly $fault: "client";
64
- Message?: string;
64
+ Message?: string | undefined;
65
65
  constructor(
66
66
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
67
67
  );
@@ -73,7 +73,7 @@ export declare class ThrottlingException extends __BaseException {
73
73
  throttling: boolean;
74
74
  };
75
75
  Message: string | undefined;
76
- RetryAfterSeconds?: number;
76
+ RetryAfterSeconds?: number | undefined;
77
77
  constructor(
78
78
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
79
79
  );
@@ -100,8 +100,8 @@ export type ValidationExceptionReason =
100
100
  export declare class ValidationException extends __BaseException {
101
101
  readonly name: "ValidationException";
102
102
  readonly $fault: "client";
103
- Message?: string;
104
- Reason?: ValidationExceptionReason;
103
+ Message?: string | undefined;
104
+ Reason?: ValidationExceptionReason | undefined;
105
105
  constructor(
106
106
  opts: __ExceptionOptionType<ValidationException, __BaseException>
107
107
  );
@@ -172,90 +172,90 @@ export type GroupType = (typeof GroupType)[keyof typeof GroupType];
172
172
  export interface CreateGroupRequest {
173
173
  DirectoryId: string | undefined;
174
174
  SAMAccountName: string | undefined;
175
- GroupType?: GroupType;
176
- GroupScope?: GroupScope;
177
- OtherAttributes?: Record<string, AttributeValue>;
178
- ClientToken?: string;
175
+ GroupType?: GroupType | undefined;
176
+ GroupScope?: GroupScope | undefined;
177
+ OtherAttributes?: Record<string, AttributeValue> | undefined;
178
+ ClientToken?: string | undefined;
179
179
  }
180
180
  export interface CreateGroupResult {
181
- DirectoryId?: string;
182
- SAMAccountName?: string;
183
- SID?: string;
181
+ DirectoryId?: string | undefined;
182
+ SAMAccountName?: string | undefined;
183
+ SID?: string | undefined;
184
184
  }
185
185
  export interface CreateUserRequest {
186
186
  DirectoryId: string | undefined;
187
187
  SAMAccountName: string | undefined;
188
- EmailAddress?: string;
189
- GivenName?: string;
190
- Surname?: string;
191
- OtherAttributes?: Record<string, AttributeValue>;
192
- ClientToken?: string;
188
+ EmailAddress?: string | undefined;
189
+ GivenName?: string | undefined;
190
+ Surname?: string | undefined;
191
+ OtherAttributes?: Record<string, AttributeValue> | undefined;
192
+ ClientToken?: string | undefined;
193
193
  }
194
194
  export interface CreateUserResult {
195
- DirectoryId?: string;
196
- SID?: string;
197
- SAMAccountName?: string;
195
+ DirectoryId?: string | undefined;
196
+ SID?: string | undefined;
197
+ SAMAccountName?: string | undefined;
198
198
  }
199
199
  export interface DeleteGroupRequest {
200
200
  DirectoryId: string | undefined;
201
201
  SAMAccountName: string | undefined;
202
- ClientToken?: string;
202
+ ClientToken?: string | undefined;
203
203
  }
204
204
  export interface DeleteGroupResult {}
205
205
  export interface DeleteUserRequest {
206
206
  DirectoryId: string | undefined;
207
207
  SAMAccountName: string | undefined;
208
- ClientToken?: string;
208
+ ClientToken?: string | undefined;
209
209
  }
210
210
  export interface DeleteUserResult {}
211
211
  export interface DescribeGroupRequest {
212
212
  DirectoryId: string | undefined;
213
- Realm?: string;
213
+ Realm?: string | undefined;
214
214
  SAMAccountName: string | undefined;
215
- OtherAttributes?: string[];
215
+ OtherAttributes?: string[] | undefined;
216
216
  }
217
217
  export interface DescribeGroupResult {
218
- DirectoryId?: string;
219
- Realm?: string;
220
- SID?: string;
221
- SAMAccountName?: string;
222
- DistinguishedName?: string;
223
- GroupType?: GroupType;
224
- GroupScope?: GroupScope;
225
- OtherAttributes?: Record<string, AttributeValue>;
218
+ DirectoryId?: string | undefined;
219
+ Realm?: string | undefined;
220
+ SID?: string | undefined;
221
+ SAMAccountName?: string | undefined;
222
+ DistinguishedName?: string | undefined;
223
+ GroupType?: GroupType | undefined;
224
+ GroupScope?: GroupScope | undefined;
225
+ OtherAttributes?: Record<string, AttributeValue> | undefined;
226
226
  }
227
227
  export interface DescribeUserRequest {
228
228
  DirectoryId: string | undefined;
229
229
  SAMAccountName: string | undefined;
230
- OtherAttributes?: string[];
231
- Realm?: string;
230
+ OtherAttributes?: string[] | undefined;
231
+ Realm?: string | undefined;
232
232
  }
233
233
  export interface DescribeUserResult {
234
- DirectoryId?: string;
235
- Realm?: string;
236
- SID?: string;
237
- SAMAccountName?: string;
238
- DistinguishedName?: string;
239
- UserPrincipalName?: string;
240
- EmailAddress?: string;
241
- GivenName?: string;
242
- Surname?: string;
243
- Enabled?: boolean;
244
- OtherAttributes?: Record<string, AttributeValue>;
234
+ DirectoryId?: string | undefined;
235
+ Realm?: string | undefined;
236
+ SID?: string | undefined;
237
+ SAMAccountName?: string | undefined;
238
+ DistinguishedName?: string | undefined;
239
+ UserPrincipalName?: string | undefined;
240
+ EmailAddress?: string | undefined;
241
+ GivenName?: string | undefined;
242
+ Surname?: string | undefined;
243
+ Enabled?: boolean | undefined;
244
+ OtherAttributes?: Record<string, AttributeValue> | undefined;
245
245
  }
246
246
  export interface DisableUserRequest {
247
247
  DirectoryId: string | undefined;
248
248
  SAMAccountName: string | undefined;
249
- ClientToken?: string;
249
+ ClientToken?: string | undefined;
250
250
  }
251
251
  export interface DisableUserResult {}
252
252
  export interface ListGroupMembersRequest {
253
253
  DirectoryId: string | undefined;
254
- Realm?: string;
255
- MemberRealm?: string;
254
+ Realm?: string | undefined;
255
+ MemberRealm?: string | undefined;
256
256
  SAMAccountName: string | undefined;
257
- NextToken?: string;
258
- MaxResults?: number;
257
+ NextToken?: string | undefined;
258
+ MaxResults?: number | undefined;
259
259
  }
260
260
  export declare const MemberType: {
261
261
  readonly COMPUTER: "COMPUTER";
@@ -269,17 +269,17 @@ export interface Member {
269
269
  MemberType: MemberType | undefined;
270
270
  }
271
271
  export interface ListGroupMembersResult {
272
- DirectoryId?: string;
273
- Realm?: string;
274
- MemberRealm?: string;
275
- Members?: Member[];
276
- NextToken?: string;
272
+ DirectoryId?: string | undefined;
273
+ Realm?: string | undefined;
274
+ MemberRealm?: string | undefined;
275
+ Members?: Member[] | undefined;
276
+ NextToken?: string | undefined;
277
277
  }
278
278
  export interface ListGroupsRequest {
279
279
  DirectoryId: string | undefined;
280
- Realm?: string;
281
- NextToken?: string;
282
- MaxResults?: number;
280
+ Realm?: string | undefined;
281
+ NextToken?: string | undefined;
282
+ MaxResults?: number | undefined;
283
283
  }
284
284
  export interface GroupSummary {
285
285
  SID: string | undefined;
@@ -288,99 +288,99 @@ export interface GroupSummary {
288
288
  GroupScope: GroupScope | undefined;
289
289
  }
290
290
  export interface ListGroupsResult {
291
- DirectoryId?: string;
292
- Realm?: string;
293
- Groups?: GroupSummary[];
294
- NextToken?: string;
291
+ DirectoryId?: string | undefined;
292
+ Realm?: string | undefined;
293
+ Groups?: GroupSummary[] | undefined;
294
+ NextToken?: string | undefined;
295
295
  }
296
296
  export interface ListGroupsForMemberRequest {
297
297
  DirectoryId: string | undefined;
298
- Realm?: string;
299
- MemberRealm?: string;
298
+ Realm?: string | undefined;
299
+ MemberRealm?: string | undefined;
300
300
  SAMAccountName: string | undefined;
301
- NextToken?: string;
302
- MaxResults?: number;
301
+ NextToken?: string | undefined;
302
+ MaxResults?: number | undefined;
303
303
  }
304
304
  export interface ListGroupsForMemberResult {
305
- DirectoryId?: string;
306
- Realm?: string;
307
- MemberRealm?: string;
308
- Groups?: GroupSummary[];
309
- NextToken?: string;
305
+ DirectoryId?: string | undefined;
306
+ Realm?: string | undefined;
307
+ MemberRealm?: string | undefined;
308
+ Groups?: GroupSummary[] | undefined;
309
+ NextToken?: string | undefined;
310
310
  }
311
311
  export interface ListUsersRequest {
312
312
  DirectoryId: string | undefined;
313
- Realm?: string;
314
- NextToken?: string;
315
- MaxResults?: number;
313
+ Realm?: string | undefined;
314
+ NextToken?: string | undefined;
315
+ MaxResults?: number | undefined;
316
316
  }
317
317
  export interface UserSummary {
318
318
  SID: string | undefined;
319
319
  SAMAccountName: string | undefined;
320
- GivenName?: string;
321
- Surname?: string;
320
+ GivenName?: string | undefined;
321
+ Surname?: string | undefined;
322
322
  Enabled: boolean | undefined;
323
323
  }
324
324
  export interface ListUsersResult {
325
- DirectoryId?: string;
326
- Realm?: string;
327
- Users?: UserSummary[];
328
- NextToken?: string;
325
+ DirectoryId?: string | undefined;
326
+ Realm?: string | undefined;
327
+ Users?: UserSummary[] | undefined;
328
+ NextToken?: string | undefined;
329
329
  }
330
330
  export interface RemoveGroupMemberRequest {
331
331
  DirectoryId: string | undefined;
332
332
  GroupName: string | undefined;
333
333
  MemberName: string | undefined;
334
- MemberRealm?: string;
335
- ClientToken?: string;
334
+ MemberRealm?: string | undefined;
335
+ ClientToken?: string | undefined;
336
336
  }
337
337
  export interface RemoveGroupMemberResult {}
338
338
  export interface SearchGroupsRequest {
339
339
  DirectoryId: string | undefined;
340
340
  SearchString: string | undefined;
341
341
  SearchAttributes: string[] | undefined;
342
- Realm?: string;
343
- NextToken?: string;
344
- MaxResults?: number;
342
+ Realm?: string | undefined;
343
+ NextToken?: string | undefined;
344
+ MaxResults?: number | undefined;
345
345
  }
346
346
  export interface Group {
347
- SID?: string;
347
+ SID?: string | undefined;
348
348
  SAMAccountName: string | undefined;
349
- DistinguishedName?: string;
350
- GroupType?: GroupType;
351
- GroupScope?: GroupScope;
352
- OtherAttributes?: Record<string, AttributeValue>;
349
+ DistinguishedName?: string | undefined;
350
+ GroupType?: GroupType | undefined;
351
+ GroupScope?: GroupScope | undefined;
352
+ OtherAttributes?: Record<string, AttributeValue> | undefined;
353
353
  }
354
354
  export interface SearchGroupsResult {
355
- DirectoryId?: string;
356
- Realm?: string;
357
- Groups?: Group[];
358
- NextToken?: string;
355
+ DirectoryId?: string | undefined;
356
+ Realm?: string | undefined;
357
+ Groups?: Group[] | undefined;
358
+ NextToken?: string | undefined;
359
359
  }
360
360
  export interface SearchUsersRequest {
361
361
  DirectoryId: string | undefined;
362
- Realm?: string;
362
+ Realm?: string | undefined;
363
363
  SearchString: string | undefined;
364
364
  SearchAttributes: string[] | undefined;
365
- NextToken?: string;
366
- MaxResults?: number;
365
+ NextToken?: string | undefined;
366
+ MaxResults?: number | undefined;
367
367
  }
368
368
  export interface User {
369
- SID?: string;
369
+ SID?: string | undefined;
370
370
  SAMAccountName: string | undefined;
371
- DistinguishedName?: string;
372
- UserPrincipalName?: string;
373
- EmailAddress?: string;
374
- GivenName?: string;
375
- Surname?: string;
376
- Enabled?: boolean;
377
- OtherAttributes?: Record<string, AttributeValue>;
371
+ DistinguishedName?: string | undefined;
372
+ UserPrincipalName?: string | undefined;
373
+ EmailAddress?: string | undefined;
374
+ GivenName?: string | undefined;
375
+ Surname?: string | undefined;
376
+ Enabled?: boolean | undefined;
377
+ OtherAttributes?: Record<string, AttributeValue> | undefined;
378
378
  }
379
379
  export interface SearchUsersResult {
380
- DirectoryId?: string;
381
- Realm?: string;
382
- Users?: User[];
383
- NextToken?: string;
380
+ DirectoryId?: string | undefined;
381
+ Realm?: string | undefined;
382
+ Users?: User[] | undefined;
383
+ NextToken?: string | undefined;
384
384
  }
385
385
  export declare const UpdateType: {
386
386
  readonly ADD: "ADD";
@@ -391,22 +391,22 @@ export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
391
391
  export interface UpdateGroupRequest {
392
392
  DirectoryId: string | undefined;
393
393
  SAMAccountName: string | undefined;
394
- GroupType?: GroupType;
395
- GroupScope?: GroupScope;
396
- OtherAttributes?: Record<string, AttributeValue>;
397
- UpdateType?: UpdateType;
398
- ClientToken?: string;
394
+ GroupType?: GroupType | undefined;
395
+ GroupScope?: GroupScope | undefined;
396
+ OtherAttributes?: Record<string, AttributeValue> | undefined;
397
+ UpdateType?: UpdateType | undefined;
398
+ ClientToken?: string | undefined;
399
399
  }
400
400
  export interface UpdateGroupResult {}
401
401
  export interface UpdateUserRequest {
402
402
  DirectoryId: string | undefined;
403
403
  SAMAccountName: string | undefined;
404
- EmailAddress?: string;
405
- GivenName?: string;
406
- Surname?: string;
407
- OtherAttributes?: Record<string, AttributeValue>;
408
- UpdateType?: UpdateType;
409
- ClientToken?: string;
404
+ EmailAddress?: string | undefined;
405
+ GivenName?: string | undefined;
406
+ Surname?: string | undefined;
407
+ OtherAttributes?: Record<string, AttributeValue> | undefined;
408
+ UpdateType?: UpdateType | undefined;
409
+ ClientToken?: string | undefined;
410
410
  }
411
411
  export interface UpdateUserResult {}
412
412
  export declare const AttributeValueFilterSensitiveLog: (
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-directory-service-data",
3
3
  "description": "AWS SDK for JavaScript Directory Service Data Client for Node.js, Browser and React Native",
4
- "version": "3.686.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.686.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.686.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",