@aws-sdk/client-elasticache 3.183.0 → 3.185.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 (99) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/ElastiCache.js +269 -262
  4. package/dist-es/ElastiCacheClient.js +28 -22
  5. package/dist-es/commands/AddTagsToResourceCommand.js +28 -21
  6. package/dist-es/commands/AuthorizeCacheSecurityGroupIngressCommand.js +28 -21
  7. package/dist-es/commands/BatchApplyUpdateActionCommand.js +28 -21
  8. package/dist-es/commands/BatchStopUpdateActionCommand.js +28 -21
  9. package/dist-es/commands/CompleteMigrationCommand.js +28 -21
  10. package/dist-es/commands/CopySnapshotCommand.js +28 -21
  11. package/dist-es/commands/CreateCacheClusterCommand.js +28 -21
  12. package/dist-es/commands/CreateCacheParameterGroupCommand.js +28 -21
  13. package/dist-es/commands/CreateCacheSecurityGroupCommand.js +28 -21
  14. package/dist-es/commands/CreateCacheSubnetGroupCommand.js +28 -21
  15. package/dist-es/commands/CreateGlobalReplicationGroupCommand.js +28 -21
  16. package/dist-es/commands/CreateReplicationGroupCommand.js +28 -21
  17. package/dist-es/commands/CreateSnapshotCommand.js +28 -21
  18. package/dist-es/commands/CreateUserCommand.js +28 -21
  19. package/dist-es/commands/CreateUserGroupCommand.js +28 -21
  20. package/dist-es/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +28 -21
  21. package/dist-es/commands/DecreaseReplicaCountCommand.js +28 -21
  22. package/dist-es/commands/DeleteCacheClusterCommand.js +28 -21
  23. package/dist-es/commands/DeleteCacheParameterGroupCommand.js +29 -22
  24. package/dist-es/commands/DeleteCacheSecurityGroupCommand.js +29 -22
  25. package/dist-es/commands/DeleteCacheSubnetGroupCommand.js +29 -22
  26. package/dist-es/commands/DeleteGlobalReplicationGroupCommand.js +28 -21
  27. package/dist-es/commands/DeleteReplicationGroupCommand.js +28 -21
  28. package/dist-es/commands/DeleteSnapshotCommand.js +28 -21
  29. package/dist-es/commands/DeleteUserCommand.js +28 -21
  30. package/dist-es/commands/DeleteUserGroupCommand.js +28 -21
  31. package/dist-es/commands/DescribeCacheClustersCommand.js +28 -21
  32. package/dist-es/commands/DescribeCacheEngineVersionsCommand.js +28 -21
  33. package/dist-es/commands/DescribeCacheParameterGroupsCommand.js +28 -21
  34. package/dist-es/commands/DescribeCacheParametersCommand.js +28 -21
  35. package/dist-es/commands/DescribeCacheSecurityGroupsCommand.js +28 -21
  36. package/dist-es/commands/DescribeCacheSubnetGroupsCommand.js +28 -21
  37. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +28 -21
  38. package/dist-es/commands/DescribeEventsCommand.js +28 -21
  39. package/dist-es/commands/DescribeGlobalReplicationGroupsCommand.js +28 -21
  40. package/dist-es/commands/DescribeReplicationGroupsCommand.js +28 -21
  41. package/dist-es/commands/DescribeReservedCacheNodesCommand.js +28 -21
  42. package/dist-es/commands/DescribeReservedCacheNodesOfferingsCommand.js +28 -21
  43. package/dist-es/commands/DescribeServiceUpdatesCommand.js +28 -21
  44. package/dist-es/commands/DescribeSnapshotsCommand.js +28 -21
  45. package/dist-es/commands/DescribeUpdateActionsCommand.js +28 -21
  46. package/dist-es/commands/DescribeUserGroupsCommand.js +28 -21
  47. package/dist-es/commands/DescribeUsersCommand.js +28 -21
  48. package/dist-es/commands/DisassociateGlobalReplicationGroupCommand.js +28 -21
  49. package/dist-es/commands/FailoverGlobalReplicationGroupCommand.js +28 -21
  50. package/dist-es/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +28 -21
  51. package/dist-es/commands/IncreaseReplicaCountCommand.js +28 -21
  52. package/dist-es/commands/ListAllowedNodeTypeModificationsCommand.js +28 -21
  53. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  54. package/dist-es/commands/ModifyCacheClusterCommand.js +28 -21
  55. package/dist-es/commands/ModifyCacheParameterGroupCommand.js +28 -21
  56. package/dist-es/commands/ModifyCacheSubnetGroupCommand.js +28 -21
  57. package/dist-es/commands/ModifyGlobalReplicationGroupCommand.js +28 -21
  58. package/dist-es/commands/ModifyReplicationGroupCommand.js +28 -21
  59. package/dist-es/commands/ModifyReplicationGroupShardConfigurationCommand.js +28 -21
  60. package/dist-es/commands/ModifyUserCommand.js +28 -21
  61. package/dist-es/commands/ModifyUserGroupCommand.js +28 -21
  62. package/dist-es/commands/PurchaseReservedCacheNodesOfferingCommand.js +28 -21
  63. package/dist-es/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +28 -21
  64. package/dist-es/commands/RebootCacheClusterCommand.js +28 -21
  65. package/dist-es/commands/RemoveTagsFromResourceCommand.js +28 -21
  66. package/dist-es/commands/ResetCacheParameterGroupCommand.js +28 -21
  67. package/dist-es/commands/RevokeCacheSecurityGroupIngressCommand.js +28 -21
  68. package/dist-es/commands/StartMigrationCommand.js +28 -21
  69. package/dist-es/commands/TestFailoverCommand.js +28 -21
  70. package/dist-es/endpoints.js +8 -8
  71. package/dist-es/models/ElastiCacheServiceException.js +10 -5
  72. package/dist-es/models/models_0.js +985 -1344
  73. package/dist-es/pagination/DescribeCacheClustersPaginator.js +68 -25
  74. package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js +68 -25
  75. package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js +68 -25
  76. package/dist-es/pagination/DescribeCacheParametersPaginator.js +68 -25
  77. package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js +68 -25
  78. package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js +68 -25
  79. package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +68 -25
  80. package/dist-es/pagination/DescribeEventsPaginator.js +68 -25
  81. package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js +68 -25
  82. package/dist-es/pagination/DescribeReplicationGroupsPaginator.js +68 -25
  83. package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +68 -25
  84. package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js +68 -25
  85. package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +68 -25
  86. package/dist-es/pagination/DescribeSnapshotsPaginator.js +68 -25
  87. package/dist-es/pagination/DescribeUpdateActionsPaginator.js +68 -25
  88. package/dist-es/pagination/DescribeUserGroupsPaginator.js +68 -25
  89. package/dist-es/pagination/DescribeUsersPaginator.js +68 -25
  90. package/dist-es/protocols/Aws_query.js +7362 -5557
  91. package/dist-es/runtimeConfig.browser.js +12 -26
  92. package/dist-es/runtimeConfig.js +12 -30
  93. package/dist-es/runtimeConfig.native.js +5 -8
  94. package/dist-es/runtimeConfig.shared.js +11 -8
  95. package/dist-es/waiters/waitForCacheClusterAvailable.js +163 -92
  96. package/dist-es/waiters/waitForCacheClusterDeleted.js +213 -122
  97. package/dist-es/waiters/waitForReplicationGroupAvailable.js +91 -50
  98. package/dist-es/waiters/waitForReplicationGroupDeleted.js +93 -52
  99. package/package.json +5 -5
@@ -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 { DescribeSnapshotsListMessageFilterSensitiveLog, DescribeSnapshotsMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeSnapshotsCommand, serializeAws_queryDescribeSnapshotsCommand, } from "../protocols/Aws_query";
5
- export class DescribeSnapshotsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSnapshotsCommand.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 = "ElastiCacheClient";
15
- const commandName = "DescribeSnapshotsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "DescribeSnapshotsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeSnapshotsMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSnapshotsListMessageFilterSensitiveLog,
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
+ DescribeSnapshotsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeSnapshotsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSnapshotsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeSnapshotsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSnapshotsCommand;
38
+ }($Command));
39
+ export { DescribeSnapshotsCommand };
@@ -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 { DescribeUpdateActionsMessageFilterSensitiveLog, UpdateActionsMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeUpdateActionsCommand, serializeAws_queryDescribeUpdateActionsCommand, } from "../protocols/Aws_query";
5
- export class DescribeUpdateActionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeUpdateActionsCommand = (function (_super) {
7
+ __extends(DescribeUpdateActionsCommand, _super);
8
+ function DescribeUpdateActionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeUpdateActionsCommand.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 = "ElastiCacheClient";
15
- const commandName = "DescribeUpdateActionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "DescribeUpdateActionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeUpdateActionsMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateActionsMessageFilterSensitiveLog,
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
+ DescribeUpdateActionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeUpdateActionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeUpdateActionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeUpdateActionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeUpdateActionsCommand;
38
+ }($Command));
39
+ export { DescribeUpdateActionsCommand };
@@ -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 { DescribeUserGroupsMessageFilterSensitiveLog, DescribeUserGroupsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeUserGroupsCommand, serializeAws_queryDescribeUserGroupsCommand, } from "../protocols/Aws_query";
5
- export class DescribeUserGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeUserGroupsCommand = (function (_super) {
7
+ __extends(DescribeUserGroupsCommand, _super);
8
+ function DescribeUserGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeUserGroupsCommand.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 = "ElastiCacheClient";
15
- const commandName = "DescribeUserGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "DescribeUserGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeUserGroupsMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeUserGroupsResultFilterSensitiveLog,
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
+ DescribeUserGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeUserGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeUserGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeUserGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeUserGroupsCommand;
38
+ }($Command));
39
+ export { DescribeUserGroupsCommand };
@@ -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 { DescribeUsersMessageFilterSensitiveLog, DescribeUsersResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeUsersCommand, serializeAws_queryDescribeUsersCommand, } from "../protocols/Aws_query";
5
- export class DescribeUsersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeUsersCommand.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 = "ElastiCacheClient";
15
- const commandName = "DescribeUsersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "DescribeUsersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeUsersMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeUsersResultFilterSensitiveLog,
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
+ DescribeUsersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeUsersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeUsersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeUsersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeUsersCommand;
38
+ }($Command));
39
+ export { DescribeUsersCommand };
@@ -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 { DisassociateGlobalReplicationGroupMessageFilterSensitiveLog, DisassociateGlobalReplicationGroupResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDisassociateGlobalReplicationGroupCommand, serializeAws_queryDisassociateGlobalReplicationGroupCommand, } from "../protocols/Aws_query";
5
- export class DisassociateGlobalReplicationGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateGlobalReplicationGroupCommand = (function (_super) {
7
+ __extends(DisassociateGlobalReplicationGroupCommand, _super);
8
+ function DisassociateGlobalReplicationGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateGlobalReplicationGroupCommand.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 = "ElastiCacheClient";
15
- const commandName = "DisassociateGlobalReplicationGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "DisassociateGlobalReplicationGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateGlobalReplicationGroupMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateGlobalReplicationGroupResultFilterSensitiveLog,
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
+ DisassociateGlobalReplicationGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDisassociateGlobalReplicationGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateGlobalReplicationGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDisassociateGlobalReplicationGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateGlobalReplicationGroupCommand;
38
+ }($Command));
39
+ export { DisassociateGlobalReplicationGroupCommand };
@@ -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 { FailoverGlobalReplicationGroupMessageFilterSensitiveLog, FailoverGlobalReplicationGroupResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryFailoverGlobalReplicationGroupCommand, serializeAws_queryFailoverGlobalReplicationGroupCommand, } from "../protocols/Aws_query";
5
- export class FailoverGlobalReplicationGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var FailoverGlobalReplicationGroupCommand = (function (_super) {
7
+ __extends(FailoverGlobalReplicationGroupCommand, _super);
8
+ function FailoverGlobalReplicationGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ FailoverGlobalReplicationGroupCommand.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 = "ElastiCacheClient";
15
- const commandName = "FailoverGlobalReplicationGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "FailoverGlobalReplicationGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: FailoverGlobalReplicationGroupMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: FailoverGlobalReplicationGroupResultFilterSensitiveLog,
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
+ FailoverGlobalReplicationGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryFailoverGlobalReplicationGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ FailoverGlobalReplicationGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryFailoverGlobalReplicationGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return FailoverGlobalReplicationGroupCommand;
38
+ }($Command));
39
+ export { FailoverGlobalReplicationGroupCommand };
@@ -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 { IncreaseNodeGroupsInGlobalReplicationGroupMessageFilterSensitiveLog, IncreaseNodeGroupsInGlobalReplicationGroupResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupCommand, serializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupCommand, } from "../protocols/Aws_query";
5
- export class IncreaseNodeGroupsInGlobalReplicationGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var IncreaseNodeGroupsInGlobalReplicationGroupCommand = (function (_super) {
7
+ __extends(IncreaseNodeGroupsInGlobalReplicationGroupCommand, _super);
8
+ function IncreaseNodeGroupsInGlobalReplicationGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ IncreaseNodeGroupsInGlobalReplicationGroupCommand.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 = "ElastiCacheClient";
15
- const commandName = "IncreaseNodeGroupsInGlobalReplicationGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "IncreaseNodeGroupsInGlobalReplicationGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: IncreaseNodeGroupsInGlobalReplicationGroupMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: IncreaseNodeGroupsInGlobalReplicationGroupResultFilterSensitiveLog,
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
+ IncreaseNodeGroupsInGlobalReplicationGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ IncreaseNodeGroupsInGlobalReplicationGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return IncreaseNodeGroupsInGlobalReplicationGroupCommand;
38
+ }($Command));
39
+ export { IncreaseNodeGroupsInGlobalReplicationGroupCommand };
@@ -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 { IncreaseReplicaCountMessageFilterSensitiveLog, IncreaseReplicaCountResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryIncreaseReplicaCountCommand, serializeAws_queryIncreaseReplicaCountCommand, } from "../protocols/Aws_query";
5
- export class IncreaseReplicaCountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var IncreaseReplicaCountCommand = (function (_super) {
7
+ __extends(IncreaseReplicaCountCommand, _super);
8
+ function IncreaseReplicaCountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ IncreaseReplicaCountCommand.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 = "ElastiCacheClient";
15
- const commandName = "IncreaseReplicaCountCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "IncreaseReplicaCountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: IncreaseReplicaCountMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: IncreaseReplicaCountResultFilterSensitiveLog,
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
+ IncreaseReplicaCountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryIncreaseReplicaCountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ IncreaseReplicaCountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryIncreaseReplicaCountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return IncreaseReplicaCountCommand;
38
+ }($Command));
39
+ export { IncreaseReplicaCountCommand };
@@ -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 { AllowedNodeTypeModificationsMessageFilterSensitiveLog, ListAllowedNodeTypeModificationsMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListAllowedNodeTypeModificationsCommand, serializeAws_queryListAllowedNodeTypeModificationsCommand, } from "../protocols/Aws_query";
5
- export class ListAllowedNodeTypeModificationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAllowedNodeTypeModificationsCommand = (function (_super) {
7
+ __extends(ListAllowedNodeTypeModificationsCommand, _super);
8
+ function ListAllowedNodeTypeModificationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAllowedNodeTypeModificationsCommand.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 = "ElastiCacheClient";
15
- const commandName = "ListAllowedNodeTypeModificationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "ListAllowedNodeTypeModificationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAllowedNodeTypeModificationsMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AllowedNodeTypeModificationsMessageFilterSensitiveLog,
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
+ ListAllowedNodeTypeModificationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListAllowedNodeTypeModificationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAllowedNodeTypeModificationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListAllowedNodeTypeModificationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAllowedNodeTypeModificationsCommand;
38
+ }($Command));
39
+ export { ListAllowedNodeTypeModificationsCommand };
@@ -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 { ListTagsForResourceMessageFilterSensitiveLog, TagListMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListTagsForResourceCommand, serializeAws_queryListTagsForResourceCommand, } from "../protocols/Aws_query";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ElastiCacheClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElastiCacheClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagListMessageFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };