@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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/DAX.js +0 -9
- package/dist-cjs/DAXClient.js +0 -14
- package/dist-cjs/commands/CreateClusterCommand.js +0 -25
- package/dist-cjs/commands/CreateParameterGroupCommand.js +0 -26
- package/dist-cjs/commands/CreateSubnetGroupCommand.js +0 -25
- package/dist-cjs/commands/DecreaseReplicationFactorCommand.js +0 -28
- package/dist-cjs/commands/DeleteClusterCommand.js +0 -29
- package/dist-cjs/commands/DeleteParameterGroupCommand.js +0 -26
- package/dist-cjs/commands/DeleteSubnetGroupCommand.js +0 -29
- package/dist-cjs/commands/DescribeClustersCommand.js +0 -37
- package/dist-cjs/commands/DescribeDefaultParametersCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventsCommand.js +0 -29
- package/dist-cjs/commands/DescribeParameterGroupsCommand.js +0 -26
- package/dist-cjs/commands/DescribeParametersCommand.js +0 -25
- package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +0 -26
- package/dist-cjs/commands/IncreaseReplicationFactorCommand.js +0 -25
- package/dist-cjs/commands/ListTagsCommand.js +0 -26
- package/dist-cjs/commands/RebootNodeCommand.js +0 -31
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateClusterCommand.js +0 -27
- package/dist-cjs/commands/UpdateParameterGroupCommand.js +0 -27
- package/dist-cjs/commands/UpdateSubnetGroupCommand.js +0 -25
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -24
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -256
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/DAX.js +0 -1
- package/dist-es/DAXClient.js +0 -1
- package/dist-es/commands/CreateClusterCommand.js +0 -1
- package/dist-es/commands/CreateParameterGroupCommand.js +0 -1
- package/dist-es/commands/CreateSubnetGroupCommand.js +0 -1
- package/dist-es/commands/DecreaseReplicationFactorCommand.js +0 -1
- package/dist-es/commands/DeleteClusterCommand.js +0 -1
- package/dist-es/commands/DeleteParameterGroupCommand.js +0 -1
- package/dist-es/commands/DeleteSubnetGroupCommand.js +0 -1
- package/dist-es/commands/DescribeClustersCommand.js +0 -1
- package/dist-es/commands/DescribeDefaultParametersCommand.js +0 -1
- package/dist-es/commands/DescribeEventsCommand.js +0 -1
- package/dist-es/commands/DescribeParameterGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeParametersCommand.js +0 -1
- package/dist-es/commands/DescribeSubnetGroupsCommand.js +0 -1
- package/dist-es/commands/IncreaseReplicationFactorCommand.js +0 -1
- package/dist-es/commands/ListTagsCommand.js +0 -1
- package/dist-es/commands/RebootNodeCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateClusterCommand.js +0 -1
- package/dist-es/commands/UpdateParameterGroupCommand.js +0 -1
- package/dist-es/commands/UpdateSubnetGroupCommand.js +0 -1
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -24
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/index.d.ts +3 -23
- package/dist-types/ts3.4/DAX.d.ts +22 -116
- package/dist-types/ts3.4/DAXClient.d.ts +24 -94
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DecreaseReplicationFactorCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DescribeDefaultParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/IncreaseReplicationFactorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/RebootNodeCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/index.d.ts +3 -23
- package/dist-types/ts3.4/models/models_0.d.ts +291 -1121
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/DAX.js.map +0 -1
- package/dist-cjs/DAXClient.js.map +0 -1
- package/dist-cjs/commands/CreateClusterCommand.js.map +0 -1
- package/dist-cjs/commands/CreateParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DecreaseReplicationFactorCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeClustersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDefaultParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeParameterGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSubnetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/IncreaseReplicationFactorCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
- package/dist-cjs/commands/RebootNodeCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateClusterCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/DAX.js.map +0 -1
- package/dist-es/DAXClient.js.map +0 -1
- package/dist-es/commands/CreateClusterCommand.js.map +0 -1
- package/dist-es/commands/CreateParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/DecreaseReplicationFactorCommand.js.map +0 -1
- package/dist-es/commands/DeleteClusterCommand.js.map +0 -1
- package/dist-es/commands/DeleteParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/DescribeClustersCommand.js.map +0 -1
- package/dist-es/commands/DescribeDefaultParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-es/commands/DescribeParameterGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeSubnetGroupsCommand.js.map +0 -1
- package/dist-es/commands/IncreaseReplicationFactorCommand.js.map +0 -1
- package/dist-es/commands/ListTagsCommand.js.map +0 -1
- package/dist-es/commands/RebootNodeCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateClusterCommand.js.map +0 -1
- package/dist-es/commands/UpdateParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateSubnetGroupCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/DAX.ts +0 -805
- package/src/DAXClient.ts +0 -328
- package/src/commands/CreateClusterCommand.ts +0 -95
- package/src/commands/CreateParameterGroupCommand.ts +0 -96
- package/src/commands/CreateSubnetGroupCommand.ts +0 -95
- package/src/commands/DecreaseReplicationFactorCommand.ts +0 -101
- package/src/commands/DeleteClusterCommand.ts +0 -99
- package/src/commands/DeleteParameterGroupCommand.ts +0 -96
- package/src/commands/DeleteSubnetGroupCommand.ts +0 -99
- package/src/commands/DescribeClustersCommand.ts +0 -107
- package/src/commands/DescribeDefaultParametersCommand.ts +0 -99
- package/src/commands/DescribeEventsCommand.ts +0 -99
- package/src/commands/DescribeParameterGroupsCommand.ts +0 -96
- package/src/commands/DescribeParametersCommand.ts +0 -95
- package/src/commands/DescribeSubnetGroupsCommand.ts +0 -96
- package/src/commands/IncreaseReplicationFactorCommand.ts +0 -98
- package/src/commands/ListTagsCommand.ts +0 -89
- package/src/commands/RebootNodeCommand.ts +0 -101
- package/src/commands/TagResourceCommand.ts +0 -96
- package/src/commands/UntagResourceCommand.ts +0 -96
- package/src/commands/UpdateClusterCommand.ts +0 -97
- package/src/commands/UpdateParameterGroupCommand.ts +0 -97
- package/src/commands/UpdateSubnetGroupCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -24
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2250
- package/src/protocols/Aws_json1_1.ts +0 -3968
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- 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
|
-
}
|