@aws-sdk/client-dax 3.1137.0 → 3.1138.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/dist-cjs/index.js +3 -3
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/DAX.d.ts +49 -43
- package/dist-types/ts3.4/DAX.d.ts +49 -46
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -675,10 +675,10 @@ const _hE = "httpError";
|
|
|
675
675
|
const _m = "message";
|
|
676
676
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dax";
|
|
677
677
|
const n0 = "com.amazonaws.dax";
|
|
678
|
-
const _s_registry = TypeRegistry
|
|
678
|
+
const _s_registry = new TypeRegistry(_s);
|
|
679
679
|
var DAXServiceException$ = [-3, _s, "DAXServiceException", 0, [], []];
|
|
680
680
|
_s_registry.registerError(DAXServiceException$, DAXServiceException);
|
|
681
|
-
const n0_registry = TypeRegistry
|
|
681
|
+
const n0_registry = new TypeRegistry(n0);
|
|
682
682
|
var ClusterAlreadyExistsFault$ = [-3, n0, _CAEF,
|
|
683
683
|
{ [_aQE]: [`ClusterAlreadyExists`, 400], [_e]: _c, [_hE]: 400 },
|
|
684
684
|
[_m],
|
|
@@ -201,10 +201,10 @@ const n0 = "com.amazonaws.dax";
|
|
|
201
201
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
202
202
|
import { DAXServiceException } from "../models/DAXServiceException";
|
|
203
203
|
import { ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterQuotaForCustomerExceededFault, InsufficientClusterCapacityFault, InvalidARNFault, InvalidClusterStateFault, InvalidParameterCombinationException, InvalidParameterGroupStateFault, InvalidParameterValueException, InvalidSubnet, InvalidVPCNetworkStateFault, NodeNotFoundFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, ParameterGroupAlreadyExistsFault, ParameterGroupNotFoundFault, ParameterGroupQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceQuotaExceededException, SubnetGroupAlreadyExistsFault, SubnetGroupInUseFault, SubnetGroupNotFoundFault, SubnetGroupQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, SubnetQuotaExceededFault, TagNotFoundFault, TagQuotaPerResourceExceeded, } from "../models/errors";
|
|
204
|
-
const _s_registry = TypeRegistry
|
|
204
|
+
const _s_registry = new TypeRegistry(_s);
|
|
205
205
|
export var DAXServiceException$ = [-3, _s, "DAXServiceException", 0, [], []];
|
|
206
206
|
_s_registry.registerError(DAXServiceException$, DAXServiceException);
|
|
207
|
-
const n0_registry = TypeRegistry
|
|
207
|
+
const n0_registry = new TypeRegistry(n0);
|
|
208
208
|
export var ClusterAlreadyExistsFault$ = [-3, n0, _CAEF,
|
|
209
209
|
{ [_aQE]: [`ClusterAlreadyExists`, 400], [_e]: _c, [_hE]: 400 },
|
|
210
210
|
[_m],
|
package/dist-types/DAX.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
3
3
|
import { type CreateParameterGroupCommandInput, type CreateParameterGroupCommandOutput } from "./commands/CreateParameterGroupCommand";
|
|
4
4
|
import { type CreateSubnetGroupCommandInput, type CreateSubnetGroupCommandOutput } from "./commands/CreateSubnetGroupCommand";
|
|
@@ -21,138 +21,144 @@ import { type UpdateClusterCommandInput, type UpdateClusterCommandOutput } from
|
|
|
21
21
|
import { type UpdateParameterGroupCommandInput, type UpdateParameterGroupCommandOutput } from "./commands/UpdateParameterGroupCommand";
|
|
22
22
|
import { type UpdateSubnetGroupCommandInput, type UpdateSubnetGroupCommandOutput } from "./commands/UpdateSubnetGroupCommand";
|
|
23
23
|
import { DAXClient } from "./DAXClient";
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export interface DAXRequestOptions extends __HttpHandlerOptions {
|
|
28
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
29
|
+
}
|
|
24
30
|
export interface DAX {
|
|
25
31
|
/**
|
|
26
32
|
* @see {@link CreateClusterCommand}
|
|
27
33
|
*/
|
|
28
|
-
createCluster(args: CreateClusterCommandInput, options?:
|
|
34
|
+
createCluster(args: CreateClusterCommandInput, options?: DAXRequestOptions): Promise<CreateClusterCommandOutput>;
|
|
29
35
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
30
|
-
createCluster(args: CreateClusterCommandInput, options:
|
|
36
|
+
createCluster(args: CreateClusterCommandInput, options: DAXRequestOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
31
37
|
/**
|
|
32
38
|
* @see {@link CreateParameterGroupCommand}
|
|
33
39
|
*/
|
|
34
|
-
createParameterGroup(args: CreateParameterGroupCommandInput, options?:
|
|
40
|
+
createParameterGroup(args: CreateParameterGroupCommandInput, options?: DAXRequestOptions): Promise<CreateParameterGroupCommandOutput>;
|
|
35
41
|
createParameterGroup(args: CreateParameterGroupCommandInput, cb: (err: any, data?: CreateParameterGroupCommandOutput) => void): void;
|
|
36
|
-
createParameterGroup(args: CreateParameterGroupCommandInput, options:
|
|
42
|
+
createParameterGroup(args: CreateParameterGroupCommandInput, options: DAXRequestOptions, cb: (err: any, data?: CreateParameterGroupCommandOutput) => void): void;
|
|
37
43
|
/**
|
|
38
44
|
* @see {@link CreateSubnetGroupCommand}
|
|
39
45
|
*/
|
|
40
|
-
createSubnetGroup(args: CreateSubnetGroupCommandInput, options?:
|
|
46
|
+
createSubnetGroup(args: CreateSubnetGroupCommandInput, options?: DAXRequestOptions): Promise<CreateSubnetGroupCommandOutput>;
|
|
41
47
|
createSubnetGroup(args: CreateSubnetGroupCommandInput, cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void): void;
|
|
42
|
-
createSubnetGroup(args: CreateSubnetGroupCommandInput, options:
|
|
48
|
+
createSubnetGroup(args: CreateSubnetGroupCommandInput, options: DAXRequestOptions, cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void): void;
|
|
43
49
|
/**
|
|
44
50
|
* @see {@link DecreaseReplicationFactorCommand}
|
|
45
51
|
*/
|
|
46
|
-
decreaseReplicationFactor(args: DecreaseReplicationFactorCommandInput, options?:
|
|
52
|
+
decreaseReplicationFactor(args: DecreaseReplicationFactorCommandInput, options?: DAXRequestOptions): Promise<DecreaseReplicationFactorCommandOutput>;
|
|
47
53
|
decreaseReplicationFactor(args: DecreaseReplicationFactorCommandInput, cb: (err: any, data?: DecreaseReplicationFactorCommandOutput) => void): void;
|
|
48
|
-
decreaseReplicationFactor(args: DecreaseReplicationFactorCommandInput, options:
|
|
54
|
+
decreaseReplicationFactor(args: DecreaseReplicationFactorCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DecreaseReplicationFactorCommandOutput) => void): void;
|
|
49
55
|
/**
|
|
50
56
|
* @see {@link DeleteClusterCommand}
|
|
51
57
|
*/
|
|
52
|
-
deleteCluster(args: DeleteClusterCommandInput, options?:
|
|
58
|
+
deleteCluster(args: DeleteClusterCommandInput, options?: DAXRequestOptions): Promise<DeleteClusterCommandOutput>;
|
|
53
59
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
54
|
-
deleteCluster(args: DeleteClusterCommandInput, options:
|
|
60
|
+
deleteCluster(args: DeleteClusterCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
55
61
|
/**
|
|
56
62
|
* @see {@link DeleteParameterGroupCommand}
|
|
57
63
|
*/
|
|
58
|
-
deleteParameterGroup(args: DeleteParameterGroupCommandInput, options?:
|
|
64
|
+
deleteParameterGroup(args: DeleteParameterGroupCommandInput, options?: DAXRequestOptions): Promise<DeleteParameterGroupCommandOutput>;
|
|
59
65
|
deleteParameterGroup(args: DeleteParameterGroupCommandInput, cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void): void;
|
|
60
|
-
deleteParameterGroup(args: DeleteParameterGroupCommandInput, options:
|
|
66
|
+
deleteParameterGroup(args: DeleteParameterGroupCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void): void;
|
|
61
67
|
/**
|
|
62
68
|
* @see {@link DeleteSubnetGroupCommand}
|
|
63
69
|
*/
|
|
64
|
-
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, options?:
|
|
70
|
+
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, options?: DAXRequestOptions): Promise<DeleteSubnetGroupCommandOutput>;
|
|
65
71
|
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void): void;
|
|
66
|
-
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, options:
|
|
72
|
+
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void): void;
|
|
67
73
|
/**
|
|
68
74
|
* @see {@link DescribeClustersCommand}
|
|
69
75
|
*/
|
|
70
76
|
describeClusters(): Promise<DescribeClustersCommandOutput>;
|
|
71
|
-
describeClusters(args: DescribeClustersCommandInput, options?:
|
|
77
|
+
describeClusters(args: DescribeClustersCommandInput, options?: DAXRequestOptions): Promise<DescribeClustersCommandOutput>;
|
|
72
78
|
describeClusters(args: DescribeClustersCommandInput, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
73
|
-
describeClusters(args: DescribeClustersCommandInput, options:
|
|
79
|
+
describeClusters(args: DescribeClustersCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
74
80
|
/**
|
|
75
81
|
* @see {@link DescribeDefaultParametersCommand}
|
|
76
82
|
*/
|
|
77
83
|
describeDefaultParameters(): Promise<DescribeDefaultParametersCommandOutput>;
|
|
78
|
-
describeDefaultParameters(args: DescribeDefaultParametersCommandInput, options?:
|
|
84
|
+
describeDefaultParameters(args: DescribeDefaultParametersCommandInput, options?: DAXRequestOptions): Promise<DescribeDefaultParametersCommandOutput>;
|
|
79
85
|
describeDefaultParameters(args: DescribeDefaultParametersCommandInput, cb: (err: any, data?: DescribeDefaultParametersCommandOutput) => void): void;
|
|
80
|
-
describeDefaultParameters(args: DescribeDefaultParametersCommandInput, options:
|
|
86
|
+
describeDefaultParameters(args: DescribeDefaultParametersCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DescribeDefaultParametersCommandOutput) => void): void;
|
|
81
87
|
/**
|
|
82
88
|
* @see {@link DescribeEventsCommand}
|
|
83
89
|
*/
|
|
84
90
|
describeEvents(): Promise<DescribeEventsCommandOutput>;
|
|
85
|
-
describeEvents(args: DescribeEventsCommandInput, options?:
|
|
91
|
+
describeEvents(args: DescribeEventsCommandInput, options?: DAXRequestOptions): Promise<DescribeEventsCommandOutput>;
|
|
86
92
|
describeEvents(args: DescribeEventsCommandInput, cb: (err: any, data?: DescribeEventsCommandOutput) => void): void;
|
|
87
|
-
describeEvents(args: DescribeEventsCommandInput, options:
|
|
93
|
+
describeEvents(args: DescribeEventsCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DescribeEventsCommandOutput) => void): void;
|
|
88
94
|
/**
|
|
89
95
|
* @see {@link DescribeParameterGroupsCommand}
|
|
90
96
|
*/
|
|
91
97
|
describeParameterGroups(): Promise<DescribeParameterGroupsCommandOutput>;
|
|
92
|
-
describeParameterGroups(args: DescribeParameterGroupsCommandInput, options?:
|
|
98
|
+
describeParameterGroups(args: DescribeParameterGroupsCommandInput, options?: DAXRequestOptions): Promise<DescribeParameterGroupsCommandOutput>;
|
|
93
99
|
describeParameterGroups(args: DescribeParameterGroupsCommandInput, cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void): void;
|
|
94
|
-
describeParameterGroups(args: DescribeParameterGroupsCommandInput, options:
|
|
100
|
+
describeParameterGroups(args: DescribeParameterGroupsCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void): void;
|
|
95
101
|
/**
|
|
96
102
|
* @see {@link DescribeParametersCommand}
|
|
97
103
|
*/
|
|
98
|
-
describeParameters(args: DescribeParametersCommandInput, options?:
|
|
104
|
+
describeParameters(args: DescribeParametersCommandInput, options?: DAXRequestOptions): Promise<DescribeParametersCommandOutput>;
|
|
99
105
|
describeParameters(args: DescribeParametersCommandInput, cb: (err: any, data?: DescribeParametersCommandOutput) => void): void;
|
|
100
|
-
describeParameters(args: DescribeParametersCommandInput, options:
|
|
106
|
+
describeParameters(args: DescribeParametersCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DescribeParametersCommandOutput) => void): void;
|
|
101
107
|
/**
|
|
102
108
|
* @see {@link DescribeSubnetGroupsCommand}
|
|
103
109
|
*/
|
|
104
110
|
describeSubnetGroups(): Promise<DescribeSubnetGroupsCommandOutput>;
|
|
105
|
-
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, options?:
|
|
111
|
+
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, options?: DAXRequestOptions): Promise<DescribeSubnetGroupsCommandOutput>;
|
|
106
112
|
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void): void;
|
|
107
|
-
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, options:
|
|
113
|
+
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, options: DAXRequestOptions, cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void): void;
|
|
108
114
|
/**
|
|
109
115
|
* @see {@link IncreaseReplicationFactorCommand}
|
|
110
116
|
*/
|
|
111
|
-
increaseReplicationFactor(args: IncreaseReplicationFactorCommandInput, options?:
|
|
117
|
+
increaseReplicationFactor(args: IncreaseReplicationFactorCommandInput, options?: DAXRequestOptions): Promise<IncreaseReplicationFactorCommandOutput>;
|
|
112
118
|
increaseReplicationFactor(args: IncreaseReplicationFactorCommandInput, cb: (err: any, data?: IncreaseReplicationFactorCommandOutput) => void): void;
|
|
113
|
-
increaseReplicationFactor(args: IncreaseReplicationFactorCommandInput, options:
|
|
119
|
+
increaseReplicationFactor(args: IncreaseReplicationFactorCommandInput, options: DAXRequestOptions, cb: (err: any, data?: IncreaseReplicationFactorCommandOutput) => void): void;
|
|
114
120
|
/**
|
|
115
121
|
* @see {@link ListTagsCommand}
|
|
116
122
|
*/
|
|
117
|
-
listTags(args: ListTagsCommandInput, options?:
|
|
123
|
+
listTags(args: ListTagsCommandInput, options?: DAXRequestOptions): Promise<ListTagsCommandOutput>;
|
|
118
124
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
119
|
-
listTags(args: ListTagsCommandInput, options:
|
|
125
|
+
listTags(args: ListTagsCommandInput, options: DAXRequestOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
120
126
|
/**
|
|
121
127
|
* @see {@link RebootNodeCommand}
|
|
122
128
|
*/
|
|
123
|
-
rebootNode(args: RebootNodeCommandInput, options?:
|
|
129
|
+
rebootNode(args: RebootNodeCommandInput, options?: DAXRequestOptions): Promise<RebootNodeCommandOutput>;
|
|
124
130
|
rebootNode(args: RebootNodeCommandInput, cb: (err: any, data?: RebootNodeCommandOutput) => void): void;
|
|
125
|
-
rebootNode(args: RebootNodeCommandInput, options:
|
|
131
|
+
rebootNode(args: RebootNodeCommandInput, options: DAXRequestOptions, cb: (err: any, data?: RebootNodeCommandOutput) => void): void;
|
|
126
132
|
/**
|
|
127
133
|
* @see {@link TagResourceCommand}
|
|
128
134
|
*/
|
|
129
|
-
tagResource(args: TagResourceCommandInput, options?:
|
|
135
|
+
tagResource(args: TagResourceCommandInput, options?: DAXRequestOptions): Promise<TagResourceCommandOutput>;
|
|
130
136
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
131
|
-
tagResource(args: TagResourceCommandInput, options:
|
|
137
|
+
tagResource(args: TagResourceCommandInput, options: DAXRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
132
138
|
/**
|
|
133
139
|
* @see {@link UntagResourceCommand}
|
|
134
140
|
*/
|
|
135
|
-
untagResource(args: UntagResourceCommandInput, options?:
|
|
141
|
+
untagResource(args: UntagResourceCommandInput, options?: DAXRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
136
142
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
137
|
-
untagResource(args: UntagResourceCommandInput, options:
|
|
143
|
+
untagResource(args: UntagResourceCommandInput, options: DAXRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
138
144
|
/**
|
|
139
145
|
* @see {@link UpdateClusterCommand}
|
|
140
146
|
*/
|
|
141
|
-
updateCluster(args: UpdateClusterCommandInput, options?:
|
|
147
|
+
updateCluster(args: UpdateClusterCommandInput, options?: DAXRequestOptions): Promise<UpdateClusterCommandOutput>;
|
|
142
148
|
updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
143
|
-
updateCluster(args: UpdateClusterCommandInput, options:
|
|
149
|
+
updateCluster(args: UpdateClusterCommandInput, options: DAXRequestOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
144
150
|
/**
|
|
145
151
|
* @see {@link UpdateParameterGroupCommand}
|
|
146
152
|
*/
|
|
147
|
-
updateParameterGroup(args: UpdateParameterGroupCommandInput, options?:
|
|
153
|
+
updateParameterGroup(args: UpdateParameterGroupCommandInput, options?: DAXRequestOptions): Promise<UpdateParameterGroupCommandOutput>;
|
|
148
154
|
updateParameterGroup(args: UpdateParameterGroupCommandInput, cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void): void;
|
|
149
|
-
updateParameterGroup(args: UpdateParameterGroupCommandInput, options:
|
|
155
|
+
updateParameterGroup(args: UpdateParameterGroupCommandInput, options: DAXRequestOptions, cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void): void;
|
|
150
156
|
/**
|
|
151
157
|
* @see {@link UpdateSubnetGroupCommand}
|
|
152
158
|
*/
|
|
153
|
-
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, options?:
|
|
159
|
+
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, options?: DAXRequestOptions): Promise<UpdateSubnetGroupCommandOutput>;
|
|
154
160
|
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void): void;
|
|
155
|
-
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, options:
|
|
161
|
+
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, options: DAXRequestOptions, cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void): void;
|
|
156
162
|
}
|
|
157
163
|
/**
|
|
158
164
|
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
CreateClusterCommandInput,
|
|
4
7
|
CreateClusterCommandOutput,
|
|
@@ -75,10 +78,13 @@ import {
|
|
|
75
78
|
UpdateSubnetGroupCommandOutput,
|
|
76
79
|
} from "./commands/UpdateSubnetGroupCommand";
|
|
77
80
|
import { DAXClient } from "./DAXClient";
|
|
81
|
+
export interface DAXRequestOptions extends __HttpHandlerOptions {
|
|
82
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
83
|
+
}
|
|
78
84
|
export interface DAX {
|
|
79
85
|
createCluster(
|
|
80
86
|
args: CreateClusterCommandInput,
|
|
81
|
-
options?:
|
|
87
|
+
options?: DAXRequestOptions,
|
|
82
88
|
): Promise<CreateClusterCommandOutput>;
|
|
83
89
|
createCluster(
|
|
84
90
|
args: CreateClusterCommandInput,
|
|
@@ -86,12 +92,12 @@ export interface DAX {
|
|
|
86
92
|
): void;
|
|
87
93
|
createCluster(
|
|
88
94
|
args: CreateClusterCommandInput,
|
|
89
|
-
options:
|
|
95
|
+
options: DAXRequestOptions,
|
|
90
96
|
cb: (err: any, data?: CreateClusterCommandOutput) => void,
|
|
91
97
|
): void;
|
|
92
98
|
createParameterGroup(
|
|
93
99
|
args: CreateParameterGroupCommandInput,
|
|
94
|
-
options?:
|
|
100
|
+
options?: DAXRequestOptions,
|
|
95
101
|
): Promise<CreateParameterGroupCommandOutput>;
|
|
96
102
|
createParameterGroup(
|
|
97
103
|
args: CreateParameterGroupCommandInput,
|
|
@@ -99,12 +105,12 @@ export interface DAX {
|
|
|
99
105
|
): void;
|
|
100
106
|
createParameterGroup(
|
|
101
107
|
args: CreateParameterGroupCommandInput,
|
|
102
|
-
options:
|
|
108
|
+
options: DAXRequestOptions,
|
|
103
109
|
cb: (err: any, data?: CreateParameterGroupCommandOutput) => void,
|
|
104
110
|
): void;
|
|
105
111
|
createSubnetGroup(
|
|
106
112
|
args: CreateSubnetGroupCommandInput,
|
|
107
|
-
options?:
|
|
113
|
+
options?: DAXRequestOptions,
|
|
108
114
|
): Promise<CreateSubnetGroupCommandOutput>;
|
|
109
115
|
createSubnetGroup(
|
|
110
116
|
args: CreateSubnetGroupCommandInput,
|
|
@@ -112,12 +118,12 @@ export interface DAX {
|
|
|
112
118
|
): void;
|
|
113
119
|
createSubnetGroup(
|
|
114
120
|
args: CreateSubnetGroupCommandInput,
|
|
115
|
-
options:
|
|
121
|
+
options: DAXRequestOptions,
|
|
116
122
|
cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void,
|
|
117
123
|
): void;
|
|
118
124
|
decreaseReplicationFactor(
|
|
119
125
|
args: DecreaseReplicationFactorCommandInput,
|
|
120
|
-
options?:
|
|
126
|
+
options?: DAXRequestOptions,
|
|
121
127
|
): Promise<DecreaseReplicationFactorCommandOutput>;
|
|
122
128
|
decreaseReplicationFactor(
|
|
123
129
|
args: DecreaseReplicationFactorCommandInput,
|
|
@@ -125,12 +131,12 @@ export interface DAX {
|
|
|
125
131
|
): void;
|
|
126
132
|
decreaseReplicationFactor(
|
|
127
133
|
args: DecreaseReplicationFactorCommandInput,
|
|
128
|
-
options:
|
|
134
|
+
options: DAXRequestOptions,
|
|
129
135
|
cb: (err: any, data?: DecreaseReplicationFactorCommandOutput) => void,
|
|
130
136
|
): void;
|
|
131
137
|
deleteCluster(
|
|
132
138
|
args: DeleteClusterCommandInput,
|
|
133
|
-
options?:
|
|
139
|
+
options?: DAXRequestOptions,
|
|
134
140
|
): Promise<DeleteClusterCommandOutput>;
|
|
135
141
|
deleteCluster(
|
|
136
142
|
args: DeleteClusterCommandInput,
|
|
@@ -138,12 +144,12 @@ export interface DAX {
|
|
|
138
144
|
): void;
|
|
139
145
|
deleteCluster(
|
|
140
146
|
args: DeleteClusterCommandInput,
|
|
141
|
-
options:
|
|
147
|
+
options: DAXRequestOptions,
|
|
142
148
|
cb: (err: any, data?: DeleteClusterCommandOutput) => void,
|
|
143
149
|
): void;
|
|
144
150
|
deleteParameterGroup(
|
|
145
151
|
args: DeleteParameterGroupCommandInput,
|
|
146
|
-
options?:
|
|
152
|
+
options?: DAXRequestOptions,
|
|
147
153
|
): Promise<DeleteParameterGroupCommandOutput>;
|
|
148
154
|
deleteParameterGroup(
|
|
149
155
|
args: DeleteParameterGroupCommandInput,
|
|
@@ -151,12 +157,12 @@ export interface DAX {
|
|
|
151
157
|
): void;
|
|
152
158
|
deleteParameterGroup(
|
|
153
159
|
args: DeleteParameterGroupCommandInput,
|
|
154
|
-
options:
|
|
160
|
+
options: DAXRequestOptions,
|
|
155
161
|
cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void,
|
|
156
162
|
): void;
|
|
157
163
|
deleteSubnetGroup(
|
|
158
164
|
args: DeleteSubnetGroupCommandInput,
|
|
159
|
-
options?:
|
|
165
|
+
options?: DAXRequestOptions,
|
|
160
166
|
): Promise<DeleteSubnetGroupCommandOutput>;
|
|
161
167
|
deleteSubnetGroup(
|
|
162
168
|
args: DeleteSubnetGroupCommandInput,
|
|
@@ -164,13 +170,13 @@ export interface DAX {
|
|
|
164
170
|
): void;
|
|
165
171
|
deleteSubnetGroup(
|
|
166
172
|
args: DeleteSubnetGroupCommandInput,
|
|
167
|
-
options:
|
|
173
|
+
options: DAXRequestOptions,
|
|
168
174
|
cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void,
|
|
169
175
|
): void;
|
|
170
176
|
describeClusters(): Promise<DescribeClustersCommandOutput>;
|
|
171
177
|
describeClusters(
|
|
172
178
|
args: DescribeClustersCommandInput,
|
|
173
|
-
options?:
|
|
179
|
+
options?: DAXRequestOptions,
|
|
174
180
|
): Promise<DescribeClustersCommandOutput>;
|
|
175
181
|
describeClusters(
|
|
176
182
|
args: DescribeClustersCommandInput,
|
|
@@ -178,13 +184,13 @@ export interface DAX {
|
|
|
178
184
|
): void;
|
|
179
185
|
describeClusters(
|
|
180
186
|
args: DescribeClustersCommandInput,
|
|
181
|
-
options:
|
|
187
|
+
options: DAXRequestOptions,
|
|
182
188
|
cb: (err: any, data?: DescribeClustersCommandOutput) => void,
|
|
183
189
|
): void;
|
|
184
190
|
describeDefaultParameters(): Promise<DescribeDefaultParametersCommandOutput>;
|
|
185
191
|
describeDefaultParameters(
|
|
186
192
|
args: DescribeDefaultParametersCommandInput,
|
|
187
|
-
options?:
|
|
193
|
+
options?: DAXRequestOptions,
|
|
188
194
|
): Promise<DescribeDefaultParametersCommandOutput>;
|
|
189
195
|
describeDefaultParameters(
|
|
190
196
|
args: DescribeDefaultParametersCommandInput,
|
|
@@ -192,13 +198,13 @@ export interface DAX {
|
|
|
192
198
|
): void;
|
|
193
199
|
describeDefaultParameters(
|
|
194
200
|
args: DescribeDefaultParametersCommandInput,
|
|
195
|
-
options:
|
|
201
|
+
options: DAXRequestOptions,
|
|
196
202
|
cb: (err: any, data?: DescribeDefaultParametersCommandOutput) => void,
|
|
197
203
|
): void;
|
|
198
204
|
describeEvents(): Promise<DescribeEventsCommandOutput>;
|
|
199
205
|
describeEvents(
|
|
200
206
|
args: DescribeEventsCommandInput,
|
|
201
|
-
options?:
|
|
207
|
+
options?: DAXRequestOptions,
|
|
202
208
|
): Promise<DescribeEventsCommandOutput>;
|
|
203
209
|
describeEvents(
|
|
204
210
|
args: DescribeEventsCommandInput,
|
|
@@ -206,13 +212,13 @@ export interface DAX {
|
|
|
206
212
|
): void;
|
|
207
213
|
describeEvents(
|
|
208
214
|
args: DescribeEventsCommandInput,
|
|
209
|
-
options:
|
|
215
|
+
options: DAXRequestOptions,
|
|
210
216
|
cb: (err: any, data?: DescribeEventsCommandOutput) => void,
|
|
211
217
|
): void;
|
|
212
218
|
describeParameterGroups(): Promise<DescribeParameterGroupsCommandOutput>;
|
|
213
219
|
describeParameterGroups(
|
|
214
220
|
args: DescribeParameterGroupsCommandInput,
|
|
215
|
-
options?:
|
|
221
|
+
options?: DAXRequestOptions,
|
|
216
222
|
): Promise<DescribeParameterGroupsCommandOutput>;
|
|
217
223
|
describeParameterGroups(
|
|
218
224
|
args: DescribeParameterGroupsCommandInput,
|
|
@@ -220,12 +226,12 @@ export interface DAX {
|
|
|
220
226
|
): void;
|
|
221
227
|
describeParameterGroups(
|
|
222
228
|
args: DescribeParameterGroupsCommandInput,
|
|
223
|
-
options:
|
|
229
|
+
options: DAXRequestOptions,
|
|
224
230
|
cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void,
|
|
225
231
|
): void;
|
|
226
232
|
describeParameters(
|
|
227
233
|
args: DescribeParametersCommandInput,
|
|
228
|
-
options?:
|
|
234
|
+
options?: DAXRequestOptions,
|
|
229
235
|
): Promise<DescribeParametersCommandOutput>;
|
|
230
236
|
describeParameters(
|
|
231
237
|
args: DescribeParametersCommandInput,
|
|
@@ -233,13 +239,13 @@ export interface DAX {
|
|
|
233
239
|
): void;
|
|
234
240
|
describeParameters(
|
|
235
241
|
args: DescribeParametersCommandInput,
|
|
236
|
-
options:
|
|
242
|
+
options: DAXRequestOptions,
|
|
237
243
|
cb: (err: any, data?: DescribeParametersCommandOutput) => void,
|
|
238
244
|
): void;
|
|
239
245
|
describeSubnetGroups(): Promise<DescribeSubnetGroupsCommandOutput>;
|
|
240
246
|
describeSubnetGroups(
|
|
241
247
|
args: DescribeSubnetGroupsCommandInput,
|
|
242
|
-
options?:
|
|
248
|
+
options?: DAXRequestOptions,
|
|
243
249
|
): Promise<DescribeSubnetGroupsCommandOutput>;
|
|
244
250
|
describeSubnetGroups(
|
|
245
251
|
args: DescribeSubnetGroupsCommandInput,
|
|
@@ -247,12 +253,12 @@ export interface DAX {
|
|
|
247
253
|
): void;
|
|
248
254
|
describeSubnetGroups(
|
|
249
255
|
args: DescribeSubnetGroupsCommandInput,
|
|
250
|
-
options:
|
|
256
|
+
options: DAXRequestOptions,
|
|
251
257
|
cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void,
|
|
252
258
|
): void;
|
|
253
259
|
increaseReplicationFactor(
|
|
254
260
|
args: IncreaseReplicationFactorCommandInput,
|
|
255
|
-
options?:
|
|
261
|
+
options?: DAXRequestOptions,
|
|
256
262
|
): Promise<IncreaseReplicationFactorCommandOutput>;
|
|
257
263
|
increaseReplicationFactor(
|
|
258
264
|
args: IncreaseReplicationFactorCommandInput,
|
|
@@ -260,22 +266,19 @@ export interface DAX {
|
|
|
260
266
|
): void;
|
|
261
267
|
increaseReplicationFactor(
|
|
262
268
|
args: IncreaseReplicationFactorCommandInput,
|
|
263
|
-
options:
|
|
269
|
+
options: DAXRequestOptions,
|
|
264
270
|
cb: (err: any, data?: IncreaseReplicationFactorCommandOutput) => void,
|
|
265
271
|
): void;
|
|
266
|
-
listTags(
|
|
267
|
-
args: ListTagsCommandInput,
|
|
268
|
-
options?: __HttpHandlerOptions,
|
|
269
|
-
): Promise<ListTagsCommandOutput>;
|
|
272
|
+
listTags(args: ListTagsCommandInput, options?: DAXRequestOptions): Promise<ListTagsCommandOutput>;
|
|
270
273
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
271
274
|
listTags(
|
|
272
275
|
args: ListTagsCommandInput,
|
|
273
|
-
options:
|
|
276
|
+
options: DAXRequestOptions,
|
|
274
277
|
cb: (err: any, data?: ListTagsCommandOutput) => void,
|
|
275
278
|
): void;
|
|
276
279
|
rebootNode(
|
|
277
280
|
args: RebootNodeCommandInput,
|
|
278
|
-
options?:
|
|
281
|
+
options?: DAXRequestOptions,
|
|
279
282
|
): Promise<RebootNodeCommandOutput>;
|
|
280
283
|
rebootNode(
|
|
281
284
|
args: RebootNodeCommandInput,
|
|
@@ -283,12 +286,12 @@ export interface DAX {
|
|
|
283
286
|
): void;
|
|
284
287
|
rebootNode(
|
|
285
288
|
args: RebootNodeCommandInput,
|
|
286
|
-
options:
|
|
289
|
+
options: DAXRequestOptions,
|
|
287
290
|
cb: (err: any, data?: RebootNodeCommandOutput) => void,
|
|
288
291
|
): void;
|
|
289
292
|
tagResource(
|
|
290
293
|
args: TagResourceCommandInput,
|
|
291
|
-
options?:
|
|
294
|
+
options?: DAXRequestOptions,
|
|
292
295
|
): Promise<TagResourceCommandOutput>;
|
|
293
296
|
tagResource(
|
|
294
297
|
args: TagResourceCommandInput,
|
|
@@ -296,12 +299,12 @@ export interface DAX {
|
|
|
296
299
|
): void;
|
|
297
300
|
tagResource(
|
|
298
301
|
args: TagResourceCommandInput,
|
|
299
|
-
options:
|
|
302
|
+
options: DAXRequestOptions,
|
|
300
303
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
301
304
|
): void;
|
|
302
305
|
untagResource(
|
|
303
306
|
args: UntagResourceCommandInput,
|
|
304
|
-
options?:
|
|
307
|
+
options?: DAXRequestOptions,
|
|
305
308
|
): Promise<UntagResourceCommandOutput>;
|
|
306
309
|
untagResource(
|
|
307
310
|
args: UntagResourceCommandInput,
|
|
@@ -309,12 +312,12 @@ export interface DAX {
|
|
|
309
312
|
): void;
|
|
310
313
|
untagResource(
|
|
311
314
|
args: UntagResourceCommandInput,
|
|
312
|
-
options:
|
|
315
|
+
options: DAXRequestOptions,
|
|
313
316
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
314
317
|
): void;
|
|
315
318
|
updateCluster(
|
|
316
319
|
args: UpdateClusterCommandInput,
|
|
317
|
-
options?:
|
|
320
|
+
options?: DAXRequestOptions,
|
|
318
321
|
): Promise<UpdateClusterCommandOutput>;
|
|
319
322
|
updateCluster(
|
|
320
323
|
args: UpdateClusterCommandInput,
|
|
@@ -322,12 +325,12 @@ export interface DAX {
|
|
|
322
325
|
): void;
|
|
323
326
|
updateCluster(
|
|
324
327
|
args: UpdateClusterCommandInput,
|
|
325
|
-
options:
|
|
328
|
+
options: DAXRequestOptions,
|
|
326
329
|
cb: (err: any, data?: UpdateClusterCommandOutput) => void,
|
|
327
330
|
): void;
|
|
328
331
|
updateParameterGroup(
|
|
329
332
|
args: UpdateParameterGroupCommandInput,
|
|
330
|
-
options?:
|
|
333
|
+
options?: DAXRequestOptions,
|
|
331
334
|
): Promise<UpdateParameterGroupCommandOutput>;
|
|
332
335
|
updateParameterGroup(
|
|
333
336
|
args: UpdateParameterGroupCommandInput,
|
|
@@ -335,12 +338,12 @@ export interface DAX {
|
|
|
335
338
|
): void;
|
|
336
339
|
updateParameterGroup(
|
|
337
340
|
args: UpdateParameterGroupCommandInput,
|
|
338
|
-
options:
|
|
341
|
+
options: DAXRequestOptions,
|
|
339
342
|
cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void,
|
|
340
343
|
): void;
|
|
341
344
|
updateSubnetGroup(
|
|
342
345
|
args: UpdateSubnetGroupCommandInput,
|
|
343
|
-
options?:
|
|
346
|
+
options?: DAXRequestOptions,
|
|
344
347
|
): Promise<UpdateSubnetGroupCommandOutput>;
|
|
345
348
|
updateSubnetGroup(
|
|
346
349
|
args: UpdateSubnetGroupCommandInput,
|
|
@@ -348,7 +351,7 @@ export interface DAX {
|
|
|
348
351
|
): void;
|
|
349
352
|
updateSubnetGroup(
|
|
350
353
|
args: UpdateSubnetGroupCommandInput,
|
|
351
|
-
options:
|
|
354
|
+
options: DAXRequestOptions,
|
|
352
355
|
cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void,
|
|
353
356
|
): void;
|
|
354
357
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dax",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Dax Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dax",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|