@aws-sdk/client-repostspace 3.840.0 → 3.845.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/README.md +48 -0
- package/dist-cjs/index.js +644 -14
- package/dist-es/Repostspace.js +12 -0
- package/dist-es/commands/BatchAddChannelRoleToAccessorsCommand.js +22 -0
- package/dist-es/commands/BatchRemoveChannelRoleFromAccessorsCommand.js +22 -0
- package/dist-es/commands/CreateChannelCommand.js +23 -0
- package/dist-es/commands/GetChannelCommand.js +23 -0
- package/dist-es/commands/ListChannelsCommand.js +23 -0
- package/dist-es/commands/UpdateChannelCommand.js +23 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +73 -6
- package/dist-es/pagination/ListChannelsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +203 -0
- package/dist-es/waiters/index.js +4 -0
- package/dist-es/waiters/waitForChannelCreated.js +49 -0
- package/dist-es/waiters/waitForChannelDeleted.js +52 -0
- package/dist-es/waiters/waitForSpaceCreated.js +49 -0
- package/dist-es/waiters/waitForSpaceDeleted.js +52 -0
- package/dist-types/Repostspace.d.ts +42 -0
- package/dist-types/RepostspaceClient.d.ts +8 -2
- package/dist-types/commands/BatchAddChannelRoleToAccessorsCommand.d.ts +124 -0
- package/dist-types/commands/BatchAddRoleCommand.d.ts +23 -1
- package/dist-types/commands/BatchRemoveChannelRoleFromAccessorsCommand.d.ts +124 -0
- package/dist-types/commands/BatchRemoveRoleCommand.d.ts +23 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +112 -0
- package/dist-types/commands/CreateSpaceCommand.d.ts +6 -0
- package/dist-types/commands/GetChannelCommand.d.ts +125 -0
- package/dist-types/commands/GetSpaceCommand.d.ts +8 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +135 -0
- package/dist-types/commands/ListSpacesCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +107 -0
- package/dist-types/commands/UpdateSpaceCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +464 -33
- package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/Repostspace.d.ts +108 -0
- package/dist-types/ts3.4/RepostspaceClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/BatchAddChannelRoleToAccessorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchRemoveChannelRoleFromAccessorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +148 -17
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForChannelCreated.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForChannelDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForSpaceCreated.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForSpaceDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +4 -0
- package/dist-types/waiters/waitForChannelCreated.d.ts +14 -0
- package/dist-types/waiters/waitForChannelDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForSpaceCreated.d.ts +14 -0
- package/dist-types/waiters/waitForSpaceDeleted.d.ts +14 -0
- package/package.json +15 -14
|
@@ -16,8 +16,8 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
16
16
|
* @public
|
|
17
17
|
* @enum
|
|
18
18
|
*/
|
|
19
|
-
export declare const
|
|
20
|
-
readonly
|
|
19
|
+
export declare const ChannelRole: {
|
|
20
|
+
readonly ASKER: "ASKER";
|
|
21
21
|
readonly EXPERT: "EXPERT";
|
|
22
22
|
readonly MODERATOR: "MODERATOR";
|
|
23
23
|
readonly SUPPORTREQUESTOR: "SUPPORTREQUESTOR";
|
|
@@ -25,26 +25,31 @@ export declare const Role: {
|
|
|
25
25
|
/**
|
|
26
26
|
* @public
|
|
27
27
|
*/
|
|
28
|
-
export type
|
|
28
|
+
export type ChannelRole = (typeof ChannelRole)[keyof typeof ChannelRole];
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
|
-
export interface
|
|
32
|
+
export interface BatchAddChannelRoleToAccessorsInput {
|
|
33
33
|
/**
|
|
34
34
|
* <p>The unique ID of the private re:Post.</p>
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
37
37
|
spaceId: string | undefined;
|
|
38
38
|
/**
|
|
39
|
-
* <p>The
|
|
39
|
+
* <p>The unique ID of the private re:Post channel.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
channelId: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The user or group identifiers to add the role to.</p>
|
|
40
45
|
* @public
|
|
41
46
|
*/
|
|
42
47
|
accessorIds: string[] | undefined;
|
|
43
48
|
/**
|
|
44
|
-
* <p>The role to add to the users or groups.</p>
|
|
49
|
+
* <p>The channel role to add to the users or groups.</p>
|
|
45
50
|
* @public
|
|
46
51
|
*/
|
|
47
|
-
|
|
52
|
+
channelRole: ChannelRole | undefined;
|
|
48
53
|
}
|
|
49
54
|
/**
|
|
50
55
|
* <p>An error that occurred during a batch operation.</p>
|
|
@@ -70,9 +75,9 @@ export interface BatchError {
|
|
|
70
75
|
/**
|
|
71
76
|
* @public
|
|
72
77
|
*/
|
|
73
|
-
export interface
|
|
78
|
+
export interface BatchAddChannelRoleToAccessorsOutput {
|
|
74
79
|
/**
|
|
75
|
-
* <p>An array of successfully updated
|
|
80
|
+
* <p>An array of successfully updated identifiers.</p>
|
|
76
81
|
* @public
|
|
77
82
|
*/
|
|
78
83
|
addedAccessorIds: string[] | undefined;
|
|
@@ -204,6 +209,95 @@ export declare class ValidationException extends __BaseException {
|
|
|
204
209
|
*/
|
|
205
210
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
206
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
* @enum
|
|
215
|
+
*/
|
|
216
|
+
export declare const Role: {
|
|
217
|
+
readonly ADMINISTRATOR: "ADMINISTRATOR";
|
|
218
|
+
readonly EXPERT: "EXPERT";
|
|
219
|
+
readonly MODERATOR: "MODERATOR";
|
|
220
|
+
readonly SUPPORTREQUESTOR: "SUPPORTREQUESTOR";
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
export type Role = (typeof Role)[keyof typeof Role];
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
export interface BatchAddRoleInput {
|
|
230
|
+
/**
|
|
231
|
+
* <p>The unique ID of the private re:Post.</p>
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
spaceId: string | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* <p>The user or group accessor identifiers to add the role to.</p>
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
accessorIds: string[] | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* <p>The role to add to the users or groups.</p>
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
role: Role | undefined;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export interface BatchAddRoleOutput {
|
|
250
|
+
/**
|
|
251
|
+
* <p>An array of successfully updated accessor identifiers.</p>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
addedAccessorIds: string[] | undefined;
|
|
255
|
+
/**
|
|
256
|
+
* <p>An array of errors that occurred when roles were added.</p>
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
errors: BatchError[] | undefined;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
export interface BatchRemoveChannelRoleFromAccessorsInput {
|
|
265
|
+
/**
|
|
266
|
+
* <p>The unique ID of the private re:Post.</p>
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
spaceId: string | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* <p>The unique ID of the private re:Post channel.</p>
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
channelId: string | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* <p>The users or groups identifiers to remove the role from.</p>
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
accessorIds: string[] | undefined;
|
|
280
|
+
/**
|
|
281
|
+
* <p>The channel role to remove from the users or groups.</p>
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
channelRole: ChannelRole | undefined;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
export interface BatchRemoveChannelRoleFromAccessorsOutput {
|
|
290
|
+
/**
|
|
291
|
+
* <p>An array of successfully updated identifiers.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
removedAccessorIds: string[] | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* <p>An array of errors that occurred when roles were removed.</p>
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
errors: BatchError[] | undefined;
|
|
300
|
+
}
|
|
207
301
|
/**
|
|
208
302
|
* @public
|
|
209
303
|
*/
|
|
@@ -239,6 +333,73 @@ export interface BatchRemoveRoleOutput {
|
|
|
239
333
|
*/
|
|
240
334
|
errors: BatchError[] | undefined;
|
|
241
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
* @enum
|
|
339
|
+
*/
|
|
340
|
+
export declare const ChannelStatus: {
|
|
341
|
+
readonly CREATED: "CREATED";
|
|
342
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
343
|
+
readonly CREATING: "CREATING";
|
|
344
|
+
readonly DELETED: "DELETED";
|
|
345
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
346
|
+
readonly DELETING: "DELETING";
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
export type ChannelStatus = (typeof ChannelStatus)[keyof typeof ChannelStatus];
|
|
352
|
+
/**
|
|
353
|
+
* <p>A structure that contains some information about a channel in a private re:Post.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
export interface ChannelData {
|
|
357
|
+
/**
|
|
358
|
+
* <p>The unique ID of the private re:Post.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
spaceId: string | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* <p>The unique ID of the private re:Post channel.</p>
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
channelId: string | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* <p>The name for the channel. This must be unique per private re:Post.</p>
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
channelName: string | undefined;
|
|
372
|
+
/**
|
|
373
|
+
* <p>A description for the channel. This is used only to help you identify this channel.</p>
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
channelDescription?: string | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* <p>The date when the channel was created.</p>
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
createDateTime: Date | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>The date when the channel was deleted.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
deleteDateTime?: Date | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* <p>The status pf the channel.</p>
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
channelStatus: ChannelStatus | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* <p>The number of users that are part of the channel.</p>
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
userCount: number | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* <p>The number of groups that are part of the channel.</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
groupCount: number | undefined;
|
|
402
|
+
}
|
|
242
403
|
/**
|
|
243
404
|
* @public
|
|
244
405
|
* @enum
|
|
@@ -273,6 +434,96 @@ export declare class ConflictException extends __BaseException {
|
|
|
273
434
|
*/
|
|
274
435
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
275
436
|
}
|
|
437
|
+
/**
|
|
438
|
+
* @public
|
|
439
|
+
*/
|
|
440
|
+
export interface CreateChannelInput {
|
|
441
|
+
/**
|
|
442
|
+
* <p>The unique ID of the private re:Post.</p>
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
445
|
+
spaceId: string | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* <p>The name for the channel. This must be unique per private re:Post.</p>
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
channelName: string | undefined;
|
|
451
|
+
/**
|
|
452
|
+
* <p>A description for the channel. This is used only to help you identify this channel.</p>
|
|
453
|
+
* @public
|
|
454
|
+
*/
|
|
455
|
+
channelDescription?: string | undefined;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* @public
|
|
459
|
+
*/
|
|
460
|
+
export interface CreateChannelOutput {
|
|
461
|
+
/**
|
|
462
|
+
* <p>The unique ID of the private re:Post channel.</p>
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
channelId: string | undefined;
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
472
|
+
readonly name: "ServiceQuotaExceededException";
|
|
473
|
+
readonly $fault: "client";
|
|
474
|
+
/**
|
|
475
|
+
* <p>The id of the resource.</p>
|
|
476
|
+
* @public
|
|
477
|
+
*/
|
|
478
|
+
resourceId: string | undefined;
|
|
479
|
+
/**
|
|
480
|
+
* <p>The type of the resource.</p>
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
resourceType: string | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* <p>The code to identify the service.</p>
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
serviceCode: string | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* <p>The code to identify the quota.</p>
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
quotaCode: string | undefined;
|
|
494
|
+
/**
|
|
495
|
+
* @internal
|
|
496
|
+
*/
|
|
497
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* @public
|
|
501
|
+
* @enum
|
|
502
|
+
*/
|
|
503
|
+
export declare const FeatureEnableParameter: {
|
|
504
|
+
readonly DISABLED: "DISABLED";
|
|
505
|
+
readonly ENABLED: "ENABLED";
|
|
506
|
+
};
|
|
507
|
+
/**
|
|
508
|
+
* @public
|
|
509
|
+
*/
|
|
510
|
+
export type FeatureEnableParameter = (typeof FeatureEnableParameter)[keyof typeof FeatureEnableParameter];
|
|
511
|
+
/**
|
|
512
|
+
* <p/>
|
|
513
|
+
* @public
|
|
514
|
+
*/
|
|
515
|
+
export interface SupportedEmailDomainsParameters {
|
|
516
|
+
/**
|
|
517
|
+
* <p/>
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
520
|
+
enabled?: FeatureEnableParameter | undefined;
|
|
521
|
+
/**
|
|
522
|
+
* <p/>
|
|
523
|
+
* @public
|
|
524
|
+
*/
|
|
525
|
+
allowedDomains?: string[] | undefined;
|
|
526
|
+
}
|
|
276
527
|
/**
|
|
277
528
|
* @public
|
|
278
529
|
* @enum
|
|
@@ -324,6 +575,11 @@ export interface CreateSpaceInput {
|
|
|
324
575
|
* @public
|
|
325
576
|
*/
|
|
326
577
|
roleArn?: string | undefined;
|
|
578
|
+
/**
|
|
579
|
+
* <p/>
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
supportedEmailDomains?: SupportedEmailDomainsParameters | undefined;
|
|
327
583
|
}
|
|
328
584
|
/**
|
|
329
585
|
* @public
|
|
@@ -336,61 +592,102 @@ export interface CreateSpaceOutput {
|
|
|
336
592
|
spaceId: string | undefined;
|
|
337
593
|
}
|
|
338
594
|
/**
|
|
339
|
-
* <p>Request would cause a service quota to be exceeded.</p>
|
|
340
595
|
* @public
|
|
341
596
|
*/
|
|
342
|
-
export
|
|
343
|
-
readonly name: "ServiceQuotaExceededException";
|
|
344
|
-
readonly $fault: "client";
|
|
345
|
-
/**
|
|
346
|
-
* <p>The id of the resource.</p>
|
|
347
|
-
* @public
|
|
348
|
-
*/
|
|
349
|
-
resourceId: string | undefined;
|
|
597
|
+
export interface DeleteSpaceInput {
|
|
350
598
|
/**
|
|
351
|
-
* <p>The
|
|
599
|
+
* <p>The unique ID of the private re:Post.</p>
|
|
352
600
|
* @public
|
|
353
601
|
*/
|
|
354
|
-
|
|
602
|
+
spaceId: string | undefined;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
export interface DeregisterAdminInput {
|
|
355
608
|
/**
|
|
356
|
-
* <p>The
|
|
609
|
+
* <p>The ID of the private re:Post to remove the admin from.</p>
|
|
357
610
|
* @public
|
|
358
611
|
*/
|
|
359
|
-
|
|
612
|
+
spaceId: string | undefined;
|
|
360
613
|
/**
|
|
361
|
-
* <p>The
|
|
614
|
+
* <p>The ID of the admin to remove.</p>
|
|
362
615
|
* @public
|
|
363
616
|
*/
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* @internal
|
|
367
|
-
*/
|
|
368
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
617
|
+
adminId: string | undefined;
|
|
369
618
|
}
|
|
370
619
|
/**
|
|
371
620
|
* @public
|
|
621
|
+
* @enum
|
|
372
622
|
*/
|
|
373
|
-
export
|
|
623
|
+
export declare const FeatureEnableStatus: {
|
|
624
|
+
readonly DISABLED: "DISABLED";
|
|
625
|
+
readonly ENABLED: "ENABLED";
|
|
626
|
+
readonly NOT_ALLOWED: "NOT_ALLOWED";
|
|
627
|
+
};
|
|
628
|
+
/**
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
export type FeatureEnableStatus = (typeof FeatureEnableStatus)[keyof typeof FeatureEnableStatus];
|
|
632
|
+
/**
|
|
633
|
+
* @public
|
|
634
|
+
*/
|
|
635
|
+
export interface GetChannelInput {
|
|
374
636
|
/**
|
|
375
637
|
* <p>The unique ID of the private re:Post.</p>
|
|
376
638
|
* @public
|
|
377
639
|
*/
|
|
378
640
|
spaceId: string | undefined;
|
|
641
|
+
/**
|
|
642
|
+
* <p>The unique ID of the private re:Post channel.</p>
|
|
643
|
+
* @public
|
|
644
|
+
*/
|
|
645
|
+
channelId: string | undefined;
|
|
379
646
|
}
|
|
380
647
|
/**
|
|
381
648
|
* @public
|
|
382
649
|
*/
|
|
383
|
-
export interface
|
|
650
|
+
export interface GetChannelOutput {
|
|
384
651
|
/**
|
|
385
|
-
* <p>The ID of the private re:Post
|
|
652
|
+
* <p>The unique ID of the private re:Post.</p>
|
|
386
653
|
* @public
|
|
387
654
|
*/
|
|
388
655
|
spaceId: string | undefined;
|
|
389
656
|
/**
|
|
390
|
-
* <p>The ID of the
|
|
657
|
+
* <p>The unique ID of the private re:Post channel.</p>
|
|
391
658
|
* @public
|
|
392
659
|
*/
|
|
393
|
-
|
|
660
|
+
channelId: string | undefined;
|
|
661
|
+
/**
|
|
662
|
+
* <p>The name for the channel. This must be unique per private re:Post.</p>
|
|
663
|
+
* @public
|
|
664
|
+
*/
|
|
665
|
+
channelName: string | undefined;
|
|
666
|
+
/**
|
|
667
|
+
* <p>A description for the channel. This is used only to help you identify this channel.</p>
|
|
668
|
+
* @public
|
|
669
|
+
*/
|
|
670
|
+
channelDescription?: string | undefined;
|
|
671
|
+
/**
|
|
672
|
+
* <p>The date when the channel was created.</p>
|
|
673
|
+
* @public
|
|
674
|
+
*/
|
|
675
|
+
createDateTime: Date | undefined;
|
|
676
|
+
/**
|
|
677
|
+
* <p>The date when the channel was deleted.</p>
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
deleteDateTime?: Date | undefined;
|
|
681
|
+
/**
|
|
682
|
+
* <p>The channel roles associated to the users and groups of the channel.</p>
|
|
683
|
+
* @public
|
|
684
|
+
*/
|
|
685
|
+
channelRoles?: Record<string, ChannelRole[]> | undefined;
|
|
686
|
+
/**
|
|
687
|
+
* <p>The status pf the channel.</p>
|
|
688
|
+
* @public
|
|
689
|
+
*/
|
|
690
|
+
channelStatus: ChannelStatus | undefined;
|
|
394
691
|
}
|
|
395
692
|
/**
|
|
396
693
|
* @public
|
|
@@ -402,6 +699,22 @@ export interface GetSpaceInput {
|
|
|
402
699
|
*/
|
|
403
700
|
spaceId: string | undefined;
|
|
404
701
|
}
|
|
702
|
+
/**
|
|
703
|
+
* <p/>
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
706
|
+
export interface SupportedEmailDomainsStatus {
|
|
707
|
+
/**
|
|
708
|
+
* <p/>
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
enabled?: FeatureEnableStatus | undefined;
|
|
712
|
+
/**
|
|
713
|
+
* <p/>
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
716
|
+
allowedDomains?: string[] | undefined;
|
|
717
|
+
}
|
|
405
718
|
/**
|
|
406
719
|
* @public
|
|
407
720
|
* @enum
|
|
@@ -449,6 +762,16 @@ export interface GetSpaceOutput {
|
|
|
449
762
|
* @public
|
|
450
763
|
*/
|
|
451
764
|
clientId: string | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* <p/>
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
identityStoreId?: string | undefined;
|
|
770
|
+
/**
|
|
771
|
+
* <p/>
|
|
772
|
+
* @public
|
|
773
|
+
*/
|
|
774
|
+
applicationArn?: string | undefined;
|
|
452
775
|
/**
|
|
453
776
|
* <p>The description of the private re:Post.</p>
|
|
454
777
|
* @public
|
|
@@ -528,6 +851,46 @@ export interface GetSpaceOutput {
|
|
|
528
851
|
* @public
|
|
529
852
|
*/
|
|
530
853
|
contentSize?: number | undefined;
|
|
854
|
+
/**
|
|
855
|
+
* <p/>
|
|
856
|
+
* @public
|
|
857
|
+
*/
|
|
858
|
+
supportedEmailDomains?: SupportedEmailDomainsStatus | undefined;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* @public
|
|
862
|
+
*/
|
|
863
|
+
export interface ListChannelsInput {
|
|
864
|
+
/**
|
|
865
|
+
* <p>The unique ID of the private re:Post.</p>
|
|
866
|
+
* @public
|
|
867
|
+
*/
|
|
868
|
+
spaceId: string | undefined;
|
|
869
|
+
/**
|
|
870
|
+
* <p>The token for the next set of channel to return. You receive this token from a previous ListChannels operation.</p>
|
|
871
|
+
* @public
|
|
872
|
+
*/
|
|
873
|
+
nextToken?: string | undefined;
|
|
874
|
+
/**
|
|
875
|
+
* <p>The maximum number of channels to include in the results.</p>
|
|
876
|
+
* @public
|
|
877
|
+
*/
|
|
878
|
+
maxResults?: number | undefined;
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* @public
|
|
882
|
+
*/
|
|
883
|
+
export interface ListChannelsOutput {
|
|
884
|
+
/**
|
|
885
|
+
* <p>An array of structures that contain some information about the channels in the private re:Post.</p>
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
channels: ChannelData[] | undefined;
|
|
889
|
+
/**
|
|
890
|
+
* <p>The token that you use when you request the next set of channels.</p>
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
nextToken?: string | undefined;
|
|
531
894
|
}
|
|
532
895
|
/**
|
|
533
896
|
* @public
|
|
@@ -629,6 +992,11 @@ export interface SpaceData {
|
|
|
629
992
|
* @public
|
|
630
993
|
*/
|
|
631
994
|
contentSize?: number | undefined;
|
|
995
|
+
/**
|
|
996
|
+
* <p/>
|
|
997
|
+
* @public
|
|
998
|
+
*/
|
|
999
|
+
supportedEmailDomains?: SupportedEmailDomainsStatus | undefined;
|
|
632
1000
|
}
|
|
633
1001
|
/**
|
|
634
1002
|
* @public
|
|
@@ -745,6 +1113,36 @@ export interface UntagResourceRequest {
|
|
|
745
1113
|
*/
|
|
746
1114
|
export interface UntagResourceResponse {
|
|
747
1115
|
}
|
|
1116
|
+
/**
|
|
1117
|
+
* @public
|
|
1118
|
+
*/
|
|
1119
|
+
export interface UpdateChannelInput {
|
|
1120
|
+
/**
|
|
1121
|
+
* <p>The unique ID of the private re:Post.</p>
|
|
1122
|
+
* @public
|
|
1123
|
+
*/
|
|
1124
|
+
spaceId: string | undefined;
|
|
1125
|
+
/**
|
|
1126
|
+
* <p>The unique ID of the private re:Post channel.</p>
|
|
1127
|
+
* @public
|
|
1128
|
+
*/
|
|
1129
|
+
channelId: string | undefined;
|
|
1130
|
+
/**
|
|
1131
|
+
* <p>The name for the channel. This must be unique per private re:Post.</p>
|
|
1132
|
+
* @public
|
|
1133
|
+
*/
|
|
1134
|
+
channelName: string | undefined;
|
|
1135
|
+
/**
|
|
1136
|
+
* <p>A description for the channel. This is used only to help you identify this channel.</p>
|
|
1137
|
+
* @public
|
|
1138
|
+
*/
|
|
1139
|
+
channelDescription?: string | undefined;
|
|
1140
|
+
}
|
|
1141
|
+
/**
|
|
1142
|
+
* @public
|
|
1143
|
+
*/
|
|
1144
|
+
export interface UpdateChannelOutput {
|
|
1145
|
+
}
|
|
748
1146
|
/**
|
|
749
1147
|
* @public
|
|
750
1148
|
*/
|
|
@@ -769,15 +1167,44 @@ export interface UpdateSpaceInput {
|
|
|
769
1167
|
* @public
|
|
770
1168
|
*/
|
|
771
1169
|
roleArn?: string | undefined;
|
|
1170
|
+
/**
|
|
1171
|
+
* <p/>
|
|
1172
|
+
* @public
|
|
1173
|
+
*/
|
|
1174
|
+
supportedEmailDomains?: SupportedEmailDomainsParameters | undefined;
|
|
772
1175
|
}
|
|
1176
|
+
/**
|
|
1177
|
+
* @internal
|
|
1178
|
+
*/
|
|
1179
|
+
export declare const ChannelDataFilterSensitiveLog: (obj: ChannelData) => any;
|
|
1180
|
+
/**
|
|
1181
|
+
* @internal
|
|
1182
|
+
*/
|
|
1183
|
+
export declare const CreateChannelInputFilterSensitiveLog: (obj: CreateChannelInput) => any;
|
|
1184
|
+
/**
|
|
1185
|
+
* @internal
|
|
1186
|
+
*/
|
|
1187
|
+
export declare const SupportedEmailDomainsParametersFilterSensitiveLog: (obj: SupportedEmailDomainsParameters) => any;
|
|
773
1188
|
/**
|
|
774
1189
|
* @internal
|
|
775
1190
|
*/
|
|
776
1191
|
export declare const CreateSpaceInputFilterSensitiveLog: (obj: CreateSpaceInput) => any;
|
|
1192
|
+
/**
|
|
1193
|
+
* @internal
|
|
1194
|
+
*/
|
|
1195
|
+
export declare const GetChannelOutputFilterSensitiveLog: (obj: GetChannelOutput) => any;
|
|
1196
|
+
/**
|
|
1197
|
+
* @internal
|
|
1198
|
+
*/
|
|
1199
|
+
export declare const SupportedEmailDomainsStatusFilterSensitiveLog: (obj: SupportedEmailDomainsStatus) => any;
|
|
777
1200
|
/**
|
|
778
1201
|
* @internal
|
|
779
1202
|
*/
|
|
780
1203
|
export declare const GetSpaceOutputFilterSensitiveLog: (obj: GetSpaceOutput) => any;
|
|
1204
|
+
/**
|
|
1205
|
+
* @internal
|
|
1206
|
+
*/
|
|
1207
|
+
export declare const ListChannelsOutputFilterSensitiveLog: (obj: ListChannelsOutput) => any;
|
|
781
1208
|
/**
|
|
782
1209
|
* @internal
|
|
783
1210
|
*/
|
|
@@ -798,6 +1225,10 @@ export declare const SendInvitesInputFilterSensitiveLog: (obj: SendInvitesInput)
|
|
|
798
1225
|
* @internal
|
|
799
1226
|
*/
|
|
800
1227
|
export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
1228
|
+
/**
|
|
1229
|
+
* @internal
|
|
1230
|
+
*/
|
|
1231
|
+
export declare const UpdateChannelInputFilterSensitiveLog: (obj: UpdateChannelInput) => any;
|
|
801
1232
|
/**
|
|
802
1233
|
* @internal
|
|
803
1234
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
|
|
3
|
+
import { RepostspacePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListChannels: (config: RepostspacePaginationConfiguration, input: ListChannelsCommandInput, ...rest: any[]) => Paginator<ListChannelsCommandOutput>;
|