@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,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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1TagResourceCommand,
18
- serializeAws_json1_1TagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Associates a set of tags with a DAX resource. You can call <code>TagResource</code> up to 5 times per second, per
26
- * account. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DAXClient, TagResourceCommand } from "@aws-sdk/client-dax"; // ES Modules import
31
- * // const { DAXClient, TagResourceCommand } = require("@aws-sdk/client-dax"); // CommonJS import
32
- * const client = new DAXClient(config);
33
- * const command = new TagResourceCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link TagResourceCommandInput} for command's `input` shape.
38
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
39
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class TagResourceCommand extends $Command<
43
- TagResourceCommandInput,
44
- TagResourceCommandOutput,
45
- DAXClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: TagResourceCommandInput) {
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<TagResourceCommandInput, TagResourceCommandOutput> {
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 = "TagResourceCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1TagResourceCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
91
- return deserializeAws_json1_1TagResourceCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UntagResourceCommand,
18
- serializeAws_json1_1UntagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes the association of tags from a DAX resource. You can call
26
- * <code>UntagResource</code> up to 5 times per second, per account. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DAXClient, UntagResourceCommand } from "@aws-sdk/client-dax"; // ES Modules import
31
- * // const { DAXClient, UntagResourceCommand } = require("@aws-sdk/client-dax"); // CommonJS import
32
- * const client = new DAXClient(config);
33
- * const command = new UntagResourceCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
38
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
39
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class UntagResourceCommand extends $Command<
43
- UntagResourceCommandInput,
44
- UntagResourceCommandOutput,
45
- DAXClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: UntagResourceCommandInput) {
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
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 = "UntagResourceCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1UntagResourceCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
91
- return deserializeAws_json1_1UntagResourceCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,97 +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 { UpdateClusterRequest, UpdateClusterResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UpdateClusterCommand,
18
- serializeAws_json1_1UpdateClusterCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateClusterCommandInput extends UpdateClusterRequest {}
22
- export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Modifies the settings for a DAX cluster. You can use this action to change one or
26
- * more cluster configuration parameters by specifying the parameters and the new
27
- * values.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { DAXClient, UpdateClusterCommand } from "@aws-sdk/client-dax"; // ES Modules import
32
- * // const { DAXClient, UpdateClusterCommand } = require("@aws-sdk/client-dax"); // CommonJS import
33
- * const client = new DAXClient(config);
34
- * const command = new UpdateClusterCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link UpdateClusterCommandInput} for command's `input` shape.
39
- * @see {@link UpdateClusterCommandOutput} for command's `response` shape.
40
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class UpdateClusterCommand extends $Command<
44
- UpdateClusterCommandInput,
45
- UpdateClusterCommandOutput,
46
- DAXClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: UpdateClusterCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: DAXClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<UpdateClusterCommandInput, UpdateClusterCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "DAXClient";
71
- const commandName = "UpdateClusterCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: UpdateClusterRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: UpdateClusterResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: UpdateClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1UpdateClusterCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateClusterCommandOutput> {
92
- return deserializeAws_json1_1UpdateClusterCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,97 +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 { UpdateParameterGroupRequest, UpdateParameterGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UpdateParameterGroupCommand,
18
- serializeAws_json1_1UpdateParameterGroupCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateParameterGroupCommandInput extends UpdateParameterGroupRequest {}
22
- export interface UpdateParameterGroupCommandOutput extends UpdateParameterGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Modifies the parameters of a parameter group. You can modify up to 20
26
- * parameters in a single request by submitting a list parameter name and value
27
- * pairs.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { DAXClient, UpdateParameterGroupCommand } from "@aws-sdk/client-dax"; // ES Modules import
32
- * // const { DAXClient, UpdateParameterGroupCommand } = require("@aws-sdk/client-dax"); // CommonJS import
33
- * const client = new DAXClient(config);
34
- * const command = new UpdateParameterGroupCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link UpdateParameterGroupCommandInput} for command's `input` shape.
39
- * @see {@link UpdateParameterGroupCommandOutput} for command's `response` shape.
40
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class UpdateParameterGroupCommand extends $Command<
44
- UpdateParameterGroupCommandInput,
45
- UpdateParameterGroupCommandOutput,
46
- DAXClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: UpdateParameterGroupCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: DAXClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<UpdateParameterGroupCommandInput, UpdateParameterGroupCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "DAXClient";
71
- const commandName = "UpdateParameterGroupCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: UpdateParameterGroupRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: UpdateParameterGroupResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: UpdateParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1UpdateParameterGroupCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateParameterGroupCommandOutput> {
92
- return deserializeAws_json1_1UpdateParameterGroupCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -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 { UpdateSubnetGroupRequest, UpdateSubnetGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UpdateSubnetGroupCommand,
18
- serializeAws_json1_1UpdateSubnetGroupCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateSubnetGroupCommandInput extends UpdateSubnetGroupRequest {}
22
- export interface UpdateSubnetGroupCommandOutput extends UpdateSubnetGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Modifies an existing subnet 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, UpdateSubnetGroupCommand } from "@aws-sdk/client-dax"; // ES Modules import
30
- * // const { DAXClient, UpdateSubnetGroupCommand } = require("@aws-sdk/client-dax"); // CommonJS import
31
- * const client = new DAXClient(config);
32
- * const command = new UpdateSubnetGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateSubnetGroupCommandInput} for command's `input` shape.
37
- * @see {@link UpdateSubnetGroupCommandOutput} for command's `response` shape.
38
- * @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateSubnetGroupCommand extends $Command<
42
- UpdateSubnetGroupCommandInput,
43
- UpdateSubnetGroupCommandOutput,
44
- DAXClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateSubnetGroupCommandInput) {
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<UpdateSubnetGroupCommandInput, UpdateSubnetGroupCommandOutput> {
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 = "UpdateSubnetGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateSubnetGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateSubnetGroupResponse.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: UpdateSubnetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UpdateSubnetGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateSubnetGroupCommandOutput> {
90
- return deserializeAws_json1_1UpdateSubnetGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
package/src/endpoints.ts DELETED
@@ -1,57 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {};
5
-
6
- const partitionHash: PartitionHash = {
7
- aws: {
8
- regions: [
9
- "af-south-1",
10
- "ap-east-1",
11
- "ap-northeast-1",
12
- "ap-northeast-2",
13
- "ap-northeast-3",
14
- "ap-south-1",
15
- "ap-southeast-1",
16
- "ap-southeast-2",
17
- "ca-central-1",
18
- "eu-central-1",
19
- "eu-north-1",
20
- "eu-south-1",
21
- "eu-west-1",
22
- "eu-west-2",
23
- "eu-west-3",
24
- "me-south-1",
25
- "sa-east-1",
26
- "us-east-1",
27
- "us-east-2",
28
- "us-west-1",
29
- "us-west-2",
30
- ],
31
- hostname: "dax.{region}.amazonaws.com",
32
- },
33
- "aws-cn": {
34
- regions: ["cn-north-1", "cn-northwest-1"],
35
- hostname: "dax.{region}.amazonaws.com.cn",
36
- },
37
- "aws-iso": {
38
- regions: ["us-iso-east-1"],
39
- hostname: "dax.{region}.c2s.ic.gov",
40
- },
41
- "aws-iso-b": {
42
- regions: ["us-isob-east-1"],
43
- hostname: "dax.{region}.sc2s.sgov.gov",
44
- },
45
- "aws-us-gov": {
46
- regions: ["us-gov-east-1", "us-gov-west-1"],
47
- hostname: "dax.{region}.amazonaws.com",
48
- },
49
- };
50
-
51
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
52
- getRegionInfo(region, {
53
- ...options,
54
- signingService: "dax",
55
- regionHash,
56
- partitionHash,
57
- });
package/src/index.ts DELETED
@@ -1,24 +0,0 @@
1
- export * from "./DAXClient";
2
- export * from "./DAX";
3
- export * from "./commands/CreateClusterCommand";
4
- export * from "./commands/CreateParameterGroupCommand";
5
- export * from "./commands/CreateSubnetGroupCommand";
6
- export * from "./commands/DecreaseReplicationFactorCommand";
7
- export * from "./commands/DeleteClusterCommand";
8
- export * from "./commands/DeleteParameterGroupCommand";
9
- export * from "./commands/DeleteSubnetGroupCommand";
10
- export * from "./commands/DescribeClustersCommand";
11
- export * from "./commands/DescribeDefaultParametersCommand";
12
- export * from "./commands/DescribeEventsCommand";
13
- export * from "./commands/DescribeParameterGroupsCommand";
14
- export * from "./commands/DescribeParametersCommand";
15
- export * from "./commands/DescribeSubnetGroupsCommand";
16
- export * from "./commands/IncreaseReplicationFactorCommand";
17
- export * from "./commands/ListTagsCommand";
18
- export * from "./commands/RebootNodeCommand";
19
- export * from "./commands/TagResourceCommand";
20
- export * from "./commands/UntagResourceCommand";
21
- export * from "./commands/UpdateClusterCommand";
22
- export * from "./commands/UpdateParameterGroupCommand";
23
- export * from "./commands/UpdateSubnetGroupCommand";
24
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";