@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,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 { DecreaseReplicationFactorRequest, DecreaseReplicationFactorResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DecreaseReplicationFactorCommand,
18
- serializeAws_json1_1DecreaseReplicationFactorCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DecreaseReplicationFactorCommandInput extends DecreaseReplicationFactorRequest {}
22
- export interface DecreaseReplicationFactorCommandOutput extends DecreaseReplicationFactorResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes one or more nodes from a DAX cluster.</p>
26
- * <note>
27
- * <p>You cannot use <code>DecreaseReplicationFactor</code> to remove the last node in a DAX cluster. If you need to do this, use <code>DeleteCluster</code> instead.</p>
28
- * </note>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { DAXClient, DecreaseReplicationFactorCommand } from "@aws-sdk/client-dax"; // ES Modules import
33
- * // const { DAXClient, DecreaseReplicationFactorCommand } = require("@aws-sdk/client-dax"); // CommonJS import
34
- * const client = new DAXClient(config);
35
- * const command = new DecreaseReplicationFactorCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DecreaseReplicationFactorCommandInput} for command's `input` shape.
40
- * @see {@link DecreaseReplicationFactorCommandOutput} for command's `response` shape.
41
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class DecreaseReplicationFactorCommand extends $Command<
45
- DecreaseReplicationFactorCommandInput,
46
- DecreaseReplicationFactorCommandOutput,
47
- DAXClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: DecreaseReplicationFactorCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: DAXClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<DecreaseReplicationFactorCommandInput, DecreaseReplicationFactorCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "DAXClient";
72
- const commandName = "DecreaseReplicationFactorCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: DecreaseReplicationFactorRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: DecreaseReplicationFactorResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: DecreaseReplicationFactorCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1DecreaseReplicationFactorCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<DecreaseReplicationFactorCommandOutput> {
96
- return deserializeAws_json1_1DecreaseReplicationFactorCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -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 { DeleteClusterRequest, DeleteClusterResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DeleteClusterCommand,
18
- serializeAws_json1_1DeleteClusterCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteClusterCommandInput extends DeleteClusterRequest {}
22
- export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes a previously provisioned DAX cluster.
26
- * <i>DeleteCluster</i> deletes all associated nodes, node endpoints
27
- * and the DAX cluster itself. When you receive a successful response from this action,
28
- * DAX immediately begins deleting the cluster; you cannot cancel or revert this
29
- * action.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { DAXClient, DeleteClusterCommand } from "@aws-sdk/client-dax"; // ES Modules import
34
- * // const { DAXClient, DeleteClusterCommand } = require("@aws-sdk/client-dax"); // CommonJS import
35
- * const client = new DAXClient(config);
36
- * const command = new DeleteClusterCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DeleteClusterCommandInput} for command's `input` shape.
41
- * @see {@link DeleteClusterCommandOutput} for command's `response` shape.
42
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DeleteClusterCommand extends $Command<
46
- DeleteClusterCommandInput,
47
- DeleteClusterCommandOutput,
48
- DAXClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DeleteClusterCommandInput) {
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<DeleteClusterCommandInput, DeleteClusterCommandOutput> {
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 = "DeleteClusterCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DeleteClusterRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: DeleteClusterResponse.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: DeleteClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1DeleteClusterCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteClusterCommandOutput> {
94
- return deserializeAws_json1_1DeleteClusterCommand(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 { DeleteParameterGroupRequest, DeleteParameterGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DeleteParameterGroupCommand,
18
- serializeAws_json1_1DeleteParameterGroupCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteParameterGroupCommandInput extends DeleteParameterGroupRequest {}
22
- export interface DeleteParameterGroupCommandOutput extends DeleteParameterGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the specified parameter group. You cannot delete a parameter group if it is
26
- * associated with any DAX clusters.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DAXClient, DeleteParameterGroupCommand } from "@aws-sdk/client-dax"; // ES Modules import
31
- * // const { DAXClient, DeleteParameterGroupCommand } = require("@aws-sdk/client-dax"); // CommonJS import
32
- * const client = new DAXClient(config);
33
- * const command = new DeleteParameterGroupCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeleteParameterGroupCommandInput} for command's `input` shape.
38
- * @see {@link DeleteParameterGroupCommandOutput} for command's `response` shape.
39
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeleteParameterGroupCommand extends $Command<
43
- DeleteParameterGroupCommandInput,
44
- DeleteParameterGroupCommandOutput,
45
- DAXClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeleteParameterGroupCommandInput) {
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<DeleteParameterGroupCommandInput, DeleteParameterGroupCommandOutput> {
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 = "DeleteParameterGroupCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeleteParameterGroupRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeleteParameterGroupResponse.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: DeleteParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DeleteParameterGroupCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteParameterGroupCommandOutput> {
91
- return deserializeAws_json1_1DeleteParameterGroupCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -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 { DeleteSubnetGroupRequest, DeleteSubnetGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DeleteSubnetGroupCommand,
18
- serializeAws_json1_1DeleteSubnetGroupCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteSubnetGroupCommandInput extends DeleteSubnetGroupRequest {}
22
- export interface DeleteSubnetGroupCommandOutput extends DeleteSubnetGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes a subnet group.</p>
26
- * <note>
27
- * <p>You cannot delete a subnet group if it is associated with any DAX
28
- * clusters.</p>
29
- * </note>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { DAXClient, DeleteSubnetGroupCommand } from "@aws-sdk/client-dax"; // ES Modules import
34
- * // const { DAXClient, DeleteSubnetGroupCommand } = require("@aws-sdk/client-dax"); // CommonJS import
35
- * const client = new DAXClient(config);
36
- * const command = new DeleteSubnetGroupCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DeleteSubnetGroupCommandInput} for command's `input` shape.
41
- * @see {@link DeleteSubnetGroupCommandOutput} for command's `response` shape.
42
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DeleteSubnetGroupCommand extends $Command<
46
- DeleteSubnetGroupCommandInput,
47
- DeleteSubnetGroupCommandOutput,
48
- DAXClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DeleteSubnetGroupCommandInput) {
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<DeleteSubnetGroupCommandInput, DeleteSubnetGroupCommandOutput> {
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 = "DeleteSubnetGroupCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DeleteSubnetGroupRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: DeleteSubnetGroupResponse.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: DeleteSubnetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1DeleteSubnetGroupCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSubnetGroupCommandOutput> {
94
- return deserializeAws_json1_1DeleteSubnetGroupCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,107 +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 { DescribeClustersRequest, DescribeClustersResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeClustersCommand,
18
- serializeAws_json1_1DescribeClustersCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeClustersCommandInput extends DescribeClustersRequest {}
22
- export interface DescribeClustersCommandOutput extends DescribeClustersResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns information about all provisioned DAX clusters if no cluster identifier
26
- * is specified, or about a specific DAX cluster if a cluster identifier is
27
- * supplied.</p>
28
- * <p>If the cluster is in the CREATING state, only cluster level information will be
29
- * displayed until all of the nodes are successfully provisioned.</p>
30
- * <p>If the cluster is in the DELETING state, only cluster level information will be
31
- * displayed.</p>
32
- * <p>If nodes are currently being added to the DAX cluster, node endpoint information
33
- * and creation time for the additional nodes will not be displayed until they are
34
- * completely provisioned. When the DAX cluster state is <i>available</i>,
35
- * the cluster is ready for use.</p>
36
- * <p>If nodes are currently being removed from the DAX cluster, no endpoint
37
- * information for the removed nodes is displayed.</p>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { DAXClient, DescribeClustersCommand } from "@aws-sdk/client-dax"; // ES Modules import
42
- * // const { DAXClient, DescribeClustersCommand } = require("@aws-sdk/client-dax"); // CommonJS import
43
- * const client = new DAXClient(config);
44
- * const command = new DescribeClustersCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link DescribeClustersCommandInput} for command's `input` shape.
49
- * @see {@link DescribeClustersCommandOutput} for command's `response` shape.
50
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- export class DescribeClustersCommand extends $Command<
54
- DescribeClustersCommandInput,
55
- DescribeClustersCommandOutput,
56
- DAXClientResolvedConfig
57
- > {
58
- // Start section: command_properties
59
- // End section: command_properties
60
-
61
- constructor(readonly input: DescribeClustersCommandInput) {
62
- // Start section: command_constructor
63
- super();
64
- // End section: command_constructor
65
- }
66
-
67
- /**
68
- * @internal
69
- */
70
- resolveMiddleware(
71
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
72
- configuration: DAXClientResolvedConfig,
73
- options?: __HttpHandlerOptions
74
- ): Handler<DescribeClustersCommandInput, DescribeClustersCommandOutput> {
75
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
76
-
77
- const stack = clientStack.concat(this.middlewareStack);
78
-
79
- const { logger } = configuration;
80
- const clientName = "DAXClient";
81
- const commandName = "DescribeClustersCommand";
82
- const handlerExecutionContext: HandlerExecutionContext = {
83
- logger,
84
- clientName,
85
- commandName,
86
- inputFilterSensitiveLog: DescribeClustersRequest.filterSensitiveLog,
87
- outputFilterSensitiveLog: DescribeClustersResponse.filterSensitiveLog,
88
- };
89
- const { requestHandler } = configuration;
90
- return stack.resolve(
91
- (request: FinalizeHandlerArguments<any>) =>
92
- requestHandler.handle(request.request as __HttpRequest, options || {}),
93
- handlerExecutionContext
94
- );
95
- }
96
-
97
- private serialize(input: DescribeClustersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
98
- return serializeAws_json1_1DescribeClustersCommand(input, context);
99
- }
100
-
101
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeClustersCommandOutput> {
102
- return deserializeAws_json1_1DescribeClustersCommand(output, context);
103
- }
104
-
105
- // Start section: command_body_extra
106
- // End section: command_body_extra
107
- }
@@ -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 { DescribeDefaultParametersRequest, DescribeDefaultParametersResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeDefaultParametersCommand,
18
- serializeAws_json1_1DescribeDefaultParametersCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeDefaultParametersCommandInput extends DescribeDefaultParametersRequest {}
22
- export interface DescribeDefaultParametersCommandOutput extends DescribeDefaultParametersResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the default system parameter information for the DAX caching
26
- * software.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DAXClient, DescribeDefaultParametersCommand } from "@aws-sdk/client-dax"; // ES Modules import
31
- * // const { DAXClient, DescribeDefaultParametersCommand } = require("@aws-sdk/client-dax"); // CommonJS import
32
- * const client = new DAXClient(config);
33
- * const command = new DescribeDefaultParametersCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeDefaultParametersCommandInput} for command's `input` shape.
38
- * @see {@link DescribeDefaultParametersCommandOutput} for command's `response` shape.
39
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeDefaultParametersCommand extends $Command<
43
- DescribeDefaultParametersCommandInput,
44
- DescribeDefaultParametersCommandOutput,
45
- DAXClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeDefaultParametersCommandInput) {
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<DescribeDefaultParametersCommandInput, DescribeDefaultParametersCommandOutput> {
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 = "DescribeDefaultParametersCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeDefaultParametersRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeDefaultParametersResponse.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: DescribeDefaultParametersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DescribeDefaultParametersCommand(input, context);
88
- }
89
-
90
- private deserialize(
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ): Promise<DescribeDefaultParametersCommandOutput> {
94
- return deserializeAws_json1_1DescribeDefaultParametersCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }