@aws-sdk/client-managedblockchain 3.1075.0 → 3.1076.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 +1330 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- 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/ManagedBlockchainServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -141
- 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 -969
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
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, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, 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
|
-
|
|
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, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultManagedBlockchainHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "managedblockchain",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultManagedBlockchainHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,1144 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, i],
|
|
91
|
+
["https://managedblockchain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://managedblockchain-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://managedblockchain.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://managedblockchain.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class ManagedBlockchainServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, ManagedBlockchainServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class AccessDeniedException extends ManagedBlockchainServiceException {
|
|
140
|
+
name = "AccessDeniedException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
Message;
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "AccessDeniedException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
150
|
+
this.Message = opts.Message;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
class InternalServiceErrorException extends ManagedBlockchainServiceException {
|
|
154
|
+
name = "InternalServiceErrorException";
|
|
155
|
+
$fault = "server";
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "InternalServiceErrorException",
|
|
159
|
+
$fault: "server",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
class InvalidRequestException extends ManagedBlockchainServiceException {
|
|
166
|
+
name = "InvalidRequestException";
|
|
167
|
+
$fault = "client";
|
|
168
|
+
Message;
|
|
169
|
+
constructor(opts) {
|
|
170
|
+
super({
|
|
171
|
+
name: "InvalidRequestException",
|
|
172
|
+
$fault: "client",
|
|
173
|
+
...opts,
|
|
174
|
+
});
|
|
175
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
176
|
+
this.Message = opts.Message;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
class ResourceAlreadyExistsException extends ManagedBlockchainServiceException {
|
|
180
|
+
name = "ResourceAlreadyExistsException";
|
|
181
|
+
$fault = "client";
|
|
182
|
+
Message;
|
|
183
|
+
constructor(opts) {
|
|
184
|
+
super({
|
|
185
|
+
name: "ResourceAlreadyExistsException",
|
|
186
|
+
$fault: "client",
|
|
187
|
+
...opts,
|
|
188
|
+
});
|
|
189
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
190
|
+
this.Message = opts.Message;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
class ResourceLimitExceededException extends ManagedBlockchainServiceException {
|
|
194
|
+
name = "ResourceLimitExceededException";
|
|
195
|
+
$fault = "client";
|
|
196
|
+
Message;
|
|
197
|
+
constructor(opts) {
|
|
198
|
+
super({
|
|
199
|
+
name: "ResourceLimitExceededException",
|
|
200
|
+
$fault: "client",
|
|
201
|
+
...opts,
|
|
202
|
+
});
|
|
203
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
204
|
+
this.Message = opts.Message;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
class ThrottlingException extends ManagedBlockchainServiceException {
|
|
208
|
+
name = "ThrottlingException";
|
|
209
|
+
$fault = "client";
|
|
210
|
+
constructor(opts) {
|
|
211
|
+
super({
|
|
212
|
+
name: "ThrottlingException",
|
|
213
|
+
$fault: "client",
|
|
214
|
+
...opts,
|
|
215
|
+
});
|
|
216
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
class TooManyTagsException extends ManagedBlockchainServiceException {
|
|
220
|
+
name = "TooManyTagsException";
|
|
221
|
+
$fault = "client";
|
|
222
|
+
Message;
|
|
223
|
+
ResourceName;
|
|
224
|
+
constructor(opts) {
|
|
225
|
+
super({
|
|
226
|
+
name: "TooManyTagsException",
|
|
227
|
+
$fault: "client",
|
|
228
|
+
...opts,
|
|
229
|
+
});
|
|
230
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
231
|
+
this.Message = opts.Message;
|
|
232
|
+
this.ResourceName = opts.ResourceName;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
class ResourceNotFoundException extends ManagedBlockchainServiceException {
|
|
236
|
+
name = "ResourceNotFoundException";
|
|
237
|
+
$fault = "client";
|
|
238
|
+
Message;
|
|
239
|
+
ResourceName;
|
|
240
|
+
constructor(opts) {
|
|
241
|
+
super({
|
|
242
|
+
name: "ResourceNotFoundException",
|
|
243
|
+
$fault: "client",
|
|
244
|
+
...opts,
|
|
245
|
+
});
|
|
246
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
247
|
+
this.Message = opts.Message;
|
|
248
|
+
this.ResourceName = opts.ResourceName;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
class ResourceNotReadyException extends ManagedBlockchainServiceException {
|
|
252
|
+
name = "ResourceNotReadyException";
|
|
253
|
+
$fault = "client";
|
|
254
|
+
Message;
|
|
255
|
+
constructor(opts) {
|
|
256
|
+
super({
|
|
257
|
+
name: "ResourceNotReadyException",
|
|
258
|
+
$fault: "client",
|
|
259
|
+
...opts,
|
|
260
|
+
});
|
|
261
|
+
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
|
|
262
|
+
this.Message = opts.Message;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
class IllegalActionException extends ManagedBlockchainServiceException {
|
|
266
|
+
name = "IllegalActionException";
|
|
267
|
+
$fault = "client";
|
|
268
|
+
Message;
|
|
269
|
+
constructor(opts) {
|
|
270
|
+
super({
|
|
271
|
+
name: "IllegalActionException",
|
|
272
|
+
$fault: "client",
|
|
273
|
+
...opts,
|
|
274
|
+
});
|
|
275
|
+
Object.setPrototypeOf(this, IllegalActionException.prototype);
|
|
276
|
+
this.Message = opts.Message;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
const _A = "Accessor";
|
|
281
|
+
const _ADE = "AccessDeniedException";
|
|
282
|
+
const _AI = "AccessorId";
|
|
283
|
+
const _AP = "AdminPassword";
|
|
284
|
+
const _AS = "AccessorSummary";
|
|
285
|
+
const _ASL = "AccessorSummaryList";
|
|
286
|
+
const _AT = "AccessorType";
|
|
287
|
+
const _ATP = "ApprovalThresholdPolicy";
|
|
288
|
+
const _AU = "AdminUsername";
|
|
289
|
+
const _AZ = "AvailabilityZone";
|
|
290
|
+
const _Ac = "Actions";
|
|
291
|
+
const _Acc = "Accessors";
|
|
292
|
+
const _Ar = "Arn";
|
|
293
|
+
const _BT = "BillingToken";
|
|
294
|
+
const _C = "Cloudwatch";
|
|
295
|
+
const _CA = "CreateAccessor";
|
|
296
|
+
const _CAI = "CreateAccessorInput";
|
|
297
|
+
const _CAO = "CreateAccessorOutput";
|
|
298
|
+
const _CD = "CreationDate";
|
|
299
|
+
const _CE = "CaEndpoint";
|
|
300
|
+
const _CI = "ChainId";
|
|
301
|
+
const _CL = "CaLogs";
|
|
302
|
+
const _CLh = "ChaincodeLogs";
|
|
303
|
+
const _CM = "CreateMember";
|
|
304
|
+
const _CMI = "CreateMemberInput";
|
|
305
|
+
const _CMO = "CreateMemberOutput";
|
|
306
|
+
const _CN = "CreateNetwork";
|
|
307
|
+
const _CNI = "CreateNetworkInput";
|
|
308
|
+
const _CNIr = "CreateNodeInput";
|
|
309
|
+
const _CNO = "CreateNetworkOutput";
|
|
310
|
+
const _CNOr = "CreateNodeOutput";
|
|
311
|
+
const _CNr = "CreateNode";
|
|
312
|
+
const _CP = "CreateProposal";
|
|
313
|
+
const _CPI = "CreateProposalInput";
|
|
314
|
+
const _CPO = "CreateProposalOutput";
|
|
315
|
+
const _CRT = "ClientRequestToken";
|
|
316
|
+
const _D = "Description";
|
|
317
|
+
const _DA = "DeleteAccessor";
|
|
318
|
+
const _DAI = "DeleteAccessorInput";
|
|
319
|
+
const _DAO = "DeleteAccessorOutput";
|
|
320
|
+
const _DM = "DeleteMember";
|
|
321
|
+
const _DMI = "DeleteMemberInput";
|
|
322
|
+
const _DMO = "DeleteMemberOutput";
|
|
323
|
+
const _DN = "DeleteNode";
|
|
324
|
+
const _DNI = "DeleteNodeInput";
|
|
325
|
+
const _DNO = "DeleteNodeOutput";
|
|
326
|
+
const _E = "Enabled";
|
|
327
|
+
const _ED = "ExpirationDate";
|
|
328
|
+
const _Ed = "Edition";
|
|
329
|
+
const _Et = "Ethereum";
|
|
330
|
+
const _F = "Framework";
|
|
331
|
+
const _FA = "FrameworkAttributes";
|
|
332
|
+
const _FC = "FrameworkConfiguration";
|
|
333
|
+
const _FV = "FrameworkVersion";
|
|
334
|
+
const _Fa = "Fabric";
|
|
335
|
+
const _GA = "GetAccessor";
|
|
336
|
+
const _GAI = "GetAccessorInput";
|
|
337
|
+
const _GAO = "GetAccessorOutput";
|
|
338
|
+
const _GM = "GetMember";
|
|
339
|
+
const _GMI = "GetMemberInput";
|
|
340
|
+
const _GMO = "GetMemberOutput";
|
|
341
|
+
const _GN = "GetNetwork";
|
|
342
|
+
const _GNI = "GetNetworkInput";
|
|
343
|
+
const _GNIe = "GetNodeInput";
|
|
344
|
+
const _GNO = "GetNetworkOutput";
|
|
345
|
+
const _GNOe = "GetNodeOutput";
|
|
346
|
+
const _GNe = "GetNode";
|
|
347
|
+
const _GP = "GetProposal";
|
|
348
|
+
const _GPI = "GetProposalInput";
|
|
349
|
+
const _GPO = "GetProposalOutput";
|
|
350
|
+
const _HE = "HttpEndpoint";
|
|
351
|
+
const _I = "Id";
|
|
352
|
+
const _IA = "InviteAction";
|
|
353
|
+
const _IAE = "IllegalActionException";
|
|
354
|
+
const _IAL = "InviteActionList";
|
|
355
|
+
const _II = "InvitationId";
|
|
356
|
+
const _IL = "InvitationList";
|
|
357
|
+
const _IO = "IsOwned";
|
|
358
|
+
const _IRE = "InvalidRequestException";
|
|
359
|
+
const _ISEE = "InternalServiceErrorException";
|
|
360
|
+
const _IT = "InstanceType";
|
|
361
|
+
const _In = "Invitation";
|
|
362
|
+
const _Inv = "Invitations";
|
|
363
|
+
const _KKA = "KmsKeyArn";
|
|
364
|
+
const _LA = "ListAccessors";
|
|
365
|
+
const _LAI = "ListAccessorsInput";
|
|
366
|
+
const _LAO = "ListAccessorsOutput";
|
|
367
|
+
const _LC = "LogConfiguration";
|
|
368
|
+
const _LCo = "LogConfigurations";
|
|
369
|
+
const _LI = "ListInvitations";
|
|
370
|
+
const _LII = "ListInvitationsInput";
|
|
371
|
+
const _LIO = "ListInvitationsOutput";
|
|
372
|
+
const _LM = "ListMembers";
|
|
373
|
+
const _LMI = "ListMembersInput";
|
|
374
|
+
const _LMO = "ListMembersOutput";
|
|
375
|
+
const _LN = "ListNetworks";
|
|
376
|
+
const _LNI = "ListNetworksInput";
|
|
377
|
+
const _LNIi = "ListNodesInput";
|
|
378
|
+
const _LNO = "ListNetworksOutput";
|
|
379
|
+
const _LNOi = "ListNodesOutput";
|
|
380
|
+
const _LNi = "ListNodes";
|
|
381
|
+
const _LP = "ListProposals";
|
|
382
|
+
const _LPC = "LogPublishingConfiguration";
|
|
383
|
+
const _LPI = "ListProposalsInput";
|
|
384
|
+
const _LPO = "ListProposalsOutput";
|
|
385
|
+
const _LPV = "ListProposalVotes";
|
|
386
|
+
const _LPVI = "ListProposalVotesInput";
|
|
387
|
+
const _LPVO = "ListProposalVotesOutput";
|
|
388
|
+
const _LTFR = "ListTagsForResource";
|
|
389
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
390
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
391
|
+
const _M = "Message";
|
|
392
|
+
const _MC = "MemberConfiguration";
|
|
393
|
+
const _MFA = "MemberFabricAttributes";
|
|
394
|
+
const _MFAe = "MemberFrameworkAttributes";
|
|
395
|
+
const _MFC = "MemberFabricConfiguration";
|
|
396
|
+
const _MFCe = "MemberFrameworkConfiguration";
|
|
397
|
+
const _MFLPC = "MemberFabricLogPublishingConfiguration";
|
|
398
|
+
const _MI = "MemberId";
|
|
399
|
+
const _MLPC = "MemberLogPublishingConfiguration";
|
|
400
|
+
const _MN = "MemberName";
|
|
401
|
+
const _MR = "MaxResults";
|
|
402
|
+
const _MS = "MemberSummary";
|
|
403
|
+
const _MSL = "MemberSummaryList";
|
|
404
|
+
const _Me = "Member";
|
|
405
|
+
const _Mem = "Members";
|
|
406
|
+
const _N = "Name";
|
|
407
|
+
const _NC = "NodeConfiguration";
|
|
408
|
+
const _NEA = "NetworkEthereumAttributes";
|
|
409
|
+
const _NEAo = "NodeEthereumAttributes";
|
|
410
|
+
const _NFA = "NetworkFabricAttributes";
|
|
411
|
+
const _NFAe = "NetworkFrameworkAttributes";
|
|
412
|
+
const _NFAo = "NodeFabricAttributes";
|
|
413
|
+
const _NFAod = "NodeFrameworkAttributes";
|
|
414
|
+
const _NFC = "NetworkFabricConfiguration";
|
|
415
|
+
const _NFCe = "NetworkFrameworkConfiguration";
|
|
416
|
+
const _NFLPC = "NodeFabricLogPublishingConfiguration";
|
|
417
|
+
const _NI = "NetworkId";
|
|
418
|
+
const _NIo = "NodeId";
|
|
419
|
+
const _NLPC = "NodeLogPublishingConfiguration";
|
|
420
|
+
const _NS = "NetworkSummary";
|
|
421
|
+
const _NSL = "NetworkSummaryList";
|
|
422
|
+
const _NSLo = "NodeSummaryList";
|
|
423
|
+
const _NSo = "NodeSummary";
|
|
424
|
+
const _NT = "NetworkType";
|
|
425
|
+
const _NTe = "NextToken";
|
|
426
|
+
const _NVC = "NoVoteCount";
|
|
427
|
+
const _Ne = "Network";
|
|
428
|
+
const _Net = "Networks";
|
|
429
|
+
const _No = "Node";
|
|
430
|
+
const _Nod = "Nodes";
|
|
431
|
+
const _OSE = "OrderingServiceEndpoint";
|
|
432
|
+
const _OVC = "OutstandingVoteCount";
|
|
433
|
+
const _P = "Proposal";
|
|
434
|
+
const _PA = "ProposalActions";
|
|
435
|
+
const _PBMI = "ProposedByMemberId";
|
|
436
|
+
const _PBMN = "ProposedByMemberName";
|
|
437
|
+
const _PDIH = "ProposalDurationInHours";
|
|
438
|
+
const _PE = "PeerEndpoint";
|
|
439
|
+
const _PEE = "PeerEventEndpoint";
|
|
440
|
+
const _PI = "ProposalId";
|
|
441
|
+
const _PL = "PeerLogs";
|
|
442
|
+
const _PS = "PasswordString";
|
|
443
|
+
const _PSL = "ProposalSummaryList";
|
|
444
|
+
const _PSr = "ProposalSummary";
|
|
445
|
+
const _PV = "ProposalVotes";
|
|
446
|
+
const _PVL = "ProposalVoteList";
|
|
447
|
+
const _Pr = "Principal";
|
|
448
|
+
const _Pro = "Proposals";
|
|
449
|
+
const _R = "Removals";
|
|
450
|
+
const _RA = "ResourceArn";
|
|
451
|
+
const _RAEE = "ResourceAlreadyExistsException";
|
|
452
|
+
const _RAL = "RemoveActionList";
|
|
453
|
+
const _RAe = "RemoveAction";
|
|
454
|
+
const _RI = "RejectInvitation";
|
|
455
|
+
const _RII = "RejectInvitationInput";
|
|
456
|
+
const _RIO = "RejectInvitationOutput";
|
|
457
|
+
const _RLEE = "ResourceLimitExceededException";
|
|
458
|
+
const _RN = "ResourceName";
|
|
459
|
+
const _RNFE = "ResourceNotFoundException";
|
|
460
|
+
const _RNRE = "ResourceNotReadyException";
|
|
461
|
+
const _S = "Status";
|
|
462
|
+
const _SDB = "StateDB";
|
|
463
|
+
const _T = "Type";
|
|
464
|
+
const _TC = "ThresholdComparator";
|
|
465
|
+
const _TE = "ThrottlingException";
|
|
466
|
+
const _TK = "TagKeys";
|
|
467
|
+
const _TMTE = "TooManyTagsException";
|
|
468
|
+
const _TP = "ThresholdPercentage";
|
|
469
|
+
const _TR = "TagResource";
|
|
470
|
+
const _TRR = "TagResourceRequest";
|
|
471
|
+
const _TRRa = "TagResourceResponse";
|
|
472
|
+
const _Ta = "Tags";
|
|
473
|
+
const _UM = "UpdateMember";
|
|
474
|
+
const _UMI = "UpdateMemberInput";
|
|
475
|
+
const _UMO = "UpdateMemberOutput";
|
|
476
|
+
const _UN = "UpdateNode";
|
|
477
|
+
const _UNI = "UpdateNodeInput";
|
|
478
|
+
const _UNO = "UpdateNodeOutput";
|
|
479
|
+
const _UR = "UntagResource";
|
|
480
|
+
const _URR = "UntagResourceRequest";
|
|
481
|
+
const _URRn = "UntagResourceResponse";
|
|
482
|
+
const _V = "Vote";
|
|
483
|
+
const _VESN = "VpcEndpointServiceName";
|
|
484
|
+
const _VMI = "VoterMemberId";
|
|
485
|
+
const _VOP = "VoteOnProposal";
|
|
486
|
+
const _VOPI = "VoteOnProposalInput";
|
|
487
|
+
const _VOPO = "VoteOnProposalOutput";
|
|
488
|
+
const _VP = "VotingPolicy";
|
|
489
|
+
const _VS = "VoteSummary";
|
|
490
|
+
const _WSE = "WebSocketEndpoint";
|
|
491
|
+
const _YVC = "YesVoteCount";
|
|
492
|
+
const _c = "client";
|
|
493
|
+
const _e = "error";
|
|
494
|
+
const _f = "framework";
|
|
495
|
+
const _h = "http";
|
|
496
|
+
const _hE = "httpError";
|
|
497
|
+
const _hQ = "httpQuery";
|
|
498
|
+
const _iO = "isOwned";
|
|
499
|
+
const _mI = "memberId";
|
|
500
|
+
const _mR = "maxResults";
|
|
501
|
+
const _n = "name";
|
|
502
|
+
const _nT = "nextToken";
|
|
503
|
+
const _nTe = "networkType";
|
|
504
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.managedblockchain";
|
|
505
|
+
const _se = "server";
|
|
506
|
+
const _st = "status";
|
|
507
|
+
const _tK = "tagKeys";
|
|
508
|
+
const n0 = "com.amazonaws.managedblockchain";
|
|
509
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
510
|
+
var ManagedBlockchainServiceException$ = [-3, _s, "ManagedBlockchainServiceException", 0, [], []];
|
|
511
|
+
_s_registry.registerError(ManagedBlockchainServiceException$, ManagedBlockchainServiceException);
|
|
512
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
513
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
514
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
515
|
+
[_M],
|
|
516
|
+
[0]
|
|
517
|
+
];
|
|
518
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
519
|
+
var IllegalActionException$ = [-3, n0, _IAE,
|
|
520
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
521
|
+
[_M],
|
|
522
|
+
[0]
|
|
523
|
+
];
|
|
524
|
+
n0_registry.registerError(IllegalActionException$, IllegalActionException);
|
|
525
|
+
var InternalServiceErrorException$ = [-3, n0, _ISEE,
|
|
526
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
527
|
+
[],
|
|
528
|
+
[]
|
|
529
|
+
];
|
|
530
|
+
n0_registry.registerError(InternalServiceErrorException$, InternalServiceErrorException);
|
|
531
|
+
var InvalidRequestException$ = [-3, n0, _IRE,
|
|
532
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
533
|
+
[_M],
|
|
534
|
+
[0]
|
|
535
|
+
];
|
|
536
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
537
|
+
var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
|
|
538
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
539
|
+
[_M],
|
|
540
|
+
[0]
|
|
541
|
+
];
|
|
542
|
+
n0_registry.registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
|
|
543
|
+
var ResourceLimitExceededException$ = [-3, n0, _RLEE,
|
|
544
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
545
|
+
[_M],
|
|
546
|
+
[0]
|
|
547
|
+
];
|
|
548
|
+
n0_registry.registerError(ResourceLimitExceededException$, ResourceLimitExceededException);
|
|
549
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
550
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
551
|
+
[_M, _RN],
|
|
552
|
+
[0, 0]
|
|
553
|
+
];
|
|
554
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
555
|
+
var ResourceNotReadyException$ = [-3, n0, _RNRE,
|
|
556
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
557
|
+
[_M],
|
|
558
|
+
[0]
|
|
559
|
+
];
|
|
560
|
+
n0_registry.registerError(ResourceNotReadyException$, ResourceNotReadyException);
|
|
561
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
562
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
563
|
+
[],
|
|
564
|
+
[]
|
|
565
|
+
];
|
|
566
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
567
|
+
var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
568
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
569
|
+
[_M, _RN],
|
|
570
|
+
[0, 0]
|
|
571
|
+
];
|
|
572
|
+
n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
|
|
573
|
+
const errorTypeRegistries = [
|
|
574
|
+
_s_registry,
|
|
575
|
+
n0_registry,
|
|
576
|
+
];
|
|
577
|
+
var PasswordString = [0, n0, _PS, 8, 0];
|
|
578
|
+
var Accessor$ = [3, n0, _A,
|
|
579
|
+
0,
|
|
580
|
+
[_I, _T, _BT, _S, _CD, _Ar, _Ta, _NT],
|
|
581
|
+
[0, 0, 0, 0, 5, 0, 128 | 0, 0]
|
|
582
|
+
];
|
|
583
|
+
var AccessorSummary$ = [3, n0, _AS,
|
|
584
|
+
0,
|
|
585
|
+
[_I, _T, _S, _CD, _Ar, _NT],
|
|
586
|
+
[0, 0, 0, 5, 0, 0]
|
|
587
|
+
];
|
|
588
|
+
var ApprovalThresholdPolicy$ = [3, n0, _ATP,
|
|
589
|
+
0,
|
|
590
|
+
[_TP, _PDIH, _TC],
|
|
591
|
+
[1, 1, 0]
|
|
592
|
+
];
|
|
593
|
+
var CreateAccessorInput$ = [3, n0, _CAI,
|
|
594
|
+
0,
|
|
595
|
+
[_AT, _CRT, _Ta, _NT],
|
|
596
|
+
[0, [0, 4], 128 | 0, 0], 1
|
|
597
|
+
];
|
|
598
|
+
var CreateAccessorOutput$ = [3, n0, _CAO,
|
|
599
|
+
0,
|
|
600
|
+
[_AI, _BT, _NT],
|
|
601
|
+
[0, 0, 0]
|
|
602
|
+
];
|
|
603
|
+
var CreateMemberInput$ = [3, n0, _CMI,
|
|
604
|
+
0,
|
|
605
|
+
[_II, _NI, _MC, _CRT],
|
|
606
|
+
[0, [0, 1], [() => MemberConfiguration$, 0], [0, 4]], 3
|
|
607
|
+
];
|
|
608
|
+
var CreateMemberOutput$ = [3, n0, _CMO,
|
|
609
|
+
0,
|
|
610
|
+
[_MI],
|
|
611
|
+
[0]
|
|
612
|
+
];
|
|
613
|
+
var CreateNetworkInput$ = [3, n0, _CNI,
|
|
614
|
+
0,
|
|
615
|
+
[_N, _F, _FV, _VP, _MC, _CRT, _D, _FC, _Ta],
|
|
616
|
+
[0, 0, 0, () => VotingPolicy$, [() => MemberConfiguration$, 0], [0, 4], 0, () => NetworkFrameworkConfiguration$, 128 | 0], 5
|
|
617
|
+
];
|
|
618
|
+
var CreateNetworkOutput$ = [3, n0, _CNO,
|
|
619
|
+
0,
|
|
620
|
+
[_NI, _MI],
|
|
621
|
+
[0, 0]
|
|
622
|
+
];
|
|
623
|
+
var CreateNodeInput$ = [3, n0, _CNIr,
|
|
624
|
+
0,
|
|
625
|
+
[_NI, _NC, _CRT, _MI, _Ta],
|
|
626
|
+
[[0, 1], () => NodeConfiguration$, [0, 4], 0, 128 | 0], 2
|
|
627
|
+
];
|
|
628
|
+
var CreateNodeOutput$ = [3, n0, _CNOr,
|
|
629
|
+
0,
|
|
630
|
+
[_NIo],
|
|
631
|
+
[0]
|
|
632
|
+
];
|
|
633
|
+
var CreateProposalInput$ = [3, n0, _CPI,
|
|
634
|
+
0,
|
|
635
|
+
[_NI, _MI, _Ac, _CRT, _D, _Ta],
|
|
636
|
+
[[0, 1], 0, () => ProposalActions$, [0, 4], 0, 128 | 0], 3
|
|
637
|
+
];
|
|
638
|
+
var CreateProposalOutput$ = [3, n0, _CPO,
|
|
639
|
+
0,
|
|
640
|
+
[_PI],
|
|
641
|
+
[0]
|
|
642
|
+
];
|
|
643
|
+
var DeleteAccessorInput$ = [3, n0, _DAI,
|
|
644
|
+
0,
|
|
645
|
+
[_AI],
|
|
646
|
+
[[0, 1]], 1
|
|
647
|
+
];
|
|
648
|
+
var DeleteAccessorOutput$ = [3, n0, _DAO,
|
|
649
|
+
0,
|
|
650
|
+
[],
|
|
651
|
+
[]
|
|
652
|
+
];
|
|
653
|
+
var DeleteMemberInput$ = [3, n0, _DMI,
|
|
654
|
+
0,
|
|
655
|
+
[_NI, _MI],
|
|
656
|
+
[[0, 1], [0, 1]], 2
|
|
657
|
+
];
|
|
658
|
+
var DeleteMemberOutput$ = [3, n0, _DMO,
|
|
659
|
+
0,
|
|
660
|
+
[],
|
|
661
|
+
[]
|
|
662
|
+
];
|
|
663
|
+
var DeleteNodeInput$ = [3, n0, _DNI,
|
|
664
|
+
0,
|
|
665
|
+
[_NI, _NIo, _MI],
|
|
666
|
+
[[0, 1], [0, 1], [0, { [_hQ]: _mI }]], 2
|
|
667
|
+
];
|
|
668
|
+
var DeleteNodeOutput$ = [3, n0, _DNO,
|
|
669
|
+
0,
|
|
670
|
+
[],
|
|
671
|
+
[]
|
|
672
|
+
];
|
|
673
|
+
var GetAccessorInput$ = [3, n0, _GAI,
|
|
674
|
+
0,
|
|
675
|
+
[_AI],
|
|
676
|
+
[[0, 1]], 1
|
|
677
|
+
];
|
|
678
|
+
var GetAccessorOutput$ = [3, n0, _GAO,
|
|
679
|
+
0,
|
|
680
|
+
[_A],
|
|
681
|
+
[() => Accessor$]
|
|
682
|
+
];
|
|
683
|
+
var GetMemberInput$ = [3, n0, _GMI,
|
|
684
|
+
0,
|
|
685
|
+
[_NI, _MI],
|
|
686
|
+
[[0, 1], [0, 1]], 2
|
|
687
|
+
];
|
|
688
|
+
var GetMemberOutput$ = [3, n0, _GMO,
|
|
689
|
+
0,
|
|
690
|
+
[_Me],
|
|
691
|
+
[() => Member$]
|
|
692
|
+
];
|
|
693
|
+
var GetNetworkInput$ = [3, n0, _GNI,
|
|
694
|
+
0,
|
|
695
|
+
[_NI],
|
|
696
|
+
[[0, 1]], 1
|
|
697
|
+
];
|
|
698
|
+
var GetNetworkOutput$ = [3, n0, _GNO,
|
|
699
|
+
0,
|
|
700
|
+
[_Ne],
|
|
701
|
+
[() => Network$]
|
|
702
|
+
];
|
|
703
|
+
var GetNodeInput$ = [3, n0, _GNIe,
|
|
704
|
+
0,
|
|
705
|
+
[_NI, _NIo, _MI],
|
|
706
|
+
[[0, 1], [0, 1], [0, { [_hQ]: _mI }]], 2
|
|
707
|
+
];
|
|
708
|
+
var GetNodeOutput$ = [3, n0, _GNOe,
|
|
709
|
+
0,
|
|
710
|
+
[_No],
|
|
711
|
+
[() => Node$]
|
|
712
|
+
];
|
|
713
|
+
var GetProposalInput$ = [3, n0, _GPI,
|
|
714
|
+
0,
|
|
715
|
+
[_NI, _PI],
|
|
716
|
+
[[0, 1], [0, 1]], 2
|
|
717
|
+
];
|
|
718
|
+
var GetProposalOutput$ = [3, n0, _GPO,
|
|
719
|
+
0,
|
|
720
|
+
[_P],
|
|
721
|
+
[() => Proposal$]
|
|
722
|
+
];
|
|
723
|
+
var Invitation$ = [3, n0, _In,
|
|
724
|
+
0,
|
|
725
|
+
[_II, _CD, _ED, _S, _NS, _Ar],
|
|
726
|
+
[0, 5, 5, 0, () => NetworkSummary$, 0]
|
|
727
|
+
];
|
|
728
|
+
var InviteAction$ = [3, n0, _IA,
|
|
729
|
+
0,
|
|
730
|
+
[_Pr],
|
|
731
|
+
[0], 1
|
|
732
|
+
];
|
|
733
|
+
var ListAccessorsInput$ = [3, n0, _LAI,
|
|
734
|
+
0,
|
|
735
|
+
[_MR, _NTe, _NT],
|
|
736
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _nTe }]]
|
|
737
|
+
];
|
|
738
|
+
var ListAccessorsOutput$ = [3, n0, _LAO,
|
|
739
|
+
0,
|
|
740
|
+
[_Acc, _NTe],
|
|
741
|
+
[() => AccessorSummaryList, 0]
|
|
742
|
+
];
|
|
743
|
+
var ListInvitationsInput$ = [3, n0, _LII,
|
|
744
|
+
0,
|
|
745
|
+
[_MR, _NTe],
|
|
746
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
747
|
+
];
|
|
748
|
+
var ListInvitationsOutput$ = [3, n0, _LIO,
|
|
749
|
+
0,
|
|
750
|
+
[_Inv, _NTe],
|
|
751
|
+
[() => InvitationList, 0]
|
|
752
|
+
];
|
|
753
|
+
var ListMembersInput$ = [3, n0, _LMI,
|
|
754
|
+
0,
|
|
755
|
+
[_NI, _N, _S, _IO, _MR, _NTe],
|
|
756
|
+
[[0, 1], [0, { [_hQ]: _n }], [0, { [_hQ]: _st }], [2, { [_hQ]: _iO }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
757
|
+
];
|
|
758
|
+
var ListMembersOutput$ = [3, n0, _LMO,
|
|
759
|
+
0,
|
|
760
|
+
[_Mem, _NTe],
|
|
761
|
+
[() => MemberSummaryList, 0]
|
|
762
|
+
];
|
|
763
|
+
var ListNetworksInput$ = [3, n0, _LNI,
|
|
764
|
+
0,
|
|
765
|
+
[_N, _F, _S, _MR, _NTe],
|
|
766
|
+
[[0, { [_hQ]: _n }], [0, { [_hQ]: _f }], [0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
767
|
+
];
|
|
768
|
+
var ListNetworksOutput$ = [3, n0, _LNO,
|
|
769
|
+
0,
|
|
770
|
+
[_Net, _NTe],
|
|
771
|
+
[() => NetworkSummaryList, 0]
|
|
772
|
+
];
|
|
773
|
+
var ListNodesInput$ = [3, n0, _LNIi,
|
|
774
|
+
0,
|
|
775
|
+
[_NI, _MI, _S, _MR, _NTe],
|
|
776
|
+
[[0, 1], [0, { [_hQ]: _mI }], [0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
777
|
+
];
|
|
778
|
+
var ListNodesOutput$ = [3, n0, _LNOi,
|
|
779
|
+
0,
|
|
780
|
+
[_Nod, _NTe],
|
|
781
|
+
[() => NodeSummaryList, 0]
|
|
782
|
+
];
|
|
783
|
+
var ListProposalsInput$ = [3, n0, _LPI,
|
|
784
|
+
0,
|
|
785
|
+
[_NI, _MR, _NTe],
|
|
786
|
+
[[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
787
|
+
];
|
|
788
|
+
var ListProposalsOutput$ = [3, n0, _LPO,
|
|
789
|
+
0,
|
|
790
|
+
[_Pro, _NTe],
|
|
791
|
+
[() => ProposalSummaryList, 0]
|
|
792
|
+
];
|
|
793
|
+
var ListProposalVotesInput$ = [3, n0, _LPVI,
|
|
794
|
+
0,
|
|
795
|
+
[_NI, _PI, _MR, _NTe],
|
|
796
|
+
[[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2
|
|
797
|
+
];
|
|
798
|
+
var ListProposalVotesOutput$ = [3, n0, _LPVO,
|
|
799
|
+
0,
|
|
800
|
+
[_PV, _NTe],
|
|
801
|
+
[() => ProposalVoteList, 0]
|
|
802
|
+
];
|
|
803
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
804
|
+
0,
|
|
805
|
+
[_RA],
|
|
806
|
+
[[0, 1]], 1
|
|
807
|
+
];
|
|
808
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
809
|
+
0,
|
|
810
|
+
[_Ta],
|
|
811
|
+
[128 | 0]
|
|
812
|
+
];
|
|
813
|
+
var LogConfiguration$ = [3, n0, _LC,
|
|
814
|
+
0,
|
|
815
|
+
[_E],
|
|
816
|
+
[2]
|
|
817
|
+
];
|
|
818
|
+
var LogConfigurations$ = [3, n0, _LCo,
|
|
819
|
+
0,
|
|
820
|
+
[_C],
|
|
821
|
+
[() => LogConfiguration$]
|
|
822
|
+
];
|
|
823
|
+
var Member$ = [3, n0, _Me,
|
|
824
|
+
0,
|
|
825
|
+
[_NI, _I, _N, _D, _FA, _LPC, _S, _CD, _Ta, _Ar, _KKA],
|
|
826
|
+
[0, 0, 0, 0, () => MemberFrameworkAttributes$, () => MemberLogPublishingConfiguration$, 0, 5, 128 | 0, 0, 0]
|
|
827
|
+
];
|
|
828
|
+
var MemberConfiguration$ = [3, n0, _MC,
|
|
829
|
+
0,
|
|
830
|
+
[_N, _FC, _D, _LPC, _Ta, _KKA],
|
|
831
|
+
[0, [() => MemberFrameworkConfiguration$, 0], 0, () => MemberLogPublishingConfiguration$, 128 | 0, 0], 2
|
|
832
|
+
];
|
|
833
|
+
var MemberFabricAttributes$ = [3, n0, _MFA,
|
|
834
|
+
0,
|
|
835
|
+
[_AU, _CE],
|
|
836
|
+
[0, 0]
|
|
837
|
+
];
|
|
838
|
+
var MemberFabricConfiguration$ = [3, n0, _MFC,
|
|
839
|
+
0,
|
|
840
|
+
[_AU, _AP],
|
|
841
|
+
[0, [() => PasswordString, 0]], 2
|
|
842
|
+
];
|
|
843
|
+
var MemberFabricLogPublishingConfiguration$ = [3, n0, _MFLPC,
|
|
844
|
+
0,
|
|
845
|
+
[_CL],
|
|
846
|
+
[() => LogConfigurations$]
|
|
847
|
+
];
|
|
848
|
+
var MemberFrameworkAttributes$ = [3, n0, _MFAe,
|
|
849
|
+
0,
|
|
850
|
+
[_Fa],
|
|
851
|
+
[() => MemberFabricAttributes$]
|
|
852
|
+
];
|
|
853
|
+
var MemberFrameworkConfiguration$ = [3, n0, _MFCe,
|
|
854
|
+
0,
|
|
855
|
+
[_Fa],
|
|
856
|
+
[[() => MemberFabricConfiguration$, 0]]
|
|
857
|
+
];
|
|
858
|
+
var MemberLogPublishingConfiguration$ = [3, n0, _MLPC,
|
|
859
|
+
0,
|
|
860
|
+
[_Fa],
|
|
861
|
+
[() => MemberFabricLogPublishingConfiguration$]
|
|
862
|
+
];
|
|
863
|
+
var MemberSummary$ = [3, n0, _MS,
|
|
864
|
+
0,
|
|
865
|
+
[_I, _N, _D, _S, _CD, _IO, _Ar],
|
|
866
|
+
[0, 0, 0, 0, 5, 2, 0]
|
|
867
|
+
];
|
|
868
|
+
var Network$ = [3, n0, _Ne,
|
|
869
|
+
0,
|
|
870
|
+
[_I, _N, _D, _F, _FV, _FA, _VESN, _VP, _S, _CD, _Ta, _Ar],
|
|
871
|
+
[0, 0, 0, 0, 0, () => NetworkFrameworkAttributes$, 0, () => VotingPolicy$, 0, 5, 128 | 0, 0]
|
|
872
|
+
];
|
|
873
|
+
var NetworkEthereumAttributes$ = [3, n0, _NEA,
|
|
874
|
+
0,
|
|
875
|
+
[_CI],
|
|
876
|
+
[0]
|
|
877
|
+
];
|
|
878
|
+
var NetworkFabricAttributes$ = [3, n0, _NFA,
|
|
879
|
+
0,
|
|
880
|
+
[_OSE, _Ed],
|
|
881
|
+
[0, 0]
|
|
882
|
+
];
|
|
883
|
+
var NetworkFabricConfiguration$ = [3, n0, _NFC,
|
|
884
|
+
0,
|
|
885
|
+
[_Ed],
|
|
886
|
+
[0], 1
|
|
887
|
+
];
|
|
888
|
+
var NetworkFrameworkAttributes$ = [3, n0, _NFAe,
|
|
889
|
+
0,
|
|
890
|
+
[_Fa, _Et],
|
|
891
|
+
[() => NetworkFabricAttributes$, () => NetworkEthereumAttributes$]
|
|
892
|
+
];
|
|
893
|
+
var NetworkFrameworkConfiguration$ = [3, n0, _NFCe,
|
|
894
|
+
0,
|
|
895
|
+
[_Fa],
|
|
896
|
+
[() => NetworkFabricConfiguration$]
|
|
897
|
+
];
|
|
898
|
+
var NetworkSummary$ = [3, n0, _NS,
|
|
899
|
+
0,
|
|
900
|
+
[_I, _N, _D, _F, _FV, _S, _CD, _Ar],
|
|
901
|
+
[0, 0, 0, 0, 0, 0, 5, 0]
|
|
902
|
+
];
|
|
903
|
+
var Node$ = [3, n0, _No,
|
|
904
|
+
0,
|
|
905
|
+
[_NI, _MI, _I, _IT, _AZ, _FA, _LPC, _SDB, _S, _CD, _Ta, _Ar, _KKA],
|
|
906
|
+
[0, 0, 0, 0, 0, () => NodeFrameworkAttributes$, () => NodeLogPublishingConfiguration$, 0, 0, 5, 128 | 0, 0, 0]
|
|
907
|
+
];
|
|
908
|
+
var NodeConfiguration$ = [3, n0, _NC,
|
|
909
|
+
0,
|
|
910
|
+
[_IT, _AZ, _LPC, _SDB],
|
|
911
|
+
[0, 0, () => NodeLogPublishingConfiguration$, 0], 1
|
|
912
|
+
];
|
|
913
|
+
var NodeEthereumAttributes$ = [3, n0, _NEAo,
|
|
914
|
+
0,
|
|
915
|
+
[_HE, _WSE],
|
|
916
|
+
[0, 0]
|
|
917
|
+
];
|
|
918
|
+
var NodeFabricAttributes$ = [3, n0, _NFAo,
|
|
919
|
+
0,
|
|
920
|
+
[_PE, _PEE],
|
|
921
|
+
[0, 0]
|
|
922
|
+
];
|
|
923
|
+
var NodeFabricLogPublishingConfiguration$ = [3, n0, _NFLPC,
|
|
924
|
+
0,
|
|
925
|
+
[_CLh, _PL],
|
|
926
|
+
[() => LogConfigurations$, () => LogConfigurations$]
|
|
927
|
+
];
|
|
928
|
+
var NodeFrameworkAttributes$ = [3, n0, _NFAod,
|
|
929
|
+
0,
|
|
930
|
+
[_Fa, _Et],
|
|
931
|
+
[() => NodeFabricAttributes$, () => NodeEthereumAttributes$]
|
|
932
|
+
];
|
|
933
|
+
var NodeLogPublishingConfiguration$ = [3, n0, _NLPC,
|
|
934
|
+
0,
|
|
935
|
+
[_Fa],
|
|
936
|
+
[() => NodeFabricLogPublishingConfiguration$]
|
|
937
|
+
];
|
|
938
|
+
var NodeSummary$ = [3, n0, _NSo,
|
|
939
|
+
0,
|
|
940
|
+
[_I, _S, _CD, _AZ, _IT, _Ar],
|
|
941
|
+
[0, 0, 5, 0, 0, 0]
|
|
942
|
+
];
|
|
943
|
+
var Proposal$ = [3, n0, _P,
|
|
944
|
+
0,
|
|
945
|
+
[_PI, _NI, _D, _Ac, _PBMI, _PBMN, _S, _CD, _ED, _YVC, _NVC, _OVC, _Ta, _Ar],
|
|
946
|
+
[0, 0, 0, () => ProposalActions$, 0, 0, 0, 5, 5, 1, 1, 1, 128 | 0, 0]
|
|
947
|
+
];
|
|
948
|
+
var ProposalActions$ = [3, n0, _PA,
|
|
949
|
+
0,
|
|
950
|
+
[_Inv, _R],
|
|
951
|
+
[() => InviteActionList, () => RemoveActionList]
|
|
952
|
+
];
|
|
953
|
+
var ProposalSummary$ = [3, n0, _PSr,
|
|
954
|
+
0,
|
|
955
|
+
[_PI, _D, _PBMI, _PBMN, _S, _CD, _ED, _Ar],
|
|
956
|
+
[0, 0, 0, 0, 0, 5, 5, 0]
|
|
957
|
+
];
|
|
958
|
+
var RejectInvitationInput$ = [3, n0, _RII,
|
|
959
|
+
0,
|
|
960
|
+
[_II],
|
|
961
|
+
[[0, 1]], 1
|
|
962
|
+
];
|
|
963
|
+
var RejectInvitationOutput$ = [3, n0, _RIO,
|
|
964
|
+
0,
|
|
965
|
+
[],
|
|
966
|
+
[]
|
|
967
|
+
];
|
|
968
|
+
var RemoveAction$ = [3, n0, _RAe,
|
|
969
|
+
0,
|
|
970
|
+
[_MI],
|
|
971
|
+
[0], 1
|
|
972
|
+
];
|
|
973
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
974
|
+
0,
|
|
975
|
+
[_RA, _Ta],
|
|
976
|
+
[[0, 1], 128 | 0], 2
|
|
977
|
+
];
|
|
978
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
979
|
+
0,
|
|
980
|
+
[],
|
|
981
|
+
[]
|
|
982
|
+
];
|
|
983
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
984
|
+
0,
|
|
985
|
+
[_RA, _TK],
|
|
986
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
987
|
+
];
|
|
988
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
989
|
+
0,
|
|
990
|
+
[],
|
|
991
|
+
[]
|
|
992
|
+
];
|
|
993
|
+
var UpdateMemberInput$ = [3, n0, _UMI,
|
|
994
|
+
0,
|
|
995
|
+
[_NI, _MI, _LPC],
|
|
996
|
+
[[0, 1], [0, 1], () => MemberLogPublishingConfiguration$], 2
|
|
997
|
+
];
|
|
998
|
+
var UpdateMemberOutput$ = [3, n0, _UMO,
|
|
999
|
+
0,
|
|
1000
|
+
[],
|
|
1001
|
+
[]
|
|
1002
|
+
];
|
|
1003
|
+
var UpdateNodeInput$ = [3, n0, _UNI,
|
|
1004
|
+
0,
|
|
1005
|
+
[_NI, _NIo, _MI, _LPC],
|
|
1006
|
+
[[0, 1], [0, 1], 0, () => NodeLogPublishingConfiguration$], 2
|
|
1007
|
+
];
|
|
1008
|
+
var UpdateNodeOutput$ = [3, n0, _UNO,
|
|
1009
|
+
0,
|
|
1010
|
+
[],
|
|
1011
|
+
[]
|
|
1012
|
+
];
|
|
1013
|
+
var VoteOnProposalInput$ = [3, n0, _VOPI,
|
|
1014
|
+
0,
|
|
1015
|
+
[_NI, _PI, _VMI, _V],
|
|
1016
|
+
[[0, 1], [0, 1], 0, 0], 4
|
|
1017
|
+
];
|
|
1018
|
+
var VoteOnProposalOutput$ = [3, n0, _VOPO,
|
|
1019
|
+
0,
|
|
1020
|
+
[],
|
|
1021
|
+
[]
|
|
1022
|
+
];
|
|
1023
|
+
var VoteSummary$ = [3, n0, _VS,
|
|
1024
|
+
0,
|
|
1025
|
+
[_V, _MN, _MI],
|
|
1026
|
+
[0, 0, 0]
|
|
1027
|
+
];
|
|
1028
|
+
var VotingPolicy$ = [3, n0, _VP,
|
|
1029
|
+
0,
|
|
1030
|
+
[_ATP],
|
|
1031
|
+
[() => ApprovalThresholdPolicy$]
|
|
1032
|
+
];
|
|
1033
|
+
var AccessorSummaryList = [1, n0, _ASL,
|
|
1034
|
+
0, () => AccessorSummary$
|
|
1035
|
+
];
|
|
1036
|
+
var InvitationList = [1, n0, _IL,
|
|
1037
|
+
0, () => Invitation$
|
|
1038
|
+
];
|
|
1039
|
+
var InviteActionList = [1, n0, _IAL,
|
|
1040
|
+
0, () => InviteAction$
|
|
1041
|
+
];
|
|
1042
|
+
var MemberSummaryList = [1, n0, _MSL,
|
|
1043
|
+
0, () => MemberSummary$
|
|
1044
|
+
];
|
|
1045
|
+
var NetworkSummaryList = [1, n0, _NSL,
|
|
1046
|
+
0, () => NetworkSummary$
|
|
1047
|
+
];
|
|
1048
|
+
var NodeSummaryList = [1, n0, _NSLo,
|
|
1049
|
+
0, () => NodeSummary$
|
|
1050
|
+
];
|
|
1051
|
+
var ProposalSummaryList = [1, n0, _PSL,
|
|
1052
|
+
0, () => ProposalSummary$
|
|
1053
|
+
];
|
|
1054
|
+
var ProposalVoteList = [1, n0, _PVL,
|
|
1055
|
+
0, () => VoteSummary$
|
|
1056
|
+
];
|
|
1057
|
+
var RemoveActionList = [1, n0, _RAL,
|
|
1058
|
+
0, () => RemoveAction$
|
|
1059
|
+
];
|
|
1060
|
+
var CreateAccessor$ = [9, n0, _CA,
|
|
1061
|
+
{ [_h]: ["POST", "/accessors", 200] }, () => CreateAccessorInput$, () => CreateAccessorOutput$
|
|
1062
|
+
];
|
|
1063
|
+
var CreateMember$ = [9, n0, _CM,
|
|
1064
|
+
{ [_h]: ["POST", "/networks/{NetworkId}/members", 200] }, () => CreateMemberInput$, () => CreateMemberOutput$
|
|
1065
|
+
];
|
|
1066
|
+
var CreateNetwork$ = [9, n0, _CN,
|
|
1067
|
+
{ [_h]: ["POST", "/networks", 200] }, () => CreateNetworkInput$, () => CreateNetworkOutput$
|
|
1068
|
+
];
|
|
1069
|
+
var CreateNode$ = [9, n0, _CNr,
|
|
1070
|
+
{ [_h]: ["POST", "/networks/{NetworkId}/nodes", 200] }, () => CreateNodeInput$, () => CreateNodeOutput$
|
|
1071
|
+
];
|
|
1072
|
+
var CreateProposal$ = [9, n0, _CP,
|
|
1073
|
+
{ [_h]: ["POST", "/networks/{NetworkId}/proposals", 200] }, () => CreateProposalInput$, () => CreateProposalOutput$
|
|
1074
|
+
];
|
|
1075
|
+
var DeleteAccessor$ = [9, n0, _DA,
|
|
1076
|
+
{ [_h]: ["DELETE", "/accessors/{AccessorId}", 200] }, () => DeleteAccessorInput$, () => DeleteAccessorOutput$
|
|
1077
|
+
];
|
|
1078
|
+
var DeleteMember$ = [9, n0, _DM,
|
|
1079
|
+
{ [_h]: ["DELETE", "/networks/{NetworkId}/members/{MemberId}", 200] }, () => DeleteMemberInput$, () => DeleteMemberOutput$
|
|
1080
|
+
];
|
|
1081
|
+
var DeleteNode$ = [9, n0, _DN,
|
|
1082
|
+
{ [_h]: ["DELETE", "/networks/{NetworkId}/nodes/{NodeId}", 200] }, () => DeleteNodeInput$, () => DeleteNodeOutput$
|
|
1083
|
+
];
|
|
1084
|
+
var GetAccessor$ = [9, n0, _GA,
|
|
1085
|
+
{ [_h]: ["GET", "/accessors/{AccessorId}", 200] }, () => GetAccessorInput$, () => GetAccessorOutput$
|
|
1086
|
+
];
|
|
1087
|
+
var GetMember$ = [9, n0, _GM,
|
|
1088
|
+
{ [_h]: ["GET", "/networks/{NetworkId}/members/{MemberId}", 200] }, () => GetMemberInput$, () => GetMemberOutput$
|
|
1089
|
+
];
|
|
1090
|
+
var GetNetwork$ = [9, n0, _GN,
|
|
1091
|
+
{ [_h]: ["GET", "/networks/{NetworkId}", 200] }, () => GetNetworkInput$, () => GetNetworkOutput$
|
|
1092
|
+
];
|
|
1093
|
+
var GetNode$ = [9, n0, _GNe,
|
|
1094
|
+
{ [_h]: ["GET", "/networks/{NetworkId}/nodes/{NodeId}", 200] }, () => GetNodeInput$, () => GetNodeOutput$
|
|
1095
|
+
];
|
|
1096
|
+
var GetProposal$ = [9, n0, _GP,
|
|
1097
|
+
{ [_h]: ["GET", "/networks/{NetworkId}/proposals/{ProposalId}", 200] }, () => GetProposalInput$, () => GetProposalOutput$
|
|
1098
|
+
];
|
|
1099
|
+
var ListAccessors$ = [9, n0, _LA,
|
|
1100
|
+
{ [_h]: ["GET", "/accessors", 200] }, () => ListAccessorsInput$, () => ListAccessorsOutput$
|
|
1101
|
+
];
|
|
1102
|
+
var ListInvitations$ = [9, n0, _LI,
|
|
1103
|
+
{ [_h]: ["GET", "/invitations", 200] }, () => ListInvitationsInput$, () => ListInvitationsOutput$
|
|
1104
|
+
];
|
|
1105
|
+
var ListMembers$ = [9, n0, _LM,
|
|
1106
|
+
{ [_h]: ["GET", "/networks/{NetworkId}/members", 200] }, () => ListMembersInput$, () => ListMembersOutput$
|
|
1107
|
+
];
|
|
1108
|
+
var ListNetworks$ = [9, n0, _LN,
|
|
1109
|
+
{ [_h]: ["GET", "/networks", 200] }, () => ListNetworksInput$, () => ListNetworksOutput$
|
|
1110
|
+
];
|
|
1111
|
+
var ListNodes$ = [9, n0, _LNi,
|
|
1112
|
+
{ [_h]: ["GET", "/networks/{NetworkId}/nodes", 200] }, () => ListNodesInput$, () => ListNodesOutput$
|
|
1113
|
+
];
|
|
1114
|
+
var ListProposals$ = [9, n0, _LP,
|
|
1115
|
+
{ [_h]: ["GET", "/networks/{NetworkId}/proposals", 200] }, () => ListProposalsInput$, () => ListProposalsOutput$
|
|
1116
|
+
];
|
|
1117
|
+
var ListProposalVotes$ = [9, n0, _LPV,
|
|
1118
|
+
{ [_h]: ["GET", "/networks/{NetworkId}/proposals/{ProposalId}/votes", 200] }, () => ListProposalVotesInput$, () => ListProposalVotesOutput$
|
|
1119
|
+
];
|
|
1120
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
1121
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
1122
|
+
];
|
|
1123
|
+
var RejectInvitation$ = [9, n0, _RI,
|
|
1124
|
+
{ [_h]: ["DELETE", "/invitations/{InvitationId}", 200] }, () => RejectInvitationInput$, () => RejectInvitationOutput$
|
|
1125
|
+
];
|
|
1126
|
+
var TagResource$ = [9, n0, _TR,
|
|
1127
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
1128
|
+
];
|
|
1129
|
+
var UntagResource$ = [9, n0, _UR,
|
|
1130
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
1131
|
+
];
|
|
1132
|
+
var UpdateMember$ = [9, n0, _UM,
|
|
1133
|
+
{ [_h]: ["PATCH", "/networks/{NetworkId}/members/{MemberId}", 200] }, () => UpdateMemberInput$, () => UpdateMemberOutput$
|
|
1134
|
+
];
|
|
1135
|
+
var UpdateNode$ = [9, n0, _UN,
|
|
1136
|
+
{ [_h]: ["PATCH", "/networks/{NetworkId}/nodes/{NodeId}", 200] }, () => UpdateNodeInput$, () => UpdateNodeOutput$
|
|
1137
|
+
];
|
|
1138
|
+
var VoteOnProposal$ = [9, n0, _VOP,
|
|
1139
|
+
{ [_h]: ["POST", "/networks/{NetworkId}/proposals/{ProposalId}/votes", 200] }, () => VoteOnProposalInput$, () => VoteOnProposalOutput$
|
|
1140
|
+
];
|
|
1141
|
+
|
|
1142
|
+
const getRuntimeConfig$1 = (config) => {
|
|
1143
|
+
return {
|
|
1144
|
+
apiVersion: "2018-09-24",
|
|
1145
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1146
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1147
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1148
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1149
|
+
extensions: config?.extensions ?? [],
|
|
1150
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultManagedBlockchainHttpAuthSchemeProvider,
|
|
1151
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1152
|
+
{
|
|
1153
|
+
schemeId: "aws.auth#sigv4",
|
|
1154
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1155
|
+
signer: new AwsSdkSigV4Signer(),
|
|
1156
|
+
},
|
|
1157
|
+
],
|
|
1158
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
1159
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
1160
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1161
|
+
defaultNamespace: "com.amazonaws.managedblockchain",
|
|
1162
|
+
errorTypeRegistries,
|
|
1163
|
+
version: "2018-09-24",
|
|
1164
|
+
serviceTarget: "TaigaWebService",
|
|
1165
|
+
},
|
|
1166
|
+
serviceId: config?.serviceId ?? "ManagedBlockchain",
|
|
1167
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
1168
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1169
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
const getRuntimeConfig = (config) => {
|
|
1174
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
1175
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
1176
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
1177
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1178
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1179
|
+
const loaderConfig = {
|
|
1180
|
+
profile: config?.profile,
|
|
1181
|
+
logger: clientSharedValues.logger,
|
|
1182
|
+
};
|
|
1183
|
+
return {
|
|
1184
|
+
...clientSharedValues,
|
|
1185
|
+
...config,
|
|
1186
|
+
runtime: "node",
|
|
1187
|
+
defaultsMode,
|
|
1188
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1189
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
1190
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1191
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1192
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1193
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1194
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1195
|
+
retryMode: config?.retryMode ??
|
|
1196
|
+
loadConfig({
|
|
1197
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1198
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1199
|
+
}, config),
|
|
1200
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1201
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1202
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1203
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1204
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
|
|
34
1208
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
1209
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
1210
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -568,48 +1742,189 @@ const VoteValue = {
|
|
|
568
1742
|
YES: "YES",
|
|
569
1743
|
};
|
|
570
1744
|
|
|
1745
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1746
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1747
|
+
exports.Accessor$ = Accessor$;
|
|
571
1748
|
exports.AccessorNetworkType = AccessorNetworkType;
|
|
572
1749
|
exports.AccessorStatus = AccessorStatus;
|
|
1750
|
+
exports.AccessorSummary$ = AccessorSummary$;
|
|
573
1751
|
exports.AccessorType = AccessorType;
|
|
1752
|
+
exports.ApprovalThresholdPolicy$ = ApprovalThresholdPolicy$;
|
|
1753
|
+
exports.CreateAccessor$ = CreateAccessor$;
|
|
574
1754
|
exports.CreateAccessorCommand = CreateAccessorCommand;
|
|
1755
|
+
exports.CreateAccessorInput$ = CreateAccessorInput$;
|
|
1756
|
+
exports.CreateAccessorOutput$ = CreateAccessorOutput$;
|
|
1757
|
+
exports.CreateMember$ = CreateMember$;
|
|
575
1758
|
exports.CreateMemberCommand = CreateMemberCommand;
|
|
1759
|
+
exports.CreateMemberInput$ = CreateMemberInput$;
|
|
1760
|
+
exports.CreateMemberOutput$ = CreateMemberOutput$;
|
|
1761
|
+
exports.CreateNetwork$ = CreateNetwork$;
|
|
576
1762
|
exports.CreateNetworkCommand = CreateNetworkCommand;
|
|
1763
|
+
exports.CreateNetworkInput$ = CreateNetworkInput$;
|
|
1764
|
+
exports.CreateNetworkOutput$ = CreateNetworkOutput$;
|
|
1765
|
+
exports.CreateNode$ = CreateNode$;
|
|
577
1766
|
exports.CreateNodeCommand = CreateNodeCommand;
|
|
1767
|
+
exports.CreateNodeInput$ = CreateNodeInput$;
|
|
1768
|
+
exports.CreateNodeOutput$ = CreateNodeOutput$;
|
|
1769
|
+
exports.CreateProposal$ = CreateProposal$;
|
|
578
1770
|
exports.CreateProposalCommand = CreateProposalCommand;
|
|
1771
|
+
exports.CreateProposalInput$ = CreateProposalInput$;
|
|
1772
|
+
exports.CreateProposalOutput$ = CreateProposalOutput$;
|
|
1773
|
+
exports.DeleteAccessor$ = DeleteAccessor$;
|
|
579
1774
|
exports.DeleteAccessorCommand = DeleteAccessorCommand;
|
|
1775
|
+
exports.DeleteAccessorInput$ = DeleteAccessorInput$;
|
|
1776
|
+
exports.DeleteAccessorOutput$ = DeleteAccessorOutput$;
|
|
1777
|
+
exports.DeleteMember$ = DeleteMember$;
|
|
580
1778
|
exports.DeleteMemberCommand = DeleteMemberCommand;
|
|
1779
|
+
exports.DeleteMemberInput$ = DeleteMemberInput$;
|
|
1780
|
+
exports.DeleteMemberOutput$ = DeleteMemberOutput$;
|
|
1781
|
+
exports.DeleteNode$ = DeleteNode$;
|
|
581
1782
|
exports.DeleteNodeCommand = DeleteNodeCommand;
|
|
1783
|
+
exports.DeleteNodeInput$ = DeleteNodeInput$;
|
|
1784
|
+
exports.DeleteNodeOutput$ = DeleteNodeOutput$;
|
|
582
1785
|
exports.Edition = Edition;
|
|
583
1786
|
exports.Framework = Framework;
|
|
1787
|
+
exports.GetAccessor$ = GetAccessor$;
|
|
584
1788
|
exports.GetAccessorCommand = GetAccessorCommand;
|
|
1789
|
+
exports.GetAccessorInput$ = GetAccessorInput$;
|
|
1790
|
+
exports.GetAccessorOutput$ = GetAccessorOutput$;
|
|
1791
|
+
exports.GetMember$ = GetMember$;
|
|
585
1792
|
exports.GetMemberCommand = GetMemberCommand;
|
|
1793
|
+
exports.GetMemberInput$ = GetMemberInput$;
|
|
1794
|
+
exports.GetMemberOutput$ = GetMemberOutput$;
|
|
1795
|
+
exports.GetNetwork$ = GetNetwork$;
|
|
586
1796
|
exports.GetNetworkCommand = GetNetworkCommand;
|
|
1797
|
+
exports.GetNetworkInput$ = GetNetworkInput$;
|
|
1798
|
+
exports.GetNetworkOutput$ = GetNetworkOutput$;
|
|
1799
|
+
exports.GetNode$ = GetNode$;
|
|
587
1800
|
exports.GetNodeCommand = GetNodeCommand;
|
|
1801
|
+
exports.GetNodeInput$ = GetNodeInput$;
|
|
1802
|
+
exports.GetNodeOutput$ = GetNodeOutput$;
|
|
1803
|
+
exports.GetProposal$ = GetProposal$;
|
|
588
1804
|
exports.GetProposalCommand = GetProposalCommand;
|
|
1805
|
+
exports.GetProposalInput$ = GetProposalInput$;
|
|
1806
|
+
exports.GetProposalOutput$ = GetProposalOutput$;
|
|
1807
|
+
exports.IllegalActionException = IllegalActionException;
|
|
1808
|
+
exports.IllegalActionException$ = IllegalActionException$;
|
|
1809
|
+
exports.InternalServiceErrorException = InternalServiceErrorException;
|
|
1810
|
+
exports.InternalServiceErrorException$ = InternalServiceErrorException$;
|
|
1811
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
1812
|
+
exports.InvalidRequestException$ = InvalidRequestException$;
|
|
1813
|
+
exports.Invitation$ = Invitation$;
|
|
589
1814
|
exports.InvitationStatus = InvitationStatus;
|
|
1815
|
+
exports.InviteAction$ = InviteAction$;
|
|
1816
|
+
exports.ListAccessors$ = ListAccessors$;
|
|
590
1817
|
exports.ListAccessorsCommand = ListAccessorsCommand;
|
|
1818
|
+
exports.ListAccessorsInput$ = ListAccessorsInput$;
|
|
1819
|
+
exports.ListAccessorsOutput$ = ListAccessorsOutput$;
|
|
1820
|
+
exports.ListInvitations$ = ListInvitations$;
|
|
591
1821
|
exports.ListInvitationsCommand = ListInvitationsCommand;
|
|
1822
|
+
exports.ListInvitationsInput$ = ListInvitationsInput$;
|
|
1823
|
+
exports.ListInvitationsOutput$ = ListInvitationsOutput$;
|
|
1824
|
+
exports.ListMembers$ = ListMembers$;
|
|
592
1825
|
exports.ListMembersCommand = ListMembersCommand;
|
|
1826
|
+
exports.ListMembersInput$ = ListMembersInput$;
|
|
1827
|
+
exports.ListMembersOutput$ = ListMembersOutput$;
|
|
1828
|
+
exports.ListNetworks$ = ListNetworks$;
|
|
593
1829
|
exports.ListNetworksCommand = ListNetworksCommand;
|
|
1830
|
+
exports.ListNetworksInput$ = ListNetworksInput$;
|
|
1831
|
+
exports.ListNetworksOutput$ = ListNetworksOutput$;
|
|
1832
|
+
exports.ListNodes$ = ListNodes$;
|
|
594
1833
|
exports.ListNodesCommand = ListNodesCommand;
|
|
1834
|
+
exports.ListNodesInput$ = ListNodesInput$;
|
|
1835
|
+
exports.ListNodesOutput$ = ListNodesOutput$;
|
|
1836
|
+
exports.ListProposalVotes$ = ListProposalVotes$;
|
|
595
1837
|
exports.ListProposalVotesCommand = ListProposalVotesCommand;
|
|
1838
|
+
exports.ListProposalVotesInput$ = ListProposalVotesInput$;
|
|
1839
|
+
exports.ListProposalVotesOutput$ = ListProposalVotesOutput$;
|
|
1840
|
+
exports.ListProposals$ = ListProposals$;
|
|
596
1841
|
exports.ListProposalsCommand = ListProposalsCommand;
|
|
1842
|
+
exports.ListProposalsInput$ = ListProposalsInput$;
|
|
1843
|
+
exports.ListProposalsOutput$ = ListProposalsOutput$;
|
|
1844
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
597
1845
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1846
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1847
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1848
|
+
exports.LogConfiguration$ = LogConfiguration$;
|
|
1849
|
+
exports.LogConfigurations$ = LogConfigurations$;
|
|
598
1850
|
exports.ManagedBlockchain = ManagedBlockchain;
|
|
599
1851
|
exports.ManagedBlockchainClient = ManagedBlockchainClient;
|
|
1852
|
+
exports.ManagedBlockchainServiceException = ManagedBlockchainServiceException;
|
|
1853
|
+
exports.ManagedBlockchainServiceException$ = ManagedBlockchainServiceException$;
|
|
1854
|
+
exports.Member$ = Member$;
|
|
1855
|
+
exports.MemberConfiguration$ = MemberConfiguration$;
|
|
1856
|
+
exports.MemberFabricAttributes$ = MemberFabricAttributes$;
|
|
1857
|
+
exports.MemberFabricConfiguration$ = MemberFabricConfiguration$;
|
|
1858
|
+
exports.MemberFabricLogPublishingConfiguration$ = MemberFabricLogPublishingConfiguration$;
|
|
1859
|
+
exports.MemberFrameworkAttributes$ = MemberFrameworkAttributes$;
|
|
1860
|
+
exports.MemberFrameworkConfiguration$ = MemberFrameworkConfiguration$;
|
|
1861
|
+
exports.MemberLogPublishingConfiguration$ = MemberLogPublishingConfiguration$;
|
|
600
1862
|
exports.MemberStatus = MemberStatus;
|
|
1863
|
+
exports.MemberSummary$ = MemberSummary$;
|
|
1864
|
+
exports.Network$ = Network$;
|
|
1865
|
+
exports.NetworkEthereumAttributes$ = NetworkEthereumAttributes$;
|
|
1866
|
+
exports.NetworkFabricAttributes$ = NetworkFabricAttributes$;
|
|
1867
|
+
exports.NetworkFabricConfiguration$ = NetworkFabricConfiguration$;
|
|
1868
|
+
exports.NetworkFrameworkAttributes$ = NetworkFrameworkAttributes$;
|
|
1869
|
+
exports.NetworkFrameworkConfiguration$ = NetworkFrameworkConfiguration$;
|
|
601
1870
|
exports.NetworkStatus = NetworkStatus;
|
|
1871
|
+
exports.NetworkSummary$ = NetworkSummary$;
|
|
1872
|
+
exports.Node$ = Node$;
|
|
1873
|
+
exports.NodeConfiguration$ = NodeConfiguration$;
|
|
1874
|
+
exports.NodeEthereumAttributes$ = NodeEthereumAttributes$;
|
|
1875
|
+
exports.NodeFabricAttributes$ = NodeFabricAttributes$;
|
|
1876
|
+
exports.NodeFabricLogPublishingConfiguration$ = NodeFabricLogPublishingConfiguration$;
|
|
1877
|
+
exports.NodeFrameworkAttributes$ = NodeFrameworkAttributes$;
|
|
1878
|
+
exports.NodeLogPublishingConfiguration$ = NodeLogPublishingConfiguration$;
|
|
602
1879
|
exports.NodeStatus = NodeStatus;
|
|
1880
|
+
exports.NodeSummary$ = NodeSummary$;
|
|
1881
|
+
exports.Proposal$ = Proposal$;
|
|
1882
|
+
exports.ProposalActions$ = ProposalActions$;
|
|
603
1883
|
exports.ProposalStatus = ProposalStatus;
|
|
1884
|
+
exports.ProposalSummary$ = ProposalSummary$;
|
|
1885
|
+
exports.RejectInvitation$ = RejectInvitation$;
|
|
604
1886
|
exports.RejectInvitationCommand = RejectInvitationCommand;
|
|
1887
|
+
exports.RejectInvitationInput$ = RejectInvitationInput$;
|
|
1888
|
+
exports.RejectInvitationOutput$ = RejectInvitationOutput$;
|
|
1889
|
+
exports.RemoveAction$ = RemoveAction$;
|
|
1890
|
+
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
1891
|
+
exports.ResourceAlreadyExistsException$ = ResourceAlreadyExistsException$;
|
|
1892
|
+
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
1893
|
+
exports.ResourceLimitExceededException$ = ResourceLimitExceededException$;
|
|
1894
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1895
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1896
|
+
exports.ResourceNotReadyException = ResourceNotReadyException;
|
|
1897
|
+
exports.ResourceNotReadyException$ = ResourceNotReadyException$;
|
|
605
1898
|
exports.StateDBType = StateDBType;
|
|
1899
|
+
exports.TagResource$ = TagResource$;
|
|
606
1900
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1901
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1902
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
607
1903
|
exports.ThresholdComparator = ThresholdComparator;
|
|
1904
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1905
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1906
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
1907
|
+
exports.TooManyTagsException$ = TooManyTagsException$;
|
|
1908
|
+
exports.UntagResource$ = UntagResource$;
|
|
608
1909
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1910
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1911
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1912
|
+
exports.UpdateMember$ = UpdateMember$;
|
|
609
1913
|
exports.UpdateMemberCommand = UpdateMemberCommand;
|
|
1914
|
+
exports.UpdateMemberInput$ = UpdateMemberInput$;
|
|
1915
|
+
exports.UpdateMemberOutput$ = UpdateMemberOutput$;
|
|
1916
|
+
exports.UpdateNode$ = UpdateNode$;
|
|
610
1917
|
exports.UpdateNodeCommand = UpdateNodeCommand;
|
|
1918
|
+
exports.UpdateNodeInput$ = UpdateNodeInput$;
|
|
1919
|
+
exports.UpdateNodeOutput$ = UpdateNodeOutput$;
|
|
1920
|
+
exports.VoteOnProposal$ = VoteOnProposal$;
|
|
611
1921
|
exports.VoteOnProposalCommand = VoteOnProposalCommand;
|
|
1922
|
+
exports.VoteOnProposalInput$ = VoteOnProposalInput$;
|
|
1923
|
+
exports.VoteOnProposalOutput$ = VoteOnProposalOutput$;
|
|
1924
|
+
exports.VoteSummary$ = VoteSummary$;
|
|
612
1925
|
exports.VoteValue = VoteValue;
|
|
1926
|
+
exports.VotingPolicy$ = VotingPolicy$;
|
|
1927
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
613
1928
|
exports.paginateListAccessors = paginateListAccessors;
|
|
614
1929
|
exports.paginateListInvitations = paginateListInvitations;
|
|
615
1930
|
exports.paginateListMembers = paginateListMembers;
|