@volcengine/mongodb 1.0.1 → 1.0.2
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/package.json +6 -2
- package/.turbo/turbo-build.log +0 -19
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/rslib.config.ts +0 -26
- package/src/api.ts +0 -932
- package/src/index.ts +0 -14
- package/src/types/account-dbprivilege-for-create-dbaccount-input.ts +0 -34
- package/src/types/account-dbprivilege-for-update-dbaccount-privilege-input.ts +0 -34
- package/src/types/account-for-describe-dbaccounts-output.ts +0 -76
- package/src/types/account-privilege-for-describe-dbaccounts-output.ts +0 -34
- package/src/types/add-tags-to-resource-request.ts +0 -35
- package/src/types/add-tags-to-resource-response.ts +0 -22
- package/src/types/allow-list-for-describe-allow-lists-output.ts +0 -86
- package/src/types/associate-allow-list-request.ts +0 -34
- package/src/types/associate-allow-list-response.ts +0 -22
- package/src/types/associated-instance-for-describe-allow-list-detail-output.ts +0 -46
- package/src/types/backup-for-describe-backups-output.ts +0 -126
- package/src/types/config-server-for-describe-dbinstance-detail-output.ts +0 -90
- package/src/types/config-server-node-spec-for-describe-node-specs-output.ts +0 -58
- package/src/types/create-allow-list-request.ts +0 -68
- package/src/types/create-allow-list-response.ts +0 -28
- package/src/types/create-backup-request.ts +0 -44
- package/src/types/create-backup-response.ts +0 -22
- package/src/types/create-dbaccount-request.ts +0 -59
- package/src/types/create-dbaccount-response.ts +0 -22
- package/src/types/create-dbendpoint-request.ts +0 -76
- package/src/types/create-dbendpoint-response.ts +0 -22
- package/src/types/create-dbinstance-request.ts +0 -232
- package/src/types/create-dbinstance-response.ts +0 -34
- package/src/types/data-for-describe-normal-logs-output.ts +0 -46
- package/src/types/data-for-describe-slow-logs-output.ts +0 -76
- package/src/types/dbaddress-for-describe-dbendpoint-output.ts +0 -76
- package/src/types/dbendpoint-for-describe-dbendpoint-output.ts +0 -93
- package/src/types/dbinstance-for-describe-dbinstance-detail-output.ts +0 -308
- package/src/types/dbinstance-for-describe-dbinstances-output.ts +0 -267
- package/src/types/delete-allow-list-request.ts +0 -28
- package/src/types/delete-allow-list-response.ts +0 -22
- package/src/types/delete-dbaccount-request.ts +0 -40
- package/src/types/delete-dbaccount-response.ts +0 -22
- package/src/types/delete-dbendpoint-request.ts +0 -40
- package/src/types/delete-dbendpoint-response.ts +0 -22
- package/src/types/delete-dbinstance-request.ts +0 -28
- package/src/types/delete-dbinstance-response.ts +0 -22
- package/src/types/describe-allow-list-detail-request.ts +0 -28
- package/src/types/describe-allow-list-detail-response.ts +0 -71
- package/src/types/describe-allow-lists-request.ts +0 -68
- package/src/types/describe-allow-lists-response.ts +0 -35
- package/src/types/describe-availability-zones-request.ts +0 -28
- package/src/types/describe-availability-zones-response.ts +0 -35
- package/src/types/describe-backups-request.ts +0 -97
- package/src/types/describe-backups-response.ts +0 -35
- package/src/types/describe-dbaccounts-request.ts +0 -52
- package/src/types/describe-dbaccounts-response.ts +0 -35
- package/src/types/describe-dbendpoint-request.ts +0 -28
- package/src/types/describe-dbendpoint-response.ts +0 -29
- package/src/types/describe-dbinstance-backup-policy-request.ts +0 -28
- package/src/types/describe-dbinstance-backup-policy-response.ts +0 -52
- package/src/types/describe-dbinstance-backup-urlrequest.ts +0 -34
- package/src/types/describe-dbinstance-backup-urlresponse.ts +0 -58
- package/src/types/describe-dbinstance-detail-request.ts +0 -28
- package/src/types/describe-dbinstance-detail-response.ts +0 -29
- package/src/types/describe-dbinstance-parameters-log-request.ts +0 -52
- package/src/types/describe-dbinstance-parameters-log-response.ts +0 -35
- package/src/types/describe-dbinstance-parameters-request.ts +0 -53
- package/src/types/describe-dbinstance-parameters-response.ts +0 -53
- package/src/types/describe-dbinstance-sslrequest.ts +0 -28
- package/src/types/describe-dbinstance-sslresponse.ts +0 -46
- package/src/types/describe-dbinstances-request.ts +0 -198
- package/src/types/describe-dbinstances-response.ts +0 -35
- package/src/types/describe-node-specs-request.ts +0 -28
- package/src/types/describe-node-specs-response.ts +0 -50
- package/src/types/describe-normal-logs-request.ts +0 -94
- package/src/types/describe-normal-logs-response.ts +0 -47
- package/src/types/describe-recoverable-time-request.ts +0 -28
- package/src/types/describe-recoverable-time-response.ts +0 -29
- package/src/types/describe-regions-request.ts +0 -22
- package/src/types/describe-regions-response.ts +0 -35
- package/src/types/describe-slow-logs-request.ts +0 -86
- package/src/types/describe-slow-logs-response.ts +0 -47
- package/src/types/disassociate-allow-list-request.ts +0 -34
- package/src/types/disassociate-allow-list-response.ts +0 -22
- package/src/types/filter-by-tag-for-describe-dbinstances-input.ts +0 -34
- package/src/types/index.ts +0 -131
- package/src/types/instance-parameter-for-describe-dbinstance-parameters-output.ts +0 -101
- package/src/types/modify-allow-list-request.ts +0 -83
- package/src/types/modify-allow-list-response.ts +0 -22
- package/src/types/modify-dbendpoint-port-request.ts +0 -34
- package/src/types/modify-dbendpoint-port-response.ts +0 -22
- package/src/types/modify-dbendpoint-private-dnsvisibility-request.ts +0 -34
- package/src/types/modify-dbendpoint-private-dnsvisibility-response.ts +0 -22
- package/src/types/modify-dbinstance-backup-policy-request.ts +0 -46
- package/src/types/modify-dbinstance-backup-policy-response.ts +0 -22
- package/src/types/modify-dbinstance-backup-urlrequest.ts +0 -34
- package/src/types/modify-dbinstance-backup-urlresponse.ts +0 -22
- package/src/types/modify-dbinstance-charge-type-request.ts +0 -71
- package/src/types/modify-dbinstance-charge-type-response.ts +0 -34
- package/src/types/modify-dbinstance-name-request.ts +0 -34
- package/src/types/modify-dbinstance-name-response.ts +0 -22
- package/src/types/modify-dbinstance-parameters-request.ts +0 -35
- package/src/types/modify-dbinstance-parameters-response.ts +0 -28
- package/src/types/modify-dbinstance-spec-request.ts +0 -74
- package/src/types/modify-dbinstance-spec-response.ts +0 -34
- package/src/types/modify-dbinstance-sslrequest.ts +0 -45
- package/src/types/modify-dbinstance-sslresponse.ts +0 -22
- package/src/types/modify-multi-dbinstance-parameters-request.ts +0 -35
- package/src/types/modify-multi-dbinstance-parameters-response.ts +0 -22
- package/src/types/mongo-for-describe-dbinstance-detail-output.ts +0 -80
- package/src/types/mongos-node-spec-for-describe-node-specs-output.ts +0 -46
- package/src/types/node-availability-zone-for-create-dbinstance-input.ts +0 -34
- package/src/types/node-availability-zone-for-restore-to-new-instance-input.ts +0 -34
- package/src/types/node-for-describe-dbinstance-detail-output.ts +0 -114
- package/src/types/node-spec-for-describe-node-specs-output.ts +0 -58
- package/src/types/parameter-change-log-for-describe-dbinstance-parameters-log-output.ts +0 -80
- package/src/types/parameter-object-for-modify-multi-dbinstance-parameters-input.ts +0 -53
- package/src/types/parameters-object-for-modify-dbinstance-parameters-input.ts +0 -53
- package/src/types/recoverable-time-info-for-describe-recoverable-time-output.ts +0 -34
- package/src/types/region-for-describe-regions-output.ts +0 -34
- package/src/types/remove-tags-from-resource-request.ts +0 -40
- package/src/types/remove-tags-from-resource-response.ts +0 -22
- package/src/types/reset-dbaccount-request.ts +0 -52
- package/src/types/reset-dbaccount-response.ts +0 -22
- package/src/types/restart-dbinstance-request.ts +0 -28
- package/src/types/restart-dbinstance-response.ts +0 -22
- package/src/types/restore-to-new-instance-request.ts +0 -238
- package/src/types/restore-to-new-instance-response.ts +0 -34
- package/src/types/shard-for-describe-dbinstance-detail-output.ts +0 -35
- package/src/types/shard-node-spec-for-describe-node-specs-output.ts +0 -58
- package/src/types/switch-dbmaster-request.ts +0 -34
- package/src/types/switch-dbmaster-response.ts +0 -22
- package/src/types/tag-filter-for-describe-dbinstances-input.ts +0 -34
- package/src/types/tag-for-add-tags-to-resource-input.ts +0 -34
- package/src/types/tag-for-create-dbinstance-input.ts +0 -34
- package/src/types/tag-for-describe-dbinstance-detail-output.ts +0 -34
- package/src/types/tag-for-describe-dbinstances-output.ts +0 -34
- package/src/types/tag-for-restore-to-new-instance-input.ts +0 -34
- package/src/types/update-dbaccount-privilege-request.ts +0 -53
- package/src/types/update-dbaccount-privilege-response.ts +0 -22
- package/src/types/zone-for-describe-availability-zones-output.ts +0 -34
- package/tsconfig.json +0 -12
package/src/api.ts
DELETED
|
@@ -1,932 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* mongodb
|
|
5
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
-
*
|
|
7
|
-
* OpenAPI spec version: common-version
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
|
|
16
|
-
|
|
17
|
-
import { AddTagsToResourceRequest } from './types/index';
|
|
18
|
-
import { AddTagsToResourceResponse } from './types/index';
|
|
19
|
-
import { AssociateAllowListRequest } from './types/index';
|
|
20
|
-
import { AssociateAllowListResponse } from './types/index';
|
|
21
|
-
import { CreateAllowListRequest } from './types/index';
|
|
22
|
-
import { CreateAllowListResponse } from './types/index';
|
|
23
|
-
import { CreateBackupRequest } from './types/index';
|
|
24
|
-
import { CreateBackupResponse } from './types/index';
|
|
25
|
-
import { CreateDBAccountRequest } from './types/index';
|
|
26
|
-
import { CreateDBAccountResponse } from './types/index';
|
|
27
|
-
import { CreateDBEndpointRequest } from './types/index';
|
|
28
|
-
import { CreateDBEndpointResponse } from './types/index';
|
|
29
|
-
import { CreateDBInstanceRequest } from './types/index';
|
|
30
|
-
import { CreateDBInstanceResponse } from './types/index';
|
|
31
|
-
import { DeleteAllowListRequest } from './types/index';
|
|
32
|
-
import { DeleteAllowListResponse } from './types/index';
|
|
33
|
-
import { DeleteDBAccountRequest } from './types/index';
|
|
34
|
-
import { DeleteDBAccountResponse } from './types/index';
|
|
35
|
-
import { DeleteDBEndpointRequest } from './types/index';
|
|
36
|
-
import { DeleteDBEndpointResponse } from './types/index';
|
|
37
|
-
import { DeleteDBInstanceRequest } from './types/index';
|
|
38
|
-
import { DeleteDBInstanceResponse } from './types/index';
|
|
39
|
-
import { DescribeAllowListDetailRequest } from './types/index';
|
|
40
|
-
import { DescribeAllowListDetailResponse } from './types/index';
|
|
41
|
-
import { DescribeAllowListsRequest } from './types/index';
|
|
42
|
-
import { DescribeAllowListsResponse } from './types/index';
|
|
43
|
-
import { DescribeAvailabilityZonesRequest } from './types/index';
|
|
44
|
-
import { DescribeAvailabilityZonesResponse } from './types/index';
|
|
45
|
-
import { DescribeBackupsRequest } from './types/index';
|
|
46
|
-
import { DescribeBackupsResponse } from './types/index';
|
|
47
|
-
import { DescribeDBAccountsRequest } from './types/index';
|
|
48
|
-
import { DescribeDBAccountsResponse } from './types/index';
|
|
49
|
-
import { DescribeDBEndpointRequest } from './types/index';
|
|
50
|
-
import { DescribeDBEndpointResponse } from './types/index';
|
|
51
|
-
import { DescribeDBInstanceBackupPolicyRequest } from './types/index';
|
|
52
|
-
import { DescribeDBInstanceBackupPolicyResponse } from './types/index';
|
|
53
|
-
import { DescribeDBInstanceBackupURLRequest } from './types/index';
|
|
54
|
-
import { DescribeDBInstanceBackupURLResponse } from './types/index';
|
|
55
|
-
import { DescribeDBInstanceDetailRequest } from './types/index';
|
|
56
|
-
import { DescribeDBInstanceDetailResponse } from './types/index';
|
|
57
|
-
import { DescribeDBInstanceParametersLogRequest } from './types/index';
|
|
58
|
-
import { DescribeDBInstanceParametersLogResponse } from './types/index';
|
|
59
|
-
import { DescribeDBInstanceParametersRequest } from './types/index';
|
|
60
|
-
import { DescribeDBInstanceParametersResponse } from './types/index';
|
|
61
|
-
import { DescribeDBInstanceSSLRequest } from './types/index';
|
|
62
|
-
import { DescribeDBInstanceSSLResponse } from './types/index';
|
|
63
|
-
import { DescribeDBInstancesRequest } from './types/index';
|
|
64
|
-
import { DescribeDBInstancesResponse } from './types/index';
|
|
65
|
-
import { DescribeNodeSpecsRequest } from './types/index';
|
|
66
|
-
import { DescribeNodeSpecsResponse } from './types/index';
|
|
67
|
-
import { DescribeNormalLogsRequest } from './types/index';
|
|
68
|
-
import { DescribeNormalLogsResponse } from './types/index';
|
|
69
|
-
import { DescribeRecoverableTimeRequest } from './types/index';
|
|
70
|
-
import { DescribeRecoverableTimeResponse } from './types/index';
|
|
71
|
-
import { DescribeRegionsRequest } from './types/index';
|
|
72
|
-
import { DescribeRegionsResponse } from './types/index';
|
|
73
|
-
import { DescribeSlowLogsRequest } from './types/index';
|
|
74
|
-
import { DescribeSlowLogsResponse } from './types/index';
|
|
75
|
-
import { DisassociateAllowListRequest } from './types/index';
|
|
76
|
-
import { DisassociateAllowListResponse } from './types/index';
|
|
77
|
-
import { ModifyAllowListRequest } from './types/index';
|
|
78
|
-
import { ModifyAllowListResponse } from './types/index';
|
|
79
|
-
import { ModifyDBEndpointPortRequest } from './types/index';
|
|
80
|
-
import { ModifyDBEndpointPortResponse } from './types/index';
|
|
81
|
-
import { ModifyDBEndpointPrivateDNSVisibilityRequest } from './types/index';
|
|
82
|
-
import { ModifyDBEndpointPrivateDNSVisibilityResponse } from './types/index';
|
|
83
|
-
import { ModifyDBInstanceBackupPolicyRequest } from './types/index';
|
|
84
|
-
import { ModifyDBInstanceBackupPolicyResponse } from './types/index';
|
|
85
|
-
import { ModifyDBInstanceBackupURLRequest } from './types/index';
|
|
86
|
-
import { ModifyDBInstanceBackupURLResponse } from './types/index';
|
|
87
|
-
import { ModifyDBInstanceChargeTypeRequest } from './types/index';
|
|
88
|
-
import { ModifyDBInstanceChargeTypeResponse } from './types/index';
|
|
89
|
-
import { ModifyDBInstanceNameRequest } from './types/index';
|
|
90
|
-
import { ModifyDBInstanceNameResponse } from './types/index';
|
|
91
|
-
import { ModifyDBInstanceParametersRequest } from './types/index';
|
|
92
|
-
import { ModifyDBInstanceParametersResponse } from './types/index';
|
|
93
|
-
import { ModifyDBInstanceSSLRequest } from './types/index';
|
|
94
|
-
import { ModifyDBInstanceSSLResponse } from './types/index';
|
|
95
|
-
import { ModifyDBInstanceSpecRequest } from './types/index';
|
|
96
|
-
import { ModifyDBInstanceSpecResponse } from './types/index';
|
|
97
|
-
import { ModifyMultiDBInstanceParametersRequest } from './types/index';
|
|
98
|
-
import { ModifyMultiDBInstanceParametersResponse } from './types/index';
|
|
99
|
-
import { RemoveTagsFromResourceRequest } from './types/index';
|
|
100
|
-
import { RemoveTagsFromResourceResponse } from './types/index';
|
|
101
|
-
import { ResetDBAccountRequest } from './types/index';
|
|
102
|
-
import { ResetDBAccountResponse } from './types/index';
|
|
103
|
-
import { RestartDBInstanceRequest } from './types/index';
|
|
104
|
-
import { RestartDBInstanceResponse } from './types/index';
|
|
105
|
-
import { RestoreToNewInstanceRequest } from './types/index';
|
|
106
|
-
import { RestoreToNewInstanceResponse } from './types/index';
|
|
107
|
-
import { SwitchDBMasterRequest } from './types/index';
|
|
108
|
-
import { SwitchDBMasterResponse } from './types/index';
|
|
109
|
-
import { UpdateDBAccountPrivilegeRequest } from './types/index';
|
|
110
|
-
import { UpdateDBAccountPrivilegeResponse } from './types/index';
|
|
111
|
-
|
|
112
|
-
// ============================================================================
|
|
113
|
-
// Output Type Definitions
|
|
114
|
-
// ============================================================================
|
|
115
|
-
export type AddTagsToResourceCommandOutput = CommandOutput<AddTagsToResourceResponse>;
|
|
116
|
-
export type AssociateAllowListCommandOutput = CommandOutput<AssociateAllowListResponse>;
|
|
117
|
-
export type CreateAllowListCommandOutput = CommandOutput<CreateAllowListResponse>;
|
|
118
|
-
export type CreateBackupCommandOutput = CommandOutput<CreateBackupResponse>;
|
|
119
|
-
export type CreateDBAccountCommandOutput = CommandOutput<CreateDBAccountResponse>;
|
|
120
|
-
export type CreateDBEndpointCommandOutput = CommandOutput<CreateDBEndpointResponse>;
|
|
121
|
-
export type CreateDBInstanceCommandOutput = CommandOutput<CreateDBInstanceResponse>;
|
|
122
|
-
export type DeleteAllowListCommandOutput = CommandOutput<DeleteAllowListResponse>;
|
|
123
|
-
export type DeleteDBAccountCommandOutput = CommandOutput<DeleteDBAccountResponse>;
|
|
124
|
-
export type DeleteDBEndpointCommandOutput = CommandOutput<DeleteDBEndpointResponse>;
|
|
125
|
-
export type DeleteDBInstanceCommandOutput = CommandOutput<DeleteDBInstanceResponse>;
|
|
126
|
-
export type DescribeAllowListDetailCommandOutput = CommandOutput<DescribeAllowListDetailResponse>;
|
|
127
|
-
export type DescribeAllowListsCommandOutput = CommandOutput<DescribeAllowListsResponse>;
|
|
128
|
-
export type DescribeAvailabilityZonesCommandOutput = CommandOutput<DescribeAvailabilityZonesResponse>;
|
|
129
|
-
export type DescribeBackupsCommandOutput = CommandOutput<DescribeBackupsResponse>;
|
|
130
|
-
export type DescribeDBAccountsCommandOutput = CommandOutput<DescribeDBAccountsResponse>;
|
|
131
|
-
export type DescribeDBEndpointCommandOutput = CommandOutput<DescribeDBEndpointResponse>;
|
|
132
|
-
export type DescribeDBInstanceBackupPolicyCommandOutput = CommandOutput<DescribeDBInstanceBackupPolicyResponse>;
|
|
133
|
-
export type DescribeDBInstanceBackupURLCommandOutput = CommandOutput<DescribeDBInstanceBackupURLResponse>;
|
|
134
|
-
export type DescribeDBInstanceDetailCommandOutput = CommandOutput<DescribeDBInstanceDetailResponse>;
|
|
135
|
-
export type DescribeDBInstanceParametersCommandOutput = CommandOutput<DescribeDBInstanceParametersResponse>;
|
|
136
|
-
export type DescribeDBInstanceParametersLogCommandOutput = CommandOutput<DescribeDBInstanceParametersLogResponse>;
|
|
137
|
-
export type DescribeDBInstanceSSLCommandOutput = CommandOutput<DescribeDBInstanceSSLResponse>;
|
|
138
|
-
export type DescribeDBInstancesCommandOutput = CommandOutput<DescribeDBInstancesResponse>;
|
|
139
|
-
export type DescribeNodeSpecsCommandOutput = CommandOutput<DescribeNodeSpecsResponse>;
|
|
140
|
-
export type DescribeNormalLogsCommandOutput = CommandOutput<DescribeNormalLogsResponse>;
|
|
141
|
-
export type DescribeRecoverableTimeCommandOutput = CommandOutput<DescribeRecoverableTimeResponse>;
|
|
142
|
-
export type DescribeRegionsCommandOutput = CommandOutput<DescribeRegionsResponse>;
|
|
143
|
-
export type DescribeSlowLogsCommandOutput = CommandOutput<DescribeSlowLogsResponse>;
|
|
144
|
-
export type DisassociateAllowListCommandOutput = CommandOutput<DisassociateAllowListResponse>;
|
|
145
|
-
export type ModifyAllowListCommandOutput = CommandOutput<ModifyAllowListResponse>;
|
|
146
|
-
export type ModifyDBEndpointPortCommandOutput = CommandOutput<ModifyDBEndpointPortResponse>;
|
|
147
|
-
export type ModifyDBEndpointPrivateDNSVisibilityCommandOutput = CommandOutput<ModifyDBEndpointPrivateDNSVisibilityResponse>;
|
|
148
|
-
export type ModifyDBInstanceBackupPolicyCommandOutput = CommandOutput<ModifyDBInstanceBackupPolicyResponse>;
|
|
149
|
-
export type ModifyDBInstanceBackupURLCommandOutput = CommandOutput<ModifyDBInstanceBackupURLResponse>;
|
|
150
|
-
export type ModifyDBInstanceChargeTypeCommandOutput = CommandOutput<ModifyDBInstanceChargeTypeResponse>;
|
|
151
|
-
export type ModifyDBInstanceNameCommandOutput = CommandOutput<ModifyDBInstanceNameResponse>;
|
|
152
|
-
export type ModifyDBInstanceParametersCommandOutput = CommandOutput<ModifyDBInstanceParametersResponse>;
|
|
153
|
-
export type ModifyDBInstanceSSLCommandOutput = CommandOutput<ModifyDBInstanceSSLResponse>;
|
|
154
|
-
export type ModifyDBInstanceSpecCommandOutput = CommandOutput<ModifyDBInstanceSpecResponse>;
|
|
155
|
-
export type ModifyMultiDBInstanceParametersCommandOutput = CommandOutput<ModifyMultiDBInstanceParametersResponse>;
|
|
156
|
-
export type RemoveTagsFromResourceCommandOutput = CommandOutput<RemoveTagsFromResourceResponse>;
|
|
157
|
-
export type ResetDBAccountCommandOutput = CommandOutput<ResetDBAccountResponse>;
|
|
158
|
-
export type RestartDBInstanceCommandOutput = CommandOutput<RestartDBInstanceResponse>;
|
|
159
|
-
export type RestoreToNewInstanceCommandOutput = CommandOutput<RestoreToNewInstanceResponse>;
|
|
160
|
-
export type SwitchDBMasterCommandOutput = CommandOutput<SwitchDBMasterResponse>;
|
|
161
|
-
export type UpdateDBAccountPrivilegeCommandOutput = CommandOutput<UpdateDBAccountPrivilegeResponse>;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* MONGODBClient Service Client
|
|
166
|
-
*/
|
|
167
|
-
export class MONGODBClient extends Client {
|
|
168
|
-
constructor(config: ClientConfig = {}) {
|
|
169
|
-
super({
|
|
170
|
-
protocol: 'https',
|
|
171
|
-
region: 'cn-beijing',
|
|
172
|
-
...config,
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Command to AddTagsToResource
|
|
179
|
-
*/
|
|
180
|
-
export class AddTagsToResourceCommand extends Command<
|
|
181
|
-
AddTagsToResourceRequest,
|
|
182
|
-
AddTagsToResourceCommandOutput,
|
|
183
|
-
'AddTagsToResourceCommand'
|
|
184
|
-
> {
|
|
185
|
-
static readonly metaPath = '/AddTagsToResource/2022-01-01/mongodb/post/application_json/';
|
|
186
|
-
|
|
187
|
-
constructor(input: AddTagsToResourceRequest) {
|
|
188
|
-
super(input);
|
|
189
|
-
this.requestConfig = buildRequestConfigFromMetaPath(AddTagsToResourceCommand.metaPath);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
/**
|
|
193
|
-
* Command to AssociateAllowList
|
|
194
|
-
*/
|
|
195
|
-
export class AssociateAllowListCommand extends Command<
|
|
196
|
-
AssociateAllowListRequest,
|
|
197
|
-
AssociateAllowListCommandOutput,
|
|
198
|
-
'AssociateAllowListCommand'
|
|
199
|
-
> {
|
|
200
|
-
static readonly metaPath = '/AssociateAllowList/2022-01-01/mongodb/post/application_json/';
|
|
201
|
-
|
|
202
|
-
constructor(input: AssociateAllowListRequest) {
|
|
203
|
-
super(input);
|
|
204
|
-
this.requestConfig = buildRequestConfigFromMetaPath(AssociateAllowListCommand.metaPath);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* Command to CreateAllowList
|
|
209
|
-
*/
|
|
210
|
-
export class CreateAllowListCommand extends Command<
|
|
211
|
-
CreateAllowListRequest,
|
|
212
|
-
CreateAllowListCommandOutput,
|
|
213
|
-
'CreateAllowListCommand'
|
|
214
|
-
> {
|
|
215
|
-
static readonly metaPath = '/CreateAllowList/2022-01-01/mongodb/post/application_json/';
|
|
216
|
-
|
|
217
|
-
constructor(input: CreateAllowListRequest) {
|
|
218
|
-
super(input);
|
|
219
|
-
this.requestConfig = buildRequestConfigFromMetaPath(CreateAllowListCommand.metaPath);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* Command to CreateBackup
|
|
224
|
-
*/
|
|
225
|
-
export class CreateBackupCommand extends Command<
|
|
226
|
-
CreateBackupRequest,
|
|
227
|
-
CreateBackupCommandOutput,
|
|
228
|
-
'CreateBackupCommand'
|
|
229
|
-
> {
|
|
230
|
-
static readonly metaPath = '/CreateBackup/2022-01-01/mongodb/post/application_json/';
|
|
231
|
-
|
|
232
|
-
constructor(input: CreateBackupRequest) {
|
|
233
|
-
super(input);
|
|
234
|
-
this.requestConfig = buildRequestConfigFromMetaPath(CreateBackupCommand.metaPath);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Command to CreateDBAccount
|
|
239
|
-
*/
|
|
240
|
-
export class CreateDBAccountCommand extends Command<
|
|
241
|
-
CreateDBAccountRequest,
|
|
242
|
-
CreateDBAccountCommandOutput,
|
|
243
|
-
'CreateDBAccountCommand'
|
|
244
|
-
> {
|
|
245
|
-
static readonly metaPath = '/CreateDBAccount/2022-01-01/mongodb/post/application_json/';
|
|
246
|
-
|
|
247
|
-
constructor(input: CreateDBAccountRequest) {
|
|
248
|
-
super(input);
|
|
249
|
-
this.requestConfig = buildRequestConfigFromMetaPath(CreateDBAccountCommand.metaPath);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* Command to CreateDBEndpoint
|
|
254
|
-
*/
|
|
255
|
-
export class CreateDBEndpointCommand extends Command<
|
|
256
|
-
CreateDBEndpointRequest,
|
|
257
|
-
CreateDBEndpointCommandOutput,
|
|
258
|
-
'CreateDBEndpointCommand'
|
|
259
|
-
> {
|
|
260
|
-
static readonly metaPath = '/CreateDBEndpoint/2022-01-01/mongodb/post/application_json/';
|
|
261
|
-
|
|
262
|
-
constructor(input: CreateDBEndpointRequest) {
|
|
263
|
-
super(input);
|
|
264
|
-
this.requestConfig = buildRequestConfigFromMetaPath(CreateDBEndpointCommand.metaPath);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
* Command to CreateDBInstance
|
|
269
|
-
*/
|
|
270
|
-
export class CreateDBInstanceCommand extends Command<
|
|
271
|
-
CreateDBInstanceRequest,
|
|
272
|
-
CreateDBInstanceCommandOutput,
|
|
273
|
-
'CreateDBInstanceCommand'
|
|
274
|
-
> {
|
|
275
|
-
static readonly metaPath = '/CreateDBInstance/2022-01-01/mongodb/post/application_json/';
|
|
276
|
-
|
|
277
|
-
constructor(input: CreateDBInstanceRequest) {
|
|
278
|
-
super(input);
|
|
279
|
-
this.requestConfig = buildRequestConfigFromMetaPath(CreateDBInstanceCommand.metaPath);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* Command to DeleteAllowList
|
|
284
|
-
*/
|
|
285
|
-
export class DeleteAllowListCommand extends Command<
|
|
286
|
-
DeleteAllowListRequest,
|
|
287
|
-
DeleteAllowListCommandOutput,
|
|
288
|
-
'DeleteAllowListCommand'
|
|
289
|
-
> {
|
|
290
|
-
static readonly metaPath = '/DeleteAllowList/2022-01-01/mongodb/post/application_json/';
|
|
291
|
-
|
|
292
|
-
constructor(input: DeleteAllowListRequest) {
|
|
293
|
-
super(input);
|
|
294
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DeleteAllowListCommand.metaPath);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Command to DeleteDBAccount
|
|
299
|
-
*/
|
|
300
|
-
export class DeleteDBAccountCommand extends Command<
|
|
301
|
-
DeleteDBAccountRequest,
|
|
302
|
-
DeleteDBAccountCommandOutput,
|
|
303
|
-
'DeleteDBAccountCommand'
|
|
304
|
-
> {
|
|
305
|
-
static readonly metaPath = '/DeleteDBAccount/2022-01-01/mongodb/post/application_json/';
|
|
306
|
-
|
|
307
|
-
constructor(input: DeleteDBAccountRequest) {
|
|
308
|
-
super(input);
|
|
309
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DeleteDBAccountCommand.metaPath);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
/**
|
|
313
|
-
* Command to DeleteDBEndpoint
|
|
314
|
-
*/
|
|
315
|
-
export class DeleteDBEndpointCommand extends Command<
|
|
316
|
-
DeleteDBEndpointRequest,
|
|
317
|
-
DeleteDBEndpointCommandOutput,
|
|
318
|
-
'DeleteDBEndpointCommand'
|
|
319
|
-
> {
|
|
320
|
-
static readonly metaPath = '/DeleteDBEndpoint/2022-01-01/mongodb/post/application_json/';
|
|
321
|
-
|
|
322
|
-
constructor(input: DeleteDBEndpointRequest) {
|
|
323
|
-
super(input);
|
|
324
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DeleteDBEndpointCommand.metaPath);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Command to DeleteDBInstance
|
|
329
|
-
*/
|
|
330
|
-
export class DeleteDBInstanceCommand extends Command<
|
|
331
|
-
DeleteDBInstanceRequest,
|
|
332
|
-
DeleteDBInstanceCommandOutput,
|
|
333
|
-
'DeleteDBInstanceCommand'
|
|
334
|
-
> {
|
|
335
|
-
static readonly metaPath = '/DeleteDBInstance/2022-01-01/mongodb/post/application_json/';
|
|
336
|
-
|
|
337
|
-
constructor(input: DeleteDBInstanceRequest) {
|
|
338
|
-
super(input);
|
|
339
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DeleteDBInstanceCommand.metaPath);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* Command to DescribeAllowListDetail
|
|
344
|
-
*/
|
|
345
|
-
export class DescribeAllowListDetailCommand extends Command<
|
|
346
|
-
DescribeAllowListDetailRequest,
|
|
347
|
-
DescribeAllowListDetailCommandOutput,
|
|
348
|
-
'DescribeAllowListDetailCommand'
|
|
349
|
-
> {
|
|
350
|
-
static readonly metaPath = '/DescribeAllowListDetail/2022-01-01/mongodb/post/application_json/';
|
|
351
|
-
|
|
352
|
-
constructor(input: DescribeAllowListDetailRequest) {
|
|
353
|
-
super(input);
|
|
354
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeAllowListDetailCommand.metaPath);
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* Command to DescribeAllowLists
|
|
359
|
-
*/
|
|
360
|
-
export class DescribeAllowListsCommand extends Command<
|
|
361
|
-
DescribeAllowListsRequest,
|
|
362
|
-
DescribeAllowListsCommandOutput,
|
|
363
|
-
'DescribeAllowListsCommand'
|
|
364
|
-
> {
|
|
365
|
-
static readonly metaPath = '/DescribeAllowLists/2022-01-01/mongodb/post/application_json/';
|
|
366
|
-
|
|
367
|
-
constructor(input: DescribeAllowListsRequest) {
|
|
368
|
-
super(input);
|
|
369
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeAllowListsCommand.metaPath);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* Command to DescribeAvailabilityZones
|
|
374
|
-
*/
|
|
375
|
-
export class DescribeAvailabilityZonesCommand extends Command<
|
|
376
|
-
DescribeAvailabilityZonesRequest,
|
|
377
|
-
DescribeAvailabilityZonesCommandOutput,
|
|
378
|
-
'DescribeAvailabilityZonesCommand'
|
|
379
|
-
> {
|
|
380
|
-
static readonly metaPath = '/DescribeAvailabilityZones/2022-01-01/mongodb/post/application_json/';
|
|
381
|
-
|
|
382
|
-
constructor(input: DescribeAvailabilityZonesRequest) {
|
|
383
|
-
super(input);
|
|
384
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeAvailabilityZonesCommand.metaPath);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
/**
|
|
388
|
-
* Command to DescribeBackups
|
|
389
|
-
*/
|
|
390
|
-
export class DescribeBackupsCommand extends Command<
|
|
391
|
-
DescribeBackupsRequest,
|
|
392
|
-
DescribeBackupsCommandOutput,
|
|
393
|
-
'DescribeBackupsCommand'
|
|
394
|
-
> {
|
|
395
|
-
static readonly metaPath = '/DescribeBackups/2022-01-01/mongodb/post/application_json/';
|
|
396
|
-
|
|
397
|
-
constructor(input: DescribeBackupsRequest) {
|
|
398
|
-
super(input);
|
|
399
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeBackupsCommand.metaPath);
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
/**
|
|
403
|
-
* Command to DescribeDBAccounts
|
|
404
|
-
*/
|
|
405
|
-
export class DescribeDBAccountsCommand extends Command<
|
|
406
|
-
DescribeDBAccountsRequest,
|
|
407
|
-
DescribeDBAccountsCommandOutput,
|
|
408
|
-
'DescribeDBAccountsCommand'
|
|
409
|
-
> {
|
|
410
|
-
static readonly metaPath = '/DescribeDBAccounts/2022-01-01/mongodb/post/application_json/';
|
|
411
|
-
|
|
412
|
-
constructor(input: DescribeDBAccountsRequest) {
|
|
413
|
-
super(input);
|
|
414
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeDBAccountsCommand.metaPath);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
/**
|
|
418
|
-
* Command to DescribeDBEndpoint
|
|
419
|
-
*/
|
|
420
|
-
export class DescribeDBEndpointCommand extends Command<
|
|
421
|
-
DescribeDBEndpointRequest,
|
|
422
|
-
DescribeDBEndpointCommandOutput,
|
|
423
|
-
'DescribeDBEndpointCommand'
|
|
424
|
-
> {
|
|
425
|
-
static readonly metaPath = '/DescribeDBEndpoint/2022-01-01/mongodb/post/application_json/';
|
|
426
|
-
|
|
427
|
-
constructor(input: DescribeDBEndpointRequest) {
|
|
428
|
-
super(input);
|
|
429
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeDBEndpointCommand.metaPath);
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
* Command to DescribeDBInstanceBackupPolicy
|
|
434
|
-
*/
|
|
435
|
-
export class DescribeDBInstanceBackupPolicyCommand extends Command<
|
|
436
|
-
DescribeDBInstanceBackupPolicyRequest,
|
|
437
|
-
DescribeDBInstanceBackupPolicyCommandOutput,
|
|
438
|
-
'DescribeDBInstanceBackupPolicyCommand'
|
|
439
|
-
> {
|
|
440
|
-
static readonly metaPath = '/DescribeDBInstanceBackupPolicy/2022-01-01/mongodb/post/application_json/';
|
|
441
|
-
|
|
442
|
-
constructor(input: DescribeDBInstanceBackupPolicyRequest) {
|
|
443
|
-
super(input);
|
|
444
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeDBInstanceBackupPolicyCommand.metaPath);
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
/**
|
|
448
|
-
* Command to DescribeDBInstanceBackupURL
|
|
449
|
-
*/
|
|
450
|
-
export class DescribeDBInstanceBackupURLCommand extends Command<
|
|
451
|
-
DescribeDBInstanceBackupURLRequest,
|
|
452
|
-
DescribeDBInstanceBackupURLCommandOutput,
|
|
453
|
-
'DescribeDBInstanceBackupURLCommand'
|
|
454
|
-
> {
|
|
455
|
-
static readonly metaPath = '/DescribeDBInstanceBackupURL/2022-01-01/mongodb/post/application_json/';
|
|
456
|
-
|
|
457
|
-
constructor(input: DescribeDBInstanceBackupURLRequest) {
|
|
458
|
-
super(input);
|
|
459
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeDBInstanceBackupURLCommand.metaPath);
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* Command to DescribeDBInstanceDetail
|
|
464
|
-
*/
|
|
465
|
-
export class DescribeDBInstanceDetailCommand extends Command<
|
|
466
|
-
DescribeDBInstanceDetailRequest,
|
|
467
|
-
DescribeDBInstanceDetailCommandOutput,
|
|
468
|
-
'DescribeDBInstanceDetailCommand'
|
|
469
|
-
> {
|
|
470
|
-
static readonly metaPath = '/DescribeDBInstanceDetail/2022-01-01/mongodb/post/application_json/';
|
|
471
|
-
|
|
472
|
-
constructor(input: DescribeDBInstanceDetailRequest) {
|
|
473
|
-
super(input);
|
|
474
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeDBInstanceDetailCommand.metaPath);
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
/**
|
|
478
|
-
* Command to DescribeDBInstanceParameters
|
|
479
|
-
*/
|
|
480
|
-
export class DescribeDBInstanceParametersCommand extends Command<
|
|
481
|
-
DescribeDBInstanceParametersRequest,
|
|
482
|
-
DescribeDBInstanceParametersCommandOutput,
|
|
483
|
-
'DescribeDBInstanceParametersCommand'
|
|
484
|
-
> {
|
|
485
|
-
static readonly metaPath = '/DescribeDBInstanceParameters/2022-01-01/mongodb/post/application_json/';
|
|
486
|
-
|
|
487
|
-
constructor(input: DescribeDBInstanceParametersRequest) {
|
|
488
|
-
super(input);
|
|
489
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeDBInstanceParametersCommand.metaPath);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
/**
|
|
493
|
-
* Command to DescribeDBInstanceParametersLog
|
|
494
|
-
*/
|
|
495
|
-
export class DescribeDBInstanceParametersLogCommand extends Command<
|
|
496
|
-
DescribeDBInstanceParametersLogRequest,
|
|
497
|
-
DescribeDBInstanceParametersLogCommandOutput,
|
|
498
|
-
'DescribeDBInstanceParametersLogCommand'
|
|
499
|
-
> {
|
|
500
|
-
static readonly metaPath = '/DescribeDBInstanceParametersLog/2022-01-01/mongodb/post/application_json/';
|
|
501
|
-
|
|
502
|
-
constructor(input: DescribeDBInstanceParametersLogRequest) {
|
|
503
|
-
super(input);
|
|
504
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeDBInstanceParametersLogCommand.metaPath);
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
/**
|
|
508
|
-
* Command to DescribeDBInstanceSSL
|
|
509
|
-
*/
|
|
510
|
-
export class DescribeDBInstanceSSLCommand extends Command<
|
|
511
|
-
DescribeDBInstanceSSLRequest,
|
|
512
|
-
DescribeDBInstanceSSLCommandOutput,
|
|
513
|
-
'DescribeDBInstanceSSLCommand'
|
|
514
|
-
> {
|
|
515
|
-
static readonly metaPath = '/DescribeDBInstanceSSL/2022-01-01/mongodb/post/application_json/';
|
|
516
|
-
|
|
517
|
-
constructor(input: DescribeDBInstanceSSLRequest) {
|
|
518
|
-
super(input);
|
|
519
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeDBInstanceSSLCommand.metaPath);
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
/**
|
|
523
|
-
* Command to DescribeDBInstances
|
|
524
|
-
*/
|
|
525
|
-
export class DescribeDBInstancesCommand extends Command<
|
|
526
|
-
DescribeDBInstancesRequest,
|
|
527
|
-
DescribeDBInstancesCommandOutput,
|
|
528
|
-
'DescribeDBInstancesCommand'
|
|
529
|
-
> {
|
|
530
|
-
static readonly metaPath = '/DescribeDBInstances/2022-01-01/mongodb/post/application_json/';
|
|
531
|
-
|
|
532
|
-
constructor(input: DescribeDBInstancesRequest) {
|
|
533
|
-
super(input);
|
|
534
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeDBInstancesCommand.metaPath);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
/**
|
|
538
|
-
* Command to DescribeNodeSpecs
|
|
539
|
-
*/
|
|
540
|
-
export class DescribeNodeSpecsCommand extends Command<
|
|
541
|
-
DescribeNodeSpecsRequest,
|
|
542
|
-
DescribeNodeSpecsCommandOutput,
|
|
543
|
-
'DescribeNodeSpecsCommand'
|
|
544
|
-
> {
|
|
545
|
-
static readonly metaPath = '/DescribeNodeSpecs/2022-01-01/mongodb/post/application_json/';
|
|
546
|
-
|
|
547
|
-
constructor(input: DescribeNodeSpecsRequest) {
|
|
548
|
-
super(input);
|
|
549
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeNodeSpecsCommand.metaPath);
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
/**
|
|
553
|
-
* Command to DescribeNormalLogs
|
|
554
|
-
*/
|
|
555
|
-
export class DescribeNormalLogsCommand extends Command<
|
|
556
|
-
DescribeNormalLogsRequest,
|
|
557
|
-
DescribeNormalLogsCommandOutput,
|
|
558
|
-
'DescribeNormalLogsCommand'
|
|
559
|
-
> {
|
|
560
|
-
static readonly metaPath = '/DescribeNormalLogs/2022-01-01/mongodb/post/application_json/';
|
|
561
|
-
|
|
562
|
-
constructor(input: DescribeNormalLogsRequest) {
|
|
563
|
-
super(input);
|
|
564
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeNormalLogsCommand.metaPath);
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* Command to DescribeRecoverableTime
|
|
569
|
-
*/
|
|
570
|
-
export class DescribeRecoverableTimeCommand extends Command<
|
|
571
|
-
DescribeRecoverableTimeRequest,
|
|
572
|
-
DescribeRecoverableTimeCommandOutput,
|
|
573
|
-
'DescribeRecoverableTimeCommand'
|
|
574
|
-
> {
|
|
575
|
-
static readonly metaPath = '/DescribeRecoverableTime/2022-01-01/mongodb/post/application_json/';
|
|
576
|
-
|
|
577
|
-
constructor(input: DescribeRecoverableTimeRequest) {
|
|
578
|
-
super(input);
|
|
579
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeRecoverableTimeCommand.metaPath);
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
/**
|
|
583
|
-
* Command to DescribeRegions
|
|
584
|
-
*/
|
|
585
|
-
export class DescribeRegionsCommand extends Command<
|
|
586
|
-
DescribeRegionsRequest,
|
|
587
|
-
DescribeRegionsCommandOutput,
|
|
588
|
-
'DescribeRegionsCommand'
|
|
589
|
-
> {
|
|
590
|
-
static readonly metaPath = '/DescribeRegions/2022-01-01/mongodb/post/application_json/';
|
|
591
|
-
|
|
592
|
-
constructor(input: DescribeRegionsRequest) {
|
|
593
|
-
super(input);
|
|
594
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeRegionsCommand.metaPath);
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
/**
|
|
598
|
-
* Command to DescribeSlowLogs
|
|
599
|
-
*/
|
|
600
|
-
export class DescribeSlowLogsCommand extends Command<
|
|
601
|
-
DescribeSlowLogsRequest,
|
|
602
|
-
DescribeSlowLogsCommandOutput,
|
|
603
|
-
'DescribeSlowLogsCommand'
|
|
604
|
-
> {
|
|
605
|
-
static readonly metaPath = '/DescribeSlowLogs/2022-01-01/mongodb/post/application_json/';
|
|
606
|
-
|
|
607
|
-
constructor(input: DescribeSlowLogsRequest) {
|
|
608
|
-
super(input);
|
|
609
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DescribeSlowLogsCommand.metaPath);
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
/**
|
|
613
|
-
* Command to DisassociateAllowList
|
|
614
|
-
*/
|
|
615
|
-
export class DisassociateAllowListCommand extends Command<
|
|
616
|
-
DisassociateAllowListRequest,
|
|
617
|
-
DisassociateAllowListCommandOutput,
|
|
618
|
-
'DisassociateAllowListCommand'
|
|
619
|
-
> {
|
|
620
|
-
static readonly metaPath = '/DisassociateAllowList/2022-01-01/mongodb/post/application_json/';
|
|
621
|
-
|
|
622
|
-
constructor(input: DisassociateAllowListRequest) {
|
|
623
|
-
super(input);
|
|
624
|
-
this.requestConfig = buildRequestConfigFromMetaPath(DisassociateAllowListCommand.metaPath);
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
/**
|
|
628
|
-
* Command to ModifyAllowList
|
|
629
|
-
*/
|
|
630
|
-
export class ModifyAllowListCommand extends Command<
|
|
631
|
-
ModifyAllowListRequest,
|
|
632
|
-
ModifyAllowListCommandOutput,
|
|
633
|
-
'ModifyAllowListCommand'
|
|
634
|
-
> {
|
|
635
|
-
static readonly metaPath = '/ModifyAllowList/2022-01-01/mongodb/post/application_json/';
|
|
636
|
-
|
|
637
|
-
constructor(input: ModifyAllowListRequest) {
|
|
638
|
-
super(input);
|
|
639
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyAllowListCommand.metaPath);
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
/**
|
|
643
|
-
* Command to ModifyDBEndpointPort
|
|
644
|
-
*/
|
|
645
|
-
export class ModifyDBEndpointPortCommand extends Command<
|
|
646
|
-
ModifyDBEndpointPortRequest,
|
|
647
|
-
ModifyDBEndpointPortCommandOutput,
|
|
648
|
-
'ModifyDBEndpointPortCommand'
|
|
649
|
-
> {
|
|
650
|
-
static readonly metaPath = '/ModifyDBEndpointPort/2022-01-01/mongodb/post/application_json/';
|
|
651
|
-
|
|
652
|
-
constructor(input: ModifyDBEndpointPortRequest) {
|
|
653
|
-
super(input);
|
|
654
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyDBEndpointPortCommand.metaPath);
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
/**
|
|
658
|
-
* Command to ModifyDBEndpointPrivateDNSVisibility
|
|
659
|
-
*/
|
|
660
|
-
export class ModifyDBEndpointPrivateDNSVisibilityCommand extends Command<
|
|
661
|
-
ModifyDBEndpointPrivateDNSVisibilityRequest,
|
|
662
|
-
ModifyDBEndpointPrivateDNSVisibilityCommandOutput,
|
|
663
|
-
'ModifyDBEndpointPrivateDNSVisibilityCommand'
|
|
664
|
-
> {
|
|
665
|
-
static readonly metaPath = '/ModifyDBEndpointPrivateDNSVisibility/2022-01-01/mongodb/post/application_json/';
|
|
666
|
-
|
|
667
|
-
constructor(input: ModifyDBEndpointPrivateDNSVisibilityRequest) {
|
|
668
|
-
super(input);
|
|
669
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyDBEndpointPrivateDNSVisibilityCommand.metaPath);
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
/**
|
|
673
|
-
* Command to ModifyDBInstanceBackupPolicy
|
|
674
|
-
*/
|
|
675
|
-
export class ModifyDBInstanceBackupPolicyCommand extends Command<
|
|
676
|
-
ModifyDBInstanceBackupPolicyRequest,
|
|
677
|
-
ModifyDBInstanceBackupPolicyCommandOutput,
|
|
678
|
-
'ModifyDBInstanceBackupPolicyCommand'
|
|
679
|
-
> {
|
|
680
|
-
static readonly metaPath = '/ModifyDBInstanceBackupPolicy/2022-01-01/mongodb/post/application_json/';
|
|
681
|
-
|
|
682
|
-
constructor(input: ModifyDBInstanceBackupPolicyRequest) {
|
|
683
|
-
super(input);
|
|
684
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyDBInstanceBackupPolicyCommand.metaPath);
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
/**
|
|
688
|
-
* Command to ModifyDBInstanceBackupURL
|
|
689
|
-
*/
|
|
690
|
-
export class ModifyDBInstanceBackupURLCommand extends Command<
|
|
691
|
-
ModifyDBInstanceBackupURLRequest,
|
|
692
|
-
ModifyDBInstanceBackupURLCommandOutput,
|
|
693
|
-
'ModifyDBInstanceBackupURLCommand'
|
|
694
|
-
> {
|
|
695
|
-
static readonly metaPath = '/ModifyDBInstanceBackupURL/2022-01-01/mongodb/post/application_json/';
|
|
696
|
-
|
|
697
|
-
constructor(input: ModifyDBInstanceBackupURLRequest) {
|
|
698
|
-
super(input);
|
|
699
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyDBInstanceBackupURLCommand.metaPath);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
/**
|
|
703
|
-
* Command to ModifyDBInstanceChargeType
|
|
704
|
-
*/
|
|
705
|
-
export class ModifyDBInstanceChargeTypeCommand extends Command<
|
|
706
|
-
ModifyDBInstanceChargeTypeRequest,
|
|
707
|
-
ModifyDBInstanceChargeTypeCommandOutput,
|
|
708
|
-
'ModifyDBInstanceChargeTypeCommand'
|
|
709
|
-
> {
|
|
710
|
-
static readonly metaPath = '/ModifyDBInstanceChargeType/2022-01-01/mongodb/post/application_json/';
|
|
711
|
-
|
|
712
|
-
constructor(input: ModifyDBInstanceChargeTypeRequest) {
|
|
713
|
-
super(input);
|
|
714
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyDBInstanceChargeTypeCommand.metaPath);
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
/**
|
|
718
|
-
* Command to ModifyDBInstanceName
|
|
719
|
-
*/
|
|
720
|
-
export class ModifyDBInstanceNameCommand extends Command<
|
|
721
|
-
ModifyDBInstanceNameRequest,
|
|
722
|
-
ModifyDBInstanceNameCommandOutput,
|
|
723
|
-
'ModifyDBInstanceNameCommand'
|
|
724
|
-
> {
|
|
725
|
-
static readonly metaPath = '/ModifyDBInstanceName/2022-01-01/mongodb/post/application_json/';
|
|
726
|
-
|
|
727
|
-
constructor(input: ModifyDBInstanceNameRequest) {
|
|
728
|
-
super(input);
|
|
729
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyDBInstanceNameCommand.metaPath);
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
/**
|
|
733
|
-
* Command to ModifyDBInstanceParameters
|
|
734
|
-
*/
|
|
735
|
-
export class ModifyDBInstanceParametersCommand extends Command<
|
|
736
|
-
ModifyDBInstanceParametersRequest,
|
|
737
|
-
ModifyDBInstanceParametersCommandOutput,
|
|
738
|
-
'ModifyDBInstanceParametersCommand'
|
|
739
|
-
> {
|
|
740
|
-
static readonly metaPath = '/ModifyDBInstanceParameters/2022-01-01/mongodb/post/application_json/';
|
|
741
|
-
|
|
742
|
-
constructor(input: ModifyDBInstanceParametersRequest) {
|
|
743
|
-
super(input);
|
|
744
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyDBInstanceParametersCommand.metaPath);
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
/**
|
|
748
|
-
* Command to ModifyDBInstanceSSL
|
|
749
|
-
*/
|
|
750
|
-
export class ModifyDBInstanceSSLCommand extends Command<
|
|
751
|
-
ModifyDBInstanceSSLRequest,
|
|
752
|
-
ModifyDBInstanceSSLCommandOutput,
|
|
753
|
-
'ModifyDBInstanceSSLCommand'
|
|
754
|
-
> {
|
|
755
|
-
static readonly metaPath = '/ModifyDBInstanceSSL/2022-01-01/mongodb/post/application_json/';
|
|
756
|
-
|
|
757
|
-
constructor(input: ModifyDBInstanceSSLRequest) {
|
|
758
|
-
super(input);
|
|
759
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyDBInstanceSSLCommand.metaPath);
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
/**
|
|
763
|
-
* Command to ModifyDBInstanceSpec
|
|
764
|
-
*/
|
|
765
|
-
export class ModifyDBInstanceSpecCommand extends Command<
|
|
766
|
-
ModifyDBInstanceSpecRequest,
|
|
767
|
-
ModifyDBInstanceSpecCommandOutput,
|
|
768
|
-
'ModifyDBInstanceSpecCommand'
|
|
769
|
-
> {
|
|
770
|
-
static readonly metaPath = '/ModifyDBInstanceSpec/2022-01-01/mongodb/post/application_json/';
|
|
771
|
-
|
|
772
|
-
constructor(input: ModifyDBInstanceSpecRequest) {
|
|
773
|
-
super(input);
|
|
774
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyDBInstanceSpecCommand.metaPath);
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
/**
|
|
778
|
-
* Command to ModifyMultiDBInstanceParameters
|
|
779
|
-
*/
|
|
780
|
-
export class ModifyMultiDBInstanceParametersCommand extends Command<
|
|
781
|
-
ModifyMultiDBInstanceParametersRequest,
|
|
782
|
-
ModifyMultiDBInstanceParametersCommandOutput,
|
|
783
|
-
'ModifyMultiDBInstanceParametersCommand'
|
|
784
|
-
> {
|
|
785
|
-
static readonly metaPath = '/ModifyMultiDBInstanceParameters/2022-01-01/mongodb/post/application_json/';
|
|
786
|
-
|
|
787
|
-
constructor(input: ModifyMultiDBInstanceParametersRequest) {
|
|
788
|
-
super(input);
|
|
789
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ModifyMultiDBInstanceParametersCommand.metaPath);
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
/**
|
|
793
|
-
* Command to RemoveTagsFromResource
|
|
794
|
-
*/
|
|
795
|
-
export class RemoveTagsFromResourceCommand extends Command<
|
|
796
|
-
RemoveTagsFromResourceRequest,
|
|
797
|
-
RemoveTagsFromResourceCommandOutput,
|
|
798
|
-
'RemoveTagsFromResourceCommand'
|
|
799
|
-
> {
|
|
800
|
-
static readonly metaPath = '/RemoveTagsFromResource/2022-01-01/mongodb/post/application_json/';
|
|
801
|
-
|
|
802
|
-
constructor(input: RemoveTagsFromResourceRequest) {
|
|
803
|
-
super(input);
|
|
804
|
-
this.requestConfig = buildRequestConfigFromMetaPath(RemoveTagsFromResourceCommand.metaPath);
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
/**
|
|
808
|
-
* Command to ResetDBAccount
|
|
809
|
-
*/
|
|
810
|
-
export class ResetDBAccountCommand extends Command<
|
|
811
|
-
ResetDBAccountRequest,
|
|
812
|
-
ResetDBAccountCommandOutput,
|
|
813
|
-
'ResetDBAccountCommand'
|
|
814
|
-
> {
|
|
815
|
-
static readonly metaPath = '/ResetDBAccount/2022-01-01/mongodb/post/application_json/';
|
|
816
|
-
|
|
817
|
-
constructor(input: ResetDBAccountRequest) {
|
|
818
|
-
super(input);
|
|
819
|
-
this.requestConfig = buildRequestConfigFromMetaPath(ResetDBAccountCommand.metaPath);
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
/**
|
|
823
|
-
* Command to RestartDBInstance
|
|
824
|
-
*/
|
|
825
|
-
export class RestartDBInstanceCommand extends Command<
|
|
826
|
-
RestartDBInstanceRequest,
|
|
827
|
-
RestartDBInstanceCommandOutput,
|
|
828
|
-
'RestartDBInstanceCommand'
|
|
829
|
-
> {
|
|
830
|
-
static readonly metaPath = '/RestartDBInstance/2022-01-01/mongodb/post/application_json/';
|
|
831
|
-
|
|
832
|
-
constructor(input: RestartDBInstanceRequest) {
|
|
833
|
-
super(input);
|
|
834
|
-
this.requestConfig = buildRequestConfigFromMetaPath(RestartDBInstanceCommand.metaPath);
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
/**
|
|
838
|
-
* Command to RestoreToNewInstance
|
|
839
|
-
*/
|
|
840
|
-
export class RestoreToNewInstanceCommand extends Command<
|
|
841
|
-
RestoreToNewInstanceRequest,
|
|
842
|
-
RestoreToNewInstanceCommandOutput,
|
|
843
|
-
'RestoreToNewInstanceCommand'
|
|
844
|
-
> {
|
|
845
|
-
static readonly metaPath = '/RestoreToNewInstance/2022-01-01/mongodb/post/application_json/';
|
|
846
|
-
|
|
847
|
-
constructor(input: RestoreToNewInstanceRequest) {
|
|
848
|
-
super(input);
|
|
849
|
-
this.requestConfig = buildRequestConfigFromMetaPath(RestoreToNewInstanceCommand.metaPath);
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
/**
|
|
853
|
-
* Command to SwitchDBMaster
|
|
854
|
-
*/
|
|
855
|
-
export class SwitchDBMasterCommand extends Command<
|
|
856
|
-
SwitchDBMasterRequest,
|
|
857
|
-
SwitchDBMasterCommandOutput,
|
|
858
|
-
'SwitchDBMasterCommand'
|
|
859
|
-
> {
|
|
860
|
-
static readonly metaPath = '/SwitchDBMaster/2022-01-01/mongodb/post/application_json/';
|
|
861
|
-
|
|
862
|
-
constructor(input: SwitchDBMasterRequest) {
|
|
863
|
-
super(input);
|
|
864
|
-
this.requestConfig = buildRequestConfigFromMetaPath(SwitchDBMasterCommand.metaPath);
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
/**
|
|
868
|
-
* Command to UpdateDBAccountPrivilege
|
|
869
|
-
*/
|
|
870
|
-
export class UpdateDBAccountPrivilegeCommand extends Command<
|
|
871
|
-
UpdateDBAccountPrivilegeRequest,
|
|
872
|
-
UpdateDBAccountPrivilegeCommandOutput,
|
|
873
|
-
'UpdateDBAccountPrivilegeCommand'
|
|
874
|
-
> {
|
|
875
|
-
static readonly metaPath = '/UpdateDBAccountPrivilege/2022-01-01/mongodb/post/application_json/';
|
|
876
|
-
|
|
877
|
-
constructor(input: UpdateDBAccountPrivilegeRequest) {
|
|
878
|
-
super(input);
|
|
879
|
-
this.requestConfig = buildRequestConfigFromMetaPath(UpdateDBAccountPrivilegeCommand.metaPath);
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
export default {
|
|
884
|
-
MONGODBClient,
|
|
885
|
-
AddTagsToResourceCommand,
|
|
886
|
-
AssociateAllowListCommand,
|
|
887
|
-
CreateAllowListCommand,
|
|
888
|
-
CreateBackupCommand,
|
|
889
|
-
CreateDBAccountCommand,
|
|
890
|
-
CreateDBEndpointCommand,
|
|
891
|
-
CreateDBInstanceCommand,
|
|
892
|
-
DeleteAllowListCommand,
|
|
893
|
-
DeleteDBAccountCommand,
|
|
894
|
-
DeleteDBEndpointCommand,
|
|
895
|
-
DeleteDBInstanceCommand,
|
|
896
|
-
DescribeAllowListDetailCommand,
|
|
897
|
-
DescribeAllowListsCommand,
|
|
898
|
-
DescribeAvailabilityZonesCommand,
|
|
899
|
-
DescribeBackupsCommand,
|
|
900
|
-
DescribeDBAccountsCommand,
|
|
901
|
-
DescribeDBEndpointCommand,
|
|
902
|
-
DescribeDBInstanceBackupPolicyCommand,
|
|
903
|
-
DescribeDBInstanceBackupURLCommand,
|
|
904
|
-
DescribeDBInstanceDetailCommand,
|
|
905
|
-
DescribeDBInstanceParametersCommand,
|
|
906
|
-
DescribeDBInstanceParametersLogCommand,
|
|
907
|
-
DescribeDBInstanceSSLCommand,
|
|
908
|
-
DescribeDBInstancesCommand,
|
|
909
|
-
DescribeNodeSpecsCommand,
|
|
910
|
-
DescribeNormalLogsCommand,
|
|
911
|
-
DescribeRecoverableTimeCommand,
|
|
912
|
-
DescribeRegionsCommand,
|
|
913
|
-
DescribeSlowLogsCommand,
|
|
914
|
-
DisassociateAllowListCommand,
|
|
915
|
-
ModifyAllowListCommand,
|
|
916
|
-
ModifyDBEndpointPortCommand,
|
|
917
|
-
ModifyDBEndpointPrivateDNSVisibilityCommand,
|
|
918
|
-
ModifyDBInstanceBackupPolicyCommand,
|
|
919
|
-
ModifyDBInstanceBackupURLCommand,
|
|
920
|
-
ModifyDBInstanceChargeTypeCommand,
|
|
921
|
-
ModifyDBInstanceNameCommand,
|
|
922
|
-
ModifyDBInstanceParametersCommand,
|
|
923
|
-
ModifyDBInstanceSSLCommand,
|
|
924
|
-
ModifyDBInstanceSpecCommand,
|
|
925
|
-
ModifyMultiDBInstanceParametersCommand,
|
|
926
|
-
RemoveTagsFromResourceCommand,
|
|
927
|
-
ResetDBAccountCommand,
|
|
928
|
-
RestartDBInstanceCommand,
|
|
929
|
-
RestoreToNewInstanceCommand,
|
|
930
|
-
SwitchDBMasterCommand,
|
|
931
|
-
UpdateDBAccountPrivilegeCommand,
|
|
932
|
-
};
|