@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
package/src/DAXClient.ts
DELETED
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
53
|
-
import {
|
|
54
|
-
CreateParameterGroupCommandInput,
|
|
55
|
-
CreateParameterGroupCommandOutput,
|
|
56
|
-
} from "./commands/CreateParameterGroupCommand";
|
|
57
|
-
import { CreateSubnetGroupCommandInput, CreateSubnetGroupCommandOutput } from "./commands/CreateSubnetGroupCommand";
|
|
58
|
-
import {
|
|
59
|
-
DecreaseReplicationFactorCommandInput,
|
|
60
|
-
DecreaseReplicationFactorCommandOutput,
|
|
61
|
-
} from "./commands/DecreaseReplicationFactorCommand";
|
|
62
|
-
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
63
|
-
import {
|
|
64
|
-
DeleteParameterGroupCommandInput,
|
|
65
|
-
DeleteParameterGroupCommandOutput,
|
|
66
|
-
} from "./commands/DeleteParameterGroupCommand";
|
|
67
|
-
import { DeleteSubnetGroupCommandInput, DeleteSubnetGroupCommandOutput } from "./commands/DeleteSubnetGroupCommand";
|
|
68
|
-
import { DescribeClustersCommandInput, DescribeClustersCommandOutput } from "./commands/DescribeClustersCommand";
|
|
69
|
-
import {
|
|
70
|
-
DescribeDefaultParametersCommandInput,
|
|
71
|
-
DescribeDefaultParametersCommandOutput,
|
|
72
|
-
} from "./commands/DescribeDefaultParametersCommand";
|
|
73
|
-
import { DescribeEventsCommandInput, DescribeEventsCommandOutput } from "./commands/DescribeEventsCommand";
|
|
74
|
-
import {
|
|
75
|
-
DescribeParameterGroupsCommandInput,
|
|
76
|
-
DescribeParameterGroupsCommandOutput,
|
|
77
|
-
} from "./commands/DescribeParameterGroupsCommand";
|
|
78
|
-
import { DescribeParametersCommandInput, DescribeParametersCommandOutput } from "./commands/DescribeParametersCommand";
|
|
79
|
-
import {
|
|
80
|
-
DescribeSubnetGroupsCommandInput,
|
|
81
|
-
DescribeSubnetGroupsCommandOutput,
|
|
82
|
-
} from "./commands/DescribeSubnetGroupsCommand";
|
|
83
|
-
import {
|
|
84
|
-
IncreaseReplicationFactorCommandInput,
|
|
85
|
-
IncreaseReplicationFactorCommandOutput,
|
|
86
|
-
} from "./commands/IncreaseReplicationFactorCommand";
|
|
87
|
-
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
88
|
-
import { RebootNodeCommandInput, RebootNodeCommandOutput } from "./commands/RebootNodeCommand";
|
|
89
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
90
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
91
|
-
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
92
|
-
import {
|
|
93
|
-
UpdateParameterGroupCommandInput,
|
|
94
|
-
UpdateParameterGroupCommandOutput,
|
|
95
|
-
} from "./commands/UpdateParameterGroupCommand";
|
|
96
|
-
import { UpdateSubnetGroupCommandInput, UpdateSubnetGroupCommandOutput } from "./commands/UpdateSubnetGroupCommand";
|
|
97
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
98
|
-
|
|
99
|
-
export type ServiceInputTypes =
|
|
100
|
-
| CreateClusterCommandInput
|
|
101
|
-
| CreateParameterGroupCommandInput
|
|
102
|
-
| CreateSubnetGroupCommandInput
|
|
103
|
-
| DecreaseReplicationFactorCommandInput
|
|
104
|
-
| DeleteClusterCommandInput
|
|
105
|
-
| DeleteParameterGroupCommandInput
|
|
106
|
-
| DeleteSubnetGroupCommandInput
|
|
107
|
-
| DescribeClustersCommandInput
|
|
108
|
-
| DescribeDefaultParametersCommandInput
|
|
109
|
-
| DescribeEventsCommandInput
|
|
110
|
-
| DescribeParameterGroupsCommandInput
|
|
111
|
-
| DescribeParametersCommandInput
|
|
112
|
-
| DescribeSubnetGroupsCommandInput
|
|
113
|
-
| IncreaseReplicationFactorCommandInput
|
|
114
|
-
| ListTagsCommandInput
|
|
115
|
-
| RebootNodeCommandInput
|
|
116
|
-
| TagResourceCommandInput
|
|
117
|
-
| UntagResourceCommandInput
|
|
118
|
-
| UpdateClusterCommandInput
|
|
119
|
-
| UpdateParameterGroupCommandInput
|
|
120
|
-
| UpdateSubnetGroupCommandInput;
|
|
121
|
-
|
|
122
|
-
export type ServiceOutputTypes =
|
|
123
|
-
| CreateClusterCommandOutput
|
|
124
|
-
| CreateParameterGroupCommandOutput
|
|
125
|
-
| CreateSubnetGroupCommandOutput
|
|
126
|
-
| DecreaseReplicationFactorCommandOutput
|
|
127
|
-
| DeleteClusterCommandOutput
|
|
128
|
-
| DeleteParameterGroupCommandOutput
|
|
129
|
-
| DeleteSubnetGroupCommandOutput
|
|
130
|
-
| DescribeClustersCommandOutput
|
|
131
|
-
| DescribeDefaultParametersCommandOutput
|
|
132
|
-
| DescribeEventsCommandOutput
|
|
133
|
-
| DescribeParameterGroupsCommandOutput
|
|
134
|
-
| DescribeParametersCommandOutput
|
|
135
|
-
| DescribeSubnetGroupsCommandOutput
|
|
136
|
-
| IncreaseReplicationFactorCommandOutput
|
|
137
|
-
| ListTagsCommandOutput
|
|
138
|
-
| RebootNodeCommandOutput
|
|
139
|
-
| TagResourceCommandOutput
|
|
140
|
-
| UntagResourceCommandOutput
|
|
141
|
-
| UpdateClusterCommandOutput
|
|
142
|
-
| UpdateParameterGroupCommandOutput
|
|
143
|
-
| UpdateSubnetGroupCommandOutput;
|
|
144
|
-
|
|
145
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
146
|
-
/**
|
|
147
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
148
|
-
*/
|
|
149
|
-
requestHandler?: __HttpHandler;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
153
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
sha256?: __HashConstructor;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
160
|
-
* @internal
|
|
161
|
-
*/
|
|
162
|
-
urlParser?: __UrlParser;
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* A function that can calculate the length of a request body.
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* A function that converts a stream into an array of bytes.
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
|
-
streamCollector?: __StreamCollector;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
180
|
-
base64Decoder?: __Decoder;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
base64Encoder?: __Encoder;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
utf8Decoder?: __Decoder;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
|
-
utf8Encoder?: __Encoder;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* The runtime environment.
|
|
202
|
-
* @internal
|
|
203
|
-
*/
|
|
204
|
-
runtime?: string;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
208
|
-
* trait of an operation.
|
|
209
|
-
*/
|
|
210
|
-
disableHostPrefix?: boolean;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
214
|
-
*/
|
|
215
|
-
maxAttempts?: number | __Provider<number>;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Specifies which retry algorithm to use.
|
|
219
|
-
*/
|
|
220
|
-
retryMode?: string | __Provider<string>;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Optional logger for logging debug/info/warn/error.
|
|
224
|
-
*/
|
|
225
|
-
logger?: __Logger;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Unique service identifier.
|
|
229
|
-
* @internal
|
|
230
|
-
*/
|
|
231
|
-
serviceId?: string;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* The AWS region to which this client will send requests
|
|
235
|
-
*/
|
|
236
|
-
region?: string | __Provider<string>;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Default credentials provider; Not available in browser runtime.
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
252
|
-
* @internal
|
|
253
|
-
*/
|
|
254
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
type DAXClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
258
|
-
ClientDefaults &
|
|
259
|
-
RegionInputConfig &
|
|
260
|
-
EndpointsInputConfig &
|
|
261
|
-
RetryInputConfig &
|
|
262
|
-
HostHeaderInputConfig &
|
|
263
|
-
AwsAuthInputConfig &
|
|
264
|
-
UserAgentInputConfig;
|
|
265
|
-
/**
|
|
266
|
-
* The configuration interface of DAXClient class constructor that set the region, credentials and other options.
|
|
267
|
-
*/
|
|
268
|
-
export interface DAXClientConfig extends DAXClientConfigType {}
|
|
269
|
-
|
|
270
|
-
type DAXClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
271
|
-
Required<ClientDefaults> &
|
|
272
|
-
RegionResolvedConfig &
|
|
273
|
-
EndpointsResolvedConfig &
|
|
274
|
-
RetryResolvedConfig &
|
|
275
|
-
HostHeaderResolvedConfig &
|
|
276
|
-
AwsAuthResolvedConfig &
|
|
277
|
-
UserAgentResolvedConfig;
|
|
278
|
-
/**
|
|
279
|
-
* The resolved configuration interface of DAXClient class. This is resolved and normalized from the {@link DAXClientConfig | constructor configuration interface}.
|
|
280
|
-
*/
|
|
281
|
-
export interface DAXClientResolvedConfig extends DAXClientResolvedConfigType {}
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX
|
|
285
|
-
* dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so
|
|
286
|
-
* applications can access that data with sub-millisecond latency. You can create a DAX
|
|
287
|
-
* cluster easily, using the AWS Management Console. With a few simple modifications to
|
|
288
|
-
* your code, your application can begin taking advantage of the DAX cluster and realize
|
|
289
|
-
* significant improvements in read performance.</p>
|
|
290
|
-
*/
|
|
291
|
-
export class DAXClient extends __Client<
|
|
292
|
-
__HttpHandlerOptions,
|
|
293
|
-
ServiceInputTypes,
|
|
294
|
-
ServiceOutputTypes,
|
|
295
|
-
DAXClientResolvedConfig
|
|
296
|
-
> {
|
|
297
|
-
/**
|
|
298
|
-
* The resolved configuration of DAXClient class. This is resolved and normalized from the {@link DAXClientConfig | constructor configuration interface}.
|
|
299
|
-
*/
|
|
300
|
-
readonly config: DAXClientResolvedConfig;
|
|
301
|
-
|
|
302
|
-
constructor(configuration: DAXClientConfig) {
|
|
303
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
304
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
305
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
306
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
307
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
308
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
309
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
310
|
-
super(_config_6);
|
|
311
|
-
this.config = _config_6;
|
|
312
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
313
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
314
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
315
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
316
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
317
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
322
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
323
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
324
|
-
*/
|
|
325
|
-
destroy(): void {
|
|
326
|
-
super.destroy();
|
|
327
|
-
}
|
|
328
|
-
}
|
|
@@ -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 { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateClusterCommand,
|
|
18
|
-
serializeAws_json1_1CreateClusterCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateClusterCommandInput extends CreateClusterRequest {}
|
|
22
|
-
export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DAXClient, CreateClusterCommand } from "@aws-sdk/client-dax"; // ES Modules import
|
|
30
|
-
* // const { DAXClient, CreateClusterCommand } = require("@aws-sdk/client-dax"); // CommonJS import
|
|
31
|
-
* const client = new DAXClient(config);
|
|
32
|
-
* const command = new CreateClusterCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateClusterCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateClusterCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateClusterCommand extends $Command<
|
|
42
|
-
CreateClusterCommandInput,
|
|
43
|
-
CreateClusterCommandOutput,
|
|
44
|
-
DAXClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateClusterCommandInput) {
|
|
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<CreateClusterCommandInput, CreateClusterCommandOutput> {
|
|
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 = "CreateClusterCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateClusterRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateClusterResponse.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: CreateClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1CreateClusterCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateClusterCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1CreateClusterCommand(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 { CreateParameterGroupRequest, CreateParameterGroupResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateParameterGroupCommand,
|
|
18
|
-
serializeAws_json1_1CreateParameterGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateParameterGroupCommandInput extends CreateParameterGroupRequest {}
|
|
22
|
-
export interface CreateParameterGroupCommandOutput extends CreateParameterGroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a new parameter group. A parameter group is a collection of parameters that
|
|
26
|
-
* you apply to all of the nodes in a DAX cluster.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { DAXClient, CreateParameterGroupCommand } from "@aws-sdk/client-dax"; // ES Modules import
|
|
31
|
-
* // const { DAXClient, CreateParameterGroupCommand } = require("@aws-sdk/client-dax"); // CommonJS import
|
|
32
|
-
* const client = new DAXClient(config);
|
|
33
|
-
* const command = new CreateParameterGroupCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link CreateParameterGroupCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link CreateParameterGroupCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class CreateParameterGroupCommand extends $Command<
|
|
43
|
-
CreateParameterGroupCommandInput,
|
|
44
|
-
CreateParameterGroupCommandOutput,
|
|
45
|
-
DAXClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: CreateParameterGroupCommandInput) {
|
|
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<CreateParameterGroupCommandInput, CreateParameterGroupCommandOutput> {
|
|
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 = "CreateParameterGroupCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: CreateParameterGroupRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: CreateParameterGroupResponse.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: CreateParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1CreateParameterGroupCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateParameterGroupCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1CreateParameterGroupCommand(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 { CreateSubnetGroupRequest, CreateSubnetGroupResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateSubnetGroupCommand,
|
|
18
|
-
serializeAws_json1_1CreateSubnetGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateSubnetGroupCommandInput extends CreateSubnetGroupRequest {}
|
|
22
|
-
export interface CreateSubnetGroupCommandOutput extends CreateSubnetGroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a new 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, CreateSubnetGroupCommand } from "@aws-sdk/client-dax"; // ES Modules import
|
|
30
|
-
* // const { DAXClient, CreateSubnetGroupCommand } = require("@aws-sdk/client-dax"); // CommonJS import
|
|
31
|
-
* const client = new DAXClient(config);
|
|
32
|
-
* const command = new CreateSubnetGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateSubnetGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateSubnetGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DAXClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateSubnetGroupCommand extends $Command<
|
|
42
|
-
CreateSubnetGroupCommandInput,
|
|
43
|
-
CreateSubnetGroupCommandOutput,
|
|
44
|
-
DAXClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateSubnetGroupCommandInput) {
|
|
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<CreateSubnetGroupCommandInput, CreateSubnetGroupCommandOutput> {
|
|
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 = "CreateSubnetGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateSubnetGroupRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateSubnetGroupResponse.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: CreateSubnetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1CreateSubnetGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateSubnetGroupCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1CreateSubnetGroupCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|