@aws-sdk/client-memorydb 3.183.0 → 3.186.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 (48) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/MemoryDB.js +149 -142
  4. package/dist-es/MemoryDBClient.js +28 -22
  5. package/dist-es/commands/BatchUpdateClusterCommand.js +28 -21
  6. package/dist-es/commands/CopySnapshotCommand.js +28 -21
  7. package/dist-es/commands/CreateACLCommand.js +28 -21
  8. package/dist-es/commands/CreateClusterCommand.js +28 -21
  9. package/dist-es/commands/CreateParameterGroupCommand.js +28 -21
  10. package/dist-es/commands/CreateSnapshotCommand.js +28 -21
  11. package/dist-es/commands/CreateSubnetGroupCommand.js +28 -21
  12. package/dist-es/commands/CreateUserCommand.js +28 -21
  13. package/dist-es/commands/DeleteACLCommand.js +28 -21
  14. package/dist-es/commands/DeleteClusterCommand.js +28 -21
  15. package/dist-es/commands/DeleteParameterGroupCommand.js +28 -21
  16. package/dist-es/commands/DeleteSnapshotCommand.js +28 -21
  17. package/dist-es/commands/DeleteSubnetGroupCommand.js +28 -21
  18. package/dist-es/commands/DeleteUserCommand.js +28 -21
  19. package/dist-es/commands/DescribeACLsCommand.js +28 -21
  20. package/dist-es/commands/DescribeClustersCommand.js +28 -21
  21. package/dist-es/commands/DescribeEngineVersionsCommand.js +28 -21
  22. package/dist-es/commands/DescribeEventsCommand.js +28 -21
  23. package/dist-es/commands/DescribeParameterGroupsCommand.js +28 -21
  24. package/dist-es/commands/DescribeParametersCommand.js +28 -21
  25. package/dist-es/commands/DescribeServiceUpdatesCommand.js +28 -21
  26. package/dist-es/commands/DescribeSnapshotsCommand.js +28 -21
  27. package/dist-es/commands/DescribeSubnetGroupsCommand.js +28 -21
  28. package/dist-es/commands/DescribeUsersCommand.js +28 -21
  29. package/dist-es/commands/FailoverShardCommand.js +28 -21
  30. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +28 -21
  31. package/dist-es/commands/ListTagsCommand.js +28 -21
  32. package/dist-es/commands/ResetParameterGroupCommand.js +28 -21
  33. package/dist-es/commands/TagResourceCommand.js +28 -21
  34. package/dist-es/commands/UntagResourceCommand.js +28 -21
  35. package/dist-es/commands/UpdateACLCommand.js +28 -21
  36. package/dist-es/commands/UpdateClusterCommand.js +28 -21
  37. package/dist-es/commands/UpdateParameterGroupCommand.js +28 -21
  38. package/dist-es/commands/UpdateSubnetGroupCommand.js +28 -21
  39. package/dist-es/commands/UpdateUserCommand.js +28 -21
  40. package/dist-es/endpoints.js +8 -8
  41. package/dist-es/models/MemoryDBServiceException.js +10 -5
  42. package/dist-es/models/models_0.js +693 -900
  43. package/dist-es/protocols/Aws_json1_1.js +3692 -2989
  44. package/dist-es/runtimeConfig.browser.js +12 -26
  45. package/dist-es/runtimeConfig.js +12 -30
  46. package/dist-es/runtimeConfig.native.js +5 -8
  47. package/dist-es/runtimeConfig.shared.js +11 -8
  48. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteClusterRequestFilterSensitiveLog, DeleteClusterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteClusterCommand, serializeAws_json1_1DeleteClusterCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteClusterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteClusterCommand = (function (_super) {
7
+ __extends(DeleteClusterCommand, _super);
8
+ function DeleteClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DeleteClusterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DeleteClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteClusterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteClusterResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteClusterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteClusterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteClusterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteClusterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteClusterCommand;
38
+ }($Command));
39
+ export { DeleteClusterCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteParameterGroupRequestFilterSensitiveLog, DeleteParameterGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteParameterGroupCommand, serializeAws_json1_1DeleteParameterGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteParameterGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteParameterGroupCommand = (function (_super) {
7
+ __extends(DeleteParameterGroupCommand, _super);
8
+ function DeleteParameterGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteParameterGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DeleteParameterGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DeleteParameterGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteParameterGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteParameterGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteParameterGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteParameterGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteParameterGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteParameterGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteParameterGroupCommand;
38
+ }($Command));
39
+ export { DeleteParameterGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteSnapshotRequestFilterSensitiveLog, DeleteSnapshotResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteSnapshotCommand, serializeAws_json1_1DeleteSnapshotCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteSnapshotCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSnapshotCommand = (function (_super) {
7
+ __extends(DeleteSnapshotCommand, _super);
8
+ function DeleteSnapshotCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DeleteSnapshotCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DeleteSnapshotCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSnapshotRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSnapshotResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteSnapshotCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteSnapshotCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSnapshotCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteSnapshotCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSnapshotCommand;
38
+ }($Command));
39
+ export { DeleteSnapshotCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteSubnetGroupRequestFilterSensitiveLog, DeleteSubnetGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteSubnetGroupCommand, serializeAws_json1_1DeleteSubnetGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteSubnetGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSubnetGroupCommand = (function (_super) {
7
+ __extends(DeleteSubnetGroupCommand, _super);
8
+ function DeleteSubnetGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSubnetGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DeleteSubnetGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DeleteSubnetGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSubnetGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSubnetGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteSubnetGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteSubnetGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSubnetGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteSubnetGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSubnetGroupCommand;
38
+ }($Command));
39
+ export { DeleteSubnetGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteUserRequestFilterSensitiveLog, DeleteUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteUserCommand, serializeAws_json1_1DeleteUserCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteUserCommand = (function (_super) {
7
+ __extends(DeleteUserCommand, _super);
8
+ function DeleteUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DeleteUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DeleteUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteUserResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteUserCommand;
38
+ }($Command));
39
+ export { DeleteUserCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeACLsRequestFilterSensitiveLog, DescribeACLsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeACLsCommand, serializeAws_json1_1DescribeACLsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeACLsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeACLsCommand = (function (_super) {
7
+ __extends(DescribeACLsCommand, _super);
8
+ function DescribeACLsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeACLsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DescribeACLsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DescribeACLsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeACLsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeACLsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeACLsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeACLsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeACLsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeACLsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeACLsCommand;
38
+ }($Command));
39
+ export { DescribeACLsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeClustersRequestFilterSensitiveLog, DescribeClustersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeClustersCommand, serializeAws_json1_1DescribeClustersCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeClustersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeClustersCommand = (function (_super) {
7
+ __extends(DescribeClustersCommand, _super);
8
+ function DescribeClustersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeClustersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DescribeClustersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DescribeClustersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeClustersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeClustersResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeClustersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeClustersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeClustersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeClustersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeClustersCommand;
38
+ }($Command));
39
+ export { DescribeClustersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeEngineVersionsRequestFilterSensitiveLog, DescribeEngineVersionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeEngineVersionsCommand, serializeAws_json1_1DescribeEngineVersionsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeEngineVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEngineVersionsCommand = (function (_super) {
7
+ __extends(DescribeEngineVersionsCommand, _super);
8
+ function DescribeEngineVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEngineVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DescribeEngineVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DescribeEngineVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEngineVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEngineVersionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeEngineVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeEngineVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEngineVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeEngineVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEngineVersionsCommand;
38
+ }($Command));
39
+ export { DescribeEngineVersionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeEventsRequestFilterSensitiveLog, DescribeEventsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeEventsCommand, serializeAws_json1_1DescribeEventsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeEventsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEventsCommand = (function (_super) {
7
+ __extends(DescribeEventsCommand, _super);
8
+ function DescribeEventsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEventsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DescribeEventsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DescribeEventsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEventsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEventsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeEventsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeEventsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEventsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeEventsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEventsCommand;
38
+ }($Command));
39
+ export { DescribeEventsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeParameterGroupsRequestFilterSensitiveLog, DescribeParameterGroupsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeParameterGroupsCommand, serializeAws_json1_1DescribeParameterGroupsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeParameterGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeParameterGroupsCommand = (function (_super) {
7
+ __extends(DescribeParameterGroupsCommand, _super);
8
+ function DescribeParameterGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeParameterGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MemoryDBClient";
15
- const commandName = "DescribeParameterGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MemoryDBClient";
18
+ var commandName = "DescribeParameterGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeParameterGroupsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeParameterGroupsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeParameterGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeParameterGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeParameterGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeParameterGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeParameterGroupsCommand;
38
+ }($Command));
39
+ export { DescribeParameterGroupsCommand };