@aws-sdk/client-dax 3.35.0 → 3.38.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 (200) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/DAX.js +0 -9
  3. package/dist-cjs/DAXClient.js +0 -14
  4. package/dist-cjs/commands/CreateClusterCommand.js +0 -25
  5. package/dist-cjs/commands/CreateParameterGroupCommand.js +0 -26
  6. package/dist-cjs/commands/CreateSubnetGroupCommand.js +0 -25
  7. package/dist-cjs/commands/DecreaseReplicationFactorCommand.js +0 -28
  8. package/dist-cjs/commands/DeleteClusterCommand.js +0 -29
  9. package/dist-cjs/commands/DeleteParameterGroupCommand.js +0 -26
  10. package/dist-cjs/commands/DeleteSubnetGroupCommand.js +0 -29
  11. package/dist-cjs/commands/DescribeClustersCommand.js +0 -37
  12. package/dist-cjs/commands/DescribeDefaultParametersCommand.js +0 -26
  13. package/dist-cjs/commands/DescribeEventsCommand.js +0 -29
  14. package/dist-cjs/commands/DescribeParameterGroupsCommand.js +0 -26
  15. package/dist-cjs/commands/DescribeParametersCommand.js +0 -25
  16. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +0 -26
  17. package/dist-cjs/commands/IncreaseReplicationFactorCommand.js +0 -25
  18. package/dist-cjs/commands/ListTagsCommand.js +0 -26
  19. package/dist-cjs/commands/RebootNodeCommand.js +0 -31
  20. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  21. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  22. package/dist-cjs/commands/UpdateClusterCommand.js +0 -27
  23. package/dist-cjs/commands/UpdateParameterGroupCommand.js +0 -27
  24. package/dist-cjs/commands/UpdateSubnetGroupCommand.js +0 -25
  25. package/dist-cjs/commands/index.js +24 -0
  26. package/dist-cjs/endpoints.js +1 -2
  27. package/dist-cjs/index.js +3 -24
  28. package/dist-cjs/models/index.js +0 -1
  29. package/dist-cjs/models/models_0.js +0 -256
  30. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  31. package/dist-cjs/runtimeConfig.browser.js +1 -6
  32. package/dist-cjs/runtimeConfig.js +2 -7
  33. package/dist-cjs/runtimeConfig.native.js +0 -4
  34. package/dist-cjs/runtimeConfig.shared.js +0 -4
  35. package/dist-es/DAX.js +0 -1
  36. package/dist-es/DAXClient.js +0 -1
  37. package/dist-es/commands/CreateClusterCommand.js +0 -1
  38. package/dist-es/commands/CreateParameterGroupCommand.js +0 -1
  39. package/dist-es/commands/CreateSubnetGroupCommand.js +0 -1
  40. package/dist-es/commands/DecreaseReplicationFactorCommand.js +0 -1
  41. package/dist-es/commands/DeleteClusterCommand.js +0 -1
  42. package/dist-es/commands/DeleteParameterGroupCommand.js +0 -1
  43. package/dist-es/commands/DeleteSubnetGroupCommand.js +0 -1
  44. package/dist-es/commands/DescribeClustersCommand.js +0 -1
  45. package/dist-es/commands/DescribeDefaultParametersCommand.js +0 -1
  46. package/dist-es/commands/DescribeEventsCommand.js +0 -1
  47. package/dist-es/commands/DescribeParameterGroupsCommand.js +0 -1
  48. package/dist-es/commands/DescribeParametersCommand.js +0 -1
  49. package/dist-es/commands/DescribeSubnetGroupsCommand.js +0 -1
  50. package/dist-es/commands/IncreaseReplicationFactorCommand.js +0 -1
  51. package/dist-es/commands/ListTagsCommand.js +0 -1
  52. package/dist-es/commands/RebootNodeCommand.js +0 -1
  53. package/dist-es/commands/TagResourceCommand.js +0 -1
  54. package/dist-es/commands/UntagResourceCommand.js +0 -1
  55. package/dist-es/commands/UpdateClusterCommand.js +0 -1
  56. package/dist-es/commands/UpdateParameterGroupCommand.js +0 -1
  57. package/dist-es/commands/UpdateSubnetGroupCommand.js +0 -1
  58. package/dist-es/commands/index.js +21 -0
  59. package/dist-es/endpoints.js +1 -2
  60. package/dist-es/index.js +3 -24
  61. package/dist-es/models/index.js +0 -1
  62. package/dist-es/models/models_0.js +0 -1
  63. package/dist-es/protocols/Aws_json1_1.js +0 -1
  64. package/dist-es/runtimeConfig.browser.js +1 -2
  65. package/dist-es/runtimeConfig.js +2 -3
  66. package/dist-es/runtimeConfig.native.js +0 -1
  67. package/dist-es/runtimeConfig.shared.js +0 -1
  68. package/dist-types/commands/index.d.ts +21 -0
  69. package/dist-types/index.d.ts +3 -23
  70. package/dist-types/ts3.4/DAX.d.ts +22 -116
  71. package/dist-types/ts3.4/DAXClient.d.ts +24 -94
  72. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +2 -21
  74. package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +2 -20
  75. package/dist-types/ts3.4/commands/DecreaseReplicationFactorCommand.d.ts +2 -23
  76. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -24
  77. package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +2 -21
  78. package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +2 -24
  79. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -32
  80. package/dist-types/ts3.4/commands/DescribeDefaultParametersCommand.d.ts +2 -21
  81. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -24
  82. package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +2 -21
  83. package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +2 -21
  85. package/dist-types/ts3.4/commands/IncreaseReplicationFactorCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/RebootNodeCommand.d.ts +2 -26
  88. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  89. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
  90. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -22
  91. package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +2 -22
  92. package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  94. package/dist-types/ts3.4/index.d.ts +3 -23
  95. package/dist-types/ts3.4/models/models_0.d.ts +291 -1121
  96. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  97. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  98. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  99. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  100. package/package.json +33 -30
  101. package/dist-cjs/DAX.js.map +0 -1
  102. package/dist-cjs/DAXClient.js.map +0 -1
  103. package/dist-cjs/commands/CreateClusterCommand.js.map +0 -1
  104. package/dist-cjs/commands/CreateParameterGroupCommand.js.map +0 -1
  105. package/dist-cjs/commands/CreateSubnetGroupCommand.js.map +0 -1
  106. package/dist-cjs/commands/DecreaseReplicationFactorCommand.js.map +0 -1
  107. package/dist-cjs/commands/DeleteClusterCommand.js.map +0 -1
  108. package/dist-cjs/commands/DeleteParameterGroupCommand.js.map +0 -1
  109. package/dist-cjs/commands/DeleteSubnetGroupCommand.js.map +0 -1
  110. package/dist-cjs/commands/DescribeClustersCommand.js.map +0 -1
  111. package/dist-cjs/commands/DescribeDefaultParametersCommand.js.map +0 -1
  112. package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
  113. package/dist-cjs/commands/DescribeParameterGroupsCommand.js.map +0 -1
  114. package/dist-cjs/commands/DescribeParametersCommand.js.map +0 -1
  115. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js.map +0 -1
  116. package/dist-cjs/commands/IncreaseReplicationFactorCommand.js.map +0 -1
  117. package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
  118. package/dist-cjs/commands/RebootNodeCommand.js.map +0 -1
  119. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  120. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  121. package/dist-cjs/commands/UpdateClusterCommand.js.map +0 -1
  122. package/dist-cjs/commands/UpdateParameterGroupCommand.js.map +0 -1
  123. package/dist-cjs/commands/UpdateSubnetGroupCommand.js.map +0 -1
  124. package/dist-cjs/endpoints.js.map +0 -1
  125. package/dist-cjs/index.js.map +0 -1
  126. package/dist-cjs/models/index.js.map +0 -1
  127. package/dist-cjs/models/models_0.js.map +0 -1
  128. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  129. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  130. package/dist-cjs/runtimeConfig.js.map +0 -1
  131. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  132. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  133. package/dist-es/DAX.js.map +0 -1
  134. package/dist-es/DAXClient.js.map +0 -1
  135. package/dist-es/commands/CreateClusterCommand.js.map +0 -1
  136. package/dist-es/commands/CreateParameterGroupCommand.js.map +0 -1
  137. package/dist-es/commands/CreateSubnetGroupCommand.js.map +0 -1
  138. package/dist-es/commands/DecreaseReplicationFactorCommand.js.map +0 -1
  139. package/dist-es/commands/DeleteClusterCommand.js.map +0 -1
  140. package/dist-es/commands/DeleteParameterGroupCommand.js.map +0 -1
  141. package/dist-es/commands/DeleteSubnetGroupCommand.js.map +0 -1
  142. package/dist-es/commands/DescribeClustersCommand.js.map +0 -1
  143. package/dist-es/commands/DescribeDefaultParametersCommand.js.map +0 -1
  144. package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
  145. package/dist-es/commands/DescribeParameterGroupsCommand.js.map +0 -1
  146. package/dist-es/commands/DescribeParametersCommand.js.map +0 -1
  147. package/dist-es/commands/DescribeSubnetGroupsCommand.js.map +0 -1
  148. package/dist-es/commands/IncreaseReplicationFactorCommand.js.map +0 -1
  149. package/dist-es/commands/ListTagsCommand.js.map +0 -1
  150. package/dist-es/commands/RebootNodeCommand.js.map +0 -1
  151. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  152. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  153. package/dist-es/commands/UpdateClusterCommand.js.map +0 -1
  154. package/dist-es/commands/UpdateParameterGroupCommand.js.map +0 -1
  155. package/dist-es/commands/UpdateSubnetGroupCommand.js.map +0 -1
  156. package/dist-es/endpoints.js.map +0 -1
  157. package/dist-es/index.js.map +0 -1
  158. package/dist-es/models/index.js.map +0 -1
  159. package/dist-es/models/models_0.js.map +0 -1
  160. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  161. package/dist-es/runtimeConfig.browser.js.map +0 -1
  162. package/dist-es/runtimeConfig.js.map +0 -1
  163. package/dist-es/runtimeConfig.native.js.map +0 -1
  164. package/dist-es/runtimeConfig.shared.js.map +0 -1
  165. package/jest.config.js +0 -4
  166. package/src/DAX.ts +0 -805
  167. package/src/DAXClient.ts +0 -328
  168. package/src/commands/CreateClusterCommand.ts +0 -95
  169. package/src/commands/CreateParameterGroupCommand.ts +0 -96
  170. package/src/commands/CreateSubnetGroupCommand.ts +0 -95
  171. package/src/commands/DecreaseReplicationFactorCommand.ts +0 -101
  172. package/src/commands/DeleteClusterCommand.ts +0 -99
  173. package/src/commands/DeleteParameterGroupCommand.ts +0 -96
  174. package/src/commands/DeleteSubnetGroupCommand.ts +0 -99
  175. package/src/commands/DescribeClustersCommand.ts +0 -107
  176. package/src/commands/DescribeDefaultParametersCommand.ts +0 -99
  177. package/src/commands/DescribeEventsCommand.ts +0 -99
  178. package/src/commands/DescribeParameterGroupsCommand.ts +0 -96
  179. package/src/commands/DescribeParametersCommand.ts +0 -95
  180. package/src/commands/DescribeSubnetGroupsCommand.ts +0 -96
  181. package/src/commands/IncreaseReplicationFactorCommand.ts +0 -98
  182. package/src/commands/ListTagsCommand.ts +0 -89
  183. package/src/commands/RebootNodeCommand.ts +0 -101
  184. package/src/commands/TagResourceCommand.ts +0 -96
  185. package/src/commands/UntagResourceCommand.ts +0 -96
  186. package/src/commands/UpdateClusterCommand.ts +0 -97
  187. package/src/commands/UpdateParameterGroupCommand.ts +0 -97
  188. package/src/commands/UpdateSubnetGroupCommand.ts +0 -95
  189. package/src/endpoints.ts +0 -57
  190. package/src/index.ts +0 -24
  191. package/src/models/index.ts +0 -1
  192. package/src/models/models_0.ts +0 -2250
  193. package/src/protocols/Aws_json1_1.ts +0 -3968
  194. package/src/runtimeConfig.browser.ts +0 -41
  195. package/src/runtimeConfig.native.ts +0 -17
  196. package/src/runtimeConfig.shared.ts +0 -17
  197. package/src/runtimeConfig.ts +0 -46
  198. package/tsconfig.es.json +0 -10
  199. package/tsconfig.json +0 -33
  200. package/tsconfig.types.json +0 -9
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
15
- import { DescribeEventsRequest, DescribeEventsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeEventsCommand,
18
- serializeAws_json1_1DescribeEventsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeEventsCommandInput extends DescribeEventsRequest {}
22
- export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns events related to DAX clusters and parameter groups. You can obtain
26
- * events specific to a particular DAX cluster or parameter group by providing the name
27
- * as a parameter.</p>
28
- * <p>By default, only the events occurring within the last 24 hours are returned; however,
29
- * you can retrieve up to 14 days' worth of events if necessary.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { DAXClient, DescribeEventsCommand } from "@aws-sdk/client-dax"; // ES Modules import
34
- * // const { DAXClient, DescribeEventsCommand } = require("@aws-sdk/client-dax"); // CommonJS import
35
- * const client = new DAXClient(config);
36
- * const command = new DescribeEventsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DescribeEventsCommandInput} for command's `input` shape.
41
- * @see {@link DescribeEventsCommandOutput} for command's `response` shape.
42
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DescribeEventsCommand extends $Command<
46
- DescribeEventsCommandInput,
47
- DescribeEventsCommandOutput,
48
- DAXClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DescribeEventsCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: DAXClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<DescribeEventsCommandInput, DescribeEventsCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "DAXClient";
73
- const commandName = "DescribeEventsCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DescribeEventsRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: DescribeEventsResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: DescribeEventsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1DescribeEventsCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeEventsCommandOutput> {
94
- return deserializeAws_json1_1DescribeEventsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
15
- import { DescribeParameterGroupsRequest, DescribeParameterGroupsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeParameterGroupsCommand,
18
- serializeAws_json1_1DescribeParameterGroupsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeParameterGroupsCommandInput extends DescribeParameterGroupsRequest {}
22
- export interface DescribeParameterGroupsCommandOutput extends DescribeParameterGroupsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of parameter group descriptions. If a parameter group name is
26
- * specified, the list will contain only the descriptions for that group.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DAXClient, DescribeParameterGroupsCommand } from "@aws-sdk/client-dax"; // ES Modules import
31
- * // const { DAXClient, DescribeParameterGroupsCommand } = require("@aws-sdk/client-dax"); // CommonJS import
32
- * const client = new DAXClient(config);
33
- * const command = new DescribeParameterGroupsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeParameterGroupsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeParameterGroupsCommandOutput} for command's `response` shape.
39
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeParameterGroupsCommand extends $Command<
43
- DescribeParameterGroupsCommandInput,
44
- DescribeParameterGroupsCommandOutput,
45
- DAXClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeParameterGroupsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: DAXClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DescribeParameterGroupsCommandInput, DescribeParameterGroupsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "DAXClient";
70
- const commandName = "DescribeParameterGroupsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeParameterGroupsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeParameterGroupsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DescribeParameterGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DescribeParameterGroupsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeParameterGroupsCommandOutput> {
91
- return deserializeAws_json1_1DescribeParameterGroupsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
15
- import { DescribeParametersRequest, DescribeParametersResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeParametersCommand,
18
- serializeAws_json1_1DescribeParametersCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeParametersCommandInput extends DescribeParametersRequest {}
22
- export interface DescribeParametersCommandOutput extends DescribeParametersResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the detailed parameter list for a particular parameter group.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DAXClient, DescribeParametersCommand } from "@aws-sdk/client-dax"; // ES Modules import
30
- * // const { DAXClient, DescribeParametersCommand } = require("@aws-sdk/client-dax"); // CommonJS import
31
- * const client = new DAXClient(config);
32
- * const command = new DescribeParametersCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeParametersCommandInput} for command's `input` shape.
37
- * @see {@link DescribeParametersCommandOutput} for command's `response` shape.
38
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeParametersCommand extends $Command<
42
- DescribeParametersCommandInput,
43
- DescribeParametersCommandOutput,
44
- DAXClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeParametersCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: DAXClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeParametersCommandInput, DescribeParametersCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "DAXClient";
69
- const commandName = "DescribeParametersCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeParametersRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeParametersResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeParametersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeParametersCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeParametersCommandOutput> {
90
- return deserializeAws_json1_1DescribeParametersCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
15
- import { DescribeSubnetGroupsRequest, DescribeSubnetGroupsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeSubnetGroupsCommand,
18
- serializeAws_json1_1DescribeSubnetGroupsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeSubnetGroupsCommandInput extends DescribeSubnetGroupsRequest {}
22
- export interface DescribeSubnetGroupsCommandOutput extends DescribeSubnetGroupsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of subnet group descriptions. If a subnet group name is specified,
26
- * the list will contain only the description of that group.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DAXClient, DescribeSubnetGroupsCommand } from "@aws-sdk/client-dax"; // ES Modules import
31
- * // const { DAXClient, DescribeSubnetGroupsCommand } = require("@aws-sdk/client-dax"); // CommonJS import
32
- * const client = new DAXClient(config);
33
- * const command = new DescribeSubnetGroupsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeSubnetGroupsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeSubnetGroupsCommandOutput} for command's `response` shape.
39
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeSubnetGroupsCommand extends $Command<
43
- DescribeSubnetGroupsCommandInput,
44
- DescribeSubnetGroupsCommandOutput,
45
- DAXClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeSubnetGroupsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: DAXClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DescribeSubnetGroupsCommandInput, DescribeSubnetGroupsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "DAXClient";
70
- const commandName = "DescribeSubnetGroupsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeSubnetGroupsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeSubnetGroupsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DescribeSubnetGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DescribeSubnetGroupsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSubnetGroupsCommandOutput> {
91
- return deserializeAws_json1_1DescribeSubnetGroupsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
15
- import { IncreaseReplicationFactorRequest, IncreaseReplicationFactorResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1IncreaseReplicationFactorCommand,
18
- serializeAws_json1_1IncreaseReplicationFactorCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface IncreaseReplicationFactorCommandInput extends IncreaseReplicationFactorRequest {}
22
- export interface IncreaseReplicationFactorCommandOutput extends IncreaseReplicationFactorResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Adds one or more nodes to a DAX cluster.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DAXClient, IncreaseReplicationFactorCommand } from "@aws-sdk/client-dax"; // ES Modules import
30
- * // const { DAXClient, IncreaseReplicationFactorCommand } = require("@aws-sdk/client-dax"); // CommonJS import
31
- * const client = new DAXClient(config);
32
- * const command = new IncreaseReplicationFactorCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link IncreaseReplicationFactorCommandInput} for command's `input` shape.
37
- * @see {@link IncreaseReplicationFactorCommandOutput} for command's `response` shape.
38
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class IncreaseReplicationFactorCommand extends $Command<
42
- IncreaseReplicationFactorCommandInput,
43
- IncreaseReplicationFactorCommandOutput,
44
- DAXClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: IncreaseReplicationFactorCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: DAXClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<IncreaseReplicationFactorCommandInput, IncreaseReplicationFactorCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "DAXClient";
69
- const commandName = "IncreaseReplicationFactorCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: IncreaseReplicationFactorRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: IncreaseReplicationFactorResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: IncreaseReplicationFactorCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1IncreaseReplicationFactorCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<IncreaseReplicationFactorCommandOutput> {
93
- return deserializeAws_json1_1IncreaseReplicationFactorCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,89 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
15
- import { ListTagsRequest, ListTagsResponse } from "../models/models_0";
16
- import { deserializeAws_json1_1ListTagsCommand, serializeAws_json1_1ListTagsCommand } from "../protocols/Aws_json1_1";
17
-
18
- export interface ListTagsCommandInput extends ListTagsRequest {}
19
- export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBearer {}
20
-
21
- /**
22
- * <p>List all of the tags for a DAX cluster. You can call <code>ListTags</code> up to
23
- * 10 times per second, per account.</p>
24
- * @example
25
- * Use a bare-bones client and the command you need to make an API call.
26
- * ```javascript
27
- * import { DAXClient, ListTagsCommand } from "@aws-sdk/client-dax"; // ES Modules import
28
- * // const { DAXClient, ListTagsCommand } = require("@aws-sdk/client-dax"); // CommonJS import
29
- * const client = new DAXClient(config);
30
- * const command = new ListTagsCommand(input);
31
- * const response = await client.send(command);
32
- * ```
33
- *
34
- * @see {@link ListTagsCommandInput} for command's `input` shape.
35
- * @see {@link ListTagsCommandOutput} for command's `response` shape.
36
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
37
- *
38
- */
39
- export class ListTagsCommand extends $Command<ListTagsCommandInput, ListTagsCommandOutput, DAXClientResolvedConfig> {
40
- // Start section: command_properties
41
- // End section: command_properties
42
-
43
- constructor(readonly input: ListTagsCommandInput) {
44
- // Start section: command_constructor
45
- super();
46
- // End section: command_constructor
47
- }
48
-
49
- /**
50
- * @internal
51
- */
52
- resolveMiddleware(
53
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
54
- configuration: DAXClientResolvedConfig,
55
- options?: __HttpHandlerOptions
56
- ): Handler<ListTagsCommandInput, ListTagsCommandOutput> {
57
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
58
-
59
- const stack = clientStack.concat(this.middlewareStack);
60
-
61
- const { logger } = configuration;
62
- const clientName = "DAXClient";
63
- const commandName = "ListTagsCommand";
64
- const handlerExecutionContext: HandlerExecutionContext = {
65
- logger,
66
- clientName,
67
- commandName,
68
- inputFilterSensitiveLog: ListTagsRequest.filterSensitiveLog,
69
- outputFilterSensitiveLog: ListTagsResponse.filterSensitiveLog,
70
- };
71
- const { requestHandler } = configuration;
72
- return stack.resolve(
73
- (request: FinalizeHandlerArguments<any>) =>
74
- requestHandler.handle(request.request as __HttpRequest, options || {}),
75
- handlerExecutionContext
76
- );
77
- }
78
-
79
- private serialize(input: ListTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
80
- return serializeAws_json1_1ListTagsCommand(input, context);
81
- }
82
-
83
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsCommandOutput> {
84
- return deserializeAws_json1_1ListTagsCommand(output, context);
85
- }
86
-
87
- // Start section: command_body_extra
88
- // End section: command_body_extra
89
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
15
- import { RebootNodeRequest, RebootNodeResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1RebootNodeCommand,
18
- serializeAws_json1_1RebootNodeCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface RebootNodeCommandInput extends RebootNodeRequest {}
22
- export interface RebootNodeCommandOutput extends RebootNodeResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Reboots a single node of a DAX cluster. The reboot action takes place
26
- * as soon as possible. During the
27
- * reboot, the node status is set to REBOOTING.</p>
28
- * <note>
29
- * <p>
30
- * <code>RebootNode</code> restarts the DAX engine process and does not remove the contents of the cache. </p>
31
- * </note>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DAXClient, RebootNodeCommand } from "@aws-sdk/client-dax"; // ES Modules import
36
- * // const { DAXClient, RebootNodeCommand } = require("@aws-sdk/client-dax"); // CommonJS import
37
- * const client = new DAXClient(config);
38
- * const command = new RebootNodeCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link RebootNodeCommandInput} for command's `input` shape.
43
- * @see {@link RebootNodeCommandOutput} for command's `response` shape.
44
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class RebootNodeCommand extends $Command<
48
- RebootNodeCommandInput,
49
- RebootNodeCommandOutput,
50
- DAXClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: RebootNodeCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: DAXClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<RebootNodeCommandInput, RebootNodeCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "DAXClient";
75
- const commandName = "RebootNodeCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: RebootNodeRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: RebootNodeResponse.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: RebootNodeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_json1_1RebootNodeCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RebootNodeCommandOutput> {
96
- return deserializeAws_json1_1RebootNodeCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }