@aws-sdk/client-memorydb 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/MemoryDB.js +0 -6
- package/dist-cjs/MemoryDBClient.js +0 -11
- package/dist-cjs/commands/BatchUpdateClusterCommand.js +0 -25
- package/dist-cjs/commands/CopySnapshotCommand.js +0 -25
- package/dist-cjs/commands/CreateACLCommand.js +0 -25
- package/dist-cjs/commands/CreateClusterCommand.js +0 -25
- package/dist-cjs/commands/CreateParameterGroupCommand.js +0 -28
- package/dist-cjs/commands/CreateSnapshotCommand.js +0 -25
- package/dist-cjs/commands/CreateSubnetGroupCommand.js +0 -28
- package/dist-cjs/commands/CreateUserCommand.js +0 -25
- package/dist-cjs/commands/DeleteACLCommand.js +0 -25
- package/dist-cjs/commands/DeleteClusterCommand.js +0 -25
- package/dist-cjs/commands/DeleteParameterGroupCommand.js +0 -26
- package/dist-cjs/commands/DeleteSnapshotCommand.js +0 -25
- package/dist-cjs/commands/DeleteSubnetGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteUserCommand.js +0 -25
- package/dist-cjs/commands/DescribeACLsCommand.js +0 -25
- package/dist-cjs/commands/DescribeClustersCommand.js +0 -25
- package/dist-cjs/commands/DescribeEngineVersionsCommand.js +0 -25
- package/dist-cjs/commands/DescribeEventsCommand.js +0 -27
- package/dist-cjs/commands/DescribeParameterGroupsCommand.js +0 -25
- package/dist-cjs/commands/DescribeParametersCommand.js +0 -25
- package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +0 -25
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +0 -26
- package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +0 -25
- package/dist-cjs/commands/DescribeUsersCommand.js +0 -25
- package/dist-cjs/commands/FailoverShardCommand.js +0 -25
- package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js +0 -27
- package/dist-cjs/commands/ListTagsCommand.js +0 -29
- package/dist-cjs/commands/ResetParameterGroupCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -35
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateACLCommand.js +0 -25
- package/dist-cjs/commands/UpdateClusterCommand.js +0 -25
- package/dist-cjs/commands/UpdateParameterGroupCommand.js +0 -25
- package/dist-cjs/commands/UpdateSubnetGroupCommand.js +0 -26
- package/dist-cjs/commands/UpdateUserCommand.js +0 -25
- package/dist-cjs/commands/index.js +38 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -38
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -460
- 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/MemoryDB.js +0 -1
- package/dist-es/MemoryDBClient.js +0 -1
- package/dist-es/commands/BatchUpdateClusterCommand.js +0 -1
- package/dist-es/commands/CopySnapshotCommand.js +0 -1
- package/dist-es/commands/CreateACLCommand.js +0 -1
- package/dist-es/commands/CreateClusterCommand.js +0 -1
- package/dist-es/commands/CreateParameterGroupCommand.js +0 -1
- package/dist-es/commands/CreateSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateSubnetGroupCommand.js +0 -1
- package/dist-es/commands/CreateUserCommand.js +0 -1
- package/dist-es/commands/DeleteACLCommand.js +0 -1
- package/dist-es/commands/DeleteClusterCommand.js +0 -1
- package/dist-es/commands/DeleteParameterGroupCommand.js +0 -1
- package/dist-es/commands/DeleteSnapshotCommand.js +0 -1
- package/dist-es/commands/DeleteSubnetGroupCommand.js +0 -1
- package/dist-es/commands/DeleteUserCommand.js +0 -1
- package/dist-es/commands/DescribeACLsCommand.js +0 -1
- package/dist-es/commands/DescribeClustersCommand.js +0 -1
- package/dist-es/commands/DescribeEngineVersionsCommand.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/DescribeServiceUpdatesCommand.js +0 -1
- package/dist-es/commands/DescribeSnapshotsCommand.js +0 -1
- package/dist-es/commands/DescribeSubnetGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeUsersCommand.js +0 -1
- package/dist-es/commands/FailoverShardCommand.js +0 -1
- package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +0 -1
- package/dist-es/commands/ListTagsCommand.js +0 -1
- package/dist-es/commands/ResetParameterGroupCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateACLCommand.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/UpdateUserCommand.js +0 -1
- package/dist-es/commands/index.js +35 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -38
- 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 +35 -0
- package/dist-types/index.d.ts +3 -37
- package/dist-types/ts3.4/MemoryDB.d.ts +36 -137
- package/dist-types/ts3.4/MemoryDBClient.d.ts +24 -91
- package/dist-types/ts3.4/commands/BatchUpdateClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateACLCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteACLCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeACLsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/FailoverShardCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ResetParameterGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateACLCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +35 -0
- package/dist-types/ts3.4/index.d.ts +3 -37
- package/dist-types/ts3.4/models/models_0.d.ts +554 -1698
- 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/MemoryDB.js.map +0 -1
- package/dist-cjs/MemoryDBClient.js.map +0 -1
- package/dist-cjs/commands/BatchUpdateClusterCommand.js.map +0 -1
- package/dist-cjs/commands/CopySnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateACLCommand.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/CreateSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteACLCommand.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/DeleteSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeACLsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeClustersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEngineVersionsCommand.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/DescribeServiceUpdatesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSubnetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUsersCommand.js.map +0 -1
- package/dist-cjs/commands/FailoverShardCommand.js.map +0 -1
- package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
- package/dist-cjs/commands/ResetParameterGroupCommand.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/UpdateACLCommand.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/commands/UpdateUserCommand.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/MemoryDB.js.map +0 -1
- package/dist-es/MemoryDBClient.js.map +0 -1
- package/dist-es/commands/BatchUpdateClusterCommand.js.map +0 -1
- package/dist-es/commands/CopySnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateACLCommand.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/CreateSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateUserCommand.js.map +0 -1
- package/dist-es/commands/DeleteACLCommand.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/DeleteSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DeleteSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserCommand.js.map +0 -1
- package/dist-es/commands/DescribeACLsCommand.js.map +0 -1
- package/dist-es/commands/DescribeClustersCommand.js.map +0 -1
- package/dist-es/commands/DescribeEngineVersionsCommand.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/DescribeServiceUpdatesCommand.js.map +0 -1
- package/dist-es/commands/DescribeSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/DescribeSubnetGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeUsersCommand.js.map +0 -1
- package/dist-es/commands/FailoverShardCommand.js.map +0 -1
- package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsCommand.js.map +0 -1
- package/dist-es/commands/ResetParameterGroupCommand.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/UpdateACLCommand.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/commands/UpdateUserCommand.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/MemoryDB.ts +0 -1246
- package/src/MemoryDBClient.ts +0 -370
- package/src/commands/BatchUpdateClusterCommand.ts +0 -95
- package/src/commands/CopySnapshotCommand.ts +0 -95
- package/src/commands/CreateACLCommand.ts +0 -92
- package/src/commands/CreateClusterCommand.ts +0 -95
- package/src/commands/CreateParameterGroupCommand.ts +0 -98
- package/src/commands/CreateSnapshotCommand.ts +0 -95
- package/src/commands/CreateSubnetGroupCommand.ts +0 -98
- package/src/commands/CreateUserCommand.ts +0 -95
- package/src/commands/DeleteACLCommand.ts +0 -92
- package/src/commands/DeleteClusterCommand.ts +0 -95
- package/src/commands/DeleteParameterGroupCommand.ts +0 -96
- package/src/commands/DeleteSnapshotCommand.ts +0 -95
- package/src/commands/DeleteSubnetGroupCommand.ts +0 -95
- package/src/commands/DeleteUserCommand.ts +0 -95
- package/src/commands/DescribeACLsCommand.ts +0 -95
- package/src/commands/DescribeClustersCommand.ts +0 -95
- package/src/commands/DescribeEngineVersionsCommand.ts +0 -95
- package/src/commands/DescribeEventsCommand.ts +0 -97
- package/src/commands/DescribeParameterGroupsCommand.ts +0 -95
- package/src/commands/DescribeParametersCommand.ts +0 -95
- package/src/commands/DescribeServiceUpdatesCommand.ts +0 -95
- package/src/commands/DescribeSnapshotsCommand.ts +0 -96
- package/src/commands/DescribeSubnetGroupsCommand.ts +0 -95
- package/src/commands/DescribeUsersCommand.ts +0 -95
- package/src/commands/FailoverShardCommand.ts +0 -95
- package/src/commands/ListAllowedNodeTypeUpdatesCommand.ts +0 -100
- package/src/commands/ListTagsCommand.ts +0 -96
- package/src/commands/ResetParameterGroupCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -105
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateACLCommand.ts +0 -92
- package/src/commands/UpdateClusterCommand.ts +0 -95
- package/src/commands/UpdateParameterGroupCommand.ts +0 -95
- package/src/commands/UpdateSubnetGroupCommand.ts +0 -96
- package/src/commands/UpdateUserCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -38
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3789
- package/src/protocols/Aws_json1_1.ts +0 -6700
- 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/MemoryDB.ts
DELETED
|
@@ -1,1246 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
BatchUpdateClusterCommand,
|
|
5
|
-
BatchUpdateClusterCommandInput,
|
|
6
|
-
BatchUpdateClusterCommandOutput,
|
|
7
|
-
} from "./commands/BatchUpdateClusterCommand";
|
|
8
|
-
import {
|
|
9
|
-
CopySnapshotCommand,
|
|
10
|
-
CopySnapshotCommandInput,
|
|
11
|
-
CopySnapshotCommandOutput,
|
|
12
|
-
} from "./commands/CopySnapshotCommand";
|
|
13
|
-
import { CreateACLCommand, CreateACLCommandInput, CreateACLCommandOutput } from "./commands/CreateACLCommand";
|
|
14
|
-
import {
|
|
15
|
-
CreateClusterCommand,
|
|
16
|
-
CreateClusterCommandInput,
|
|
17
|
-
CreateClusterCommandOutput,
|
|
18
|
-
} from "./commands/CreateClusterCommand";
|
|
19
|
-
import {
|
|
20
|
-
CreateParameterGroupCommand,
|
|
21
|
-
CreateParameterGroupCommandInput,
|
|
22
|
-
CreateParameterGroupCommandOutput,
|
|
23
|
-
} from "./commands/CreateParameterGroupCommand";
|
|
24
|
-
import {
|
|
25
|
-
CreateSnapshotCommand,
|
|
26
|
-
CreateSnapshotCommandInput,
|
|
27
|
-
CreateSnapshotCommandOutput,
|
|
28
|
-
} from "./commands/CreateSnapshotCommand";
|
|
29
|
-
import {
|
|
30
|
-
CreateSubnetGroupCommand,
|
|
31
|
-
CreateSubnetGroupCommandInput,
|
|
32
|
-
CreateSubnetGroupCommandOutput,
|
|
33
|
-
} from "./commands/CreateSubnetGroupCommand";
|
|
34
|
-
import { CreateUserCommand, CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
35
|
-
import { DeleteACLCommand, DeleteACLCommandInput, DeleteACLCommandOutput } from "./commands/DeleteACLCommand";
|
|
36
|
-
import {
|
|
37
|
-
DeleteClusterCommand,
|
|
38
|
-
DeleteClusterCommandInput,
|
|
39
|
-
DeleteClusterCommandOutput,
|
|
40
|
-
} from "./commands/DeleteClusterCommand";
|
|
41
|
-
import {
|
|
42
|
-
DeleteParameterGroupCommand,
|
|
43
|
-
DeleteParameterGroupCommandInput,
|
|
44
|
-
DeleteParameterGroupCommandOutput,
|
|
45
|
-
} from "./commands/DeleteParameterGroupCommand";
|
|
46
|
-
import {
|
|
47
|
-
DeleteSnapshotCommand,
|
|
48
|
-
DeleteSnapshotCommandInput,
|
|
49
|
-
DeleteSnapshotCommandOutput,
|
|
50
|
-
} from "./commands/DeleteSnapshotCommand";
|
|
51
|
-
import {
|
|
52
|
-
DeleteSubnetGroupCommand,
|
|
53
|
-
DeleteSubnetGroupCommandInput,
|
|
54
|
-
DeleteSubnetGroupCommandOutput,
|
|
55
|
-
} from "./commands/DeleteSubnetGroupCommand";
|
|
56
|
-
import { DeleteUserCommand, DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
57
|
-
import {
|
|
58
|
-
DescribeACLsCommand,
|
|
59
|
-
DescribeACLsCommandInput,
|
|
60
|
-
DescribeACLsCommandOutput,
|
|
61
|
-
} from "./commands/DescribeACLsCommand";
|
|
62
|
-
import {
|
|
63
|
-
DescribeClustersCommand,
|
|
64
|
-
DescribeClustersCommandInput,
|
|
65
|
-
DescribeClustersCommandOutput,
|
|
66
|
-
} from "./commands/DescribeClustersCommand";
|
|
67
|
-
import {
|
|
68
|
-
DescribeEngineVersionsCommand,
|
|
69
|
-
DescribeEngineVersionsCommandInput,
|
|
70
|
-
DescribeEngineVersionsCommandOutput,
|
|
71
|
-
} from "./commands/DescribeEngineVersionsCommand";
|
|
72
|
-
import {
|
|
73
|
-
DescribeEventsCommand,
|
|
74
|
-
DescribeEventsCommandInput,
|
|
75
|
-
DescribeEventsCommandOutput,
|
|
76
|
-
} from "./commands/DescribeEventsCommand";
|
|
77
|
-
import {
|
|
78
|
-
DescribeParameterGroupsCommand,
|
|
79
|
-
DescribeParameterGroupsCommandInput,
|
|
80
|
-
DescribeParameterGroupsCommandOutput,
|
|
81
|
-
} from "./commands/DescribeParameterGroupsCommand";
|
|
82
|
-
import {
|
|
83
|
-
DescribeParametersCommand,
|
|
84
|
-
DescribeParametersCommandInput,
|
|
85
|
-
DescribeParametersCommandOutput,
|
|
86
|
-
} from "./commands/DescribeParametersCommand";
|
|
87
|
-
import {
|
|
88
|
-
DescribeServiceUpdatesCommand,
|
|
89
|
-
DescribeServiceUpdatesCommandInput,
|
|
90
|
-
DescribeServiceUpdatesCommandOutput,
|
|
91
|
-
} from "./commands/DescribeServiceUpdatesCommand";
|
|
92
|
-
import {
|
|
93
|
-
DescribeSnapshotsCommand,
|
|
94
|
-
DescribeSnapshotsCommandInput,
|
|
95
|
-
DescribeSnapshotsCommandOutput,
|
|
96
|
-
} from "./commands/DescribeSnapshotsCommand";
|
|
97
|
-
import {
|
|
98
|
-
DescribeSubnetGroupsCommand,
|
|
99
|
-
DescribeSubnetGroupsCommandInput,
|
|
100
|
-
DescribeSubnetGroupsCommandOutput,
|
|
101
|
-
} from "./commands/DescribeSubnetGroupsCommand";
|
|
102
|
-
import {
|
|
103
|
-
DescribeUsersCommand,
|
|
104
|
-
DescribeUsersCommandInput,
|
|
105
|
-
DescribeUsersCommandOutput,
|
|
106
|
-
} from "./commands/DescribeUsersCommand";
|
|
107
|
-
import {
|
|
108
|
-
FailoverShardCommand,
|
|
109
|
-
FailoverShardCommandInput,
|
|
110
|
-
FailoverShardCommandOutput,
|
|
111
|
-
} from "./commands/FailoverShardCommand";
|
|
112
|
-
import {
|
|
113
|
-
ListAllowedNodeTypeUpdatesCommand,
|
|
114
|
-
ListAllowedNodeTypeUpdatesCommandInput,
|
|
115
|
-
ListAllowedNodeTypeUpdatesCommandOutput,
|
|
116
|
-
} from "./commands/ListAllowedNodeTypeUpdatesCommand";
|
|
117
|
-
import { ListTagsCommand, ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
118
|
-
import {
|
|
119
|
-
ResetParameterGroupCommand,
|
|
120
|
-
ResetParameterGroupCommandInput,
|
|
121
|
-
ResetParameterGroupCommandOutput,
|
|
122
|
-
} from "./commands/ResetParameterGroupCommand";
|
|
123
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
124
|
-
import {
|
|
125
|
-
UntagResourceCommand,
|
|
126
|
-
UntagResourceCommandInput,
|
|
127
|
-
UntagResourceCommandOutput,
|
|
128
|
-
} from "./commands/UntagResourceCommand";
|
|
129
|
-
import { UpdateACLCommand, UpdateACLCommandInput, UpdateACLCommandOutput } from "./commands/UpdateACLCommand";
|
|
130
|
-
import {
|
|
131
|
-
UpdateClusterCommand,
|
|
132
|
-
UpdateClusterCommandInput,
|
|
133
|
-
UpdateClusterCommandOutput,
|
|
134
|
-
} from "./commands/UpdateClusterCommand";
|
|
135
|
-
import {
|
|
136
|
-
UpdateParameterGroupCommand,
|
|
137
|
-
UpdateParameterGroupCommandInput,
|
|
138
|
-
UpdateParameterGroupCommandOutput,
|
|
139
|
-
} from "./commands/UpdateParameterGroupCommand";
|
|
140
|
-
import {
|
|
141
|
-
UpdateSubnetGroupCommand,
|
|
142
|
-
UpdateSubnetGroupCommandInput,
|
|
143
|
-
UpdateSubnetGroupCommandOutput,
|
|
144
|
-
} from "./commands/UpdateSubnetGroupCommand";
|
|
145
|
-
import { UpdateUserCommand, UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
146
|
-
import { MemoryDBClient } from "./MemoryDBClient";
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* <p>MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.
|
|
150
|
-
*
|
|
151
|
-
* MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.</p>
|
|
152
|
-
*/
|
|
153
|
-
export class MemoryDB extends MemoryDBClient {
|
|
154
|
-
/**
|
|
155
|
-
* <p>Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/managing-updates.html#applying-updates">Applying the service updates</a>.</p>
|
|
156
|
-
*/
|
|
157
|
-
public batchUpdateCluster(
|
|
158
|
-
args: BatchUpdateClusterCommandInput,
|
|
159
|
-
options?: __HttpHandlerOptions
|
|
160
|
-
): Promise<BatchUpdateClusterCommandOutput>;
|
|
161
|
-
public batchUpdateCluster(
|
|
162
|
-
args: BatchUpdateClusterCommandInput,
|
|
163
|
-
cb: (err: any, data?: BatchUpdateClusterCommandOutput) => void
|
|
164
|
-
): void;
|
|
165
|
-
public batchUpdateCluster(
|
|
166
|
-
args: BatchUpdateClusterCommandInput,
|
|
167
|
-
options: __HttpHandlerOptions,
|
|
168
|
-
cb: (err: any, data?: BatchUpdateClusterCommandOutput) => void
|
|
169
|
-
): void;
|
|
170
|
-
public batchUpdateCluster(
|
|
171
|
-
args: BatchUpdateClusterCommandInput,
|
|
172
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchUpdateClusterCommandOutput) => void),
|
|
173
|
-
cb?: (err: any, data?: BatchUpdateClusterCommandOutput) => void
|
|
174
|
-
): Promise<BatchUpdateClusterCommandOutput> | void {
|
|
175
|
-
const command = new BatchUpdateClusterCommand(args);
|
|
176
|
-
if (typeof optionsOrCb === "function") {
|
|
177
|
-
this.send(command, optionsOrCb);
|
|
178
|
-
} else if (typeof cb === "function") {
|
|
179
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
180
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
181
|
-
} else {
|
|
182
|
-
return this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* <p>Makes a copy of an existing snapshot.</p>
|
|
188
|
-
*/
|
|
189
|
-
public copySnapshot(
|
|
190
|
-
args: CopySnapshotCommandInput,
|
|
191
|
-
options?: __HttpHandlerOptions
|
|
192
|
-
): Promise<CopySnapshotCommandOutput>;
|
|
193
|
-
public copySnapshot(args: CopySnapshotCommandInput, cb: (err: any, data?: CopySnapshotCommandOutput) => void): void;
|
|
194
|
-
public copySnapshot(
|
|
195
|
-
args: CopySnapshotCommandInput,
|
|
196
|
-
options: __HttpHandlerOptions,
|
|
197
|
-
cb: (err: any, data?: CopySnapshotCommandOutput) => void
|
|
198
|
-
): void;
|
|
199
|
-
public copySnapshot(
|
|
200
|
-
args: CopySnapshotCommandInput,
|
|
201
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CopySnapshotCommandOutput) => void),
|
|
202
|
-
cb?: (err: any, data?: CopySnapshotCommandOutput) => void
|
|
203
|
-
): Promise<CopySnapshotCommandOutput> | void {
|
|
204
|
-
const command = new CopySnapshotCommand(args);
|
|
205
|
-
if (typeof optionsOrCb === "function") {
|
|
206
|
-
this.send(command, optionsOrCb);
|
|
207
|
-
} else if (typeof cb === "function") {
|
|
208
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
209
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
210
|
-
} else {
|
|
211
|
-
return this.send(command, optionsOrCb);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* <p>Creates an Access Control List. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/clusters.acls.html">Authenticating users with Access Contol Lists (ACLs)</a>.</p>
|
|
217
|
-
*/
|
|
218
|
-
public createACL(args: CreateACLCommandInput, options?: __HttpHandlerOptions): Promise<CreateACLCommandOutput>;
|
|
219
|
-
public createACL(args: CreateACLCommandInput, cb: (err: any, data?: CreateACLCommandOutput) => void): void;
|
|
220
|
-
public createACL(
|
|
221
|
-
args: CreateACLCommandInput,
|
|
222
|
-
options: __HttpHandlerOptions,
|
|
223
|
-
cb: (err: any, data?: CreateACLCommandOutput) => void
|
|
224
|
-
): void;
|
|
225
|
-
public createACL(
|
|
226
|
-
args: CreateACLCommandInput,
|
|
227
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateACLCommandOutput) => void),
|
|
228
|
-
cb?: (err: any, data?: CreateACLCommandOutput) => void
|
|
229
|
-
): Promise<CreateACLCommandOutput> | void {
|
|
230
|
-
const command = new CreateACLCommand(args);
|
|
231
|
-
if (typeof optionsOrCb === "function") {
|
|
232
|
-
this.send(command, optionsOrCb);
|
|
233
|
-
} else if (typeof cb === "function") {
|
|
234
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
235
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
236
|
-
} else {
|
|
237
|
-
return this.send(command, optionsOrCb);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* <p>Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.</p>
|
|
243
|
-
*/
|
|
244
|
-
public createCluster(
|
|
245
|
-
args: CreateClusterCommandInput,
|
|
246
|
-
options?: __HttpHandlerOptions
|
|
247
|
-
): Promise<CreateClusterCommandOutput>;
|
|
248
|
-
public createCluster(
|
|
249
|
-
args: CreateClusterCommandInput,
|
|
250
|
-
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
251
|
-
): void;
|
|
252
|
-
public createCluster(
|
|
253
|
-
args: CreateClusterCommandInput,
|
|
254
|
-
options: __HttpHandlerOptions,
|
|
255
|
-
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
256
|
-
): void;
|
|
257
|
-
public createCluster(
|
|
258
|
-
args: CreateClusterCommandInput,
|
|
259
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateClusterCommandOutput) => void),
|
|
260
|
-
cb?: (err: any, data?: CreateClusterCommandOutput) => void
|
|
261
|
-
): Promise<CreateClusterCommandOutput> | void {
|
|
262
|
-
const command = new CreateClusterCommand(args);
|
|
263
|
-
if (typeof optionsOrCb === "function") {
|
|
264
|
-
this.send(command, optionsOrCb);
|
|
265
|
-
} else if (typeof cb === "function") {
|
|
266
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
267
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
268
|
-
} else {
|
|
269
|
-
return this.send(command, optionsOrCb);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* <p>Creates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For
|
|
275
|
-
* more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/parametergroups.html">Configuring engine parameters using parameter groups</a>.
|
|
276
|
-
*
|
|
277
|
-
* </p>
|
|
278
|
-
*/
|
|
279
|
-
public createParameterGroup(
|
|
280
|
-
args: CreateParameterGroupCommandInput,
|
|
281
|
-
options?: __HttpHandlerOptions
|
|
282
|
-
): Promise<CreateParameterGroupCommandOutput>;
|
|
283
|
-
public createParameterGroup(
|
|
284
|
-
args: CreateParameterGroupCommandInput,
|
|
285
|
-
cb: (err: any, data?: CreateParameterGroupCommandOutput) => void
|
|
286
|
-
): void;
|
|
287
|
-
public createParameterGroup(
|
|
288
|
-
args: CreateParameterGroupCommandInput,
|
|
289
|
-
options: __HttpHandlerOptions,
|
|
290
|
-
cb: (err: any, data?: CreateParameterGroupCommandOutput) => void
|
|
291
|
-
): void;
|
|
292
|
-
public createParameterGroup(
|
|
293
|
-
args: CreateParameterGroupCommandInput,
|
|
294
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateParameterGroupCommandOutput) => void),
|
|
295
|
-
cb?: (err: any, data?: CreateParameterGroupCommandOutput) => void
|
|
296
|
-
): Promise<CreateParameterGroupCommandOutput> | void {
|
|
297
|
-
const command = new CreateParameterGroupCommand(args);
|
|
298
|
-
if (typeof optionsOrCb === "function") {
|
|
299
|
-
this.send(command, optionsOrCb);
|
|
300
|
-
} else if (typeof cb === "function") {
|
|
301
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
302
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
303
|
-
} else {
|
|
304
|
-
return this.send(command, optionsOrCb);
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* <p>Creates a copy of an entire cluster at a specific moment in time.</p>
|
|
310
|
-
*/
|
|
311
|
-
public createSnapshot(
|
|
312
|
-
args: CreateSnapshotCommandInput,
|
|
313
|
-
options?: __HttpHandlerOptions
|
|
314
|
-
): Promise<CreateSnapshotCommandOutput>;
|
|
315
|
-
public createSnapshot(
|
|
316
|
-
args: CreateSnapshotCommandInput,
|
|
317
|
-
cb: (err: any, data?: CreateSnapshotCommandOutput) => void
|
|
318
|
-
): void;
|
|
319
|
-
public createSnapshot(
|
|
320
|
-
args: CreateSnapshotCommandInput,
|
|
321
|
-
options: __HttpHandlerOptions,
|
|
322
|
-
cb: (err: any, data?: CreateSnapshotCommandOutput) => void
|
|
323
|
-
): void;
|
|
324
|
-
public createSnapshot(
|
|
325
|
-
args: CreateSnapshotCommandInput,
|
|
326
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSnapshotCommandOutput) => void),
|
|
327
|
-
cb?: (err: any, data?: CreateSnapshotCommandOutput) => void
|
|
328
|
-
): Promise<CreateSnapshotCommandOutput> | void {
|
|
329
|
-
const command = new CreateSnapshotCommand(args);
|
|
330
|
-
if (typeof optionsOrCb === "function") {
|
|
331
|
-
this.send(command, optionsOrCb);
|
|
332
|
-
} else if (typeof cb === "function") {
|
|
333
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
334
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
335
|
-
} else {
|
|
336
|
-
return this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* <p>Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment.
|
|
342
|
-
*
|
|
343
|
-
* When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes.
|
|
344
|
-
* For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/subnetgroups.html">Subnets and subnet groups</a>.</p>
|
|
345
|
-
*/
|
|
346
|
-
public createSubnetGroup(
|
|
347
|
-
args: CreateSubnetGroupCommandInput,
|
|
348
|
-
options?: __HttpHandlerOptions
|
|
349
|
-
): Promise<CreateSubnetGroupCommandOutput>;
|
|
350
|
-
public createSubnetGroup(
|
|
351
|
-
args: CreateSubnetGroupCommandInput,
|
|
352
|
-
cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void
|
|
353
|
-
): void;
|
|
354
|
-
public createSubnetGroup(
|
|
355
|
-
args: CreateSubnetGroupCommandInput,
|
|
356
|
-
options: __HttpHandlerOptions,
|
|
357
|
-
cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void
|
|
358
|
-
): void;
|
|
359
|
-
public createSubnetGroup(
|
|
360
|
-
args: CreateSubnetGroupCommandInput,
|
|
361
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSubnetGroupCommandOutput) => void),
|
|
362
|
-
cb?: (err: any, data?: CreateSubnetGroupCommandOutput) => void
|
|
363
|
-
): Promise<CreateSubnetGroupCommandOutput> | void {
|
|
364
|
-
const command = new CreateSubnetGroupCommand(args);
|
|
365
|
-
if (typeof optionsOrCb === "function") {
|
|
366
|
-
this.send(command, optionsOrCb);
|
|
367
|
-
} else if (typeof cb === "function") {
|
|
368
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
369
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
370
|
-
} else {
|
|
371
|
-
return this.send(command, optionsOrCb);
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* <p>Creates a MemoryDB user. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/clusters.acls.html">Authenticating users with Access Contol Lists (ACLs)</a>.</p>
|
|
377
|
-
*/
|
|
378
|
-
public createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
|
|
379
|
-
public createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
|
|
380
|
-
public createUser(
|
|
381
|
-
args: CreateUserCommandInput,
|
|
382
|
-
options: __HttpHandlerOptions,
|
|
383
|
-
cb: (err: any, data?: CreateUserCommandOutput) => void
|
|
384
|
-
): void;
|
|
385
|
-
public createUser(
|
|
386
|
-
args: CreateUserCommandInput,
|
|
387
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUserCommandOutput) => void),
|
|
388
|
-
cb?: (err: any, data?: CreateUserCommandOutput) => void
|
|
389
|
-
): Promise<CreateUserCommandOutput> | void {
|
|
390
|
-
const command = new CreateUserCommand(args);
|
|
391
|
-
if (typeof optionsOrCb === "function") {
|
|
392
|
-
this.send(command, optionsOrCb);
|
|
393
|
-
} else if (typeof cb === "function") {
|
|
394
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
395
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
396
|
-
} else {
|
|
397
|
-
return this.send(command, optionsOrCb);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* <p>Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/clusters.acls.html">Authenticating users with Access Contol Lists (ACLs)</a>.</p>
|
|
403
|
-
*/
|
|
404
|
-
public deleteACL(args: DeleteACLCommandInput, options?: __HttpHandlerOptions): Promise<DeleteACLCommandOutput>;
|
|
405
|
-
public deleteACL(args: DeleteACLCommandInput, cb: (err: any, data?: DeleteACLCommandOutput) => void): void;
|
|
406
|
-
public deleteACL(
|
|
407
|
-
args: DeleteACLCommandInput,
|
|
408
|
-
options: __HttpHandlerOptions,
|
|
409
|
-
cb: (err: any, data?: DeleteACLCommandOutput) => void
|
|
410
|
-
): void;
|
|
411
|
-
public deleteACL(
|
|
412
|
-
args: DeleteACLCommandInput,
|
|
413
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteACLCommandOutput) => void),
|
|
414
|
-
cb?: (err: any, data?: DeleteACLCommandOutput) => void
|
|
415
|
-
): Promise<DeleteACLCommandOutput> | void {
|
|
416
|
-
const command = new DeleteACLCommand(args);
|
|
417
|
-
if (typeof optionsOrCb === "function") {
|
|
418
|
-
this.send(command, optionsOrCb);
|
|
419
|
-
} else if (typeof cb === "function") {
|
|
420
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
421
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
422
|
-
} else {
|
|
423
|
-
return this.send(command, optionsOrCb);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* <p>Deletes a cluster. It also deletes all associated nodes and node endpoints</p>
|
|
429
|
-
*/
|
|
430
|
-
public deleteCluster(
|
|
431
|
-
args: DeleteClusterCommandInput,
|
|
432
|
-
options?: __HttpHandlerOptions
|
|
433
|
-
): Promise<DeleteClusterCommandOutput>;
|
|
434
|
-
public deleteCluster(
|
|
435
|
-
args: DeleteClusterCommandInput,
|
|
436
|
-
cb: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
437
|
-
): void;
|
|
438
|
-
public deleteCluster(
|
|
439
|
-
args: DeleteClusterCommandInput,
|
|
440
|
-
options: __HttpHandlerOptions,
|
|
441
|
-
cb: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
442
|
-
): void;
|
|
443
|
-
public deleteCluster(
|
|
444
|
-
args: DeleteClusterCommandInput,
|
|
445
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteClusterCommandOutput) => void),
|
|
446
|
-
cb?: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
447
|
-
): Promise<DeleteClusterCommandOutput> | void {
|
|
448
|
-
const command = new DeleteClusterCommand(args);
|
|
449
|
-
if (typeof optionsOrCb === "function") {
|
|
450
|
-
this.send(command, optionsOrCb);
|
|
451
|
-
} else if (typeof cb === "function") {
|
|
452
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
453
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
454
|
-
} else {
|
|
455
|
-
return this.send(command, optionsOrCb);
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* <p>Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters.
|
|
461
|
-
* You cannot delete the default parameter groups in your account.</p>
|
|
462
|
-
*/
|
|
463
|
-
public deleteParameterGroup(
|
|
464
|
-
args: DeleteParameterGroupCommandInput,
|
|
465
|
-
options?: __HttpHandlerOptions
|
|
466
|
-
): Promise<DeleteParameterGroupCommandOutput>;
|
|
467
|
-
public deleteParameterGroup(
|
|
468
|
-
args: DeleteParameterGroupCommandInput,
|
|
469
|
-
cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void
|
|
470
|
-
): void;
|
|
471
|
-
public deleteParameterGroup(
|
|
472
|
-
args: DeleteParameterGroupCommandInput,
|
|
473
|
-
options: __HttpHandlerOptions,
|
|
474
|
-
cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void
|
|
475
|
-
): void;
|
|
476
|
-
public deleteParameterGroup(
|
|
477
|
-
args: DeleteParameterGroupCommandInput,
|
|
478
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteParameterGroupCommandOutput) => void),
|
|
479
|
-
cb?: (err: any, data?: DeleteParameterGroupCommandOutput) => void
|
|
480
|
-
): Promise<DeleteParameterGroupCommandOutput> | void {
|
|
481
|
-
const command = new DeleteParameterGroupCommand(args);
|
|
482
|
-
if (typeof optionsOrCb === "function") {
|
|
483
|
-
this.send(command, optionsOrCb);
|
|
484
|
-
} else if (typeof cb === "function") {
|
|
485
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
486
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
487
|
-
} else {
|
|
488
|
-
return this.send(command, optionsOrCb);
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
* <p>Deletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.</p>
|
|
494
|
-
*/
|
|
495
|
-
public deleteSnapshot(
|
|
496
|
-
args: DeleteSnapshotCommandInput,
|
|
497
|
-
options?: __HttpHandlerOptions
|
|
498
|
-
): Promise<DeleteSnapshotCommandOutput>;
|
|
499
|
-
public deleteSnapshot(
|
|
500
|
-
args: DeleteSnapshotCommandInput,
|
|
501
|
-
cb: (err: any, data?: DeleteSnapshotCommandOutput) => void
|
|
502
|
-
): void;
|
|
503
|
-
public deleteSnapshot(
|
|
504
|
-
args: DeleteSnapshotCommandInput,
|
|
505
|
-
options: __HttpHandlerOptions,
|
|
506
|
-
cb: (err: any, data?: DeleteSnapshotCommandOutput) => void
|
|
507
|
-
): void;
|
|
508
|
-
public deleteSnapshot(
|
|
509
|
-
args: DeleteSnapshotCommandInput,
|
|
510
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSnapshotCommandOutput) => void),
|
|
511
|
-
cb?: (err: any, data?: DeleteSnapshotCommandOutput) => void
|
|
512
|
-
): Promise<DeleteSnapshotCommandOutput> | void {
|
|
513
|
-
const command = new DeleteSnapshotCommand(args);
|
|
514
|
-
if (typeof optionsOrCb === "function") {
|
|
515
|
-
this.send(command, optionsOrCb);
|
|
516
|
-
} else if (typeof cb === "function") {
|
|
517
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
518
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
519
|
-
} else {
|
|
520
|
-
return this.send(command, optionsOrCb);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* <p>Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.</p>
|
|
526
|
-
*/
|
|
527
|
-
public deleteSubnetGroup(
|
|
528
|
-
args: DeleteSubnetGroupCommandInput,
|
|
529
|
-
options?: __HttpHandlerOptions
|
|
530
|
-
): Promise<DeleteSubnetGroupCommandOutput>;
|
|
531
|
-
public deleteSubnetGroup(
|
|
532
|
-
args: DeleteSubnetGroupCommandInput,
|
|
533
|
-
cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void
|
|
534
|
-
): void;
|
|
535
|
-
public deleteSubnetGroup(
|
|
536
|
-
args: DeleteSubnetGroupCommandInput,
|
|
537
|
-
options: __HttpHandlerOptions,
|
|
538
|
-
cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void
|
|
539
|
-
): void;
|
|
540
|
-
public deleteSubnetGroup(
|
|
541
|
-
args: DeleteSubnetGroupCommandInput,
|
|
542
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSubnetGroupCommandOutput) => void),
|
|
543
|
-
cb?: (err: any, data?: DeleteSubnetGroupCommandOutput) => void
|
|
544
|
-
): Promise<DeleteSubnetGroupCommandOutput> | void {
|
|
545
|
-
const command = new DeleteSubnetGroupCommand(args);
|
|
546
|
-
if (typeof optionsOrCb === "function") {
|
|
547
|
-
this.send(command, optionsOrCb);
|
|
548
|
-
} else if (typeof cb === "function") {
|
|
549
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
550
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
551
|
-
} else {
|
|
552
|
-
return this.send(command, optionsOrCb);
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* <p>Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.</p>
|
|
558
|
-
*/
|
|
559
|
-
public deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
|
|
560
|
-
public deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
|
|
561
|
-
public deleteUser(
|
|
562
|
-
args: DeleteUserCommandInput,
|
|
563
|
-
options: __HttpHandlerOptions,
|
|
564
|
-
cb: (err: any, data?: DeleteUserCommandOutput) => void
|
|
565
|
-
): void;
|
|
566
|
-
public deleteUser(
|
|
567
|
-
args: DeleteUserCommandInput,
|
|
568
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserCommandOutput) => void),
|
|
569
|
-
cb?: (err: any, data?: DeleteUserCommandOutput) => void
|
|
570
|
-
): Promise<DeleteUserCommandOutput> | void {
|
|
571
|
-
const command = new DeleteUserCommand(args);
|
|
572
|
-
if (typeof optionsOrCb === "function") {
|
|
573
|
-
this.send(command, optionsOrCb);
|
|
574
|
-
} else if (typeof cb === "function") {
|
|
575
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
576
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
577
|
-
} else {
|
|
578
|
-
return this.send(command, optionsOrCb);
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* <p>Returns a list of ACLs</p>
|
|
584
|
-
*/
|
|
585
|
-
public describeACLs(
|
|
586
|
-
args: DescribeACLsCommandInput,
|
|
587
|
-
options?: __HttpHandlerOptions
|
|
588
|
-
): Promise<DescribeACLsCommandOutput>;
|
|
589
|
-
public describeACLs(args: DescribeACLsCommandInput, cb: (err: any, data?: DescribeACLsCommandOutput) => void): void;
|
|
590
|
-
public describeACLs(
|
|
591
|
-
args: DescribeACLsCommandInput,
|
|
592
|
-
options: __HttpHandlerOptions,
|
|
593
|
-
cb: (err: any, data?: DescribeACLsCommandOutput) => void
|
|
594
|
-
): void;
|
|
595
|
-
public describeACLs(
|
|
596
|
-
args: DescribeACLsCommandInput,
|
|
597
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeACLsCommandOutput) => void),
|
|
598
|
-
cb?: (err: any, data?: DescribeACLsCommandOutput) => void
|
|
599
|
-
): Promise<DescribeACLsCommandOutput> | void {
|
|
600
|
-
const command = new DescribeACLsCommand(args);
|
|
601
|
-
if (typeof optionsOrCb === "function") {
|
|
602
|
-
this.send(command, optionsOrCb);
|
|
603
|
-
} else if (typeof cb === "function") {
|
|
604
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
605
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
606
|
-
} else {
|
|
607
|
-
return this.send(command, optionsOrCb);
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* <p>Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.</p>
|
|
613
|
-
*/
|
|
614
|
-
public describeClusters(
|
|
615
|
-
args: DescribeClustersCommandInput,
|
|
616
|
-
options?: __HttpHandlerOptions
|
|
617
|
-
): Promise<DescribeClustersCommandOutput>;
|
|
618
|
-
public describeClusters(
|
|
619
|
-
args: DescribeClustersCommandInput,
|
|
620
|
-
cb: (err: any, data?: DescribeClustersCommandOutput) => void
|
|
621
|
-
): void;
|
|
622
|
-
public describeClusters(
|
|
623
|
-
args: DescribeClustersCommandInput,
|
|
624
|
-
options: __HttpHandlerOptions,
|
|
625
|
-
cb: (err: any, data?: DescribeClustersCommandOutput) => void
|
|
626
|
-
): void;
|
|
627
|
-
public describeClusters(
|
|
628
|
-
args: DescribeClustersCommandInput,
|
|
629
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeClustersCommandOutput) => void),
|
|
630
|
-
cb?: (err: any, data?: DescribeClustersCommandOutput) => void
|
|
631
|
-
): Promise<DescribeClustersCommandOutput> | void {
|
|
632
|
-
const command = new DescribeClustersCommand(args);
|
|
633
|
-
if (typeof optionsOrCb === "function") {
|
|
634
|
-
this.send(command, optionsOrCb);
|
|
635
|
-
} else if (typeof cb === "function") {
|
|
636
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
637
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
638
|
-
} else {
|
|
639
|
-
return this.send(command, optionsOrCb);
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* <p>Returns a list of the available Redis engine versions.</p>
|
|
645
|
-
*/
|
|
646
|
-
public describeEngineVersions(
|
|
647
|
-
args: DescribeEngineVersionsCommandInput,
|
|
648
|
-
options?: __HttpHandlerOptions
|
|
649
|
-
): Promise<DescribeEngineVersionsCommandOutput>;
|
|
650
|
-
public describeEngineVersions(
|
|
651
|
-
args: DescribeEngineVersionsCommandInput,
|
|
652
|
-
cb: (err: any, data?: DescribeEngineVersionsCommandOutput) => void
|
|
653
|
-
): void;
|
|
654
|
-
public describeEngineVersions(
|
|
655
|
-
args: DescribeEngineVersionsCommandInput,
|
|
656
|
-
options: __HttpHandlerOptions,
|
|
657
|
-
cb: (err: any, data?: DescribeEngineVersionsCommandOutput) => void
|
|
658
|
-
): void;
|
|
659
|
-
public describeEngineVersions(
|
|
660
|
-
args: DescribeEngineVersionsCommandInput,
|
|
661
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEngineVersionsCommandOutput) => void),
|
|
662
|
-
cb?: (err: any, data?: DescribeEngineVersionsCommandOutput) => void
|
|
663
|
-
): Promise<DescribeEngineVersionsCommandOutput> | void {
|
|
664
|
-
const command = new DescribeEngineVersionsCommand(args);
|
|
665
|
-
if (typeof optionsOrCb === "function") {
|
|
666
|
-
this.send(command, optionsOrCb);
|
|
667
|
-
} else if (typeof cb === "function") {
|
|
668
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
669
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
670
|
-
} else {
|
|
671
|
-
return this.send(command, optionsOrCb);
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
/**
|
|
676
|
-
* <p>Returns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter.
|
|
677
|
-
*
|
|
678
|
-
* By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.</p>
|
|
679
|
-
*/
|
|
680
|
-
public describeEvents(
|
|
681
|
-
args: DescribeEventsCommandInput,
|
|
682
|
-
options?: __HttpHandlerOptions
|
|
683
|
-
): Promise<DescribeEventsCommandOutput>;
|
|
684
|
-
public describeEvents(
|
|
685
|
-
args: DescribeEventsCommandInput,
|
|
686
|
-
cb: (err: any, data?: DescribeEventsCommandOutput) => void
|
|
687
|
-
): void;
|
|
688
|
-
public describeEvents(
|
|
689
|
-
args: DescribeEventsCommandInput,
|
|
690
|
-
options: __HttpHandlerOptions,
|
|
691
|
-
cb: (err: any, data?: DescribeEventsCommandOutput) => void
|
|
692
|
-
): void;
|
|
693
|
-
public describeEvents(
|
|
694
|
-
args: DescribeEventsCommandInput,
|
|
695
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEventsCommandOutput) => void),
|
|
696
|
-
cb?: (err: any, data?: DescribeEventsCommandOutput) => void
|
|
697
|
-
): Promise<DescribeEventsCommandOutput> | void {
|
|
698
|
-
const command = new DescribeEventsCommand(args);
|
|
699
|
-
if (typeof optionsOrCb === "function") {
|
|
700
|
-
this.send(command, optionsOrCb);
|
|
701
|
-
} else if (typeof cb === "function") {
|
|
702
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
703
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
704
|
-
} else {
|
|
705
|
-
return this.send(command, optionsOrCb);
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
* <p>Returns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.</p>
|
|
711
|
-
*/
|
|
712
|
-
public describeParameterGroups(
|
|
713
|
-
args: DescribeParameterGroupsCommandInput,
|
|
714
|
-
options?: __HttpHandlerOptions
|
|
715
|
-
): Promise<DescribeParameterGroupsCommandOutput>;
|
|
716
|
-
public describeParameterGroups(
|
|
717
|
-
args: DescribeParameterGroupsCommandInput,
|
|
718
|
-
cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void
|
|
719
|
-
): void;
|
|
720
|
-
public describeParameterGroups(
|
|
721
|
-
args: DescribeParameterGroupsCommandInput,
|
|
722
|
-
options: __HttpHandlerOptions,
|
|
723
|
-
cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void
|
|
724
|
-
): void;
|
|
725
|
-
public describeParameterGroups(
|
|
726
|
-
args: DescribeParameterGroupsCommandInput,
|
|
727
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeParameterGroupsCommandOutput) => void),
|
|
728
|
-
cb?: (err: any, data?: DescribeParameterGroupsCommandOutput) => void
|
|
729
|
-
): Promise<DescribeParameterGroupsCommandOutput> | void {
|
|
730
|
-
const command = new DescribeParameterGroupsCommand(args);
|
|
731
|
-
if (typeof optionsOrCb === "function") {
|
|
732
|
-
this.send(command, optionsOrCb);
|
|
733
|
-
} else if (typeof cb === "function") {
|
|
734
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
735
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
736
|
-
} else {
|
|
737
|
-
return this.send(command, optionsOrCb);
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* <p>Returns the detailed parameter list for a particular parameter group.</p>
|
|
743
|
-
*/
|
|
744
|
-
public describeParameters(
|
|
745
|
-
args: DescribeParametersCommandInput,
|
|
746
|
-
options?: __HttpHandlerOptions
|
|
747
|
-
): Promise<DescribeParametersCommandOutput>;
|
|
748
|
-
public describeParameters(
|
|
749
|
-
args: DescribeParametersCommandInput,
|
|
750
|
-
cb: (err: any, data?: DescribeParametersCommandOutput) => void
|
|
751
|
-
): void;
|
|
752
|
-
public describeParameters(
|
|
753
|
-
args: DescribeParametersCommandInput,
|
|
754
|
-
options: __HttpHandlerOptions,
|
|
755
|
-
cb: (err: any, data?: DescribeParametersCommandOutput) => void
|
|
756
|
-
): void;
|
|
757
|
-
public describeParameters(
|
|
758
|
-
args: DescribeParametersCommandInput,
|
|
759
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeParametersCommandOutput) => void),
|
|
760
|
-
cb?: (err: any, data?: DescribeParametersCommandOutput) => void
|
|
761
|
-
): Promise<DescribeParametersCommandOutput> | void {
|
|
762
|
-
const command = new DescribeParametersCommand(args);
|
|
763
|
-
if (typeof optionsOrCb === "function") {
|
|
764
|
-
this.send(command, optionsOrCb);
|
|
765
|
-
} else if (typeof cb === "function") {
|
|
766
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
767
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
768
|
-
} else {
|
|
769
|
-
return this.send(command, optionsOrCb);
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
* <p>Returns details of the service updates</p>
|
|
775
|
-
*/
|
|
776
|
-
public describeServiceUpdates(
|
|
777
|
-
args: DescribeServiceUpdatesCommandInput,
|
|
778
|
-
options?: __HttpHandlerOptions
|
|
779
|
-
): Promise<DescribeServiceUpdatesCommandOutput>;
|
|
780
|
-
public describeServiceUpdates(
|
|
781
|
-
args: DescribeServiceUpdatesCommandInput,
|
|
782
|
-
cb: (err: any, data?: DescribeServiceUpdatesCommandOutput) => void
|
|
783
|
-
): void;
|
|
784
|
-
public describeServiceUpdates(
|
|
785
|
-
args: DescribeServiceUpdatesCommandInput,
|
|
786
|
-
options: __HttpHandlerOptions,
|
|
787
|
-
cb: (err: any, data?: DescribeServiceUpdatesCommandOutput) => void
|
|
788
|
-
): void;
|
|
789
|
-
public describeServiceUpdates(
|
|
790
|
-
args: DescribeServiceUpdatesCommandInput,
|
|
791
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeServiceUpdatesCommandOutput) => void),
|
|
792
|
-
cb?: (err: any, data?: DescribeServiceUpdatesCommandOutput) => void
|
|
793
|
-
): Promise<DescribeServiceUpdatesCommandOutput> | void {
|
|
794
|
-
const command = new DescribeServiceUpdatesCommand(args);
|
|
795
|
-
if (typeof optionsOrCb === "function") {
|
|
796
|
-
this.send(command, optionsOrCb);
|
|
797
|
-
} else if (typeof cb === "function") {
|
|
798
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
799
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
800
|
-
} else {
|
|
801
|
-
return this.send(command, optionsOrCb);
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
/**
|
|
806
|
-
* <p>Returns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot,
|
|
807
|
-
* or just the snapshots associated with a particular cluster.</p>
|
|
808
|
-
*/
|
|
809
|
-
public describeSnapshots(
|
|
810
|
-
args: DescribeSnapshotsCommandInput,
|
|
811
|
-
options?: __HttpHandlerOptions
|
|
812
|
-
): Promise<DescribeSnapshotsCommandOutput>;
|
|
813
|
-
public describeSnapshots(
|
|
814
|
-
args: DescribeSnapshotsCommandInput,
|
|
815
|
-
cb: (err: any, data?: DescribeSnapshotsCommandOutput) => void
|
|
816
|
-
): void;
|
|
817
|
-
public describeSnapshots(
|
|
818
|
-
args: DescribeSnapshotsCommandInput,
|
|
819
|
-
options: __HttpHandlerOptions,
|
|
820
|
-
cb: (err: any, data?: DescribeSnapshotsCommandOutput) => void
|
|
821
|
-
): void;
|
|
822
|
-
public describeSnapshots(
|
|
823
|
-
args: DescribeSnapshotsCommandInput,
|
|
824
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSnapshotsCommandOutput) => void),
|
|
825
|
-
cb?: (err: any, data?: DescribeSnapshotsCommandOutput) => void
|
|
826
|
-
): Promise<DescribeSnapshotsCommandOutput> | void {
|
|
827
|
-
const command = new DescribeSnapshotsCommand(args);
|
|
828
|
-
if (typeof optionsOrCb === "function") {
|
|
829
|
-
this.send(command, optionsOrCb);
|
|
830
|
-
} else if (typeof cb === "function") {
|
|
831
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
832
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
833
|
-
} else {
|
|
834
|
-
return this.send(command, optionsOrCb);
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* <p>Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.</p>
|
|
840
|
-
*/
|
|
841
|
-
public describeSubnetGroups(
|
|
842
|
-
args: DescribeSubnetGroupsCommandInput,
|
|
843
|
-
options?: __HttpHandlerOptions
|
|
844
|
-
): Promise<DescribeSubnetGroupsCommandOutput>;
|
|
845
|
-
public describeSubnetGroups(
|
|
846
|
-
args: DescribeSubnetGroupsCommandInput,
|
|
847
|
-
cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void
|
|
848
|
-
): void;
|
|
849
|
-
public describeSubnetGroups(
|
|
850
|
-
args: DescribeSubnetGroupsCommandInput,
|
|
851
|
-
options: __HttpHandlerOptions,
|
|
852
|
-
cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void
|
|
853
|
-
): void;
|
|
854
|
-
public describeSubnetGroups(
|
|
855
|
-
args: DescribeSubnetGroupsCommandInput,
|
|
856
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSubnetGroupsCommandOutput) => void),
|
|
857
|
-
cb?: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void
|
|
858
|
-
): Promise<DescribeSubnetGroupsCommandOutput> | void {
|
|
859
|
-
const command = new DescribeSubnetGroupsCommand(args);
|
|
860
|
-
if (typeof optionsOrCb === "function") {
|
|
861
|
-
this.send(command, optionsOrCb);
|
|
862
|
-
} else if (typeof cb === "function") {
|
|
863
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
864
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
865
|
-
} else {
|
|
866
|
-
return this.send(command, optionsOrCb);
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* <p>Returns a list of users.</p>
|
|
872
|
-
*/
|
|
873
|
-
public describeUsers(
|
|
874
|
-
args: DescribeUsersCommandInput,
|
|
875
|
-
options?: __HttpHandlerOptions
|
|
876
|
-
): Promise<DescribeUsersCommandOutput>;
|
|
877
|
-
public describeUsers(
|
|
878
|
-
args: DescribeUsersCommandInput,
|
|
879
|
-
cb: (err: any, data?: DescribeUsersCommandOutput) => void
|
|
880
|
-
): void;
|
|
881
|
-
public describeUsers(
|
|
882
|
-
args: DescribeUsersCommandInput,
|
|
883
|
-
options: __HttpHandlerOptions,
|
|
884
|
-
cb: (err: any, data?: DescribeUsersCommandOutput) => void
|
|
885
|
-
): void;
|
|
886
|
-
public describeUsers(
|
|
887
|
-
args: DescribeUsersCommandInput,
|
|
888
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUsersCommandOutput) => void),
|
|
889
|
-
cb?: (err: any, data?: DescribeUsersCommandOutput) => void
|
|
890
|
-
): Promise<DescribeUsersCommandOutput> | void {
|
|
891
|
-
const command = new DescribeUsersCommand(args);
|
|
892
|
-
if (typeof optionsOrCb === "function") {
|
|
893
|
-
this.send(command, optionsOrCb);
|
|
894
|
-
} else if (typeof cb === "function") {
|
|
895
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
896
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
897
|
-
} else {
|
|
898
|
-
return this.send(command, optionsOrCb);
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
/**
|
|
903
|
-
* <p>Used to failover a shard</p>
|
|
904
|
-
*/
|
|
905
|
-
public failoverShard(
|
|
906
|
-
args: FailoverShardCommandInput,
|
|
907
|
-
options?: __HttpHandlerOptions
|
|
908
|
-
): Promise<FailoverShardCommandOutput>;
|
|
909
|
-
public failoverShard(
|
|
910
|
-
args: FailoverShardCommandInput,
|
|
911
|
-
cb: (err: any, data?: FailoverShardCommandOutput) => void
|
|
912
|
-
): void;
|
|
913
|
-
public failoverShard(
|
|
914
|
-
args: FailoverShardCommandInput,
|
|
915
|
-
options: __HttpHandlerOptions,
|
|
916
|
-
cb: (err: any, data?: FailoverShardCommandOutput) => void
|
|
917
|
-
): void;
|
|
918
|
-
public failoverShard(
|
|
919
|
-
args: FailoverShardCommandInput,
|
|
920
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: FailoverShardCommandOutput) => void),
|
|
921
|
-
cb?: (err: any, data?: FailoverShardCommandOutput) => void
|
|
922
|
-
): Promise<FailoverShardCommandOutput> | void {
|
|
923
|
-
const command = new FailoverShardCommand(args);
|
|
924
|
-
if (typeof optionsOrCb === "function") {
|
|
925
|
-
this.send(command, optionsOrCb);
|
|
926
|
-
} else if (typeof cb === "function") {
|
|
927
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
928
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
929
|
-
} else {
|
|
930
|
-
return this.send(command, optionsOrCb);
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
/**
|
|
935
|
-
* <p>Lists all available node types that you can scale to from your cluster's current node type.
|
|
936
|
-
*
|
|
937
|
-
* When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.</p>
|
|
938
|
-
*/
|
|
939
|
-
public listAllowedNodeTypeUpdates(
|
|
940
|
-
args: ListAllowedNodeTypeUpdatesCommandInput,
|
|
941
|
-
options?: __HttpHandlerOptions
|
|
942
|
-
): Promise<ListAllowedNodeTypeUpdatesCommandOutput>;
|
|
943
|
-
public listAllowedNodeTypeUpdates(
|
|
944
|
-
args: ListAllowedNodeTypeUpdatesCommandInput,
|
|
945
|
-
cb: (err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void
|
|
946
|
-
): void;
|
|
947
|
-
public listAllowedNodeTypeUpdates(
|
|
948
|
-
args: ListAllowedNodeTypeUpdatesCommandInput,
|
|
949
|
-
options: __HttpHandlerOptions,
|
|
950
|
-
cb: (err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void
|
|
951
|
-
): void;
|
|
952
|
-
public listAllowedNodeTypeUpdates(
|
|
953
|
-
args: ListAllowedNodeTypeUpdatesCommandInput,
|
|
954
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void),
|
|
955
|
-
cb?: (err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void
|
|
956
|
-
): Promise<ListAllowedNodeTypeUpdatesCommandOutput> | void {
|
|
957
|
-
const command = new ListAllowedNodeTypeUpdatesCommand(args);
|
|
958
|
-
if (typeof optionsOrCb === "function") {
|
|
959
|
-
this.send(command, optionsOrCb);
|
|
960
|
-
} else if (typeof cb === "function") {
|
|
961
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
962
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
963
|
-
} else {
|
|
964
|
-
return this.send(command, optionsOrCb);
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
/**
|
|
969
|
-
* <p>Lists all tags currently on a named resource.
|
|
970
|
-
*
|
|
971
|
-
* A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources.
|
|
972
|
-
* For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/Tagging-Resources.html">Tagging your MemoryDB resources</a>
|
|
973
|
-
* </p>
|
|
974
|
-
*/
|
|
975
|
-
public listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
|
|
976
|
-
public listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
977
|
-
public listTags(
|
|
978
|
-
args: ListTagsCommandInput,
|
|
979
|
-
options: __HttpHandlerOptions,
|
|
980
|
-
cb: (err: any, data?: ListTagsCommandOutput) => void
|
|
981
|
-
): void;
|
|
982
|
-
public listTags(
|
|
983
|
-
args: ListTagsCommandInput,
|
|
984
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsCommandOutput) => void),
|
|
985
|
-
cb?: (err: any, data?: ListTagsCommandOutput) => void
|
|
986
|
-
): Promise<ListTagsCommandOutput> | void {
|
|
987
|
-
const command = new ListTagsCommand(args);
|
|
988
|
-
if (typeof optionsOrCb === "function") {
|
|
989
|
-
this.send(command, optionsOrCb);
|
|
990
|
-
} else if (typeof cb === "function") {
|
|
991
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
992
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
993
|
-
} else {
|
|
994
|
-
return this.send(command, optionsOrCb);
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* <p>Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.</p>
|
|
1000
|
-
*/
|
|
1001
|
-
public resetParameterGroup(
|
|
1002
|
-
args: ResetParameterGroupCommandInput,
|
|
1003
|
-
options?: __HttpHandlerOptions
|
|
1004
|
-
): Promise<ResetParameterGroupCommandOutput>;
|
|
1005
|
-
public resetParameterGroup(
|
|
1006
|
-
args: ResetParameterGroupCommandInput,
|
|
1007
|
-
cb: (err: any, data?: ResetParameterGroupCommandOutput) => void
|
|
1008
|
-
): void;
|
|
1009
|
-
public resetParameterGroup(
|
|
1010
|
-
args: ResetParameterGroupCommandInput,
|
|
1011
|
-
options: __HttpHandlerOptions,
|
|
1012
|
-
cb: (err: any, data?: ResetParameterGroupCommandOutput) => void
|
|
1013
|
-
): void;
|
|
1014
|
-
public resetParameterGroup(
|
|
1015
|
-
args: ResetParameterGroupCommandInput,
|
|
1016
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResetParameterGroupCommandOutput) => void),
|
|
1017
|
-
cb?: (err: any, data?: ResetParameterGroupCommandOutput) => void
|
|
1018
|
-
): Promise<ResetParameterGroupCommandOutput> | void {
|
|
1019
|
-
const command = new ResetParameterGroupCommand(args);
|
|
1020
|
-
if (typeof optionsOrCb === "function") {
|
|
1021
|
-
this.send(command, optionsOrCb);
|
|
1022
|
-
} else if (typeof cb === "function") {
|
|
1023
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1024
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1025
|
-
} else {
|
|
1026
|
-
return this.send(command, optionsOrCb);
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
/**
|
|
1031
|
-
* <p>A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources.
|
|
1032
|
-
*
|
|
1033
|
-
* When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see
|
|
1034
|
-
*
|
|
1035
|
-
* <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/iam.resourcelevelpermissions.html">Resource-level permissions</a>.</p>
|
|
1036
|
-
*
|
|
1037
|
-
* <p>For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value
|
|
1038
|
-
* (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories
|
|
1039
|
-
* (such as cost centers, application names, or owners) to organize your costs across multiple services.
|
|
1040
|
-
*
|
|
1041
|
-
* For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/tagging.html">Using Cost Allocation Tags</a>.</p>
|
|
1042
|
-
*/
|
|
1043
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1044
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1045
|
-
public tagResource(
|
|
1046
|
-
args: TagResourceCommandInput,
|
|
1047
|
-
options: __HttpHandlerOptions,
|
|
1048
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1049
|
-
): void;
|
|
1050
|
-
public tagResource(
|
|
1051
|
-
args: TagResourceCommandInput,
|
|
1052
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1053
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1054
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1055
|
-
const command = new TagResourceCommand(args);
|
|
1056
|
-
if (typeof optionsOrCb === "function") {
|
|
1057
|
-
this.send(command, optionsOrCb);
|
|
1058
|
-
} else if (typeof cb === "function") {
|
|
1059
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1060
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1061
|
-
} else {
|
|
1062
|
-
return this.send(command, optionsOrCb);
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* <p>Use this operation to remove tags on a resource</p>
|
|
1068
|
-
*/
|
|
1069
|
-
public untagResource(
|
|
1070
|
-
args: UntagResourceCommandInput,
|
|
1071
|
-
options?: __HttpHandlerOptions
|
|
1072
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1073
|
-
public untagResource(
|
|
1074
|
-
args: UntagResourceCommandInput,
|
|
1075
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1076
|
-
): void;
|
|
1077
|
-
public untagResource(
|
|
1078
|
-
args: UntagResourceCommandInput,
|
|
1079
|
-
options: __HttpHandlerOptions,
|
|
1080
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1081
|
-
): void;
|
|
1082
|
-
public untagResource(
|
|
1083
|
-
args: UntagResourceCommandInput,
|
|
1084
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1085
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1086
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1087
|
-
const command = new UntagResourceCommand(args);
|
|
1088
|
-
if (typeof optionsOrCb === "function") {
|
|
1089
|
-
this.send(command, optionsOrCb);
|
|
1090
|
-
} else if (typeof cb === "function") {
|
|
1091
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1092
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1093
|
-
} else {
|
|
1094
|
-
return this.send(command, optionsOrCb);
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* <p>Changes the list of users that belong to the Access Control List.</p>
|
|
1100
|
-
*/
|
|
1101
|
-
public updateACL(args: UpdateACLCommandInput, options?: __HttpHandlerOptions): Promise<UpdateACLCommandOutput>;
|
|
1102
|
-
public updateACL(args: UpdateACLCommandInput, cb: (err: any, data?: UpdateACLCommandOutput) => void): void;
|
|
1103
|
-
public updateACL(
|
|
1104
|
-
args: UpdateACLCommandInput,
|
|
1105
|
-
options: __HttpHandlerOptions,
|
|
1106
|
-
cb: (err: any, data?: UpdateACLCommandOutput) => void
|
|
1107
|
-
): void;
|
|
1108
|
-
public updateACL(
|
|
1109
|
-
args: UpdateACLCommandInput,
|
|
1110
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateACLCommandOutput) => void),
|
|
1111
|
-
cb?: (err: any, data?: UpdateACLCommandOutput) => void
|
|
1112
|
-
): Promise<UpdateACLCommandOutput> | void {
|
|
1113
|
-
const command = new UpdateACLCommand(args);
|
|
1114
|
-
if (typeof optionsOrCb === "function") {
|
|
1115
|
-
this.send(command, optionsOrCb);
|
|
1116
|
-
} else if (typeof cb === "function") {
|
|
1117
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1118
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1119
|
-
} else {
|
|
1120
|
-
return this.send(command, optionsOrCb);
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
/**
|
|
1125
|
-
* <p>Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.</p>
|
|
1126
|
-
*/
|
|
1127
|
-
public updateCluster(
|
|
1128
|
-
args: UpdateClusterCommandInput,
|
|
1129
|
-
options?: __HttpHandlerOptions
|
|
1130
|
-
): Promise<UpdateClusterCommandOutput>;
|
|
1131
|
-
public updateCluster(
|
|
1132
|
-
args: UpdateClusterCommandInput,
|
|
1133
|
-
cb: (err: any, data?: UpdateClusterCommandOutput) => void
|
|
1134
|
-
): void;
|
|
1135
|
-
public updateCluster(
|
|
1136
|
-
args: UpdateClusterCommandInput,
|
|
1137
|
-
options: __HttpHandlerOptions,
|
|
1138
|
-
cb: (err: any, data?: UpdateClusterCommandOutput) => void
|
|
1139
|
-
): void;
|
|
1140
|
-
public updateCluster(
|
|
1141
|
-
args: UpdateClusterCommandInput,
|
|
1142
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateClusterCommandOutput) => void),
|
|
1143
|
-
cb?: (err: any, data?: UpdateClusterCommandOutput) => void
|
|
1144
|
-
): Promise<UpdateClusterCommandOutput> | void {
|
|
1145
|
-
const command = new UpdateClusterCommand(args);
|
|
1146
|
-
if (typeof optionsOrCb === "function") {
|
|
1147
|
-
this.send(command, optionsOrCb);
|
|
1148
|
-
} else if (typeof cb === "function") {
|
|
1149
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1150
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1151
|
-
} else {
|
|
1152
|
-
return this.send(command, optionsOrCb);
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
/**
|
|
1157
|
-
* <p>Updates the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.</p>
|
|
1158
|
-
*/
|
|
1159
|
-
public updateParameterGroup(
|
|
1160
|
-
args: UpdateParameterGroupCommandInput,
|
|
1161
|
-
options?: __HttpHandlerOptions
|
|
1162
|
-
): Promise<UpdateParameterGroupCommandOutput>;
|
|
1163
|
-
public updateParameterGroup(
|
|
1164
|
-
args: UpdateParameterGroupCommandInput,
|
|
1165
|
-
cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void
|
|
1166
|
-
): void;
|
|
1167
|
-
public updateParameterGroup(
|
|
1168
|
-
args: UpdateParameterGroupCommandInput,
|
|
1169
|
-
options: __HttpHandlerOptions,
|
|
1170
|
-
cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void
|
|
1171
|
-
): void;
|
|
1172
|
-
public updateParameterGroup(
|
|
1173
|
-
args: UpdateParameterGroupCommandInput,
|
|
1174
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateParameterGroupCommandOutput) => void),
|
|
1175
|
-
cb?: (err: any, data?: UpdateParameterGroupCommandOutput) => void
|
|
1176
|
-
): Promise<UpdateParameterGroupCommandOutput> | void {
|
|
1177
|
-
const command = new UpdateParameterGroupCommand(args);
|
|
1178
|
-
if (typeof optionsOrCb === "function") {
|
|
1179
|
-
this.send(command, optionsOrCb);
|
|
1180
|
-
} else if (typeof cb === "function") {
|
|
1181
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1182
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1183
|
-
} else {
|
|
1184
|
-
return this.send(command, optionsOrCb);
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
/**
|
|
1189
|
-
* <p>Updates a subnet group. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/ubnetGroups.Modifying.html">Updating a subnet group</a>
|
|
1190
|
-
* </p>
|
|
1191
|
-
*/
|
|
1192
|
-
public updateSubnetGroup(
|
|
1193
|
-
args: UpdateSubnetGroupCommandInput,
|
|
1194
|
-
options?: __HttpHandlerOptions
|
|
1195
|
-
): Promise<UpdateSubnetGroupCommandOutput>;
|
|
1196
|
-
public updateSubnetGroup(
|
|
1197
|
-
args: UpdateSubnetGroupCommandInput,
|
|
1198
|
-
cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void
|
|
1199
|
-
): void;
|
|
1200
|
-
public updateSubnetGroup(
|
|
1201
|
-
args: UpdateSubnetGroupCommandInput,
|
|
1202
|
-
options: __HttpHandlerOptions,
|
|
1203
|
-
cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void
|
|
1204
|
-
): void;
|
|
1205
|
-
public updateSubnetGroup(
|
|
1206
|
-
args: UpdateSubnetGroupCommandInput,
|
|
1207
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSubnetGroupCommandOutput) => void),
|
|
1208
|
-
cb?: (err: any, data?: UpdateSubnetGroupCommandOutput) => void
|
|
1209
|
-
): Promise<UpdateSubnetGroupCommandOutput> | void {
|
|
1210
|
-
const command = new UpdateSubnetGroupCommand(args);
|
|
1211
|
-
if (typeof optionsOrCb === "function") {
|
|
1212
|
-
this.send(command, optionsOrCb);
|
|
1213
|
-
} else if (typeof cb === "function") {
|
|
1214
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1215
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1216
|
-
} else {
|
|
1217
|
-
return this.send(command, optionsOrCb);
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
/**
|
|
1222
|
-
* <p>Changes user password(s) and/or access string.</p>
|
|
1223
|
-
*/
|
|
1224
|
-
public updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
|
|
1225
|
-
public updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
|
|
1226
|
-
public updateUser(
|
|
1227
|
-
args: UpdateUserCommandInput,
|
|
1228
|
-
options: __HttpHandlerOptions,
|
|
1229
|
-
cb: (err: any, data?: UpdateUserCommandOutput) => void
|
|
1230
|
-
): void;
|
|
1231
|
-
public updateUser(
|
|
1232
|
-
args: UpdateUserCommandInput,
|
|
1233
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateUserCommandOutput) => void),
|
|
1234
|
-
cb?: (err: any, data?: UpdateUserCommandOutput) => void
|
|
1235
|
-
): Promise<UpdateUserCommandOutput> | void {
|
|
1236
|
-
const command = new UpdateUserCommand(args);
|
|
1237
|
-
if (typeof optionsOrCb === "function") {
|
|
1238
|
-
this.send(command, optionsOrCb);
|
|
1239
|
-
} else if (typeof cb === "function") {
|
|
1240
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1241
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1242
|
-
} else {
|
|
1243
|
-
return this.send(command, optionsOrCb);
|
|
1244
|
-
}
|
|
1245
|
-
}
|
|
1246
|
-
}
|