@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.
Files changed (66) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +644 -14
  3. package/dist-es/Repostspace.js +12 -0
  4. package/dist-es/commands/BatchAddChannelRoleToAccessorsCommand.js +22 -0
  5. package/dist-es/commands/BatchRemoveChannelRoleFromAccessorsCommand.js +22 -0
  6. package/dist-es/commands/CreateChannelCommand.js +23 -0
  7. package/dist-es/commands/GetChannelCommand.js +23 -0
  8. package/dist-es/commands/ListChannelsCommand.js +23 -0
  9. package/dist-es/commands/UpdateChannelCommand.js +23 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/index.js +1 -0
  12. package/dist-es/models/models_0.js +73 -6
  13. package/dist-es/pagination/ListChannelsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +203 -0
  16. package/dist-es/waiters/index.js +4 -0
  17. package/dist-es/waiters/waitForChannelCreated.js +49 -0
  18. package/dist-es/waiters/waitForChannelDeleted.js +52 -0
  19. package/dist-es/waiters/waitForSpaceCreated.js +49 -0
  20. package/dist-es/waiters/waitForSpaceDeleted.js +52 -0
  21. package/dist-types/Repostspace.d.ts +42 -0
  22. package/dist-types/RepostspaceClient.d.ts +8 -2
  23. package/dist-types/commands/BatchAddChannelRoleToAccessorsCommand.d.ts +124 -0
  24. package/dist-types/commands/BatchAddRoleCommand.d.ts +23 -1
  25. package/dist-types/commands/BatchRemoveChannelRoleFromAccessorsCommand.d.ts +124 -0
  26. package/dist-types/commands/BatchRemoveRoleCommand.d.ts +23 -1
  27. package/dist-types/commands/CreateChannelCommand.d.ts +112 -0
  28. package/dist-types/commands/CreateSpaceCommand.d.ts +6 -0
  29. package/dist-types/commands/GetChannelCommand.d.ts +125 -0
  30. package/dist-types/commands/GetSpaceCommand.d.ts +8 -0
  31. package/dist-types/commands/ListChannelsCommand.d.ts +135 -0
  32. package/dist-types/commands/ListSpacesCommand.d.ts +6 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateChannelCommand.d.ts +107 -0
  35. package/dist-types/commands/UpdateSpaceCommand.d.ts +6 -0
  36. package/dist-types/commands/index.d.ts +6 -0
  37. package/dist-types/index.d.ts +1 -0
  38. package/dist-types/models/models_0.d.ts +464 -33
  39. package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  42. package/dist-types/ts3.4/Repostspace.d.ts +108 -0
  43. package/dist-types/ts3.4/RepostspaceClient.d.ts +36 -0
  44. package/dist-types/ts3.4/commands/BatchAddChannelRoleToAccessorsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/BatchRemoveChannelRoleFromAccessorsCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +47 -0
  47. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +47 -0
  48. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +47 -0
  49. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +47 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  51. package/dist-types/ts3.4/index.d.ts +1 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +148 -17
  53. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  56. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  57. package/dist-types/ts3.4/waiters/waitForChannelCreated.d.ts +11 -0
  58. package/dist-types/ts3.4/waiters/waitForChannelDeleted.d.ts +11 -0
  59. package/dist-types/ts3.4/waiters/waitForSpaceCreated.d.ts +11 -0
  60. package/dist-types/ts3.4/waiters/waitForSpaceDeleted.d.ts +11 -0
  61. package/dist-types/waiters/index.d.ts +4 -0
  62. package/dist-types/waiters/waitForChannelCreated.d.ts +14 -0
  63. package/dist-types/waiters/waitForChannelDeleted.d.ts +14 -0
  64. package/dist-types/waiters/waitForSpaceCreated.d.ts +14 -0
  65. package/dist-types/waiters/waitForSpaceDeleted.d.ts +14 -0
  66. package/package.json +15 -14
@@ -0,0 +1,124 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BatchAddChannelRoleToAccessorsInput, BatchAddChannelRoleToAccessorsOutput } from "../models/models_0";
4
+ import { RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RepostspaceClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchAddChannelRoleToAccessorsCommand}.
14
+ */
15
+ export interface BatchAddChannelRoleToAccessorsCommandInput extends BatchAddChannelRoleToAccessorsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchAddChannelRoleToAccessorsCommand}.
21
+ */
22
+ export interface BatchAddChannelRoleToAccessorsCommandOutput extends BatchAddChannelRoleToAccessorsOutput, __MetadataBearer {
23
+ }
24
+ declare const BatchAddChannelRoleToAccessorsCommand_base: {
25
+ new (input: BatchAddChannelRoleToAccessorsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchAddChannelRoleToAccessorsCommandInput, BatchAddChannelRoleToAccessorsCommandOutput, RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchAddChannelRoleToAccessorsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchAddChannelRoleToAccessorsCommandInput, BatchAddChannelRoleToAccessorsCommandOutput, RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Add role to multiple users or groups in a private re:Post channel.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RepostspaceClient, BatchAddChannelRoleToAccessorsCommand } from "@aws-sdk/client-repostspace"; // ES Modules import
35
+ * // const { RepostspaceClient, BatchAddChannelRoleToAccessorsCommand } = require("@aws-sdk/client-repostspace"); // CommonJS import
36
+ * const client = new RepostspaceClient(config);
37
+ * const input = { // BatchAddChannelRoleToAccessorsInput
38
+ * spaceId: "STRING_VALUE", // required
39
+ * channelId: "STRING_VALUE", // required
40
+ * accessorIds: [ // AccessorIdList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * channelRole: "ASKER" || "EXPERT" || "MODERATOR" || "SUPPORTREQUESTOR", // required
44
+ * };
45
+ * const command = new BatchAddChannelRoleToAccessorsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // BatchAddChannelRoleToAccessorsOutput
48
+ * // addedAccessorIds: [ // AccessorIdList // required
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // errors: [ // BatchErrorList // required
52
+ * // { // BatchError
53
+ * // accessorId: "STRING_VALUE", // required
54
+ * // error: Number("int"), // required
55
+ * // message: "STRING_VALUE", // required
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param BatchAddChannelRoleToAccessorsCommandInput - {@link BatchAddChannelRoleToAccessorsCommandInput}
63
+ * @returns {@link BatchAddChannelRoleToAccessorsCommandOutput}
64
+ * @see {@link BatchAddChannelRoleToAccessorsCommandInput} for command's `input` shape.
65
+ * @see {@link BatchAddChannelRoleToAccessorsCommandOutput} for command's `response` shape.
66
+ * @see {@link RepostspaceClientResolvedConfig | config} for RepostspaceClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>User does not have sufficient access to perform this action.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>Unexpected error during processing of request.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>Request references a resource which does not exist.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>Request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
82
+ *
83
+ * @throws {@link RepostspaceServiceException}
84
+ * <p>Base exception class for all service exceptions from Repostspace service.</p>
85
+ *
86
+ *
87
+ * @example BatchAddChannelRoleToAccessors
88
+ * ```javascript
89
+ * //
90
+ * const input = {
91
+ * accessorIds: [
92
+ * "12345678-1234-1234-1234-1234567890ab"
93
+ * ],
94
+ * channelId: "WS1234567890abcdefghijkl",
95
+ * channelRole: "MODERATOR",
96
+ * spaceId: "SP1234567890abcdefghijkl"
97
+ * };
98
+ * const command = new BatchAddChannelRoleToAccessorsCommand(input);
99
+ * const response = await client.send(command);
100
+ * /* response is
101
+ * {
102
+ * addedAccessorIds: [
103
+ * "12345678-1234-1234-1234-1234567890ab"
104
+ * ],
105
+ * errors: []
106
+ * }
107
+ * *\/
108
+ * ```
109
+ *
110
+ * @public
111
+ */
112
+ export declare class BatchAddChannelRoleToAccessorsCommand extends BatchAddChannelRoleToAccessorsCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: BatchAddChannelRoleToAccessorsInput;
117
+ output: BatchAddChannelRoleToAccessorsOutput;
118
+ };
119
+ sdk: {
120
+ input: BatchAddChannelRoleToAccessorsCommandInput;
121
+ output: BatchAddChannelRoleToAccessorsCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -27,7 +27,7 @@ declare const BatchAddRoleCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Add role to multiple users or groups in a private re:Post.</p>
30
+ * <p>Add a role to multiple users or groups in a private re:Post.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -83,6 +83,28 @@ declare const BatchAddRoleCommand_base: {
83
83
  * <p>Base exception class for all service exceptions from Repostspace service.</p>
84
84
  *
85
85
  *
86
+ * @example BatchAddRole
87
+ * ```javascript
88
+ * //
89
+ * const input = {
90
+ * accessorIds: [
91
+ * "12345678-1234-1234-1234-1234567890ab"
92
+ * ],
93
+ * role: "EXPERT",
94
+ * spaceId: "SP1234567890abcdefghijkl"
95
+ * };
96
+ * const command = new BatchAddRoleCommand(input);
97
+ * const response = await client.send(command);
98
+ * /* response is
99
+ * {
100
+ * addedAccessorIds: [
101
+ * "12345678-1234-1234-1234-1234567890ab"
102
+ * ],
103
+ * errors: []
104
+ * }
105
+ * *\/
106
+ * ```
107
+ *
86
108
  * @public
87
109
  */
88
110
  export declare class BatchAddRoleCommand extends BatchAddRoleCommand_base {
@@ -0,0 +1,124 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BatchRemoveChannelRoleFromAccessorsInput, BatchRemoveChannelRoleFromAccessorsOutput } from "../models/models_0";
4
+ import { RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RepostspaceClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchRemoveChannelRoleFromAccessorsCommand}.
14
+ */
15
+ export interface BatchRemoveChannelRoleFromAccessorsCommandInput extends BatchRemoveChannelRoleFromAccessorsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchRemoveChannelRoleFromAccessorsCommand}.
21
+ */
22
+ export interface BatchRemoveChannelRoleFromAccessorsCommandOutput extends BatchRemoveChannelRoleFromAccessorsOutput, __MetadataBearer {
23
+ }
24
+ declare const BatchRemoveChannelRoleFromAccessorsCommand_base: {
25
+ new (input: BatchRemoveChannelRoleFromAccessorsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchRemoveChannelRoleFromAccessorsCommandInput, BatchRemoveChannelRoleFromAccessorsCommandOutput, RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchRemoveChannelRoleFromAccessorsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchRemoveChannelRoleFromAccessorsCommandInput, BatchRemoveChannelRoleFromAccessorsCommandOutput, RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Remove a role from multiple users or groups in a private re:Post channel.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RepostspaceClient, BatchRemoveChannelRoleFromAccessorsCommand } from "@aws-sdk/client-repostspace"; // ES Modules import
35
+ * // const { RepostspaceClient, BatchRemoveChannelRoleFromAccessorsCommand } = require("@aws-sdk/client-repostspace"); // CommonJS import
36
+ * const client = new RepostspaceClient(config);
37
+ * const input = { // BatchRemoveChannelRoleFromAccessorsInput
38
+ * spaceId: "STRING_VALUE", // required
39
+ * channelId: "STRING_VALUE", // required
40
+ * accessorIds: [ // AccessorIdList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * channelRole: "ASKER" || "EXPERT" || "MODERATOR" || "SUPPORTREQUESTOR", // required
44
+ * };
45
+ * const command = new BatchRemoveChannelRoleFromAccessorsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // BatchRemoveChannelRoleFromAccessorsOutput
48
+ * // removedAccessorIds: [ // AccessorIdList // required
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // errors: [ // BatchErrorList // required
52
+ * // { // BatchError
53
+ * // accessorId: "STRING_VALUE", // required
54
+ * // error: Number("int"), // required
55
+ * // message: "STRING_VALUE", // required
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param BatchRemoveChannelRoleFromAccessorsCommandInput - {@link BatchRemoveChannelRoleFromAccessorsCommandInput}
63
+ * @returns {@link BatchRemoveChannelRoleFromAccessorsCommandOutput}
64
+ * @see {@link BatchRemoveChannelRoleFromAccessorsCommandInput} for command's `input` shape.
65
+ * @see {@link BatchRemoveChannelRoleFromAccessorsCommandOutput} for command's `response` shape.
66
+ * @see {@link RepostspaceClientResolvedConfig | config} for RepostspaceClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>User does not have sufficient access to perform this action.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>Unexpected error during processing of request.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>Request references a resource which does not exist.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>Request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
82
+ *
83
+ * @throws {@link RepostspaceServiceException}
84
+ * <p>Base exception class for all service exceptions from Repostspace service.</p>
85
+ *
86
+ *
87
+ * @example BatchRemoveChannelRoleFromAccessors
88
+ * ```javascript
89
+ * //
90
+ * const input = {
91
+ * accessorIds: [
92
+ * "12345678-1234-1234-1234-1234567890ab"
93
+ * ],
94
+ * channelId: "WS1234567890abcdefghijkl",
95
+ * channelRole: "MODERATOR",
96
+ * spaceId: "SP1234567890abcdefghijkl"
97
+ * };
98
+ * const command = new BatchRemoveChannelRoleFromAccessorsCommand(input);
99
+ * const response = await client.send(command);
100
+ * /* response is
101
+ * {
102
+ * errors: [],
103
+ * removedAccessorIds: [
104
+ * "12345678-1234-1234-1234-1234567890ab"
105
+ * ]
106
+ * }
107
+ * *\/
108
+ * ```
109
+ *
110
+ * @public
111
+ */
112
+ export declare class BatchRemoveChannelRoleFromAccessorsCommand extends BatchRemoveChannelRoleFromAccessorsCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: BatchRemoveChannelRoleFromAccessorsInput;
117
+ output: BatchRemoveChannelRoleFromAccessorsOutput;
118
+ };
119
+ sdk: {
120
+ input: BatchRemoveChannelRoleFromAccessorsCommandInput;
121
+ output: BatchRemoveChannelRoleFromAccessorsCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -27,7 +27,7 @@ declare const BatchRemoveRoleCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Remove role from multiple users or groups in a private re:Post.</p>
30
+ * <p>Remove a role from multiple users or groups in a private re:Post.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -83,6 +83,28 @@ declare const BatchRemoveRoleCommand_base: {
83
83
  * <p>Base exception class for all service exceptions from Repostspace service.</p>
84
84
  *
85
85
  *
86
+ * @example BatchRemoveRole
87
+ * ```javascript
88
+ * //
89
+ * const input = {
90
+ * accessorIds: [
91
+ * "12345678-1234-1234-1234-1234567890ab"
92
+ * ],
93
+ * role: "EXPERT",
94
+ * spaceId: "SP1234567890abcdefghijkl"
95
+ * };
96
+ * const command = new BatchRemoveRoleCommand(input);
97
+ * const response = await client.send(command);
98
+ * /* response is
99
+ * {
100
+ * errors: [],
101
+ * removedAccessorIds: [
102
+ * "12345678-1234-1234-1234-1234567890ab"
103
+ * ]
104
+ * }
105
+ * *\/
106
+ * ```
107
+ *
86
108
  * @public
87
109
  */
88
110
  export declare class BatchRemoveRoleCommand extends BatchRemoveRoleCommand_base {
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateChannelInput, CreateChannelOutput } from "../models/models_0";
4
+ import { RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RepostspaceClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateChannelCommand}.
14
+ */
15
+ export interface CreateChannelCommandInput extends CreateChannelInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateChannelCommand}.
21
+ */
22
+ export interface CreateChannelCommandOutput extends CreateChannelOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateChannelCommand_base: {
25
+ new (input: CreateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelCommandInput, CreateChannelCommandOutput, RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelCommandInput, CreateChannelCommandOutput, RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a channel in an AWS re:Post Private private re:Post.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RepostspaceClient, CreateChannelCommand } from "@aws-sdk/client-repostspace"; // ES Modules import
35
+ * // const { RepostspaceClient, CreateChannelCommand } = require("@aws-sdk/client-repostspace"); // CommonJS import
36
+ * const client = new RepostspaceClient(config);
37
+ * const input = { // CreateChannelInput
38
+ * spaceId: "STRING_VALUE", // required
39
+ * channelName: "STRING_VALUE", // required
40
+ * channelDescription: "STRING_VALUE",
41
+ * };
42
+ * const command = new CreateChannelCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // CreateChannelOutput
45
+ * // channelId: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param CreateChannelCommandInput - {@link CreateChannelCommandInput}
51
+ * @returns {@link CreateChannelCommandOutput}
52
+ * @see {@link CreateChannelCommandInput} for command's `input` shape.
53
+ * @see {@link CreateChannelCommandOutput} for command's `response` shape.
54
+ * @see {@link RepostspaceClientResolvedConfig | config} for RepostspaceClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>User does not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>Unexpected error during processing of request.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>Request references a resource which does not exist.</p>
67
+ *
68
+ * @throws {@link ServiceQuotaExceededException} (client fault)
69
+ * <p>Request would cause a service quota to be exceeded.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>Request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
76
+ *
77
+ * @throws {@link RepostspaceServiceException}
78
+ * <p>Base exception class for all service exceptions from Repostspace service.</p>
79
+ *
80
+ *
81
+ * @example CreateChannel
82
+ * ```javascript
83
+ * //
84
+ * const input = {
85
+ * channelDescription: "Useful channel description",
86
+ * channelName: "My First Channel",
87
+ * spaceId: "SP1234567890abcdefghijkl"
88
+ * };
89
+ * const command = new CreateChannelCommand(input);
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * {
93
+ * channelId: "WS1234567890abcdefghijkl"
94
+ * }
95
+ * *\/
96
+ * ```
97
+ *
98
+ * @public
99
+ */
100
+ export declare class CreateChannelCommand extends CreateChannelCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: CreateChannelInput;
105
+ output: CreateChannelOutput;
106
+ };
107
+ sdk: {
108
+ input: CreateChannelCommandInput;
109
+ output: CreateChannelCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -44,6 +44,12 @@ declare const CreateSpaceCommand_base: {
44
44
  * "<keys>": "STRING_VALUE",
45
45
  * },
46
46
  * roleArn: "STRING_VALUE",
47
+ * supportedEmailDomains: { // SupportedEmailDomainsParameters
48
+ * enabled: "ENABLED" || "DISABLED",
49
+ * allowedDomains: [ // AllowedDomainsList
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * },
47
53
  * };
48
54
  * const command = new CreateSpaceCommand(input);
49
55
  * const response = await client.send(command);
@@ -0,0 +1,125 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetChannelInput, GetChannelOutput } from "../models/models_0";
4
+ import { RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RepostspaceClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetChannelCommand}.
14
+ */
15
+ export interface GetChannelCommandInput extends GetChannelInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetChannelCommand}.
21
+ */
22
+ export interface GetChannelCommandOutput extends GetChannelOutput, __MetadataBearer {
23
+ }
24
+ declare const GetChannelCommand_base: {
25
+ new (input: GetChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetChannelCommandInput, GetChannelCommandOutput, RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetChannelCommandInput, GetChannelCommandOutput, RepostspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Displays information about a channel in a private re:Post.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RepostspaceClient, GetChannelCommand } from "@aws-sdk/client-repostspace"; // ES Modules import
35
+ * // const { RepostspaceClient, GetChannelCommand } = require("@aws-sdk/client-repostspace"); // CommonJS import
36
+ * const client = new RepostspaceClient(config);
37
+ * const input = { // GetChannelInput
38
+ * spaceId: "STRING_VALUE", // required
39
+ * channelId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetChannelCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetChannelOutput
44
+ * // spaceId: "STRING_VALUE", // required
45
+ * // channelId: "STRING_VALUE", // required
46
+ * // channelName: "STRING_VALUE", // required
47
+ * // channelDescription: "STRING_VALUE",
48
+ * // createDateTime: new Date("TIMESTAMP"), // required
49
+ * // deleteDateTime: new Date("TIMESTAMP"),
50
+ * // channelRoles: { // ChannelRoles
51
+ * // "<keys>": [ // ChannelRoleList
52
+ * // "ASKER" || "EXPERT" || "MODERATOR" || "SUPPORTREQUESTOR",
53
+ * // ],
54
+ * // },
55
+ * // channelStatus: "CREATED" || "CREATING" || "CREATE_FAILED" || "DELETED" || "DELETING" || "DELETE_FAILED", // required
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param GetChannelCommandInput - {@link GetChannelCommandInput}
61
+ * @returns {@link GetChannelCommandOutput}
62
+ * @see {@link GetChannelCommandInput} for command's `input` shape.
63
+ * @see {@link GetChannelCommandOutput} for command's `response` shape.
64
+ * @see {@link RepostspaceClientResolvedConfig | config} for RepostspaceClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>User does not have sufficient access to perform this action.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>Unexpected error during processing of request.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>Request references a resource which does not exist.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>Request was denied due to request throttling.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
80
+ *
81
+ * @throws {@link RepostspaceServiceException}
82
+ * <p>Base exception class for all service exceptions from Repostspace service.</p>
83
+ *
84
+ *
85
+ * @example GetChannel
86
+ * ```javascript
87
+ * //
88
+ * const input = {
89
+ * channelId: "WS1234567890abcdefghijkl",
90
+ * spaceId: "SP1234567890abcdefghijkl"
91
+ * };
92
+ * const command = new GetChannelCommand(input);
93
+ * const response = await client.send(command);
94
+ * /* response is
95
+ * {
96
+ * channelDescription: "Useful channel description",
97
+ * channelId: "WS1234567890abcdefghijkl",
98
+ * channelName: "My First Channel",
99
+ * channelRoles: {
100
+ * 12345678-1234-1234-1234-1234567890ab: [
101
+ * "ASKER"
102
+ * ]
103
+ * },
104
+ * channelStatus: "CREATED",
105
+ * createDateTime: "2025-02-13T18:49:13.713Z",
106
+ * spaceId: "SP1234567890abcdefghijkl"
107
+ * }
108
+ * *\/
109
+ * ```
110
+ *
111
+ * @public
112
+ */
113
+ export declare class GetChannelCommand extends GetChannelCommand_base {
114
+ /** @internal type navigation helper, not in runtime. */
115
+ protected static __types: {
116
+ api: {
117
+ input: GetChannelInput;
118
+ output: GetChannelOutput;
119
+ };
120
+ sdk: {
121
+ input: GetChannelCommandInput;
122
+ output: GetChannelCommandOutput;
123
+ };
124
+ };
125
+ }
@@ -46,6 +46,8 @@ declare const GetSpaceCommand_base: {
46
46
  * // status: "STRING_VALUE", // required
47
47
  * // configurationStatus: "CONFIGURED" || "UNCONFIGURED", // required
48
48
  * // clientId: "STRING_VALUE", // required
49
+ * // identityStoreId: "STRING_VALUE",
50
+ * // applicationArn: "STRING_VALUE",
49
51
  * // description: "STRING_VALUE",
50
52
  * // vanityDomainStatus: "PENDING" || "APPROVED" || "UNAPPROVED", // required
51
53
  * // vanityDomain: "STRING_VALUE", // required
@@ -69,6 +71,12 @@ declare const GetSpaceCommand_base: {
69
71
  * // userKMSKey: "STRING_VALUE",
70
72
  * // userCount: Number("int"),
71
73
  * // contentSize: Number("long"),
74
+ * // supportedEmailDomains: { // SupportedEmailDomainsStatus
75
+ * // enabled: "ENABLED" || "DISABLED" || "NOT_ALLOWED",
76
+ * // allowedDomains: [ // AllowedDomainsList
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // },
72
80
  * // };
73
81
  *
74
82
  * ```