/var/runtime/node_modules/@aws-sdk/client-managedblockchain/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, { AccessDeniedException: () => AccessDeniedException, AccessorNetworkType: () => AccessorNetworkType, AccessorStatus: () => AccessorStatus, AccessorType: () => AccessorType, CreateAccessorCommand: () => CreateAccessorCommand, CreateMemberCommand: () => CreateMemberCommand, CreateMemberInputFilterSensitiveLog: () => CreateMemberInputFilterSensitiveLog, CreateNetworkCommand: () => CreateNetworkCommand, CreateNetworkInputFilterSensitiveLog: () => CreateNetworkInputFilterSensitiveLog, CreateNodeCommand: () => CreateNodeCommand, CreateProposalCommand: () => CreateProposalCommand, DeleteAccessorCommand: () => DeleteAccessorCommand, DeleteMemberCommand: () => DeleteMemberCommand, DeleteNodeCommand: () => DeleteNodeCommand, Edition: () => Edition, Framework: () => Framework, GetAccessorCommand: () => GetAccessorCommand, GetMemberCommand: () => GetMemberCommand, GetNetworkCommand: () => GetNetworkCommand, GetNodeCommand: () => GetNodeCommand, GetProposalCommand: () => GetProposalCommand, IllegalActionException: () => IllegalActionException, InternalServiceErrorException: () => InternalServiceErrorException, InvalidRequestException: () => InvalidRequestException, InvitationStatus: () => InvitationStatus, ListAccessorsCommand: () => ListAccessorsCommand, ListInvitationsCommand: () => ListInvitationsCommand, ListMembersCommand: () => ListMembersCommand, ListNetworksCommand: () => ListNetworksCommand, ListNodesCommand: () => ListNodesCommand, ListProposalVotesCommand: () => ListProposalVotesCommand, ListProposalsCommand: () => ListProposalsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ManagedBlockchain: () => ManagedBlockchain, ManagedBlockchainClient: () => ManagedBlockchainClient, ManagedBlockchainServiceException: () => ManagedBlockchainServiceException, MemberConfigurationFilterSensitiveLog: () => MemberConfigurationFilterSensitiveLog, MemberFabricConfigurationFilterSensitiveLog: () => MemberFabricConfigurationFilterSensitiveLog, MemberFrameworkConfigurationFilterSensitiveLog: () => MemberFrameworkConfigurationFilterSensitiveLog, MemberStatus: () => MemberStatus, NetworkStatus: () => NetworkStatus, NodeStatus: () => NodeStatus, ProposalStatus: () => ProposalStatus, RejectInvitationCommand: () => RejectInvitationCommand, ResourceAlreadyExistsException: () => ResourceAlreadyExistsException, ResourceLimitExceededException: () => ResourceLimitExceededException, ResourceNotFoundException: () => ResourceNotFoundException, ResourceNotReadyException: () => ResourceNotReadyException, StateDBType: () => StateDBType, TagResourceCommand: () => TagResourceCommand, ThresholdComparator: () => ThresholdComparator, ThrottlingException: () => ThrottlingException, TooManyTagsException: () => TooManyTagsException, UntagResourceCommand: () => UntagResourceCommand, UpdateMemberCommand: () => UpdateMemberCommand, UpdateNodeCommand: () => UpdateNodeCommand, VoteOnProposalCommand: () => VoteOnProposalCommand, VoteValue: () => VoteValue, __Client: () => import_smithy_client.Client, paginateListAccessors: () => paginateListAccessors, paginateListInvitations: () => paginateListInvitations, paginateListMembers: () => paginateListMembers, paginateListNetworks: () => paginateListNetworks, paginateListNodes: () => paginateListNodes, paginateListProposalVotes: () => paginateListProposalVotes, paginateListProposals: () => paginateListProposals});module.exports = __toCommonJS(index_exports); // src/ManagedBlockchainClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "managedblockchain" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/ManagedBlockchainClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; } };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration) );}, "resolveRuntimeExtensions"); // src/ManagedBlockchainClient.tsvar ManagedBlockchainClient = class extends import_smithy_client.Client { static { __name(this, "ManagedBlockchainClient"); } /** * The resolved configuration of ManagedBlockchainClient class. This is resolved and normalized from the {@link ManagedBlockchainClientConfig | constructor configuration interface}. */ config; constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultManagedBlockchainHttpAuthSchemeParametersProvider, identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); }}; // src/ManagedBlockchain.ts // src/commands/CreateAccessorCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); var import_uuid = require("uuid"); // src/models/ManagedBlockchainServiceException.ts var ManagedBlockchainServiceException = class _ManagedBlockchainServiceException extends import_smithy_client.ServiceException { static { __name(this, "ManagedBlockchainServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _ManagedBlockchainServiceException.prototype); }}; // src/models/models_0.ts var AccessDeniedException = class _AccessDeniedException extends ManagedBlockchainServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); this.Message = opts.Message; }};var AccessorNetworkType = { ETHEREUM_GOERLI: "ETHEREUM_GOERLI", ETHEREUM_MAINNET: "ETHEREUM_MAINNET", ETHEREUM_MAINNET_AND_GOERLI: "ETHEREUM_MAINNET_AND_GOERLI", POLYGON_MAINNET: "POLYGON_MAINNET", POLYGON_MUMBAI: "POLYGON_MUMBAI"};var AccessorStatus = { AVAILABLE: "AVAILABLE", DELETED: "DELETED", PENDING_DELETION: "PENDING_DELETION"};var AccessorType = { BILLING_TOKEN: "BILLING_TOKEN"};var ThresholdComparator = { GREATER_THAN: "GREATER_THAN", GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO"};var InternalServiceErrorException = class _InternalServiceErrorException extends ManagedBlockchainServiceException { static { __name(this, "InternalServiceErrorException"); } name = "InternalServiceErrorException"; $fault = "server"; /** * @internal */ constructor(opts) { super({ name: "InternalServiceErrorException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServiceErrorException.prototype); }};var InvalidRequestException = class _InvalidRequestException extends ManagedBlockchainServiceException { static { __name(this, "InvalidRequestException"); } name = "InvalidRequestException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidRequestException.prototype); this.Message = opts.Message; }};var ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends ManagedBlockchainServiceException { static { __name(this, "ResourceAlreadyExistsException"); } name = "ResourceAlreadyExistsException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ResourceAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype); this.Message = opts.Message; }};var ResourceLimitExceededException = class _ResourceLimitExceededException extends ManagedBlockchainServiceException { static { __name(this, "ResourceLimitExceededException"); } name = "ResourceLimitExceededException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ResourceLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceLimitExceededException.prototype); this.Message = opts.Message; }};var ThrottlingException = class _ThrottlingException extends ManagedBlockchainServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); }};var TooManyTagsException = class _TooManyTagsException extends ManagedBlockchainServiceException { static { __name(this, "TooManyTagsException"); } name = "TooManyTagsException"; $fault = "client"; Message; /** * <p></p> * @public */ ResourceName; /** * @internal */ constructor(opts) { super({ name: "TooManyTagsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TooManyTagsException.prototype); this.Message = opts.Message; this.ResourceName = opts.ResourceName; }};var ResourceNotFoundException = class _ResourceNotFoundException extends ManagedBlockchainServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; Message; /** * <p>A requested resource doesn't exist. It may have been deleted or referenced inaccurately.</p> * @public */ ResourceName; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.Message = opts.Message; this.ResourceName = opts.ResourceName; }};var ResourceNotReadyException = class _ResourceNotReadyException extends ManagedBlockchainServiceException { static { __name(this, "ResourceNotReadyException"); } name = "ResourceNotReadyException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ResourceNotReadyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotReadyException.prototype); this.Message = opts.Message; }};var Framework = { ETHEREUM: "ETHEREUM", HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC"};var Edition = { STANDARD: "STANDARD", STARTER: "STARTER"};var StateDBType = { CouchDB: "CouchDB", LevelDB: "LevelDB"};var MemberStatus = { AVAILABLE: "AVAILABLE", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING", INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY", UPDATING: "UPDATING"};var NetworkStatus = { AVAILABLE: "AVAILABLE", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING"};var NodeStatus = { AVAILABLE: "AVAILABLE", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING", FAILED: "FAILED", INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY", UNHEALTHY: "UNHEALTHY", UPDATING: "UPDATING"};var ProposalStatus = { ACTION_FAILED: "ACTION_FAILED", APPROVED: "APPROVED", EXPIRED: "EXPIRED", IN_PROGRESS: "IN_PROGRESS", REJECTED: "REJECTED"};var IllegalActionException = class _IllegalActionException extends ManagedBlockchainServiceException { static { __name(this, "IllegalActionException"); } name = "IllegalActionException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "IllegalActionException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _IllegalActionException.prototype); this.Message = opts.Message; }};var InvitationStatus = { ACCEPTED: "ACCEPTED", ACCEPTING: "ACCEPTING", EXPIRED: "EXPIRED", PENDING: "PENDING", REJECTED: "REJECTED"};var VoteValue = { NO: "NO", YES: "YES"};var MemberFabricConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.AdminPassword && { AdminPassword: import_smithy_client.SENSITIVE_STRING }}), "MemberFabricConfigurationFilterSensitiveLog");var MemberFrameworkConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Fabric && { Fabric: MemberFabricConfigurationFilterSensitiveLog(obj.Fabric) }}), "MemberFrameworkConfigurationFilterSensitiveLog");var MemberConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.FrameworkConfiguration && { FrameworkConfiguration: MemberFrameworkConfigurationFilterSensitiveLog(obj.FrameworkConfiguration) }}), "MemberConfigurationFilterSensitiveLog");var CreateMemberInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.MemberConfiguration && { MemberConfiguration: MemberConfigurationFilterSensitiveLog(obj.MemberConfiguration) }}), "CreateMemberInputFilterSensitiveLog");var CreateNetworkInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.MemberConfiguration && { MemberConfiguration: MemberConfigurationFilterSensitiveLog(obj.MemberConfiguration) }}), "CreateNetworkInputFilterSensitiveLog"); // src/protocols/Aws_restJson1.tsvar se_CreateAccessorCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/accessors"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AccessorType: [], ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()], NetworkType: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateAccessorCommand");var se_CreateMemberCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/networks/{NetworkId}/members"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()], InvitationId: [], MemberConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MemberConfiguration") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateMemberCommand");var se_CreateNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/networks"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()], Description: [], Framework: [], FrameworkConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FrameworkConfiguration"), FrameworkVersion: [], MemberConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MemberConfiguration"), Name: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"), VotingPolicy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VotingPolicy") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateNetworkCommand");var se_CreateNodeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/networks/{NetworkId}/nodes"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()], MemberId: [], NodeConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "NodeConfiguration"), Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateNodeCommand");var se_CreateProposalCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/networks/{NetworkId}/proposals"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Actions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Actions"), ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()], Description: [], MemberId: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateProposalCommand");var se_DeleteAccessorCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/accessors/{AccessorId}"); b.p("AccessorId", () => input.AccessorId, "{AccessorId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteAccessorCommand");var se_DeleteMemberCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}/members/{MemberId}"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); b.p("MemberId", () => input.MemberId, "{MemberId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteMemberCommand");var se_DeleteNodeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}/nodes/{NodeId}"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); b.p("NodeId", () => input.NodeId, "{NodeId}", false); const query = (0, import_smithy_client.map)({ [_mI]: [, input[_MI]] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_DeleteNodeCommand");var se_GetAccessorCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/accessors/{AccessorId}"); b.p("AccessorId", () => input.AccessorId, "{AccessorId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetAccessorCommand");var se_GetMemberCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}/members/{MemberId}"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); b.p("MemberId", () => input.MemberId, "{MemberId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetMemberCommand");var se_GetNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetNetworkCommand");var se_GetNodeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}/nodes/{NodeId}"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); b.p("NodeId", () => input.NodeId, "{NodeId}", false); const query = (0, import_smithy_client.map)({ [_mI]: [, input[_MI]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetNodeCommand");var se_GetProposalCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}/proposals/{ProposalId}"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); b.p("ProposalId", () => input.ProposalId, "{ProposalId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetProposalCommand");var se_ListAccessorsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/accessors"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]], [_nTe]: [, input[_NTe]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListAccessorsCommand");var se_ListInvitationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/invitations"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListInvitationsCommand");var se_ListMembersCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}/members"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); const query = (0, import_smithy_client.map)({ [_n]: [, input[_N]], [_s]: [, input[_S]], [_iO]: [() => input.IsOwned !== void 0, () => input[_IO].toString()], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListMembersCommand");var se_ListNetworksCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks"); const query = (0, import_smithy_client.map)({ [_n]: [, input[_N]], [_f]: [, input[_F]], [_s]: [, input[_S]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListNetworksCommand");var se_ListNodesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}/nodes"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); const query = (0, import_smithy_client.map)({ [_mI]: [, input[_MI]], [_s]: [, input[_S]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListNodesCommand");var se_ListProposalsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}/proposals"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListProposalsCommand");var se_ListProposalVotesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/networks/{NetworkId}/proposals/{ProposalId}/votes"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); b.p("ProposalId", () => input.ProposalId, "{ProposalId}", false); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListProposalVotesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_RejectInvitationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/invitations/{InvitationId}"); b.p("InvitationId", () => input.InvitationId, "{InvitationId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_RejectInvitationCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); const query = (0, import_smithy_client.map)({ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_UntagResourceCommand");var se_UpdateMemberCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/networks/{NetworkId}/members/{MemberId}"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); b.p("MemberId", () => input.MemberId, "{MemberId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { LogPublishingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LogPublishingConfiguration") }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateMemberCommand");var se_UpdateNodeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/networks/{NetworkId}/nodes/{NodeId}"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); b.p("NodeId", () => input.NodeId, "{NodeId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { LogPublishingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LogPublishingConfiguration"), MemberId: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateNodeCommand");var se_VoteOnProposalCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/networks/{NetworkId}/proposals/{ProposalId}/votes"); b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false); b.p("ProposalId", () => input.ProposalId, "{ProposalId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Vote: [], VoterMemberId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_VoteOnProposalCommand");var de_CreateAccessorCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AccessorId: import_smithy_client.expectString, BillingToken: import_smithy_client.expectString, NetworkType: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateAccessorCommand");var de_CreateMemberCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { MemberId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateMemberCommand");var de_CreateNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { MemberId: import_smithy_client.expectString, NetworkId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateNetworkCommand");var de_CreateNodeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NodeId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateNodeCommand");var de_CreateProposalCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ProposalId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateProposalCommand");var de_DeleteAccessorCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteAccessorCommand");var de_DeleteMemberCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteMemberCommand");var de_DeleteNodeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteNodeCommand");var de_GetAccessorCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Accessor: /* @__PURE__ */ __name((_) => de_Accessor(_, context), "Accessor") }); Object.assign(contents, doc); return contents;}, "de_GetAccessorCommand");var de_GetMemberCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Member: /* @__PURE__ */ __name((_) => de_Member(_, context), "Member") }); Object.assign(contents, doc); return contents;}, "de_GetMemberCommand");var de_GetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Network: /* @__PURE__ */ __name((_) => de_Network(_, context), "Network") }); Object.assign(contents, doc); return contents;}, "de_GetNetworkCommand");var de_GetNodeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Node: /* @__PURE__ */ __name((_) => de_Node(_, context), "Node") }); Object.assign(contents, doc); return contents;}, "de_GetNodeCommand");var de_GetProposalCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Proposal: /* @__PURE__ */ __name((_) => de_Proposal(_, context), "Proposal") }); Object.assign(contents, doc); return contents;}, "de_GetProposalCommand");var de_ListAccessorsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Accessors: /* @__PURE__ */ __name((_) => de_AccessorSummaryList(_, context), "Accessors"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListAccessorsCommand");var de_ListInvitationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Invitations: /* @__PURE__ */ __name((_) => de_InvitationList(_, context), "Invitations"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListInvitationsCommand");var de_ListMembersCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Members: /* @__PURE__ */ __name((_) => de_MemberSummaryList(_, context), "Members"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListMembersCommand");var de_ListNetworksCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Networks: /* @__PURE__ */ __name((_) => de_NetworkSummaryList(_, context), "Networks"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListNetworksCommand");var de_ListNodesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, Nodes: /* @__PURE__ */ __name((_) => de_NodeSummaryList(_, context), "Nodes") }); Object.assign(contents, doc); return contents;}, "de_ListNodesCommand");var de_ListProposalsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, Proposals: /* @__PURE__ */ __name((_) => de_ProposalSummaryList(_, context), "Proposals") }); Object.assign(contents, doc); return contents;}, "de_ListProposalsCommand");var de_ListProposalVotesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, ProposalVotes: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListProposalVotesCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_RejectInvitationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_RejectInvitationCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UntagResourceCommand");var de_UpdateMemberCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UpdateMemberCommand");var de_UpdateNodeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UpdateNodeCommand");var de_VoteOnProposalCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_VoteOnProposalCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { const parsedOutput = { ...output, body: await (0, import_core2.parseJsonErrorBody)(output.body, context) }; const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); switch (errorCode) { case "AccessDeniedException": case "com.amazonaws.managedblockchain#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "InternalServiceErrorException": case "com.amazonaws.managedblockchain#InternalServiceErrorException": throw await de_InternalServiceErrorExceptionRes(parsedOutput, context); case "InvalidRequestException": case "com.amazonaws.managedblockchain#InvalidRequestException": throw await de_InvalidRequestExceptionRes(parsedOutput, context); case "ResourceAlreadyExistsException": case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException": throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context); case "ResourceLimitExceededException": case "com.amazonaws.managedblockchain#ResourceLimitExceededException": throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.managedblockchain#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "TooManyTagsException": case "com.amazonaws.managedblockchain#TooManyTagsException": throw await de_TooManyTagsExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.managedblockchain#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ResourceNotReadyException": case "com.amazonaws.managedblockchain#ResourceNotReadyException": throw await de_ResourceNotReadyExceptionRes(parsedOutput, context); case "IllegalActionException": case "com.amazonaws.managedblockchain#IllegalActionException": throw await de_IllegalActionExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(ManagedBlockchainServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new AccessDeniedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_IllegalActionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new IllegalActionException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_IllegalActionExceptionRes");var de_InternalServiceErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, {}); Object.assign(contents, doc); const exception = new InternalServiceErrorException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServiceErrorExceptionRes");var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidRequestException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidRequestExceptionRes");var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceAlreadyExistsException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceAlreadyExistsExceptionRes");var de_ResourceLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceLimitExceededExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString, ResourceName: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ResourceNotReadyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceNotReadyException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotReadyExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, {}); Object.assign(contents, doc); const exception = new ThrottlingException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString, ResourceName: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new TooManyTagsException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_TooManyTagsExceptionRes");var de_Accessor = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, BillingToken: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), Id: import_smithy_client.expectString, NetworkType: import_smithy_client.expectString, Status: import_smithy_client.expectString, Tags: import_smithy_client._json, Type: import_smithy_client.expectString });}, "de_Accessor");var de_AccessorSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), Id: import_smithy_client.expectString, NetworkType: import_smithy_client.expectString, Status: import_smithy_client.expectString, Type: import_smithy_client.expectString });}, "de_AccessorSummary");var de_AccessorSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_AccessorSummary(entry, context); }); return retVal;}, "de_AccessorSummaryList");var de_Invitation = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), ExpirationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "ExpirationDate"), InvitationId: import_smithy_client.expectString, NetworkSummary: /* @__PURE__ */ __name((_) => de_NetworkSummary(_, context), "NetworkSummary"), Status: import_smithy_client.expectString });}, "de_Invitation");var de_InvitationList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Invitation(entry, context); }); return retVal;}, "de_InvitationList");var de_Member = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), Description: import_smithy_client.expectString, FrameworkAttributes: import_smithy_client._json, Id: import_smithy_client.expectString, KmsKeyArn: import_smithy_client.expectString, LogPublishingConfiguration: import_smithy_client._json, Name: import_smithy_client.expectString, NetworkId: import_smithy_client.expectString, Status: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_Member");var de_MemberSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), Description: import_smithy_client.expectString, Id: import_smithy_client.expectString, IsOwned: import_smithy_client.expectBoolean, Name: import_smithy_client.expectString, Status: import_smithy_client.expectString });}, "de_MemberSummary");var de_MemberSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_MemberSummary(entry, context); }); return retVal;}, "de_MemberSummaryList");var de_Network = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), Description: import_smithy_client.expectString, Framework: import_smithy_client.expectString, FrameworkAttributes: import_smithy_client._json, FrameworkVersion: import_smithy_client.expectString, Id: import_smithy_client.expectString, Name: import_smithy_client.expectString, Status: import_smithy_client.expectString, Tags: import_smithy_client._json, VotingPolicy: import_smithy_client._json, VpcEndpointServiceName: import_smithy_client.expectString });}, "de_Network");var de_NetworkSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), Description: import_smithy_client.expectString, Framework: import_smithy_client.expectString, FrameworkVersion: import_smithy_client.expectString, Id: import_smithy_client.expectString, Name: import_smithy_client.expectString, Status: import_smithy_client.expectString });}, "de_NetworkSummary");var de_NetworkSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_NetworkSummary(entry, context); }); return retVal;}, "de_NetworkSummaryList");var de_Node = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, AvailabilityZone: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), FrameworkAttributes: import_smithy_client._json, Id: import_smithy_client.expectString, InstanceType: import_smithy_client.expectString, KmsKeyArn: import_smithy_client.expectString, LogPublishingConfiguration: import_smithy_client._json, MemberId: import_smithy_client.expectString, NetworkId: import_smithy_client.expectString, StateDB: import_smithy_client.expectString, Status: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_Node");var de_NodeSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, AvailabilityZone: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), Id: import_smithy_client.expectString, InstanceType: import_smithy_client.expectString, Status: import_smithy_client.expectString });}, "de_NodeSummary");var de_NodeSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_NodeSummary(entry, context); }); return retVal;}, "de_NodeSummaryList");var de_Proposal = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Actions: import_smithy_client._json, Arn: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), Description: import_smithy_client.expectString, ExpirationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "ExpirationDate"), NetworkId: import_smithy_client.expectString, NoVoteCount: import_smithy_client.expectInt32, OutstandingVoteCount: import_smithy_client.expectInt32, ProposalId: import_smithy_client.expectString, ProposedByMemberId: import_smithy_client.expectString, ProposedByMemberName: import_smithy_client.expectString, Status: import_smithy_client.expectString, Tags: import_smithy_client._json, YesVoteCount: import_smithy_client.expectInt32 });}, "de_Proposal");var de_ProposalSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationDate"), Description: import_smithy_client.expectString, ExpirationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "ExpirationDate"), ProposalId: import_smithy_client.expectString, ProposedByMemberId: import_smithy_client.expectString, ProposedByMemberName: import_smithy_client.expectString, Status: import_smithy_client.expectString });}, "de_ProposalSummary");var de_ProposalSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ProposalSummary(entry, context); }); return retVal;}, "de_ProposalSummaryList");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], extendedRequestId: output.headers["x-amz-id-2"], cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _F = "Framework";var _IO = "IsOwned";var _MI = "MemberId";var _MR = "MaxResults";var _N = "Name";var _NT = "NextToken";var _NTe = "NetworkType";var _S = "Status";var _TK = "TagKeys";var _f = "framework";var _iO = "isOwned";var _mI = "memberId";var _mR = "maxResults";var _n = "name";var _nT = "nextToken";var _nTe = "networkType";var _s = "status";var _tK = "tagKeys"; // src/commands/CreateAccessorCommand.tsvar CreateAccessorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "CreateAccessor", {}).n("ManagedBlockchainClient", "CreateAccessorCommand").f(void 0, void 0).ser(se_CreateAccessorCommand).de(de_CreateAccessorCommand).build() { static { __name(this, "CreateAccessorCommand"); }}; // src/commands/CreateMemberCommand.ts var CreateMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "CreateMember", {}).n("ManagedBlockchainClient", "CreateMemberCommand").f(CreateMemberInputFilterSensitiveLog, void 0).ser(se_CreateMemberCommand).de(de_CreateMemberCommand).build() { static { __name(this, "CreateMemberCommand"); }}; // src/commands/CreateNetworkCommand.ts var CreateNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "CreateNetwork", {}).n("ManagedBlockchainClient", "CreateNetworkCommand").f(CreateNetworkInputFilterSensitiveLog, void 0).ser(se_CreateNetworkCommand).de(de_CreateNetworkCommand).build() { static { __name(this, "CreateNetworkCommand"); }}; // src/commands/CreateNodeCommand.ts var CreateNodeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "CreateNode", {}).n("ManagedBlockchainClient", "CreateNodeCommand").f(void 0, void 0).ser(se_CreateNodeCommand).de(de_CreateNodeCommand).build() { static { __name(this, "CreateNodeCommand"); }}; // src/commands/CreateProposalCommand.ts var CreateProposalCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "CreateProposal", {}).n("ManagedBlockchainClient", "CreateProposalCommand").f(void 0, void 0).ser(se_CreateProposalCommand).de(de_CreateProposalCommand).build() { static { __name(this, "CreateProposalCommand"); }}; // src/commands/DeleteAccessorCommand.ts var DeleteAccessorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "DeleteAccessor", {}).n("ManagedBlockchainClient", "DeleteAccessorCommand").f(void 0, void 0).ser(se_DeleteAccessorCommand).de(de_DeleteAccessorCommand).build() { static { __name(this, "DeleteAccessorCommand"); }}; // src/commands/DeleteMemberCommand.ts var DeleteMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "DeleteMember", {}).n("ManagedBlockchainClient", "DeleteMemberCommand").f(void 0, void 0).ser(se_DeleteMemberCommand).de(de_DeleteMemberCommand).build() { static { __name(this, "DeleteMemberCommand"); }}; // src/commands/DeleteNodeCommand.ts var DeleteNodeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "DeleteNode", {}).n("ManagedBlockchainClient", "DeleteNodeCommand").f(void 0, void 0).ser(se_DeleteNodeCommand).de(de_DeleteNodeCommand).build() { static { __name(this, "DeleteNodeCommand"); }}; // src/commands/GetAccessorCommand.ts var GetAccessorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "GetAccessor", {}).n("ManagedBlockchainClient", "GetAccessorCommand").f(void 0, void 0).ser(se_GetAccessorCommand).de(de_GetAccessorCommand).build() { static { __name(this, "GetAccessorCommand"); }}; // src/commands/GetMemberCommand.ts var GetMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "GetMember", {}).n("ManagedBlockchainClient", "GetMemberCommand").f(void 0, void 0).ser(se_GetMemberCommand).de(de_GetMemberCommand).build() { static { __name(this, "GetMemberCommand"); }}; // src/commands/GetNetworkCommand.ts var GetNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "GetNetwork", {}).n("ManagedBlockchainClient", "GetNetworkCommand").f(void 0, void 0).ser(se_GetNetworkCommand).de(de_GetNetworkCommand).build() { static { __name(this, "GetNetworkCommand"); }}; // src/commands/GetNodeCommand.ts var GetNodeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "GetNode", {}).n("ManagedBlockchainClient", "GetNodeCommand").f(void 0, void 0).ser(se_GetNodeCommand).de(de_GetNodeCommand).build() { static { __name(this, "GetNodeCommand"); }}; // src/commands/GetProposalCommand.ts var GetProposalCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "GetProposal", {}).n("ManagedBlockchainClient", "GetProposalCommand").f(void 0, void 0).ser(se_GetProposalCommand).de(de_GetProposalCommand).build() { static { __name(this, "GetProposalCommand"); }}; // src/commands/ListAccessorsCommand.ts var ListAccessorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "ListAccessors", {}).n("ManagedBlockchainClient", "ListAccessorsCommand").f(void 0, void 0).ser(se_ListAccessorsCommand).de(de_ListAccessorsCommand).build() { static { __name(this, "ListAccessorsCommand"); }}; // src/commands/ListInvitationsCommand.ts var ListInvitationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "ListInvitations", {}).n("ManagedBlockchainClient", "ListInvitationsCommand").f(void 0, void 0).ser(se_ListInvitationsCommand).de(de_ListInvitationsCommand).build() { static { __name(this, "ListInvitationsCommand"); }}; // src/commands/ListMembersCommand.ts var ListMembersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "ListMembers", {}).n("ManagedBlockchainClient", "ListMembersCommand").f(void 0, void 0).ser(se_ListMembersCommand).de(de_ListMembersCommand).build() { static { __name(this, "ListMembersCommand"); }}; // src/commands/ListNetworksCommand.ts var ListNetworksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "ListNetworks", {}).n("ManagedBlockchainClient", "ListNetworksCommand").f(void 0, void 0).ser(se_ListNetworksCommand).de(de_ListNetworksCommand).build() { static { __name(this, "ListNetworksCommand"); }}; // src/commands/ListNodesCommand.ts var ListNodesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "ListNodes", {}).n("ManagedBlockchainClient", "ListNodesCommand").f(void 0, void 0).ser(se_ListNodesCommand).de(de_ListNodesCommand).build() { static { __name(this, "ListNodesCommand"); }}; // src/commands/ListProposalsCommand.ts var ListProposalsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "ListProposals", {}).n("ManagedBlockchainClient", "ListProposalsCommand").f(void 0, void 0).ser(se_ListProposalsCommand).de(de_ListProposalsCommand).build() { static { __name(this, "ListProposalsCommand"); }}; // src/commands/ListProposalVotesCommand.ts var ListProposalVotesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "ListProposalVotes", {}).n("ManagedBlockchainClient", "ListProposalVotesCommand").f(void 0, void 0).ser(se_ListProposalVotesCommand).de(de_ListProposalVotesCommand).build() { static { __name(this, "ListProposalVotesCommand"); }}; // src/commands/ListTagsForResourceCommand.ts var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "ListTagsForResource", {}).n("ManagedBlockchainClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/RejectInvitationCommand.ts var RejectInvitationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "RejectInvitation", {}).n("ManagedBlockchainClient", "RejectInvitationCommand").f(void 0, void 0).ser(se_RejectInvitationCommand).de(de_RejectInvitationCommand).build() { static { __name(this, "RejectInvitationCommand"); }}; // src/commands/TagResourceCommand.ts var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "TagResource", {}).n("ManagedBlockchainClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UntagResourceCommand.ts var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "UntagResource", {}).n("ManagedBlockchainClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateMemberCommand.ts var UpdateMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "UpdateMember", {}).n("ManagedBlockchainClient", "UpdateMemberCommand").f(void 0, void 0).ser(se_UpdateMemberCommand).de(de_UpdateMemberCommand).build() { static { __name(this, "UpdateMemberCommand"); }}; // src/commands/UpdateNodeCommand.ts var UpdateNodeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "UpdateNode", {}).n("ManagedBlockchainClient", "UpdateNodeCommand").f(void 0, void 0).ser(se_UpdateNodeCommand).de(de_UpdateNodeCommand).build() { static { __name(this, "UpdateNodeCommand"); }}; // src/commands/VoteOnProposalCommand.ts var VoteOnProposalCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("TaigaWebService", "VoteOnProposal", {}).n("ManagedBlockchainClient", "VoteOnProposalCommand").f(void 0, void 0).ser(se_VoteOnProposalCommand).de(de_VoteOnProposalCommand).build() { static { __name(this, "VoteOnProposalCommand"); }}; // src/ManagedBlockchain.tsvar commands = { CreateAccessorCommand, CreateMemberCommand, CreateNetworkCommand, CreateNodeCommand, CreateProposalCommand, DeleteAccessorCommand, DeleteMemberCommand, DeleteNodeCommand, GetAccessorCommand, GetMemberCommand, GetNetworkCommand, GetNodeCommand, GetProposalCommand, ListAccessorsCommand, ListInvitationsCommand, ListMembersCommand, ListNetworksCommand, ListNodesCommand, ListProposalsCommand, ListProposalVotesCommand, ListTagsForResourceCommand, RejectInvitationCommand, TagResourceCommand, UntagResourceCommand, UpdateMemberCommand, UpdateNodeCommand, VoteOnProposalCommand};var ManagedBlockchain = class extends ManagedBlockchainClient { static { __name(this, "ManagedBlockchain"); }};(0, import_smithy_client.createAggregatedClient)(commands, ManagedBlockchain); // src/pagination/ListAccessorsPaginator.ts var paginateListAccessors = (0, import_core.createPaginator)(ManagedBlockchainClient, ListAccessorsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListInvitationsPaginator.ts var paginateListInvitations = (0, import_core.createPaginator)(ManagedBlockchainClient, ListInvitationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListMembersPaginator.ts var paginateListMembers = (0, import_core.createPaginator)(ManagedBlockchainClient, ListMembersCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListNetworksPaginator.ts var paginateListNetworks = (0, import_core.createPaginator)(ManagedBlockchainClient, ListNetworksCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListNodesPaginator.ts var paginateListNodes = (0, import_core.createPaginator)(ManagedBlockchainClient, ListNodesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListProposalVotesPaginator.ts var paginateListProposalVotes = (0, import_core.createPaginator)(ManagedBlockchainClient, ListProposalVotesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListProposalsPaginator.ts var paginateListProposals = (0, import_core.createPaginator)(ManagedBlockchainClient, ListProposalsCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { ManagedBlockchainServiceException, __Client, ManagedBlockchainClient, ManagedBlockchain, $Command, CreateAccessorCommand, CreateMemberCommand, CreateNetworkCommand, CreateNodeCommand, CreateProposalCommand, DeleteAccessorCommand, DeleteMemberCommand, DeleteNodeCommand, GetAccessorCommand, GetMemberCommand, GetNetworkCommand, GetNodeCommand, GetProposalCommand, ListAccessorsCommand, ListInvitationsCommand, ListMembersCommand, ListNetworksCommand, ListNodesCommand, ListProposalVotesCommand, ListProposalsCommand, ListTagsForResourceCommand, RejectInvitationCommand, TagResourceCommand, UntagResourceCommand, UpdateMemberCommand, UpdateNodeCommand, VoteOnProposalCommand, paginateListAccessors, paginateListInvitations, paginateListMembers, paginateListNetworks, paginateListNodes, paginateListProposalVotes, paginateListProposals, AccessDeniedException, AccessorNetworkType, AccessorStatus, AccessorType, ThresholdComparator, InternalServiceErrorException, InvalidRequestException, ResourceAlreadyExistsException, ResourceLimitExceededException, ThrottlingException, TooManyTagsException, ResourceNotFoundException, ResourceNotReadyException, Framework, Edition, StateDBType, MemberStatus, NetworkStatus, NodeStatus, ProposalStatus, IllegalActionException, InvitationStatus, VoteValue, MemberFabricConfigurationFilterSensitiveLog, MemberFrameworkConfigurationFilterSensitiveLog, MemberConfigurationFilterSensitiveLog, CreateMemberInputFilterSensitiveLog, CreateNetworkInputFilterSensitiveLog});