@aws-sdk/client-repostspace 3.1075.0 → 3.1077.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 +860 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/RepostspaceServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -117
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -542
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
|
+
|
|
18
|
+
const defaultRepostspaceHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
|
+
return {
|
|
20
|
+
operation: getSmithyContext(context).operation,
|
|
21
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
22
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
23
|
+
})(),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
27
|
+
return {
|
|
28
|
+
schemeId: "aws.auth#sigv4",
|
|
29
|
+
signingProperties: {
|
|
30
|
+
name: "repostspace",
|
|
31
|
+
region: authParameters.region,
|
|
32
|
+
},
|
|
33
|
+
propertiesExtractor: (config, context) => ({
|
|
34
|
+
signingProperties: {
|
|
35
|
+
config,
|
|
36
|
+
context,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const defaultRepostspaceHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
default: {
|
|
45
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return options;
|
|
49
|
+
};
|
|
50
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
51
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
52
|
+
return Object.assign(config_0, {
|
|
53
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
55
|
+
};
|
|
19
56
|
|
|
20
57
|
const resolveClientEndpointParameters = (options) => {
|
|
21
58
|
return Object.assign(options, {
|
|
@@ -31,6 +68,739 @@ const commonParams = {
|
|
|
31
68
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
69
|
};
|
|
33
70
|
|
|
71
|
+
var version = "3.1076.0";
|
|
72
|
+
var packageInfo = {
|
|
73
|
+
version: version};
|
|
74
|
+
|
|
75
|
+
const k = "ref";
|
|
76
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
77
|
+
const _data = {
|
|
78
|
+
conditions: [
|
|
79
|
+
[c, [g]],
|
|
80
|
+
[c, j],
|
|
81
|
+
["aws.partition", j, d],
|
|
82
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
83
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
85
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://repostspace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://repostspace-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
95
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
96
|
+
["https://repostspace.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
97
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
98
|
+
["https://repostspace.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
99
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
100
|
+
]
|
|
101
|
+
};
|
|
102
|
+
const root = 2;
|
|
103
|
+
const r = 100_000_000;
|
|
104
|
+
const nodes = new Int32Array([
|
|
105
|
+
-1, 1, -1,
|
|
106
|
+
0, 12, 3,
|
|
107
|
+
1, 4, r + 11,
|
|
108
|
+
2, 5, r + 11,
|
|
109
|
+
3, 8, 6,
|
|
110
|
+
4, 7, r + 10,
|
|
111
|
+
5, r + 8, r + 9,
|
|
112
|
+
4, 10, 9,
|
|
113
|
+
6, r + 6, r + 7,
|
|
114
|
+
5, 11, r + 5,
|
|
115
|
+
6, r + 4, r + 5,
|
|
116
|
+
3, r + 1, 13,
|
|
117
|
+
4, r + 2, r + 3,
|
|
118
|
+
]);
|
|
119
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
120
|
+
|
|
121
|
+
const cache = new EndpointCache({
|
|
122
|
+
size: 50,
|
|
123
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
124
|
+
});
|
|
125
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
126
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
127
|
+
endpointParams: endpointParams,
|
|
128
|
+
logger: context.logger,
|
|
129
|
+
}));
|
|
130
|
+
};
|
|
131
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
132
|
+
|
|
133
|
+
class RepostspaceServiceException extends ServiceException {
|
|
134
|
+
constructor(options) {
|
|
135
|
+
super(options);
|
|
136
|
+
Object.setPrototypeOf(this, RepostspaceServiceException.prototype);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
class AccessDeniedException extends RepostspaceServiceException {
|
|
141
|
+
name = "AccessDeniedException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "AccessDeniedException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
class InternalServerException extends RepostspaceServiceException {
|
|
153
|
+
name = "InternalServerException";
|
|
154
|
+
$fault = "server";
|
|
155
|
+
$retryable = {};
|
|
156
|
+
retryAfterSeconds;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "InternalServerException",
|
|
160
|
+
$fault: "server",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
164
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
class ResourceNotFoundException extends RepostspaceServiceException {
|
|
168
|
+
name = "ResourceNotFoundException";
|
|
169
|
+
$fault = "client";
|
|
170
|
+
resourceId;
|
|
171
|
+
resourceType;
|
|
172
|
+
constructor(opts) {
|
|
173
|
+
super({
|
|
174
|
+
name: "ResourceNotFoundException",
|
|
175
|
+
$fault: "client",
|
|
176
|
+
...opts,
|
|
177
|
+
});
|
|
178
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
179
|
+
this.resourceId = opts.resourceId;
|
|
180
|
+
this.resourceType = opts.resourceType;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
class ThrottlingException extends RepostspaceServiceException {
|
|
184
|
+
name = "ThrottlingException";
|
|
185
|
+
$fault = "client";
|
|
186
|
+
$retryable = {
|
|
187
|
+
throttling: true,
|
|
188
|
+
};
|
|
189
|
+
serviceCode;
|
|
190
|
+
quotaCode;
|
|
191
|
+
retryAfterSeconds;
|
|
192
|
+
constructor(opts) {
|
|
193
|
+
super({
|
|
194
|
+
name: "ThrottlingException",
|
|
195
|
+
$fault: "client",
|
|
196
|
+
...opts,
|
|
197
|
+
});
|
|
198
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
199
|
+
this.serviceCode = opts.serviceCode;
|
|
200
|
+
this.quotaCode = opts.quotaCode;
|
|
201
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
class ValidationException extends RepostspaceServiceException {
|
|
205
|
+
name = "ValidationException";
|
|
206
|
+
$fault = "client";
|
|
207
|
+
reason;
|
|
208
|
+
fieldList;
|
|
209
|
+
constructor(opts) {
|
|
210
|
+
super({
|
|
211
|
+
name: "ValidationException",
|
|
212
|
+
$fault: "client",
|
|
213
|
+
...opts,
|
|
214
|
+
});
|
|
215
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
216
|
+
this.reason = opts.reason;
|
|
217
|
+
this.fieldList = opts.fieldList;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
class ConflictException extends RepostspaceServiceException {
|
|
221
|
+
name = "ConflictException";
|
|
222
|
+
$fault = "client";
|
|
223
|
+
resourceId;
|
|
224
|
+
resourceType;
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "ConflictException",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts,
|
|
230
|
+
});
|
|
231
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
232
|
+
this.resourceId = opts.resourceId;
|
|
233
|
+
this.resourceType = opts.resourceType;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
class ServiceQuotaExceededException extends RepostspaceServiceException {
|
|
237
|
+
name = "ServiceQuotaExceededException";
|
|
238
|
+
$fault = "client";
|
|
239
|
+
resourceId;
|
|
240
|
+
resourceType;
|
|
241
|
+
serviceCode;
|
|
242
|
+
quotaCode;
|
|
243
|
+
constructor(opts) {
|
|
244
|
+
super({
|
|
245
|
+
name: "ServiceQuotaExceededException",
|
|
246
|
+
$fault: "client",
|
|
247
|
+
...opts,
|
|
248
|
+
});
|
|
249
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
250
|
+
this.resourceId = opts.resourceId;
|
|
251
|
+
this.resourceType = opts.resourceType;
|
|
252
|
+
this.serviceCode = opts.serviceCode;
|
|
253
|
+
this.quotaCode = opts.quotaCode;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
const _ADE = "AccessDeniedException";
|
|
258
|
+
const _ADL = "AllowedDomainsList";
|
|
259
|
+
const _BACRTA = "BatchAddChannelRoleToAccessors";
|
|
260
|
+
const _BACRTAI = "BatchAddChannelRoleToAccessorsInput";
|
|
261
|
+
const _BACRTAO = "BatchAddChannelRoleToAccessorsOutput";
|
|
262
|
+
const _BAR = "BatchAddRole";
|
|
263
|
+
const _BARI = "BatchAddRoleInput";
|
|
264
|
+
const _BARO = "BatchAddRoleOutput";
|
|
265
|
+
const _BE = "BatchError";
|
|
266
|
+
const _BEL = "BatchErrorList";
|
|
267
|
+
const _BRCRFA = "BatchRemoveChannelRoleFromAccessors";
|
|
268
|
+
const _BRCRFAI = "BatchRemoveChannelRoleFromAccessorsInput";
|
|
269
|
+
const _BRCRFAO = "BatchRemoveChannelRoleFromAccessorsOutput";
|
|
270
|
+
const _BRR = "BatchRemoveRole";
|
|
271
|
+
const _BRRI = "BatchRemoveRoleInput";
|
|
272
|
+
const _BRRO = "BatchRemoveRoleOutput";
|
|
273
|
+
const _CC = "CreateChannel";
|
|
274
|
+
const _CCI = "CreateChannelInput";
|
|
275
|
+
const _CCO = "CreateChannelOutput";
|
|
276
|
+
const _CD = "ChannelDescription";
|
|
277
|
+
const _CDh = "ChannelData";
|
|
278
|
+
const _CE = "ConflictException";
|
|
279
|
+
const _CL = "ChannelsList";
|
|
280
|
+
const _CN = "ChannelName";
|
|
281
|
+
const _CR = "ChannelRoles";
|
|
282
|
+
const _CS = "CreateSpace";
|
|
283
|
+
const _CSI = "CreateSpaceInput";
|
|
284
|
+
const _CSO = "CreateSpaceOutput";
|
|
285
|
+
const _DA = "DeregisterAdmin";
|
|
286
|
+
const _DAI = "DeregisterAdminInput";
|
|
287
|
+
const _DS = "DeleteSpace";
|
|
288
|
+
const _DSI = "DeleteSpaceInput";
|
|
289
|
+
const _ED = "EmailDomain";
|
|
290
|
+
const _GC = "GetChannel";
|
|
291
|
+
const _GCI = "GetChannelInput";
|
|
292
|
+
const _GCO = "GetChannelOutput";
|
|
293
|
+
const _GS = "GetSpace";
|
|
294
|
+
const _GSI = "GetSpaceInput";
|
|
295
|
+
const _GSO = "GetSpaceOutput";
|
|
296
|
+
const _IB = "InviteBody";
|
|
297
|
+
const _ISE = "InternalServerException";
|
|
298
|
+
const _IT = "InviteTitle";
|
|
299
|
+
const _LC = "ListChannels";
|
|
300
|
+
const _LCI = "ListChannelsInput";
|
|
301
|
+
const _LCO = "ListChannelsOutput";
|
|
302
|
+
const _LS = "ListSpaces";
|
|
303
|
+
const _LSI = "ListSpacesInput";
|
|
304
|
+
const _LSO = "ListSpacesOutput";
|
|
305
|
+
const _LTFR = "ListTagsForResource";
|
|
306
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
307
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
308
|
+
const _R = "Roles";
|
|
309
|
+
const _RA = "Retry-After";
|
|
310
|
+
const _RAI = "RegisterAdminInput";
|
|
311
|
+
const _RAe = "RegisterAdmin";
|
|
312
|
+
const _RNFE = "ResourceNotFoundException";
|
|
313
|
+
const _SD = "SpaceDescription";
|
|
314
|
+
const _SDp = "SpaceData";
|
|
315
|
+
const _SEDP = "SupportedEmailDomainsParameters";
|
|
316
|
+
const _SEDS = "SupportedEmailDomainsStatus";
|
|
317
|
+
const _SI = "SendInvites";
|
|
318
|
+
const _SII = "SendInvitesInput";
|
|
319
|
+
const _SL = "SpacesList";
|
|
320
|
+
const _SN = "SpaceName";
|
|
321
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
322
|
+
const _T = "Tags";
|
|
323
|
+
const _TE = "ThrottlingException";
|
|
324
|
+
const _TR = "TagResource";
|
|
325
|
+
const _TRR = "TagResourceRequest";
|
|
326
|
+
const _TRRa = "TagResourceResponse";
|
|
327
|
+
const _UC = "UpdateChannel";
|
|
328
|
+
const _UCI = "UpdateChannelInput";
|
|
329
|
+
const _UCO = "UpdateChannelOutput";
|
|
330
|
+
const _UR = "UntagResource";
|
|
331
|
+
const _URR = "UntagResourceRequest";
|
|
332
|
+
const _URRn = "UntagResourceResponse";
|
|
333
|
+
const _US = "UpdateSpace";
|
|
334
|
+
const _USI = "UpdateSpaceInput";
|
|
335
|
+
const _VE = "ValidationException";
|
|
336
|
+
const _VEF = "ValidationExceptionField";
|
|
337
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
338
|
+
const _a = "arn";
|
|
339
|
+
const _aA = "applicationArn";
|
|
340
|
+
const _aAI = "addedAccessorIds";
|
|
341
|
+
const _aD = "allowedDomains";
|
|
342
|
+
const _aI = "accessorIds";
|
|
343
|
+
const _aIc = "accessorId";
|
|
344
|
+
const _aId = "adminId";
|
|
345
|
+
const _b = "body";
|
|
346
|
+
const _c = "client";
|
|
347
|
+
const _cD = "channelDescription";
|
|
348
|
+
const _cDT = "createDateTime";
|
|
349
|
+
const _cI = "channelId";
|
|
350
|
+
const _cIl = "clientId";
|
|
351
|
+
const _cN = "channelName";
|
|
352
|
+
const _cR = "channelRole";
|
|
353
|
+
const _cRA = "customerRoleArn";
|
|
354
|
+
const _cRh = "channelRoles";
|
|
355
|
+
const _cS = "channelStatus";
|
|
356
|
+
const _cSo = "configurationStatus";
|
|
357
|
+
const _cSon = "contentSize";
|
|
358
|
+
const _ch = "channels";
|
|
359
|
+
const _d = "description";
|
|
360
|
+
const _dDT = "deleteDateTime";
|
|
361
|
+
const _e = "error";
|
|
362
|
+
const _en = "enabled";
|
|
363
|
+
const _er = "errors";
|
|
364
|
+
const _fL = "fieldList";
|
|
365
|
+
const _gA = "groupAdmins";
|
|
366
|
+
const _gC = "groupCount";
|
|
367
|
+
const _h = "http";
|
|
368
|
+
const _hE = "httpError";
|
|
369
|
+
const _hH = "httpHeader";
|
|
370
|
+
const _hQ = "httpQuery";
|
|
371
|
+
const _iSI = "identityStoreId";
|
|
372
|
+
const _m = "message";
|
|
373
|
+
const _mR = "maxResults";
|
|
374
|
+
const _n = "name";
|
|
375
|
+
const _nT = "nextToken";
|
|
376
|
+
const _qC = "quotaCode";
|
|
377
|
+
const _r = "reason";
|
|
378
|
+
const _rA = "roleArn";
|
|
379
|
+
const _rAI = "removedAccessorIds";
|
|
380
|
+
const _rAS = "retryAfterSeconds";
|
|
381
|
+
const _rAe = "resourceArn";
|
|
382
|
+
const _rD = "randomDomain";
|
|
383
|
+
const _rI = "resourceId";
|
|
384
|
+
const _rT = "resourceType";
|
|
385
|
+
const _ro = "role";
|
|
386
|
+
const _rol = "roles";
|
|
387
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.repostspace";
|
|
388
|
+
const _sC = "serviceCode";
|
|
389
|
+
const _sED = "supportedEmailDomains";
|
|
390
|
+
const _sI = "spaceId";
|
|
391
|
+
const _sL = "storageLimit";
|
|
392
|
+
const _se = "server";
|
|
393
|
+
const _sp = "spaces";
|
|
394
|
+
const _st = "status";
|
|
395
|
+
const _su = "subdomain";
|
|
396
|
+
const _t = "tier";
|
|
397
|
+
const _tK = "tagKeys";
|
|
398
|
+
const _ta = "tags";
|
|
399
|
+
const _ti = "title";
|
|
400
|
+
const _uA = "userAdmins";
|
|
401
|
+
const _uC = "userCount";
|
|
402
|
+
const _uKMSK = "userKMSKey";
|
|
403
|
+
const _vD = "vanityDomain";
|
|
404
|
+
const _vDS = "vanityDomainStatus";
|
|
405
|
+
const n0 = "com.amazonaws.repostspace";
|
|
406
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
407
|
+
var RepostspaceServiceException$ = [-3, _s, "RepostspaceServiceException", 0, [], []];
|
|
408
|
+
_s_registry.registerError(RepostspaceServiceException$, RepostspaceServiceException);
|
|
409
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
410
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
411
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
412
|
+
[_m],
|
|
413
|
+
[0], 1
|
|
414
|
+
];
|
|
415
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
416
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
417
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
418
|
+
[_m, _rI, _rT],
|
|
419
|
+
[0, 0, 0], 3
|
|
420
|
+
];
|
|
421
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
422
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
423
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
424
|
+
[_m, _rAS],
|
|
425
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
426
|
+
];
|
|
427
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
428
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
429
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
430
|
+
[_m, _rI, _rT],
|
|
431
|
+
[0, 0, 0], 3
|
|
432
|
+
];
|
|
433
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
434
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
435
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
436
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
437
|
+
[0, 0, 0, 0, 0], 5
|
|
438
|
+
];
|
|
439
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
440
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
441
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
442
|
+
[_m, _sC, _qC, _rAS],
|
|
443
|
+
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
444
|
+
];
|
|
445
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
446
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
447
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
448
|
+
[_m, _r, _fL],
|
|
449
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
450
|
+
];
|
|
451
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
452
|
+
const errorTypeRegistries = [
|
|
453
|
+
_s_registry,
|
|
454
|
+
n0_registry,
|
|
455
|
+
];
|
|
456
|
+
var ChannelDescription = [0, n0, _CD, 8, 0];
|
|
457
|
+
var ChannelName = [0, n0, _CN, 8, 0];
|
|
458
|
+
var EmailDomain = [0, n0, _ED, 8, 0];
|
|
459
|
+
var InviteBody = [0, n0, _IB, 8, 0];
|
|
460
|
+
var InviteTitle = [0, n0, _IT, 8, 0];
|
|
461
|
+
var SpaceDescription = [0, n0, _SD, 8, 0];
|
|
462
|
+
var SpaceName = [0, n0, _SN, 8, 0];
|
|
463
|
+
var BatchAddChannelRoleToAccessorsInput$ = [3, n0, _BACRTAI,
|
|
464
|
+
0,
|
|
465
|
+
[_sI, _cI, _aI, _cR],
|
|
466
|
+
[[0, 1], [0, 1], 64 | 0, 0], 4
|
|
467
|
+
];
|
|
468
|
+
var BatchAddChannelRoleToAccessorsOutput$ = [3, n0, _BACRTAO,
|
|
469
|
+
0,
|
|
470
|
+
[_aAI, _er],
|
|
471
|
+
[64 | 0, () => BatchErrorList], 2
|
|
472
|
+
];
|
|
473
|
+
var BatchAddRoleInput$ = [3, n0, _BARI,
|
|
474
|
+
0,
|
|
475
|
+
[_sI, _aI, _ro],
|
|
476
|
+
[[0, 1], 64 | 0, 0], 3
|
|
477
|
+
];
|
|
478
|
+
var BatchAddRoleOutput$ = [3, n0, _BARO,
|
|
479
|
+
0,
|
|
480
|
+
[_aAI, _er],
|
|
481
|
+
[64 | 0, () => BatchErrorList], 2
|
|
482
|
+
];
|
|
483
|
+
var BatchError$ = [3, n0, _BE,
|
|
484
|
+
0,
|
|
485
|
+
[_aIc, _e, _m],
|
|
486
|
+
[0, 1, 0], 3
|
|
487
|
+
];
|
|
488
|
+
var BatchRemoveChannelRoleFromAccessorsInput$ = [3, n0, _BRCRFAI,
|
|
489
|
+
0,
|
|
490
|
+
[_sI, _cI, _aI, _cR],
|
|
491
|
+
[[0, 1], [0, 1], 64 | 0, 0], 4
|
|
492
|
+
];
|
|
493
|
+
var BatchRemoveChannelRoleFromAccessorsOutput$ = [3, n0, _BRCRFAO,
|
|
494
|
+
0,
|
|
495
|
+
[_rAI, _er],
|
|
496
|
+
[64 | 0, () => BatchErrorList], 2
|
|
497
|
+
];
|
|
498
|
+
var BatchRemoveRoleInput$ = [3, n0, _BRRI,
|
|
499
|
+
0,
|
|
500
|
+
[_sI, _aI, _ro],
|
|
501
|
+
[[0, 1], 64 | 0, 0], 3
|
|
502
|
+
];
|
|
503
|
+
var BatchRemoveRoleOutput$ = [3, n0, _BRRO,
|
|
504
|
+
0,
|
|
505
|
+
[_rAI, _er],
|
|
506
|
+
[64 | 0, () => BatchErrorList], 2
|
|
507
|
+
];
|
|
508
|
+
var ChannelData$ = [3, n0, _CDh,
|
|
509
|
+
0,
|
|
510
|
+
[_sI, _cI, _cN, _cDT, _cS, _uC, _gC, _cD, _dDT],
|
|
511
|
+
[0, 0, [() => ChannelName, 0], 5, 0, 1, 1, [() => ChannelDescription, 0], 5], 7
|
|
512
|
+
];
|
|
513
|
+
var CreateChannelInput$ = [3, n0, _CCI,
|
|
514
|
+
0,
|
|
515
|
+
[_sI, _cN, _cD],
|
|
516
|
+
[[0, 1], [() => ChannelName, 0], [() => ChannelDescription, 0]], 2
|
|
517
|
+
];
|
|
518
|
+
var CreateChannelOutput$ = [3, n0, _CCO,
|
|
519
|
+
0,
|
|
520
|
+
[_cI],
|
|
521
|
+
[0], 1
|
|
522
|
+
];
|
|
523
|
+
var CreateSpaceInput$ = [3, n0, _CSI,
|
|
524
|
+
0,
|
|
525
|
+
[_n, _su, _t, _d, _uKMSK, _ta, _rA, _sED],
|
|
526
|
+
[[() => SpaceName, 0], 0, 0, [() => SpaceDescription, 0], 0, [() => Tags, 0], 0, [() => SupportedEmailDomainsParameters$, 0]], 3
|
|
527
|
+
];
|
|
528
|
+
var CreateSpaceOutput$ = [3, n0, _CSO,
|
|
529
|
+
0,
|
|
530
|
+
[_sI],
|
|
531
|
+
[0], 1
|
|
532
|
+
];
|
|
533
|
+
var DeleteSpaceInput$ = [3, n0, _DSI,
|
|
534
|
+
0,
|
|
535
|
+
[_sI],
|
|
536
|
+
[[0, 1]], 1
|
|
537
|
+
];
|
|
538
|
+
var DeregisterAdminInput$ = [3, n0, _DAI,
|
|
539
|
+
0,
|
|
540
|
+
[_sI, _aId],
|
|
541
|
+
[[0, 1], [0, 1]], 2
|
|
542
|
+
];
|
|
543
|
+
var GetChannelInput$ = [3, n0, _GCI,
|
|
544
|
+
0,
|
|
545
|
+
[_sI, _cI],
|
|
546
|
+
[[0, 1], [0, 1]], 2
|
|
547
|
+
];
|
|
548
|
+
var GetChannelOutput$ = [3, n0, _GCO,
|
|
549
|
+
0,
|
|
550
|
+
[_sI, _cI, _cN, _cDT, _cS, _cD, _dDT, _cRh],
|
|
551
|
+
[0, 0, [() => ChannelName, 0], 5, 0, [() => ChannelDescription, 0], 5, [2, n0, _CR, 0, 0, 64 | 0]], 5
|
|
552
|
+
];
|
|
553
|
+
var GetSpaceInput$ = [3, n0, _GSI,
|
|
554
|
+
0,
|
|
555
|
+
[_sI],
|
|
556
|
+
[[0, 1]], 1
|
|
557
|
+
];
|
|
558
|
+
var GetSpaceOutput$ = [3, n0, _GSO,
|
|
559
|
+
0,
|
|
560
|
+
[_sI, _a, _n, _st, _cSo, _cIl, _vDS, _vD, _rD, _cDT, _t, _sL, _iSI, _aA, _d, _cRA, _dDT, _uA, _gA, _rol, _uKMSK, _uC, _cSon, _sED],
|
|
561
|
+
[0, 0, [() => SpaceName, 0], 0, 0, 0, 0, 0, 0, 5, 0, 1, 0, 0, [() => SpaceDescription, 0], 0, 5, 64 | 0, 64 | 0, [2, n0, _R, 0, 0, 64 | 0], 0, 1, 1, [() => SupportedEmailDomainsStatus$, 0]], 12
|
|
562
|
+
];
|
|
563
|
+
var ListChannelsInput$ = [3, n0, _LCI,
|
|
564
|
+
0,
|
|
565
|
+
[_sI, _nT, _mR],
|
|
566
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
567
|
+
];
|
|
568
|
+
var ListChannelsOutput$ = [3, n0, _LCO,
|
|
569
|
+
0,
|
|
570
|
+
[_ch, _nT],
|
|
571
|
+
[[() => ChannelsList, 0], 0], 1
|
|
572
|
+
];
|
|
573
|
+
var ListSpacesInput$ = [3, n0, _LSI,
|
|
574
|
+
0,
|
|
575
|
+
[_nT, _mR],
|
|
576
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
577
|
+
];
|
|
578
|
+
var ListSpacesOutput$ = [3, n0, _LSO,
|
|
579
|
+
0,
|
|
580
|
+
[_sp, _nT],
|
|
581
|
+
[[() => SpacesList, 0], 0], 1
|
|
582
|
+
];
|
|
583
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
584
|
+
0,
|
|
585
|
+
[_rAe],
|
|
586
|
+
[[0, 1]], 1
|
|
587
|
+
];
|
|
588
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
589
|
+
0,
|
|
590
|
+
[_ta],
|
|
591
|
+
[[() => Tags, 0]]
|
|
592
|
+
];
|
|
593
|
+
var RegisterAdminInput$ = [3, n0, _RAI,
|
|
594
|
+
0,
|
|
595
|
+
[_sI, _aId],
|
|
596
|
+
[[0, 1], [0, 1]], 2
|
|
597
|
+
];
|
|
598
|
+
var SendInvitesInput$ = [3, n0, _SII,
|
|
599
|
+
0,
|
|
600
|
+
[_sI, _aI, _ti, _b],
|
|
601
|
+
[[0, 1], 64 | 0, [() => InviteTitle, 0], [() => InviteBody, 0]], 4
|
|
602
|
+
];
|
|
603
|
+
var SpaceData$ = [3, n0, _SDp,
|
|
604
|
+
0,
|
|
605
|
+
[_sI, _a, _n, _st, _cSo, _vDS, _vD, _rD, _t, _sL, _cDT, _d, _dDT, _uKMSK, _uC, _cSon, _sED],
|
|
606
|
+
[0, 0, [() => SpaceName, 0], 0, 0, 0, 0, 0, 0, 1, 5, [() => SpaceDescription, 0], 5, 0, 1, 1, [() => SupportedEmailDomainsStatus$, 0]], 11
|
|
607
|
+
];
|
|
608
|
+
var SupportedEmailDomainsParameters$ = [3, n0, _SEDP,
|
|
609
|
+
0,
|
|
610
|
+
[_en, _aD],
|
|
611
|
+
[0, [() => AllowedDomainsList, 0]]
|
|
612
|
+
];
|
|
613
|
+
var SupportedEmailDomainsStatus$ = [3, n0, _SEDS,
|
|
614
|
+
0,
|
|
615
|
+
[_en, _aD],
|
|
616
|
+
[0, [() => AllowedDomainsList, 0]]
|
|
617
|
+
];
|
|
618
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
619
|
+
0,
|
|
620
|
+
[_rAe, _ta],
|
|
621
|
+
[[0, 1], [() => Tags, 0]], 2
|
|
622
|
+
];
|
|
623
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
624
|
+
0,
|
|
625
|
+
[],
|
|
626
|
+
[]
|
|
627
|
+
];
|
|
628
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
629
|
+
0,
|
|
630
|
+
[_rAe, _tK],
|
|
631
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
632
|
+
];
|
|
633
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
634
|
+
0,
|
|
635
|
+
[],
|
|
636
|
+
[]
|
|
637
|
+
];
|
|
638
|
+
var UpdateChannelInput$ = [3, n0, _UCI,
|
|
639
|
+
0,
|
|
640
|
+
[_sI, _cI, _cN, _cD],
|
|
641
|
+
[[0, 1], [0, 1], [() => ChannelName, 0], [() => ChannelDescription, 0]], 3
|
|
642
|
+
];
|
|
643
|
+
var UpdateChannelOutput$ = [3, n0, _UCO,
|
|
644
|
+
0,
|
|
645
|
+
[],
|
|
646
|
+
[]
|
|
647
|
+
];
|
|
648
|
+
var UpdateSpaceInput$ = [3, n0, _USI,
|
|
649
|
+
0,
|
|
650
|
+
[_sI, _d, _t, _rA, _sED],
|
|
651
|
+
[[0, 1], [() => SpaceDescription, 0], 0, 0, [() => SupportedEmailDomainsParameters$, 0]], 1
|
|
652
|
+
];
|
|
653
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
654
|
+
0,
|
|
655
|
+
[_n, _m],
|
|
656
|
+
[0, 0], 2
|
|
657
|
+
];
|
|
658
|
+
var __Unit = "unit";
|
|
659
|
+
var AllowedDomainsList = [1, n0, _ADL,
|
|
660
|
+
0, [() => EmailDomain,
|
|
661
|
+
0]
|
|
662
|
+
];
|
|
663
|
+
var BatchErrorList = [1, n0, _BEL,
|
|
664
|
+
0, () => BatchError$
|
|
665
|
+
];
|
|
666
|
+
var ChannelsList = [1, n0, _CL,
|
|
667
|
+
0, [() => ChannelData$,
|
|
668
|
+
0]
|
|
669
|
+
];
|
|
670
|
+
var SpacesList = [1, n0, _SL,
|
|
671
|
+
0, [() => SpaceData$,
|
|
672
|
+
0]
|
|
673
|
+
];
|
|
674
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
675
|
+
0, () => ValidationExceptionField$
|
|
676
|
+
];
|
|
677
|
+
var Tags = [2, n0, _T,
|
|
678
|
+
8, 0, 0
|
|
679
|
+
];
|
|
680
|
+
var BatchAddChannelRoleToAccessors$ = [9, n0, _BACRTA,
|
|
681
|
+
{ [_h]: ["POST", "/spaces/{spaceId}/channels/{channelId}/roles", 200] }, () => BatchAddChannelRoleToAccessorsInput$, () => BatchAddChannelRoleToAccessorsOutput$
|
|
682
|
+
];
|
|
683
|
+
var BatchAddRole$ = [9, n0, _BAR,
|
|
684
|
+
{ [_h]: ["POST", "/spaces/{spaceId}/roles", 200] }, () => BatchAddRoleInput$, () => BatchAddRoleOutput$
|
|
685
|
+
];
|
|
686
|
+
var BatchRemoveChannelRoleFromAccessors$ = [9, n0, _BRCRFA,
|
|
687
|
+
{ [_h]: ["PATCH", "/spaces/{spaceId}/channels/{channelId}/roles", 200] }, () => BatchRemoveChannelRoleFromAccessorsInput$, () => BatchRemoveChannelRoleFromAccessorsOutput$
|
|
688
|
+
];
|
|
689
|
+
var BatchRemoveRole$ = [9, n0, _BRR,
|
|
690
|
+
{ [_h]: ["PATCH", "/spaces/{spaceId}/roles", 200] }, () => BatchRemoveRoleInput$, () => BatchRemoveRoleOutput$
|
|
691
|
+
];
|
|
692
|
+
var CreateChannel$ = [9, n0, _CC,
|
|
693
|
+
{ [_h]: ["POST", "/spaces/{spaceId}/channels", 200] }, () => CreateChannelInput$, () => CreateChannelOutput$
|
|
694
|
+
];
|
|
695
|
+
var CreateSpace$ = [9, n0, _CS,
|
|
696
|
+
{ [_h]: ["POST", "/spaces", 200] }, () => CreateSpaceInput$, () => CreateSpaceOutput$
|
|
697
|
+
];
|
|
698
|
+
var DeleteSpace$ = [9, n0, _DS,
|
|
699
|
+
{ [_h]: ["DELETE", "/spaces/{spaceId}", 200] }, () => DeleteSpaceInput$, () => __Unit
|
|
700
|
+
];
|
|
701
|
+
var DeregisterAdmin$ = [9, n0, _DA,
|
|
702
|
+
{ [_h]: ["DELETE", "/spaces/{spaceId}/admins/{adminId}", 200] }, () => DeregisterAdminInput$, () => __Unit
|
|
703
|
+
];
|
|
704
|
+
var GetChannel$ = [9, n0, _GC,
|
|
705
|
+
{ [_h]: ["GET", "/spaces/{spaceId}/channels/{channelId}", 200] }, () => GetChannelInput$, () => GetChannelOutput$
|
|
706
|
+
];
|
|
707
|
+
var GetSpace$ = [9, n0, _GS,
|
|
708
|
+
{ [_h]: ["GET", "/spaces/{spaceId}", 200] }, () => GetSpaceInput$, () => GetSpaceOutput$
|
|
709
|
+
];
|
|
710
|
+
var ListChannels$ = [9, n0, _LC,
|
|
711
|
+
{ [_h]: ["GET", "/spaces/{spaceId}/channels", 200] }, () => ListChannelsInput$, () => ListChannelsOutput$
|
|
712
|
+
];
|
|
713
|
+
var ListSpaces$ = [9, n0, _LS,
|
|
714
|
+
{ [_h]: ["GET", "/spaces", 200] }, () => ListSpacesInput$, () => ListSpacesOutput$
|
|
715
|
+
];
|
|
716
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
717
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
718
|
+
];
|
|
719
|
+
var RegisterAdmin$ = [9, n0, _RAe,
|
|
720
|
+
{ [_h]: ["POST", "/spaces/{spaceId}/admins/{adminId}", 200] }, () => RegisterAdminInput$, () => __Unit
|
|
721
|
+
];
|
|
722
|
+
var SendInvites$ = [9, n0, _SI,
|
|
723
|
+
{ [_h]: ["POST", "/spaces/{spaceId}/invite", 200] }, () => SendInvitesInput$, () => __Unit
|
|
724
|
+
];
|
|
725
|
+
var TagResource$ = [9, n0, _TR,
|
|
726
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
727
|
+
];
|
|
728
|
+
var UntagResource$ = [9, n0, _UR,
|
|
729
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
730
|
+
];
|
|
731
|
+
var UpdateChannel$ = [9, n0, _UC,
|
|
732
|
+
{ [_h]: ["PUT", "/spaces/{spaceId}/channels/{channelId}", 200] }, () => UpdateChannelInput$, () => UpdateChannelOutput$
|
|
733
|
+
];
|
|
734
|
+
var UpdateSpace$ = [9, n0, _US,
|
|
735
|
+
{ [_h]: ["PUT", "/spaces/{spaceId}", 200] }, () => UpdateSpaceInput$, () => __Unit
|
|
736
|
+
];
|
|
737
|
+
|
|
738
|
+
const getRuntimeConfig$1 = (config) => {
|
|
739
|
+
return {
|
|
740
|
+
apiVersion: "2022-05-13",
|
|
741
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
742
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
743
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
744
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
745
|
+
extensions: config?.extensions ?? [],
|
|
746
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultRepostspaceHttpAuthSchemeProvider,
|
|
747
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
748
|
+
{
|
|
749
|
+
schemeId: "aws.auth#sigv4",
|
|
750
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
751
|
+
signer: new AwsSdkSigV4Signer(),
|
|
752
|
+
},
|
|
753
|
+
],
|
|
754
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
755
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
756
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
757
|
+
defaultNamespace: "com.amazonaws.repostspace",
|
|
758
|
+
errorTypeRegistries,
|
|
759
|
+
version: "2022-05-13",
|
|
760
|
+
serviceTarget: "RepostSpace",
|
|
761
|
+
},
|
|
762
|
+
serviceId: config?.serviceId ?? "repostspace",
|
|
763
|
+
sha256: config?.sha256 ?? Sha256,
|
|
764
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
765
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
766
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
const getRuntimeConfig = (config) => {
|
|
771
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
772
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
773
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
774
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
775
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
776
|
+
const loaderConfig = {
|
|
777
|
+
profile: config?.profile,
|
|
778
|
+
logger: clientSharedValues.logger,
|
|
779
|
+
};
|
|
780
|
+
return {
|
|
781
|
+
...clientSharedValues,
|
|
782
|
+
...config,
|
|
783
|
+
runtime: "node",
|
|
784
|
+
defaultsMode,
|
|
785
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
786
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
787
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
788
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
789
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
790
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
791
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
792
|
+
retryMode: config?.retryMode ??
|
|
793
|
+
loadConfig({
|
|
794
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
795
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
796
|
+
}, config),
|
|
797
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
798
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
799
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
800
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
|
|
34
804
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
805
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
806
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -625,36 +1395,111 @@ const VanityDomainStatus = {
|
|
|
625
1395
|
UNAPPROVED: "UNAPPROVED",
|
|
626
1396
|
};
|
|
627
1397
|
|
|
1398
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1399
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1400
|
+
exports.BatchAddChannelRoleToAccessors$ = BatchAddChannelRoleToAccessors$;
|
|
628
1401
|
exports.BatchAddChannelRoleToAccessorsCommand = BatchAddChannelRoleToAccessorsCommand;
|
|
1402
|
+
exports.BatchAddChannelRoleToAccessorsInput$ = BatchAddChannelRoleToAccessorsInput$;
|
|
1403
|
+
exports.BatchAddChannelRoleToAccessorsOutput$ = BatchAddChannelRoleToAccessorsOutput$;
|
|
1404
|
+
exports.BatchAddRole$ = BatchAddRole$;
|
|
629
1405
|
exports.BatchAddRoleCommand = BatchAddRoleCommand;
|
|
1406
|
+
exports.BatchAddRoleInput$ = BatchAddRoleInput$;
|
|
1407
|
+
exports.BatchAddRoleOutput$ = BatchAddRoleOutput$;
|
|
1408
|
+
exports.BatchError$ = BatchError$;
|
|
1409
|
+
exports.BatchRemoveChannelRoleFromAccessors$ = BatchRemoveChannelRoleFromAccessors$;
|
|
630
1410
|
exports.BatchRemoveChannelRoleFromAccessorsCommand = BatchRemoveChannelRoleFromAccessorsCommand;
|
|
1411
|
+
exports.BatchRemoveChannelRoleFromAccessorsInput$ = BatchRemoveChannelRoleFromAccessorsInput$;
|
|
1412
|
+
exports.BatchRemoveChannelRoleFromAccessorsOutput$ = BatchRemoveChannelRoleFromAccessorsOutput$;
|
|
1413
|
+
exports.BatchRemoveRole$ = BatchRemoveRole$;
|
|
631
1414
|
exports.BatchRemoveRoleCommand = BatchRemoveRoleCommand;
|
|
1415
|
+
exports.BatchRemoveRoleInput$ = BatchRemoveRoleInput$;
|
|
1416
|
+
exports.BatchRemoveRoleOutput$ = BatchRemoveRoleOutput$;
|
|
1417
|
+
exports.ChannelData$ = ChannelData$;
|
|
632
1418
|
exports.ChannelRole = ChannelRole;
|
|
633
1419
|
exports.ChannelStatus = ChannelStatus;
|
|
634
1420
|
exports.ConfigurationStatus = ConfigurationStatus;
|
|
1421
|
+
exports.ConflictException = ConflictException;
|
|
1422
|
+
exports.ConflictException$ = ConflictException$;
|
|
1423
|
+
exports.CreateChannel$ = CreateChannel$;
|
|
635
1424
|
exports.CreateChannelCommand = CreateChannelCommand;
|
|
1425
|
+
exports.CreateChannelInput$ = CreateChannelInput$;
|
|
1426
|
+
exports.CreateChannelOutput$ = CreateChannelOutput$;
|
|
1427
|
+
exports.CreateSpace$ = CreateSpace$;
|
|
636
1428
|
exports.CreateSpaceCommand = CreateSpaceCommand;
|
|
1429
|
+
exports.CreateSpaceInput$ = CreateSpaceInput$;
|
|
1430
|
+
exports.CreateSpaceOutput$ = CreateSpaceOutput$;
|
|
1431
|
+
exports.DeleteSpace$ = DeleteSpace$;
|
|
637
1432
|
exports.DeleteSpaceCommand = DeleteSpaceCommand;
|
|
1433
|
+
exports.DeleteSpaceInput$ = DeleteSpaceInput$;
|
|
1434
|
+
exports.DeregisterAdmin$ = DeregisterAdmin$;
|
|
638
1435
|
exports.DeregisterAdminCommand = DeregisterAdminCommand;
|
|
1436
|
+
exports.DeregisterAdminInput$ = DeregisterAdminInput$;
|
|
639
1437
|
exports.FeatureEnableParameter = FeatureEnableParameter;
|
|
640
1438
|
exports.FeatureEnableStatus = FeatureEnableStatus;
|
|
1439
|
+
exports.GetChannel$ = GetChannel$;
|
|
641
1440
|
exports.GetChannelCommand = GetChannelCommand;
|
|
1441
|
+
exports.GetChannelInput$ = GetChannelInput$;
|
|
1442
|
+
exports.GetChannelOutput$ = GetChannelOutput$;
|
|
1443
|
+
exports.GetSpace$ = GetSpace$;
|
|
642
1444
|
exports.GetSpaceCommand = GetSpaceCommand;
|
|
1445
|
+
exports.GetSpaceInput$ = GetSpaceInput$;
|
|
1446
|
+
exports.GetSpaceOutput$ = GetSpaceOutput$;
|
|
1447
|
+
exports.InternalServerException = InternalServerException;
|
|
1448
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1449
|
+
exports.ListChannels$ = ListChannels$;
|
|
643
1450
|
exports.ListChannelsCommand = ListChannelsCommand;
|
|
1451
|
+
exports.ListChannelsInput$ = ListChannelsInput$;
|
|
1452
|
+
exports.ListChannelsOutput$ = ListChannelsOutput$;
|
|
1453
|
+
exports.ListSpaces$ = ListSpaces$;
|
|
644
1454
|
exports.ListSpacesCommand = ListSpacesCommand;
|
|
1455
|
+
exports.ListSpacesInput$ = ListSpacesInput$;
|
|
1456
|
+
exports.ListSpacesOutput$ = ListSpacesOutput$;
|
|
1457
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
645
1458
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1459
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1460
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1461
|
+
exports.RegisterAdmin$ = RegisterAdmin$;
|
|
646
1462
|
exports.RegisterAdminCommand = RegisterAdminCommand;
|
|
1463
|
+
exports.RegisterAdminInput$ = RegisterAdminInput$;
|
|
647
1464
|
exports.Repostspace = Repostspace;
|
|
648
1465
|
exports.RepostspaceClient = RepostspaceClient;
|
|
1466
|
+
exports.RepostspaceServiceException = RepostspaceServiceException;
|
|
1467
|
+
exports.RepostspaceServiceException$ = RepostspaceServiceException$;
|
|
1468
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1469
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
649
1470
|
exports.Role = Role;
|
|
1471
|
+
exports.SendInvites$ = SendInvites$;
|
|
650
1472
|
exports.SendInvitesCommand = SendInvitesCommand;
|
|
1473
|
+
exports.SendInvitesInput$ = SendInvitesInput$;
|
|
1474
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1475
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1476
|
+
exports.SpaceData$ = SpaceData$;
|
|
1477
|
+
exports.SupportedEmailDomainsParameters$ = SupportedEmailDomainsParameters$;
|
|
1478
|
+
exports.SupportedEmailDomainsStatus$ = SupportedEmailDomainsStatus$;
|
|
1479
|
+
exports.TagResource$ = TagResource$;
|
|
651
1480
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1481
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1482
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1483
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1484
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
652
1485
|
exports.TierLevel = TierLevel;
|
|
1486
|
+
exports.UntagResource$ = UntagResource$;
|
|
653
1487
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1488
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1489
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1490
|
+
exports.UpdateChannel$ = UpdateChannel$;
|
|
654
1491
|
exports.UpdateChannelCommand = UpdateChannelCommand;
|
|
1492
|
+
exports.UpdateChannelInput$ = UpdateChannelInput$;
|
|
1493
|
+
exports.UpdateChannelOutput$ = UpdateChannelOutput$;
|
|
1494
|
+
exports.UpdateSpace$ = UpdateSpace$;
|
|
655
1495
|
exports.UpdateSpaceCommand = UpdateSpaceCommand;
|
|
1496
|
+
exports.UpdateSpaceInput$ = UpdateSpaceInput$;
|
|
1497
|
+
exports.ValidationException = ValidationException;
|
|
1498
|
+
exports.ValidationException$ = ValidationException$;
|
|
1499
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
656
1500
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
657
1501
|
exports.VanityDomainStatus = VanityDomainStatus;
|
|
1502
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
658
1503
|
exports.paginateListChannels = paginateListChannels;
|
|
659
1504
|
exports.paginateListSpaces = paginateListSpaces;
|
|
660
1505
|
exports.waitForChannelCreated = waitForChannelCreated;
|