@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
package/dist-es/Repostspace.js
CHANGED
|
@@ -1,31 +1,43 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
+
import { BatchAddChannelRoleToAccessorsCommand, } from "./commands/BatchAddChannelRoleToAccessorsCommand";
|
|
2
3
|
import { BatchAddRoleCommand, } from "./commands/BatchAddRoleCommand";
|
|
4
|
+
import { BatchRemoveChannelRoleFromAccessorsCommand, } from "./commands/BatchRemoveChannelRoleFromAccessorsCommand";
|
|
3
5
|
import { BatchRemoveRoleCommand, } from "./commands/BatchRemoveRoleCommand";
|
|
6
|
+
import { CreateChannelCommand, } from "./commands/CreateChannelCommand";
|
|
4
7
|
import { CreateSpaceCommand } from "./commands/CreateSpaceCommand";
|
|
5
8
|
import { DeleteSpaceCommand } from "./commands/DeleteSpaceCommand";
|
|
6
9
|
import { DeregisterAdminCommand, } from "./commands/DeregisterAdminCommand";
|
|
10
|
+
import { GetChannelCommand } from "./commands/GetChannelCommand";
|
|
7
11
|
import { GetSpaceCommand } from "./commands/GetSpaceCommand";
|
|
12
|
+
import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
|
|
8
13
|
import { ListSpacesCommand } from "./commands/ListSpacesCommand";
|
|
9
14
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
10
15
|
import { RegisterAdminCommand, } from "./commands/RegisterAdminCommand";
|
|
11
16
|
import { SendInvitesCommand } from "./commands/SendInvitesCommand";
|
|
12
17
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
13
18
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
19
|
+
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
14
20
|
import { UpdateSpaceCommand } from "./commands/UpdateSpaceCommand";
|
|
15
21
|
import { RepostspaceClient } from "./RepostspaceClient";
|
|
16
22
|
const commands = {
|
|
23
|
+
BatchAddChannelRoleToAccessorsCommand,
|
|
17
24
|
BatchAddRoleCommand,
|
|
25
|
+
BatchRemoveChannelRoleFromAccessorsCommand,
|
|
18
26
|
BatchRemoveRoleCommand,
|
|
27
|
+
CreateChannelCommand,
|
|
19
28
|
CreateSpaceCommand,
|
|
20
29
|
DeleteSpaceCommand,
|
|
21
30
|
DeregisterAdminCommand,
|
|
31
|
+
GetChannelCommand,
|
|
22
32
|
GetSpaceCommand,
|
|
33
|
+
ListChannelsCommand,
|
|
23
34
|
ListSpacesCommand,
|
|
24
35
|
ListTagsForResourceCommand,
|
|
25
36
|
RegisterAdminCommand,
|
|
26
37
|
SendInvitesCommand,
|
|
27
38
|
TagResourceCommand,
|
|
28
39
|
UntagResourceCommand,
|
|
40
|
+
UpdateChannelCommand,
|
|
29
41
|
UpdateSpaceCommand,
|
|
30
42
|
};
|
|
31
43
|
export class Repostspace extends RepostspaceClient {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_BatchAddChannelRoleToAccessorsCommand, se_BatchAddChannelRoleToAccessorsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class BatchAddChannelRoleToAccessorsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("RepostSpace", "BatchAddChannelRoleToAccessors", {})
|
|
17
|
+
.n("RepostspaceClient", "BatchAddChannelRoleToAccessorsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_BatchAddChannelRoleToAccessorsCommand)
|
|
20
|
+
.de(de_BatchAddChannelRoleToAccessorsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_BatchRemoveChannelRoleFromAccessorsCommand, se_BatchRemoveChannelRoleFromAccessorsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class BatchRemoveChannelRoleFromAccessorsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("RepostSpace", "BatchRemoveChannelRoleFromAccessors", {})
|
|
17
|
+
.n("RepostspaceClient", "BatchRemoveChannelRoleFromAccessorsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_BatchRemoveChannelRoleFromAccessorsCommand)
|
|
20
|
+
.de(de_BatchRemoveChannelRoleFromAccessorsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateChannelInputFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_CreateChannelCommand, se_CreateChannelCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateChannelCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("RepostSpace", "CreateChannel", {})
|
|
18
|
+
.n("RepostspaceClient", "CreateChannelCommand")
|
|
19
|
+
.f(CreateChannelInputFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_CreateChannelCommand)
|
|
21
|
+
.de(de_CreateChannelCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetChannelOutputFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_GetChannelCommand, se_GetChannelCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetChannelCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("RepostSpace", "GetChannel", {})
|
|
18
|
+
.n("RepostspaceClient", "GetChannelCommand")
|
|
19
|
+
.f(void 0, GetChannelOutputFilterSensitiveLog)
|
|
20
|
+
.ser(se_GetChannelCommand)
|
|
21
|
+
.de(de_GetChannelCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListChannelsOutputFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListChannelsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("RepostSpace", "ListChannels", {})
|
|
18
|
+
.n("RepostspaceClient", "ListChannelsCommand")
|
|
19
|
+
.f(void 0, ListChannelsOutputFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListChannelsCommand)
|
|
21
|
+
.de(de_ListChannelsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateChannelInputFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateChannelCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("RepostSpace", "UpdateChannel", {})
|
|
18
|
+
.n("RepostspaceClient", "UpdateChannelCommand")
|
|
19
|
+
.f(UpdateChannelInputFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_UpdateChannelCommand)
|
|
21
|
+
.de(de_UpdateChannelCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
export * from "./BatchAddChannelRoleToAccessorsCommand";
|
|
1
2
|
export * from "./BatchAddRoleCommand";
|
|
3
|
+
export * from "./BatchRemoveChannelRoleFromAccessorsCommand";
|
|
2
4
|
export * from "./BatchRemoveRoleCommand";
|
|
5
|
+
export * from "./CreateChannelCommand";
|
|
3
6
|
export * from "./CreateSpaceCommand";
|
|
4
7
|
export * from "./DeleteSpaceCommand";
|
|
5
8
|
export * from "./DeregisterAdminCommand";
|
|
9
|
+
export * from "./GetChannelCommand";
|
|
6
10
|
export * from "./GetSpaceCommand";
|
|
11
|
+
export * from "./ListChannelsCommand";
|
|
7
12
|
export * from "./ListSpacesCommand";
|
|
8
13
|
export * from "./ListTagsForResourceCommand";
|
|
9
14
|
export * from "./RegisterAdminCommand";
|
|
10
15
|
export * from "./SendInvitesCommand";
|
|
11
16
|
export * from "./TagResourceCommand";
|
|
12
17
|
export * from "./UntagResourceCommand";
|
|
18
|
+
export * from "./UpdateChannelCommand";
|
|
13
19
|
export * from "./UpdateSpaceCommand";
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./RepostspaceClient";
|
|
|
2
2
|
export * from "./Repostspace";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./waiters";
|
|
5
6
|
export * from "./models";
|
|
6
7
|
export { RepostspaceServiceException } from "./models/RepostspaceServiceException";
|
|
@@ -12,8 +12,8 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export const
|
|
16
|
-
|
|
15
|
+
export const ChannelRole = {
|
|
16
|
+
ASKER: "ASKER",
|
|
17
17
|
EXPERT: "EXPERT",
|
|
18
18
|
MODERATOR: "MODERATOR",
|
|
19
19
|
SUPPORTREQUESTOR: "SUPPORTREQUESTOR",
|
|
@@ -92,6 +92,20 @@ export class ValidationException extends __BaseException {
|
|
|
92
92
|
this.fieldList = opts.fieldList;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
+
export const Role = {
|
|
96
|
+
ADMINISTRATOR: "ADMINISTRATOR",
|
|
97
|
+
EXPERT: "EXPERT",
|
|
98
|
+
MODERATOR: "MODERATOR",
|
|
99
|
+
SUPPORTREQUESTOR: "SUPPORTREQUESTOR",
|
|
100
|
+
};
|
|
101
|
+
export const ChannelStatus = {
|
|
102
|
+
CREATED: "CREATED",
|
|
103
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
104
|
+
CREATING: "CREATING",
|
|
105
|
+
DELETED: "DELETED",
|
|
106
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
107
|
+
DELETING: "DELETING",
|
|
108
|
+
};
|
|
95
109
|
export const ConfigurationStatus = {
|
|
96
110
|
CONFIGURED: "CONFIGURED",
|
|
97
111
|
UNCONFIGURED: "UNCONFIGURED",
|
|
@@ -112,10 +126,6 @@ export class ConflictException extends __BaseException {
|
|
|
112
126
|
this.resourceType = opts.resourceType;
|
|
113
127
|
}
|
|
114
128
|
}
|
|
115
|
-
export const TierLevel = {
|
|
116
|
-
BASIC: "BASIC",
|
|
117
|
-
STANDARD: "STANDARD",
|
|
118
|
-
};
|
|
119
129
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
120
130
|
name = "ServiceQuotaExceededException";
|
|
121
131
|
$fault = "client";
|
|
@@ -136,26 +146,75 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
136
146
|
this.quotaCode = opts.quotaCode;
|
|
137
147
|
}
|
|
138
148
|
}
|
|
149
|
+
export const FeatureEnableParameter = {
|
|
150
|
+
DISABLED: "DISABLED",
|
|
151
|
+
ENABLED: "ENABLED",
|
|
152
|
+
};
|
|
153
|
+
export const TierLevel = {
|
|
154
|
+
BASIC: "BASIC",
|
|
155
|
+
STANDARD: "STANDARD",
|
|
156
|
+
};
|
|
157
|
+
export const FeatureEnableStatus = {
|
|
158
|
+
DISABLED: "DISABLED",
|
|
159
|
+
ENABLED: "ENABLED",
|
|
160
|
+
NOT_ALLOWED: "NOT_ALLOWED",
|
|
161
|
+
};
|
|
139
162
|
export const VanityDomainStatus = {
|
|
140
163
|
APPROVED: "APPROVED",
|
|
141
164
|
PENDING: "PENDING",
|
|
142
165
|
UNAPPROVED: "UNAPPROVED",
|
|
143
166
|
};
|
|
167
|
+
export const ChannelDataFilterSensitiveLog = (obj) => ({
|
|
168
|
+
...obj,
|
|
169
|
+
...(obj.channelName && { channelName: SENSITIVE_STRING }),
|
|
170
|
+
...(obj.channelDescription && { channelDescription: SENSITIVE_STRING }),
|
|
171
|
+
});
|
|
172
|
+
export const CreateChannelInputFilterSensitiveLog = (obj) => ({
|
|
173
|
+
...obj,
|
|
174
|
+
...(obj.channelName && { channelName: SENSITIVE_STRING }),
|
|
175
|
+
...(obj.channelDescription && { channelDescription: SENSITIVE_STRING }),
|
|
176
|
+
});
|
|
177
|
+
export const SupportedEmailDomainsParametersFilterSensitiveLog = (obj) => ({
|
|
178
|
+
...obj,
|
|
179
|
+
...(obj.allowedDomains && { allowedDomains: SENSITIVE_STRING }),
|
|
180
|
+
});
|
|
144
181
|
export const CreateSpaceInputFilterSensitiveLog = (obj) => ({
|
|
145
182
|
...obj,
|
|
146
183
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
147
184
|
...(obj.description && { description: SENSITIVE_STRING }),
|
|
148
185
|
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
186
|
+
...(obj.supportedEmailDomains && {
|
|
187
|
+
supportedEmailDomains: SupportedEmailDomainsParametersFilterSensitiveLog(obj.supportedEmailDomains),
|
|
188
|
+
}),
|
|
189
|
+
});
|
|
190
|
+
export const GetChannelOutputFilterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
...(obj.channelName && { channelName: SENSITIVE_STRING }),
|
|
193
|
+
...(obj.channelDescription && { channelDescription: SENSITIVE_STRING }),
|
|
194
|
+
});
|
|
195
|
+
export const SupportedEmailDomainsStatusFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
...(obj.allowedDomains && { allowedDomains: SENSITIVE_STRING }),
|
|
149
198
|
});
|
|
150
199
|
export const GetSpaceOutputFilterSensitiveLog = (obj) => ({
|
|
151
200
|
...obj,
|
|
152
201
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
153
202
|
...(obj.description && { description: SENSITIVE_STRING }),
|
|
203
|
+
...(obj.supportedEmailDomains && {
|
|
204
|
+
supportedEmailDomains: SupportedEmailDomainsStatusFilterSensitiveLog(obj.supportedEmailDomains),
|
|
205
|
+
}),
|
|
206
|
+
});
|
|
207
|
+
export const ListChannelsOutputFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
...(obj.channels && { channels: obj.channels.map((item) => ChannelDataFilterSensitiveLog(item)) }),
|
|
154
210
|
});
|
|
155
211
|
export const SpaceDataFilterSensitiveLog = (obj) => ({
|
|
156
212
|
...obj,
|
|
157
213
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
158
214
|
...(obj.description && { description: SENSITIVE_STRING }),
|
|
215
|
+
...(obj.supportedEmailDomains && {
|
|
216
|
+
supportedEmailDomains: SupportedEmailDomainsStatusFilterSensitiveLog(obj.supportedEmailDomains),
|
|
217
|
+
}),
|
|
159
218
|
});
|
|
160
219
|
export const ListSpacesOutputFilterSensitiveLog = (obj) => ({
|
|
161
220
|
...obj,
|
|
@@ -174,7 +233,15 @@ export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
|
174
233
|
...obj,
|
|
175
234
|
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
176
235
|
});
|
|
236
|
+
export const UpdateChannelInputFilterSensitiveLog = (obj) => ({
|
|
237
|
+
...obj,
|
|
238
|
+
...(obj.channelName && { channelName: SENSITIVE_STRING }),
|
|
239
|
+
...(obj.channelDescription && { channelDescription: SENSITIVE_STRING }),
|
|
240
|
+
});
|
|
177
241
|
export const UpdateSpaceInputFilterSensitiveLog = (obj) => ({
|
|
178
242
|
...obj,
|
|
179
243
|
...(obj.description && { description: SENSITIVE_STRING }),
|
|
244
|
+
...(obj.supportedEmailDomains && {
|
|
245
|
+
supportedEmailDomains: SupportedEmailDomainsParametersFilterSensitiveLog(obj.supportedEmailDomains),
|
|
246
|
+
}),
|
|
180
247
|
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
3
|
+
import { RepostspaceClient } from "../RepostspaceClient";
|
|
4
|
+
export const paginateListChannels = createPaginator(RepostspaceClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|