@aws-sdk/client-memorydb 3.185.0 → 3.188.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 (47) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/MemoryDB.js +142 -149
  3. package/dist-es/MemoryDBClient.js +22 -28
  4. package/dist-es/commands/BatchUpdateClusterCommand.js +21 -28
  5. package/dist-es/commands/CopySnapshotCommand.js +21 -28
  6. package/dist-es/commands/CreateACLCommand.js +21 -28
  7. package/dist-es/commands/CreateClusterCommand.js +21 -28
  8. package/dist-es/commands/CreateParameterGroupCommand.js +21 -28
  9. package/dist-es/commands/CreateSnapshotCommand.js +21 -28
  10. package/dist-es/commands/CreateSubnetGroupCommand.js +21 -28
  11. package/dist-es/commands/CreateUserCommand.js +21 -28
  12. package/dist-es/commands/DeleteACLCommand.js +21 -28
  13. package/dist-es/commands/DeleteClusterCommand.js +21 -28
  14. package/dist-es/commands/DeleteParameterGroupCommand.js +21 -28
  15. package/dist-es/commands/DeleteSnapshotCommand.js +21 -28
  16. package/dist-es/commands/DeleteSubnetGroupCommand.js +21 -28
  17. package/dist-es/commands/DeleteUserCommand.js +21 -28
  18. package/dist-es/commands/DescribeACLsCommand.js +21 -28
  19. package/dist-es/commands/DescribeClustersCommand.js +21 -28
  20. package/dist-es/commands/DescribeEngineVersionsCommand.js +21 -28
  21. package/dist-es/commands/DescribeEventsCommand.js +21 -28
  22. package/dist-es/commands/DescribeParameterGroupsCommand.js +21 -28
  23. package/dist-es/commands/DescribeParametersCommand.js +21 -28
  24. package/dist-es/commands/DescribeServiceUpdatesCommand.js +21 -28
  25. package/dist-es/commands/DescribeSnapshotsCommand.js +21 -28
  26. package/dist-es/commands/DescribeSubnetGroupsCommand.js +21 -28
  27. package/dist-es/commands/DescribeUsersCommand.js +21 -28
  28. package/dist-es/commands/FailoverShardCommand.js +21 -28
  29. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +21 -28
  30. package/dist-es/commands/ListTagsCommand.js +21 -28
  31. package/dist-es/commands/ResetParameterGroupCommand.js +21 -28
  32. package/dist-es/commands/TagResourceCommand.js +21 -28
  33. package/dist-es/commands/UntagResourceCommand.js +21 -28
  34. package/dist-es/commands/UpdateACLCommand.js +21 -28
  35. package/dist-es/commands/UpdateClusterCommand.js +21 -28
  36. package/dist-es/commands/UpdateParameterGroupCommand.js +21 -28
  37. package/dist-es/commands/UpdateSubnetGroupCommand.js +21 -28
  38. package/dist-es/commands/UpdateUserCommand.js +21 -28
  39. package/dist-es/endpoints.js +8 -8
  40. package/dist-es/models/MemoryDBServiceException.js +5 -10
  41. package/dist-es/models/models_0.js +900 -693
  42. package/dist-es/protocols/Aws_json1_1.js +2989 -3692
  43. package/dist-es/runtimeConfig.browser.js +26 -12
  44. package/dist-es/runtimeConfig.js +30 -12
  45. package/dist-es/runtimeConfig.native.js +8 -5
  46. package/dist-es/runtimeConfig.shared.js +8 -11
  47. 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 { DescribeParametersRequestFilterSensitiveLog, DescribeParametersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeParametersCommand, serializeAws_json1_1DescribeParametersCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeParametersCommand = (function (_super) {
7
- __extends(DescribeParametersCommand, _super);
8
- function DescribeParametersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeParametersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeParametersCommand.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 = "MemoryDBClient";
18
- var commandName = "DescribeParametersCommand";
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 = "MemoryDBClient";
15
+ const commandName = "DescribeParametersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeParametersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeParametersResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeParametersCommand.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_json1_1DescribeParametersCommand(input, context);
33
- };
34
- DescribeParametersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeParametersCommand(output, context);
36
- };
37
- return DescribeParametersCommand;
38
- }($Command));
39
- export { DescribeParametersCommand };
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 { DescribeServiceUpdatesRequestFilterSensitiveLog, DescribeServiceUpdatesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeServiceUpdatesCommand, serializeAws_json1_1DescribeServiceUpdatesCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeServiceUpdatesCommand = (function (_super) {
7
- __extends(DescribeServiceUpdatesCommand, _super);
8
- function DescribeServiceUpdatesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeServiceUpdatesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeServiceUpdatesCommand.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 = "MemoryDBClient";
18
- var commandName = "DescribeServiceUpdatesCommand";
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 = "MemoryDBClient";
15
+ const commandName = "DescribeServiceUpdatesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeServiceUpdatesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeServiceUpdatesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeServiceUpdatesCommand.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_json1_1DescribeServiceUpdatesCommand(input, context);
33
- };
34
- DescribeServiceUpdatesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeServiceUpdatesCommand(output, context);
36
- };
37
- return DescribeServiceUpdatesCommand;
38
- }($Command));
39
- export { DescribeServiceUpdatesCommand };
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 { DescribeSnapshotsRequestFilterSensitiveLog, DescribeSnapshotsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeSnapshotsCommand, serializeAws_json1_1DescribeSnapshotsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeSnapshotsCommand = (function (_super) {
7
- __extends(DescribeSnapshotsCommand, _super);
8
- function DescribeSnapshotsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSnapshotsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSnapshotsCommand.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 = "MemoryDBClient";
18
- var commandName = "DescribeSnapshotsCommand";
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 = "MemoryDBClient";
15
+ const commandName = "DescribeSnapshotsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSnapshotsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSnapshotsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSnapshotsCommand.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_json1_1DescribeSnapshotsCommand(input, context);
33
- };
34
- DescribeSnapshotsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeSnapshotsCommand(output, context);
36
- };
37
- return DescribeSnapshotsCommand;
38
- }($Command));
39
- export { DescribeSnapshotsCommand };
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 { DescribeSubnetGroupsRequestFilterSensitiveLog, DescribeSubnetGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeSubnetGroupsCommand, serializeAws_json1_1DescribeSubnetGroupsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeSubnetGroupsCommand = (function (_super) {
7
- __extends(DescribeSubnetGroupsCommand, _super);
8
- function DescribeSubnetGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSubnetGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSubnetGroupsCommand.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 = "MemoryDBClient";
18
- var commandName = "DescribeSubnetGroupsCommand";
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 = "MemoryDBClient";
15
+ const commandName = "DescribeSubnetGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSubnetGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSubnetGroupsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSubnetGroupsCommand.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_json1_1DescribeSubnetGroupsCommand(input, context);
33
- };
34
- DescribeSubnetGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeSubnetGroupsCommand(output, context);
36
- };
37
- return DescribeSubnetGroupsCommand;
38
- }($Command));
39
- export { DescribeSubnetGroupsCommand };
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 { DescribeUsersRequestFilterSensitiveLog, DescribeUsersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeUsersCommand, serializeAws_json1_1DescribeUsersCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeUsersCommand = (function (_super) {
7
- __extends(DescribeUsersCommand, _super);
8
- function DescribeUsersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeUsersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeUsersCommand.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 = "MemoryDBClient";
18
- var commandName = "DescribeUsersCommand";
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 = "MemoryDBClient";
15
+ const commandName = "DescribeUsersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeUsersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeUsersResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeUsersCommand.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_json1_1DescribeUsersCommand(input, context);
33
- };
34
- DescribeUsersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeUsersCommand(output, context);
36
- };
37
- return DescribeUsersCommand;
38
- }($Command));
39
- export { DescribeUsersCommand };
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 { FailoverShardRequestFilterSensitiveLog, FailoverShardResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1FailoverShardCommand, serializeAws_json1_1FailoverShardCommand, } from "../protocols/Aws_json1_1";
6
- var FailoverShardCommand = (function (_super) {
7
- __extends(FailoverShardCommand, _super);
8
- function FailoverShardCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class FailoverShardCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- FailoverShardCommand.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 = "MemoryDBClient";
18
- var commandName = "FailoverShardCommand";
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 = "MemoryDBClient";
15
+ const commandName = "FailoverShardCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: FailoverShardRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: FailoverShardResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- FailoverShardCommand.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_json1_1FailoverShardCommand(input, context);
33
- };
34
- FailoverShardCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1FailoverShardCommand(output, context);
36
- };
37
- return FailoverShardCommand;
38
- }($Command));
39
- export { FailoverShardCommand };
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 { ListAllowedNodeTypeUpdatesRequestFilterSensitiveLog, ListAllowedNodeTypeUpdatesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListAllowedNodeTypeUpdatesCommand, serializeAws_json1_1ListAllowedNodeTypeUpdatesCommand, } from "../protocols/Aws_json1_1";
6
- var ListAllowedNodeTypeUpdatesCommand = (function (_super) {
7
- __extends(ListAllowedNodeTypeUpdatesCommand, _super);
8
- function ListAllowedNodeTypeUpdatesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAllowedNodeTypeUpdatesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAllowedNodeTypeUpdatesCommand.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 = "MemoryDBClient";
18
- var commandName = "ListAllowedNodeTypeUpdatesCommand";
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 = "MemoryDBClient";
15
+ const commandName = "ListAllowedNodeTypeUpdatesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAllowedNodeTypeUpdatesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAllowedNodeTypeUpdatesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAllowedNodeTypeUpdatesCommand.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_json1_1ListAllowedNodeTypeUpdatesCommand(input, context);
33
- };
34
- ListAllowedNodeTypeUpdatesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListAllowedNodeTypeUpdatesCommand(output, context);
36
- };
37
- return ListAllowedNodeTypeUpdatesCommand;
38
- }($Command));
39
- export { ListAllowedNodeTypeUpdatesCommand };
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 { ListTagsRequestFilterSensitiveLog, ListTagsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTagsCommand, serializeAws_json1_1ListTagsCommand } from "../protocols/Aws_json1_1";
6
- var ListTagsCommand = (function (_super) {
7
- __extends(ListTagsCommand, _super);
8
- function ListTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsCommand.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 = "MemoryDBClient";
18
- var commandName = "ListTagsCommand";
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 = "MemoryDBClient";
15
+ const commandName = "ListTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsCommand.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_json1_1ListTagsCommand(input, context);
33
- };
34
- ListTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListTagsCommand(output, context);
36
- };
37
- return ListTagsCommand;
38
- }($Command));
39
- export { ListTagsCommand };
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 { ResetParameterGroupRequestFilterSensitiveLog, ResetParameterGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ResetParameterGroupCommand, serializeAws_json1_1ResetParameterGroupCommand, } from "../protocols/Aws_json1_1";
6
- var ResetParameterGroupCommand = (function (_super) {
7
- __extends(ResetParameterGroupCommand, _super);
8
- function ResetParameterGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ResetParameterGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ResetParameterGroupCommand.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 = "MemoryDBClient";
18
- var commandName = "ResetParameterGroupCommand";
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 = "MemoryDBClient";
15
+ const commandName = "ResetParameterGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ResetParameterGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ResetParameterGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ResetParameterGroupCommand.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_json1_1ResetParameterGroupCommand(input, context);
33
- };
34
- ResetParameterGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ResetParameterGroupCommand(output, context);
36
- };
37
- return ResetParameterGroupCommand;
38
- }($Command));
39
- export { ResetParameterGroupCommand };
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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.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 = "MemoryDBClient";
18
- var commandName = "TagResourceCommand";
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 = "MemoryDBClient";
15
+ const commandName = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.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_json1_1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
31
+ }
32
+ }