@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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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 { UpdateACLRequestFilterSensitiveLog, UpdateACLResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateACLCommand, serializeAws_json1_1UpdateACLCommand } from "../protocols/Aws_json1_1";
5
- export class UpdateACLCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateACLCommand = (function (_super) {
7
+ __extends(UpdateACLCommand, _super);
8
+ function UpdateACLCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateACLCommand.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 = "UpdateACLCommand";
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 = "UpdateACLCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateACLRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateACLResponseFilterSensitiveLog,
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
+ UpdateACLCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateACLCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateACLCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateACLCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateACLCommand;
38
+ }($Command));
39
+ export { UpdateACLCommand };
@@ -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 { UpdateClusterRequestFilterSensitiveLog, UpdateClusterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateClusterCommand, serializeAws_json1_1UpdateClusterCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateClusterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateClusterCommand = (function (_super) {
7
+ __extends(UpdateClusterCommand, _super);
8
+ function UpdateClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateClusterCommand.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 = "UpdateClusterCommand";
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 = "UpdateClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateClusterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateClusterResponseFilterSensitiveLog,
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
+ UpdateClusterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateClusterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateClusterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateClusterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateClusterCommand;
38
+ }($Command));
39
+ export { UpdateClusterCommand };
@@ -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 { UpdateParameterGroupRequestFilterSensitiveLog, UpdateParameterGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateParameterGroupCommand, serializeAws_json1_1UpdateParameterGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateParameterGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateParameterGroupCommand = (function (_super) {
7
+ __extends(UpdateParameterGroupCommand, _super);
8
+ function UpdateParameterGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateParameterGroupCommand.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 = "UpdateParameterGroupCommand";
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 = "UpdateParameterGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateParameterGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateParameterGroupResponseFilterSensitiveLog,
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
+ UpdateParameterGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateParameterGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateParameterGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateParameterGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateParameterGroupCommand;
38
+ }($Command));
39
+ export { UpdateParameterGroupCommand };
@@ -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 { UpdateSubnetGroupRequestFilterSensitiveLog, UpdateSubnetGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateSubnetGroupCommand, serializeAws_json1_1UpdateSubnetGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateSubnetGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateSubnetGroupCommand = (function (_super) {
7
+ __extends(UpdateSubnetGroupCommand, _super);
8
+ function UpdateSubnetGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateSubnetGroupCommand.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 = "UpdateSubnetGroupCommand";
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 = "UpdateSubnetGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateSubnetGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateSubnetGroupResponseFilterSensitiveLog,
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
+ UpdateSubnetGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateSubnetGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateSubnetGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateSubnetGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateSubnetGroupCommand;
38
+ }($Command));
39
+ export { UpdateSubnetGroupCommand };
@@ -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 { UpdateUserRequestFilterSensitiveLog, UpdateUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateUserCommand, serializeAws_json1_1UpdateUserCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateUserCommand = (function (_super) {
7
+ __extends(UpdateUserCommand, _super);
8
+ function UpdateUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateUserCommand.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 = "UpdateUserCommand";
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 = "UpdateUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateUserResponseFilterSensitiveLog,
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
+ UpdateUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateUserCommand;
38
+ }($Command));
39
+ export { UpdateUserCommand };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  fips: {
4
5
  variants: [
5
6
  {
@@ -10,7 +11,7 @@ const regionHash = {
10
11
  signingRegion: "us-west-1",
11
12
  },
12
13
  };
13
- const partitionHash = {
14
+ var partitionHash = {
14
15
  aws: {
15
16
  regions: [
16
17
  "af-south-1",
@@ -131,9 +132,8 @@ const partitionHash = {
131
132
  ],
132
133
  },
133
134
  };
134
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
135
- ...options,
136
- signingService: "memorydb",
137
- regionHash,
138
- partitionHash,
139
- });
135
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
136
+ return __generator(this, function (_a) {
137
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "memorydb", regionHash: regionHash, partitionHash: partitionHash }))];
138
+ });
139
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class MemoryDBServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, MemoryDBServiceException.prototype);
3
+ var MemoryDBServiceException = (function (_super) {
4
+ __extends(MemoryDBServiceException, _super);
5
+ function MemoryDBServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, MemoryDBServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return MemoryDBServiceException;
11
+ }(__ServiceException));
12
+ export { MemoryDBServiceException };