@aws-sdk/client-managedblockchain 3.180.0 → 3.183.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +29 -23
  3. package/dist-es/ManagedBlockchain.js +94 -101
  4. package/dist-es/ManagedBlockchainClient.js +22 -28
  5. package/dist-es/commands/CreateMemberCommand.js +21 -28
  6. package/dist-es/commands/CreateNetworkCommand.js +21 -28
  7. package/dist-es/commands/CreateNodeCommand.js +21 -28
  8. package/dist-es/commands/CreateProposalCommand.js +21 -28
  9. package/dist-es/commands/DeleteMemberCommand.js +21 -28
  10. package/dist-es/commands/DeleteNodeCommand.js +21 -28
  11. package/dist-es/commands/GetMemberCommand.js +21 -28
  12. package/dist-es/commands/GetNetworkCommand.js +21 -28
  13. package/dist-es/commands/GetNodeCommand.js +21 -28
  14. package/dist-es/commands/GetProposalCommand.js +21 -28
  15. package/dist-es/commands/ListInvitationsCommand.js +21 -28
  16. package/dist-es/commands/ListMembersCommand.js +21 -28
  17. package/dist-es/commands/ListNetworksCommand.js +21 -28
  18. package/dist-es/commands/ListNodesCommand.js +21 -28
  19. package/dist-es/commands/ListProposalVotesCommand.js +21 -28
  20. package/dist-es/commands/ListProposalsCommand.js +21 -28
  21. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  22. package/dist-es/commands/RejectInvitationCommand.js +21 -28
  23. package/dist-es/commands/TagResourceCommand.js +21 -28
  24. package/dist-es/commands/UntagResourceCommand.js +21 -28
  25. package/dist-es/commands/UpdateMemberCommand.js +21 -28
  26. package/dist-es/commands/UpdateNodeCommand.js +21 -28
  27. package/dist-es/commands/VoteOnProposalCommand.js +21 -28
  28. package/dist-es/endpoints.js +8 -8
  29. package/dist-es/models/ManagedBlockchainServiceException.js +5 -10
  30. package/dist-es/models/models_0.js +374 -208
  31. package/dist-es/pagination/ListInvitationsPaginator.js +25 -68
  32. package/dist-es/pagination/ListMembersPaginator.js +25 -68
  33. package/dist-es/pagination/ListNetworksPaginator.js +25 -68
  34. package/dist-es/pagination/ListNodesPaginator.js +25 -68
  35. package/dist-es/pagination/ListProposalVotesPaginator.js +25 -68
  36. package/dist-es/pagination/ListProposalsPaginator.js +25 -68
  37. package/dist-es/protocols/Aws_restJson1.js +1862 -2542
  38. package/dist-es/runtimeConfig.browser.js +26 -12
  39. package/dist-es/runtimeConfig.js +30 -12
  40. package/dist-es/runtimeConfig.native.js +8 -5
  41. package/dist-es/runtimeConfig.shared.js +8 -11
  42. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateNodeInputFilterSensitiveLog, CreateNodeOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateNodeCommand, serializeAws_restJson1CreateNodeCommand, } from "../protocols/Aws_restJson1";
6
- var CreateNodeCommand = (function (_super) {
7
- __extends(CreateNodeCommand, _super);
8
- function CreateNodeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateNodeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateNodeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "CreateNodeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "CreateNodeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateNodeInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateNodeOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateNodeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateNodeCommand(input, context);
33
- };
34
- CreateNodeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateNodeCommand(output, context);
36
- };
37
- return CreateNodeCommand;
38
- }($Command));
39
- export { CreateNodeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateProposalInputFilterSensitiveLog, CreateProposalOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateProposalCommand, serializeAws_restJson1CreateProposalCommand, } from "../protocols/Aws_restJson1";
6
- var CreateProposalCommand = (function (_super) {
7
- __extends(CreateProposalCommand, _super);
8
- function CreateProposalCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateProposalCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateProposalCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "CreateProposalCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "CreateProposalCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateProposalInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateProposalOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateProposalCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateProposalCommand(input, context);
33
- };
34
- CreateProposalCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateProposalCommand(output, context);
36
- };
37
- return CreateProposalCommand;
38
- }($Command));
39
- export { CreateProposalCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteMemberInputFilterSensitiveLog, DeleteMemberOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteMemberCommand, serializeAws_restJson1DeleteMemberCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteMemberCommand = (function (_super) {
7
- __extends(DeleteMemberCommand, _super);
8
- function DeleteMemberCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteMemberCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteMemberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "DeleteMemberCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "DeleteMemberCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteMemberInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteMemberOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteMemberCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteMemberCommand(input, context);
33
- };
34
- DeleteMemberCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteMemberCommand(output, context);
36
- };
37
- return DeleteMemberCommand;
38
- }($Command));
39
- export { DeleteMemberCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteNodeInputFilterSensitiveLog, DeleteNodeOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteNodeCommand, serializeAws_restJson1DeleteNodeCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteNodeCommand = (function (_super) {
7
- __extends(DeleteNodeCommand, _super);
8
- function DeleteNodeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteNodeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteNodeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "DeleteNodeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "DeleteNodeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteNodeInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteNodeOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteNodeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteNodeCommand(input, context);
33
- };
34
- DeleteNodeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteNodeCommand(output, context);
36
- };
37
- return DeleteNodeCommand;
38
- }($Command));
39
- export { DeleteNodeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetMemberInputFilterSensitiveLog, GetMemberOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetMemberCommand, serializeAws_restJson1GetMemberCommand, } from "../protocols/Aws_restJson1";
6
- var GetMemberCommand = (function (_super) {
7
- __extends(GetMemberCommand, _super);
8
- function GetMemberCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetMemberCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetMemberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "GetMemberCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "GetMemberCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetMemberInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetMemberOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetMemberCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetMemberCommand(input, context);
33
- };
34
- GetMemberCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetMemberCommand(output, context);
36
- };
37
- return GetMemberCommand;
38
- }($Command));
39
- export { GetMemberCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetNetworkInputFilterSensitiveLog, GetNetworkOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetNetworkCommand, serializeAws_restJson1GetNetworkCommand, } from "../protocols/Aws_restJson1";
6
- var GetNetworkCommand = (function (_super) {
7
- __extends(GetNetworkCommand, _super);
8
- function GetNetworkCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetNetworkCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetNetworkCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "GetNetworkCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "GetNetworkCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetNetworkInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetNetworkOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetNetworkCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetNetworkCommand(input, context);
33
- };
34
- GetNetworkCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetNetworkCommand(output, context);
36
- };
37
- return GetNetworkCommand;
38
- }($Command));
39
- export { GetNetworkCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetNodeInputFilterSensitiveLog, GetNodeOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetNodeCommand, serializeAws_restJson1GetNodeCommand, } from "../protocols/Aws_restJson1";
6
- var GetNodeCommand = (function (_super) {
7
- __extends(GetNodeCommand, _super);
8
- function GetNodeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetNodeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetNodeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "GetNodeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "GetNodeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetNodeInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetNodeOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetNodeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetNodeCommand(input, context);
33
- };
34
- GetNodeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetNodeCommand(output, context);
36
- };
37
- return GetNodeCommand;
38
- }($Command));
39
- export { GetNodeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetProposalInputFilterSensitiveLog, GetProposalOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetProposalCommand, serializeAws_restJson1GetProposalCommand, } from "../protocols/Aws_restJson1";
6
- var GetProposalCommand = (function (_super) {
7
- __extends(GetProposalCommand, _super);
8
- function GetProposalCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetProposalCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetProposalCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "GetProposalCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "GetProposalCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetProposalInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetProposalOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetProposalCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetProposalCommand(input, context);
33
- };
34
- GetProposalCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetProposalCommand(output, context);
36
- };
37
- return GetProposalCommand;
38
- }($Command));
39
- export { GetProposalCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListInvitationsInputFilterSensitiveLog, ListInvitationsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListInvitationsCommand, serializeAws_restJson1ListInvitationsCommand, } from "../protocols/Aws_restJson1";
6
- var ListInvitationsCommand = (function (_super) {
7
- __extends(ListInvitationsCommand, _super);
8
- function ListInvitationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListInvitationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListInvitationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "ListInvitationsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "ListInvitationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListInvitationsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListInvitationsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListInvitationsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListInvitationsCommand(input, context);
33
- };
34
- ListInvitationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListInvitationsCommand(output, context);
36
- };
37
- return ListInvitationsCommand;
38
- }($Command));
39
- export { ListInvitationsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListMembersInputFilterSensitiveLog, ListMembersOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListMembersCommand, serializeAws_restJson1ListMembersCommand, } from "../protocols/Aws_restJson1";
6
- var ListMembersCommand = (function (_super) {
7
- __extends(ListMembersCommand, _super);
8
- function ListMembersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListMembersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListMembersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ManagedBlockchainClient";
18
- var commandName = "ListMembersCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ManagedBlockchainClient";
15
+ const commandName = "ListMembersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListMembersInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListMembersOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListMembersCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListMembersCommand(input, context);
33
- };
34
- ListMembersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListMembersCommand(output, context);
36
- };
37
- return ListMembersCommand;
38
- }($Command));
39
- export { ListMembersCommand };
31
+ }
32
+ }