@aws-sdk/client-repostspace 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +850 -981
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/RepostspaceClient.js +2 -0
- package/dist-es/commands/BatchAddChannelRoleToAccessorsCommand.js +3 -9
- package/dist-es/commands/BatchAddRoleCommand.js +3 -9
- package/dist-es/commands/BatchRemoveChannelRoleFromAccessorsCommand.js +3 -9
- package/dist-es/commands/BatchRemoveRoleCommand.js +3 -9
- package/dist-es/commands/CreateChannelCommand.js +3 -10
- package/dist-es/commands/CreateSpaceCommand.js +3 -10
- package/dist-es/commands/DeleteSpaceCommand.js +3 -9
- package/dist-es/commands/DeregisterAdminCommand.js +3 -9
- package/dist-es/commands/GetChannelCommand.js +3 -10
- package/dist-es/commands/GetSpaceCommand.js +3 -10
- package/dist-es/commands/ListChannelsCommand.js +3 -10
- package/dist-es/commands/ListSpacesCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/RegisterAdminCommand.js +3 -9
- package/dist-es/commands/SendInvitesCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateChannelCommand.js +3 -10
- package/dist-es/commands/UpdateSpaceCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -82
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +801 -0
- package/dist-types/RepostspaceClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -60
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +89 -0
- package/dist-types/ts3.4/RepostspaceClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -41
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +96 -0
- package/package.json +34 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -736
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -173
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -233
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.repostspace" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "repostspace",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class RepostspaceClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchAddChannelRoleToAccessors } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchAddChannelRoleToAccessorsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RepostSpace", "BatchAddChannelRoleToAccessors", {})
|
|
17
13
|
.n("RepostspaceClient", "BatchAddChannelRoleToAccessorsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchAddChannelRoleToAccessorsCommand)
|
|
20
|
-
.de(de_BatchAddChannelRoleToAccessorsCommand)
|
|
14
|
+
.sc(BatchAddChannelRoleToAccessors)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchAddRole } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchAddRoleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RepostSpace", "BatchAddRole", {})
|
|
17
13
|
.n("RepostspaceClient", "BatchAddRoleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchAddRoleCommand)
|
|
20
|
-
.de(de_BatchAddRoleCommand)
|
|
14
|
+
.sc(BatchAddRole)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchRemoveChannelRoleFromAccessors } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchRemoveChannelRoleFromAccessorsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RepostSpace", "BatchRemoveChannelRoleFromAccessors", {})
|
|
17
13
|
.n("RepostspaceClient", "BatchRemoveChannelRoleFromAccessorsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchRemoveChannelRoleFromAccessorsCommand)
|
|
20
|
-
.de(de_BatchRemoveChannelRoleFromAccessorsCommand)
|
|
14
|
+
.sc(BatchRemoveChannelRoleFromAccessors)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchRemoveRole } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchRemoveRoleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RepostSpace", "BatchRemoveRole", {})
|
|
17
13
|
.n("RepostspaceClient", "BatchRemoveRoleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchRemoveRoleCommand)
|
|
20
|
-
.de(de_BatchRemoveRoleCommand)
|
|
14
|
+
.sc(BatchRemoveRole)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateChannelCommand, se_CreateChannelCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateChannel } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateChannelCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "CreateChannel", {})
|
|
18
13
|
.n("RepostspaceClient", "CreateChannelCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateChannelCommand)
|
|
21
|
-
.de(de_CreateChannelCommand)
|
|
14
|
+
.sc(CreateChannel)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateSpaceCommand, se_CreateSpaceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateSpace } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateSpaceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "CreateSpace", {})
|
|
18
13
|
.n("RepostspaceClient", "CreateSpaceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateSpaceCommand)
|
|
21
|
-
.de(de_CreateSpaceCommand)
|
|
14
|
+
.sc(CreateSpace)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteSpace } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteSpaceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RepostSpace", "DeleteSpace", {})
|
|
17
13
|
.n("RepostspaceClient", "DeleteSpaceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteSpaceCommand)
|
|
20
|
-
.de(de_DeleteSpaceCommand)
|
|
14
|
+
.sc(DeleteSpace)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeregisterAdmin } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeregisterAdminCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RepostSpace", "DeregisterAdmin", {})
|
|
17
13
|
.n("RepostspaceClient", "DeregisterAdminCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeregisterAdminCommand)
|
|
20
|
-
.de(de_DeregisterAdminCommand)
|
|
14
|
+
.sc(DeregisterAdmin)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetChannelCommand, se_GetChannelCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetChannel } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetChannelCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "GetChannel", {})
|
|
18
13
|
.n("RepostspaceClient", "GetChannelCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetChannelCommand)
|
|
21
|
-
.de(de_GetChannelCommand)
|
|
14
|
+
.sc(GetChannel)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetSpaceCommand, se_GetSpaceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetSpace } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetSpaceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "GetSpace", {})
|
|
18
13
|
.n("RepostspaceClient", "GetSpaceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetSpaceCommand)
|
|
21
|
-
.de(de_GetSpaceCommand)
|
|
14
|
+
.sc(GetSpace)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListChannels } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListChannelsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "ListChannels", {})
|
|
18
13
|
.n("RepostspaceClient", "ListChannelsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListChannelsCommand)
|
|
21
|
-
.de(de_ListChannelsCommand)
|
|
14
|
+
.sc(ListChannels)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListSpacesCommand, se_ListSpacesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListSpaces } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListSpacesCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "ListSpaces", {})
|
|
18
13
|
.n("RepostspaceClient", "ListSpacesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListSpacesCommand)
|
|
21
|
-
.de(de_ListSpacesCommand)
|
|
14
|
+
.sc(ListSpaces)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListTagsForResourceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "ListTagsForResource", {})
|
|
18
13
|
.n("RepostspaceClient", "ListTagsForResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListTagsForResourceCommand)
|
|
21
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RegisterAdmin } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RegisterAdminCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RepostSpace", "RegisterAdmin", {})
|
|
17
13
|
.n("RepostspaceClient", "RegisterAdminCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RegisterAdminCommand)
|
|
20
|
-
.de(de_RegisterAdminCommand)
|
|
14
|
+
.sc(RegisterAdmin)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_SendInvitesCommand, se_SendInvitesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { SendInvites } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class SendInvitesCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "SendInvites", {})
|
|
18
13
|
.n("RepostspaceClient", "SendInvitesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_SendInvitesCommand)
|
|
21
|
-
.de(de_SendInvitesCommand)
|
|
14
|
+
.sc(SendInvites)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class TagResourceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "TagResource", {})
|
|
18
13
|
.n("RepostspaceClient", "TagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_TagResourceCommand)
|
|
21
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RepostSpace", "UntagResource", {})
|
|
17
13
|
.n("RepostspaceClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateChannel } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateChannelCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "UpdateChannel", {})
|
|
18
13
|
.n("RepostspaceClient", "UpdateChannelCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateChannelCommand)
|
|
21
|
-
.de(de_UpdateChannelCommand)
|
|
14
|
+
.sc(UpdateChannel)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateSpaceCommand, se_UpdateSpaceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateSpace } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateSpaceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RepostSpace", "UpdateSpace", {})
|
|
18
13
|
.n("RepostspaceClient", "UpdateSpaceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateSpaceCommand)
|
|
21
|
-
.de(de_UpdateSpaceCommand)
|
|
14
|
+
.sc(UpdateSpace)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { RepostspaceServiceException as __BaseException } from "./RepostspaceServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -164,84 +163,3 @@ export const VanityDomainStatus = {
|
|
|
164
163
|
PENDING: "PENDING",
|
|
165
164
|
UNAPPROVED: "UNAPPROVED",
|
|
166
165
|
};
|
|
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
|
-
});
|
|
181
|
-
export const CreateSpaceInputFilterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
184
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
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 }),
|
|
198
|
-
});
|
|
199
|
-
export const GetSpaceOutputFilterSensitiveLog = (obj) => ({
|
|
200
|
-
...obj,
|
|
201
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
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)) }),
|
|
210
|
-
});
|
|
211
|
-
export const SpaceDataFilterSensitiveLog = (obj) => ({
|
|
212
|
-
...obj,
|
|
213
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
214
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
215
|
-
...(obj.supportedEmailDomains && {
|
|
216
|
-
supportedEmailDomains: SupportedEmailDomainsStatusFilterSensitiveLog(obj.supportedEmailDomains),
|
|
217
|
-
}),
|
|
218
|
-
});
|
|
219
|
-
export const ListSpacesOutputFilterSensitiveLog = (obj) => ({
|
|
220
|
-
...obj,
|
|
221
|
-
...(obj.spaces && { spaces: obj.spaces.map((item) => SpaceDataFilterSensitiveLog(item)) }),
|
|
222
|
-
});
|
|
223
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
224
|
-
...obj,
|
|
225
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
226
|
-
});
|
|
227
|
-
export const SendInvitesInputFilterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
...(obj.title && { title: SENSITIVE_STRING }),
|
|
230
|
-
...(obj.body && { body: SENSITIVE_STRING }),
|
|
231
|
-
});
|
|
232
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
233
|
-
...obj,
|
|
234
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
235
|
-
});
|
|
236
|
-
export const UpdateChannelInputFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
...(obj.channelName && { channelName: SENSITIVE_STRING }),
|
|
239
|
-
...(obj.channelDescription && { channelDescription: SENSITIVE_STRING }),
|
|
240
|
-
});
|
|
241
|
-
export const UpdateSpaceInputFilterSensitiveLog = (obj) => ({
|
|
242
|
-
...obj,
|
|
243
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
244
|
-
...(obj.supportedEmailDomains && {
|
|
245
|
-
supportedEmailDomains: SupportedEmailDomainsParametersFilterSensitiveLog(obj.supportedEmailDomains),
|
|
246
|
-
}),
|
|
247
|
-
});
|