@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,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
|
-
}
|