@aws-sdk/client-memorydb 3.477.0 → 3.481.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/commands/BatchUpdateClusterCommand.js +18 -41
- package/dist-cjs/commands/CopySnapshotCommand.js +18 -41
- package/dist-cjs/commands/CreateACLCommand.js +18 -41
- package/dist-cjs/commands/CreateClusterCommand.js +18 -41
- package/dist-cjs/commands/CreateParameterGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateSnapshotCommand.js +18 -41
- package/dist-cjs/commands/CreateSubnetGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateUserCommand.js +18 -41
- package/dist-cjs/commands/DeleteACLCommand.js +18 -41
- package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
- package/dist-cjs/commands/DeleteParameterGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteSnapshotCommand.js +18 -41
- package/dist-cjs/commands/DeleteSubnetGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteUserCommand.js +18 -41
- package/dist-cjs/commands/DescribeACLsCommand.js +18 -41
- package/dist-cjs/commands/DescribeClustersCommand.js +18 -41
- package/dist-cjs/commands/DescribeEngineVersionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventsCommand.js +18 -41
- package/dist-cjs/commands/DescribeParameterGroupsCommand.js +18 -41
- package/dist-cjs/commands/DescribeParametersCommand.js +18 -41
- package/dist-cjs/commands/DescribeReservedNodesCommand.js +18 -41
- package/dist-cjs/commands/DescribeReservedNodesOfferingsCommand.js +18 -41
- package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +18 -41
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +18 -41
- package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +18 -41
- package/dist-cjs/commands/DescribeUsersCommand.js +18 -41
- package/dist-cjs/commands/FailoverShardCommand.js +18 -41
- package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsCommand.js +18 -41
- package/dist-cjs/commands/PurchaseReservedNodesOfferingCommand.js +18 -41
- package/dist-cjs/commands/ResetParameterGroupCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateACLCommand.js +18 -41
- package/dist-cjs/commands/UpdateClusterCommand.js +18 -41
- package/dist-cjs/commands/UpdateParameterGroupCommand.js +18 -41
- package/dist-cjs/commands/UpdateSubnetGroupCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeACLsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEngineVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeParameterGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedNodesOfferingsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedNodesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSubnetGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeUsersPaginator.js +2 -24
- package/dist-es/commands/BatchUpdateClusterCommand.js +18 -41
- package/dist-es/commands/CopySnapshotCommand.js +18 -41
- package/dist-es/commands/CreateACLCommand.js +18 -41
- package/dist-es/commands/CreateClusterCommand.js +18 -41
- package/dist-es/commands/CreateParameterGroupCommand.js +18 -41
- package/dist-es/commands/CreateSnapshotCommand.js +18 -41
- package/dist-es/commands/CreateSubnetGroupCommand.js +18 -41
- package/dist-es/commands/CreateUserCommand.js +18 -41
- package/dist-es/commands/DeleteACLCommand.js +18 -41
- package/dist-es/commands/DeleteClusterCommand.js +18 -41
- package/dist-es/commands/DeleteParameterGroupCommand.js +18 -41
- package/dist-es/commands/DeleteSnapshotCommand.js +18 -41
- package/dist-es/commands/DeleteSubnetGroupCommand.js +18 -41
- package/dist-es/commands/DeleteUserCommand.js +18 -41
- package/dist-es/commands/DescribeACLsCommand.js +18 -41
- package/dist-es/commands/DescribeClustersCommand.js +18 -41
- package/dist-es/commands/DescribeEngineVersionsCommand.js +18 -41
- package/dist-es/commands/DescribeEventsCommand.js +18 -41
- package/dist-es/commands/DescribeParameterGroupsCommand.js +18 -41
- package/dist-es/commands/DescribeParametersCommand.js +18 -41
- package/dist-es/commands/DescribeReservedNodesCommand.js +18 -41
- package/dist-es/commands/DescribeReservedNodesOfferingsCommand.js +18 -41
- package/dist-es/commands/DescribeServiceUpdatesCommand.js +18 -41
- package/dist-es/commands/DescribeSnapshotsCommand.js +18 -41
- package/dist-es/commands/DescribeSubnetGroupsCommand.js +18 -41
- package/dist-es/commands/DescribeUsersCommand.js +18 -41
- package/dist-es/commands/FailoverShardCommand.js +18 -41
- package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +18 -41
- package/dist-es/commands/ListTagsCommand.js +18 -41
- package/dist-es/commands/PurchaseReservedNodesOfferingCommand.js +18 -41
- package/dist-es/commands/ResetParameterGroupCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateACLCommand.js +18 -41
- package/dist-es/commands/UpdateClusterCommand.js +18 -41
- package/dist-es/commands/UpdateParameterGroupCommand.js +18 -41
- package/dist-es/commands/UpdateSubnetGroupCommand.js +18 -41
- package/dist-es/commands/UpdateUserCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeACLsPaginator.js +2 -23
- package/dist-es/pagination/DescribeClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeEngineVersionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
- package/dist-es/pagination/DescribeParameterGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedNodesOfferingsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedNodesPaginator.js +2 -23
- package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeSubnetGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeUsersPaginator.js +2 -23
- package/dist-types/commands/BatchUpdateClusterCommand.d.ts +6 -21
- package/dist-types/commands/CopySnapshotCommand.d.ts +6 -21
- package/dist-types/commands/CreateACLCommand.d.ts +6 -21
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
- package/dist-types/commands/CreateParameterGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/CreateSubnetGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateUserCommand.d.ts +6 -21
- package/dist-types/commands/DeleteACLCommand.d.ts +6 -21
- package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteParameterGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSubnetGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
- package/dist-types/commands/DescribeACLsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeClustersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeParameterGroupsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeParametersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeReservedNodesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeReservedNodesOfferingsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSubnetGroupsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUsersCommand.d.ts +6 -21
- package/dist-types/commands/FailoverShardCommand.d.ts +6 -21
- package/dist-types/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsCommand.d.ts +6 -21
- package/dist-types/commands/PurchaseReservedNodesOfferingCommand.d.ts +6 -21
- package/dist-types/commands/ResetParameterGroupCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateACLCommand.d.ts +6 -21
- package/dist-types/commands/UpdateClusterCommand.d.ts +6 -21
- package/dist-types/commands/UpdateParameterGroupCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSubnetGroupCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeACLsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEngineVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedNodesOfferingsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeServiceUpdatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSubnetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeUsersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchUpdateClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateACLCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteACLCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeACLsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeReservedNodesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeReservedNodesOfferingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/FailoverShardCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PurchaseReservedNodesOfferingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ResetParameterGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateACLCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeACLsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEngineVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeParameterGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedNodesOfferingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedNodesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeServiceUpdatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSubnetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeUsersPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateSubnetGroupCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MemoryDBClient";
|
|
29
|
-
const commandName = "UpdateSubnetGroupCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonMemoryDB",
|
|
38
|
-
operation: "UpdateSubnetGroup",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateSubnetGroupCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateSubnetGroupCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateSubnetGroupCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonMemoryDB", "UpdateSubnetGroup", {})
|
|
22
|
+
.n("MemoryDBClient", "UpdateSubnetGroupCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateSubnetGroupCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateSubnetGroupCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateSubnetGroupCommand = UpdateSubnetGroupCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateUserCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MemoryDBClient";
|
|
29
|
-
const commandName = "UpdateUserCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonMemoryDB",
|
|
38
|
-
operation: "UpdateUser",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateUserCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateUserCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateUserCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonMemoryDB", "UpdateUser", {})
|
|
22
|
+
.n("MemoryDBClient", "UpdateUserCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateUserCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateUserCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateUserCommand = UpdateUserCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeACLs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeACLsCommand_1 = require("../commands/DescribeACLsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeACLsCommand_1.DescribeACLsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeACLs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeACLs = paginateDescribeACLs;
|
|
7
|
+
exports.paginateDescribeACLs = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeACLsCommand_1.DescribeACLsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClustersCommand_1 = require("../commands/DescribeClustersCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClustersCommand_1.DescribeClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeClusters = paginateDescribeClusters;
|
|
7
|
+
exports.paginateDescribeClusters = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeClustersCommand_1.DescribeClustersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEngineVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEngineVersionsCommand_1 = require("../commands/DescribeEngineVersionsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEngineVersionsCommand_1.DescribeEngineVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEngineVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEngineVersions = paginateDescribeEngineVersions;
|
|
7
|
+
exports.paginateDescribeEngineVersions = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeEngineVersionsCommand_1.DescribeEngineVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEvents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEventsCommand_1 = require("../commands/DescribeEventsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEventsCommand_1.DescribeEventsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEvents = paginateDescribeEvents;
|
|
7
|
+
exports.paginateDescribeEvents = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeEventsCommand_1.DescribeEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeParameterGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeParameterGroupsCommand_1 = require("../commands/DescribeParameterGroupsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeParameterGroupsCommand_1.DescribeParameterGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeParameterGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeParameterGroups = paginateDescribeParameterGroups;
|
|
7
|
+
exports.paginateDescribeParameterGroups = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeParameterGroupsCommand_1.DescribeParameterGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeParametersCommand_1 = require("../commands/DescribeParametersCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeParametersCommand_1.DescribeParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeParameters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeParameters = paginateDescribeParameters;
|
|
7
|
+
exports.paginateDescribeParameters = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeParametersCommand_1.DescribeParametersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedNodesOfferings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReservedNodesOfferingsCommand_1 = require("../commands/DescribeReservedNodesOfferingsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReservedNodesOfferingsCommand_1.DescribeReservedNodesOfferingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReservedNodesOfferings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeReservedNodesOfferings = paginateDescribeReservedNodesOfferings;
|
|
7
|
+
exports.paginateDescribeReservedNodesOfferings = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeReservedNodesOfferingsCommand_1.DescribeReservedNodesOfferingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedNodes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReservedNodesCommand_1 = require("../commands/DescribeReservedNodesCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReservedNodesCommand_1.DescribeReservedNodesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReservedNodes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeReservedNodes = paginateDescribeReservedNodes;
|
|
7
|
+
exports.paginateDescribeReservedNodes = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeReservedNodesCommand_1.DescribeReservedNodesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeServiceUpdates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeServiceUpdatesCommand_1 = require("../commands/DescribeServiceUpdatesCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeServiceUpdatesCommand_1.DescribeServiceUpdatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeServiceUpdates(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeServiceUpdates = paginateDescribeServiceUpdates;
|
|
7
|
+
exports.paginateDescribeServiceUpdates = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeServiceUpdatesCommand_1.DescribeServiceUpdatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeSnapshots = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeSnapshotsCommand_1 = require("../commands/DescribeSnapshotsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeSnapshotsCommand_1.DescribeSnapshotsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeSnapshots(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeSnapshots = paginateDescribeSnapshots;
|
|
7
|
+
exports.paginateDescribeSnapshots = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeSnapshotsCommand_1.DescribeSnapshotsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeSubnetGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeSubnetGroupsCommand_1 = require("../commands/DescribeSubnetGroupsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeSubnetGroupsCommand_1.DescribeSubnetGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeSubnetGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeSubnetGroups = paginateDescribeSubnetGroups;
|
|
7
|
+
exports.paginateDescribeSubnetGroups = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeSubnetGroupsCommand_1.DescribeSubnetGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeUsers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeUsersCommand_1 = require("../commands/DescribeUsersCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeUsersCommand_1.DescribeUsersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeUsers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeUsers = paginateDescribeUsers;
|
|
7
|
+
exports.paginateDescribeUsers = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeUsersCommand_1.DescribeUsersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchUpdateClusterCommand, se_BatchUpdateClusterCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchUpdateClusterCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MemoryDBClient";
|
|
26
|
-
const commandName = "BatchUpdateClusterCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonMemoryDB",
|
|
35
|
-
operation: "BatchUpdateCluster",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchUpdateClusterCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchUpdateClusterCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchUpdateClusterCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonMemoryDB", "BatchUpdateCluster", {})
|
|
19
|
+
.n("MemoryDBClient", "BatchUpdateClusterCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchUpdateClusterCommand)
|
|
22
|
+
.de(de_BatchUpdateClusterCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|