@aws-sdk/client-docdb 3.1068.0 → 3.1069.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +244 -264
- package/dist-cjs/models/DocDBServiceException.js +4 -8
- package/dist-cjs/models/errors.js +117 -179
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +593 -399
- package/package.json +9 -9
package/dist-cjs/index.js
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultDocDBHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { AddSourceIdentifierToSubscription$, AddTagsToResource$, ApplyPendingMaintenanceAction$, CopyDBClusterParameterGroup$, CopyDBClusterSnapshot$, CreateDBCluster$, CreateDBClusterParameterGroup$, CreateDBClusterSnapshot$, CreateDBInstance$, CreateDBSubnetGroup$, CreateEventSubscription$, CreateGlobalCluster$, DeleteDBCluster$, DeleteDBClusterParameterGroup$, DeleteDBClusterSnapshot$, DeleteDBInstance$, DeleteDBSubnetGroup$, DeleteEventSubscription$, DeleteGlobalCluster$, DescribeCertificates$, DescribeDBClusterParameterGroups$, DescribeDBClusterParameters$, DescribeDBClusters$, DescribeDBClusterSnapshotAttributes$, DescribeDBClusterSnapshots$, DescribeDBEngineVersions$, DescribeDBInstances$, DescribeDBSubnetGroups$, DescribeEngineDefaultClusterParameters$, DescribeEventCategories$, DescribeEvents$, DescribeEventSubscriptions$, DescribeGlobalClusters$, DescribeOrderableDBInstanceOptions$, DescribePendingMaintenanceActions$, FailoverDBCluster$, FailoverGlobalCluster$, ListTagsForResource$, ModifyDBCluster$, ModifyDBClusterParameterGroup$, ModifyDBClusterSnapshotAttribute$, ModifyDBInstance$, ModifyDBSubnetGroup$, ModifyEventSubscription$, ModifyGlobalCluster$, RebootDBInstance$, RemoveFromGlobalCluster$, RemoveSourceIdentifierFromSubscription$, RemoveTagsFromResource$, ResetDBClusterParameterGroup$, RestoreDBClusterFromSnapshot$, RestoreDBClusterToPointInTime$, StartDBCluster$, StopDBCluster$, SwitchoverGlobalCluster$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
const { getCrossRegionPresignedUrlPlugin } = require("@aws-sdk/middleware-sdk-rds");
|
|
17
|
+
__exportStar(require("./models/errors"), exports);
|
|
18
|
+
const { DocDBServiceException } = require("./models/DocDBServiceException");
|
|
19
|
+
exports.DocDBServiceException = DocDBServiceException;
|
|
17
20
|
|
|
18
21
|
const resolveClientEndpointParameters = (options) => {
|
|
19
22
|
return Object.assign(options, {
|
|
@@ -69,739 +72,739 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
69
72
|
};
|
|
70
73
|
|
|
71
74
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
72
|
-
const extensionConfiguration = Object.assign(
|
|
75
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
73
76
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
74
|
-
return Object.assign(runtimeConfig,
|
|
77
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
75
78
|
};
|
|
76
79
|
|
|
77
|
-
class DocDBClient extends
|
|
80
|
+
class DocDBClient extends Client {
|
|
78
81
|
config;
|
|
79
82
|
constructor(...[configuration]) {
|
|
80
|
-
const _config_0 =
|
|
83
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
81
84
|
super(_config_0);
|
|
82
85
|
this.initConfig = _config_0;
|
|
83
86
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
84
|
-
const _config_2 =
|
|
85
|
-
const _config_3 =
|
|
86
|
-
const _config_4 =
|
|
87
|
-
const _config_5 =
|
|
88
|
-
const _config_6 =
|
|
89
|
-
const _config_7 =
|
|
87
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
90
93
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
91
94
|
this.config = _config_8;
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
httpAuthSchemeParametersProvider:
|
|
101
|
-
identityProviderConfigProvider: async (config) => new
|
|
95
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
102
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
103
|
+
httpAuthSchemeParametersProvider: defaultDocDBHttpAuthSchemeParametersProvider,
|
|
104
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
102
105
|
"aws.auth#sigv4": config.credentials,
|
|
103
106
|
}),
|
|
104
107
|
}));
|
|
105
|
-
this.middlewareStack.use(
|
|
108
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
106
109
|
}
|
|
107
110
|
destroy() {
|
|
108
111
|
super.destroy();
|
|
109
112
|
}
|
|
110
113
|
}
|
|
111
114
|
|
|
112
|
-
class AddSourceIdentifierToSubscriptionCommand extends
|
|
115
|
+
class AddSourceIdentifierToSubscriptionCommand extends Command
|
|
113
116
|
.classBuilder()
|
|
114
117
|
.ep(commonParams)
|
|
115
118
|
.m(function (Command, cs, config, o) {
|
|
116
|
-
return [
|
|
119
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
117
120
|
})
|
|
118
121
|
.s("AmazonRDSv19", "AddSourceIdentifierToSubscription", {})
|
|
119
122
|
.n("DocDBClient", "AddSourceIdentifierToSubscriptionCommand")
|
|
120
|
-
.sc(
|
|
123
|
+
.sc(AddSourceIdentifierToSubscription$)
|
|
121
124
|
.build() {
|
|
122
125
|
}
|
|
123
126
|
|
|
124
|
-
class AddTagsToResourceCommand extends
|
|
127
|
+
class AddTagsToResourceCommand extends Command
|
|
125
128
|
.classBuilder()
|
|
126
129
|
.ep(commonParams)
|
|
127
130
|
.m(function (Command, cs, config, o) {
|
|
128
|
-
return [
|
|
131
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
129
132
|
})
|
|
130
133
|
.s("AmazonRDSv19", "AddTagsToResource", {})
|
|
131
134
|
.n("DocDBClient", "AddTagsToResourceCommand")
|
|
132
|
-
.sc(
|
|
135
|
+
.sc(AddTagsToResource$)
|
|
133
136
|
.build() {
|
|
134
137
|
}
|
|
135
138
|
|
|
136
|
-
class ApplyPendingMaintenanceActionCommand extends
|
|
139
|
+
class ApplyPendingMaintenanceActionCommand extends Command
|
|
137
140
|
.classBuilder()
|
|
138
141
|
.ep(commonParams)
|
|
139
142
|
.m(function (Command, cs, config, o) {
|
|
140
|
-
return [
|
|
143
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
141
144
|
})
|
|
142
145
|
.s("AmazonRDSv19", "ApplyPendingMaintenanceAction", {})
|
|
143
146
|
.n("DocDBClient", "ApplyPendingMaintenanceActionCommand")
|
|
144
|
-
.sc(
|
|
147
|
+
.sc(ApplyPendingMaintenanceAction$)
|
|
145
148
|
.build() {
|
|
146
149
|
}
|
|
147
150
|
|
|
148
|
-
class CopyDBClusterParameterGroupCommand extends
|
|
151
|
+
class CopyDBClusterParameterGroupCommand extends Command
|
|
149
152
|
.classBuilder()
|
|
150
153
|
.ep(commonParams)
|
|
151
154
|
.m(function (Command, cs, config, o) {
|
|
152
|
-
return [
|
|
155
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
153
156
|
})
|
|
154
157
|
.s("AmazonRDSv19", "CopyDBClusterParameterGroup", {})
|
|
155
158
|
.n("DocDBClient", "CopyDBClusterParameterGroupCommand")
|
|
156
|
-
.sc(
|
|
159
|
+
.sc(CopyDBClusterParameterGroup$)
|
|
157
160
|
.build() {
|
|
158
161
|
}
|
|
159
162
|
|
|
160
|
-
class CopyDBClusterSnapshotCommand extends
|
|
163
|
+
class CopyDBClusterSnapshotCommand extends Command
|
|
161
164
|
.classBuilder()
|
|
162
165
|
.ep(commonParams)
|
|
163
166
|
.m(function (Command, cs, config, o) {
|
|
164
167
|
return [
|
|
165
|
-
|
|
166
|
-
|
|
168
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
169
|
+
getCrossRegionPresignedUrlPlugin(config),
|
|
167
170
|
];
|
|
168
171
|
})
|
|
169
172
|
.s("AmazonRDSv19", "CopyDBClusterSnapshot", {})
|
|
170
173
|
.n("DocDBClient", "CopyDBClusterSnapshotCommand")
|
|
171
|
-
.sc(
|
|
174
|
+
.sc(CopyDBClusterSnapshot$)
|
|
172
175
|
.build() {
|
|
173
176
|
}
|
|
174
177
|
|
|
175
|
-
class CreateDBClusterCommand extends
|
|
178
|
+
class CreateDBClusterCommand extends Command
|
|
176
179
|
.classBuilder()
|
|
177
180
|
.ep(commonParams)
|
|
178
181
|
.m(function (Command, cs, config, o) {
|
|
179
|
-
return [
|
|
182
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
180
183
|
})
|
|
181
184
|
.s("AmazonRDSv19", "CreateDBCluster", {})
|
|
182
185
|
.n("DocDBClient", "CreateDBClusterCommand")
|
|
183
|
-
.sc(
|
|
186
|
+
.sc(CreateDBCluster$)
|
|
184
187
|
.build() {
|
|
185
188
|
}
|
|
186
189
|
|
|
187
|
-
class CreateDBClusterParameterGroupCommand extends
|
|
190
|
+
class CreateDBClusterParameterGroupCommand extends Command
|
|
188
191
|
.classBuilder()
|
|
189
192
|
.ep(commonParams)
|
|
190
193
|
.m(function (Command, cs, config, o) {
|
|
191
|
-
return [
|
|
194
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
192
195
|
})
|
|
193
196
|
.s("AmazonRDSv19", "CreateDBClusterParameterGroup", {})
|
|
194
197
|
.n("DocDBClient", "CreateDBClusterParameterGroupCommand")
|
|
195
|
-
.sc(
|
|
198
|
+
.sc(CreateDBClusterParameterGroup$)
|
|
196
199
|
.build() {
|
|
197
200
|
}
|
|
198
201
|
|
|
199
|
-
class CreateDBClusterSnapshotCommand extends
|
|
202
|
+
class CreateDBClusterSnapshotCommand extends Command
|
|
200
203
|
.classBuilder()
|
|
201
204
|
.ep(commonParams)
|
|
202
205
|
.m(function (Command, cs, config, o) {
|
|
203
|
-
return [
|
|
206
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
204
207
|
})
|
|
205
208
|
.s("AmazonRDSv19", "CreateDBClusterSnapshot", {})
|
|
206
209
|
.n("DocDBClient", "CreateDBClusterSnapshotCommand")
|
|
207
|
-
.sc(
|
|
210
|
+
.sc(CreateDBClusterSnapshot$)
|
|
208
211
|
.build() {
|
|
209
212
|
}
|
|
210
213
|
|
|
211
|
-
class CreateDBInstanceCommand extends
|
|
214
|
+
class CreateDBInstanceCommand extends Command
|
|
212
215
|
.classBuilder()
|
|
213
216
|
.ep(commonParams)
|
|
214
217
|
.m(function (Command, cs, config, o) {
|
|
215
|
-
return [
|
|
218
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
216
219
|
})
|
|
217
220
|
.s("AmazonRDSv19", "CreateDBInstance", {})
|
|
218
221
|
.n("DocDBClient", "CreateDBInstanceCommand")
|
|
219
|
-
.sc(
|
|
222
|
+
.sc(CreateDBInstance$)
|
|
220
223
|
.build() {
|
|
221
224
|
}
|
|
222
225
|
|
|
223
|
-
class CreateDBSubnetGroupCommand extends
|
|
226
|
+
class CreateDBSubnetGroupCommand extends Command
|
|
224
227
|
.classBuilder()
|
|
225
228
|
.ep(commonParams)
|
|
226
229
|
.m(function (Command, cs, config, o) {
|
|
227
|
-
return [
|
|
230
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
228
231
|
})
|
|
229
232
|
.s("AmazonRDSv19", "CreateDBSubnetGroup", {})
|
|
230
233
|
.n("DocDBClient", "CreateDBSubnetGroupCommand")
|
|
231
|
-
.sc(
|
|
234
|
+
.sc(CreateDBSubnetGroup$)
|
|
232
235
|
.build() {
|
|
233
236
|
}
|
|
234
237
|
|
|
235
|
-
class CreateEventSubscriptionCommand extends
|
|
238
|
+
class CreateEventSubscriptionCommand extends Command
|
|
236
239
|
.classBuilder()
|
|
237
240
|
.ep(commonParams)
|
|
238
241
|
.m(function (Command, cs, config, o) {
|
|
239
|
-
return [
|
|
242
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
240
243
|
})
|
|
241
244
|
.s("AmazonRDSv19", "CreateEventSubscription", {})
|
|
242
245
|
.n("DocDBClient", "CreateEventSubscriptionCommand")
|
|
243
|
-
.sc(
|
|
246
|
+
.sc(CreateEventSubscription$)
|
|
244
247
|
.build() {
|
|
245
248
|
}
|
|
246
249
|
|
|
247
|
-
class CreateGlobalClusterCommand extends
|
|
250
|
+
class CreateGlobalClusterCommand extends Command
|
|
248
251
|
.classBuilder()
|
|
249
252
|
.ep(commonParams)
|
|
250
253
|
.m(function (Command, cs, config, o) {
|
|
251
|
-
return [
|
|
254
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
252
255
|
})
|
|
253
256
|
.s("AmazonRDSv19", "CreateGlobalCluster", {})
|
|
254
257
|
.n("DocDBClient", "CreateGlobalClusterCommand")
|
|
255
|
-
.sc(
|
|
258
|
+
.sc(CreateGlobalCluster$)
|
|
256
259
|
.build() {
|
|
257
260
|
}
|
|
258
261
|
|
|
259
|
-
class DeleteDBClusterCommand extends
|
|
262
|
+
class DeleteDBClusterCommand extends Command
|
|
260
263
|
.classBuilder()
|
|
261
264
|
.ep(commonParams)
|
|
262
265
|
.m(function (Command, cs, config, o) {
|
|
263
|
-
return [
|
|
266
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
264
267
|
})
|
|
265
268
|
.s("AmazonRDSv19", "DeleteDBCluster", {})
|
|
266
269
|
.n("DocDBClient", "DeleteDBClusterCommand")
|
|
267
|
-
.sc(
|
|
270
|
+
.sc(DeleteDBCluster$)
|
|
268
271
|
.build() {
|
|
269
272
|
}
|
|
270
273
|
|
|
271
|
-
class DeleteDBClusterParameterGroupCommand extends
|
|
274
|
+
class DeleteDBClusterParameterGroupCommand extends Command
|
|
272
275
|
.classBuilder()
|
|
273
276
|
.ep(commonParams)
|
|
274
277
|
.m(function (Command, cs, config, o) {
|
|
275
|
-
return [
|
|
278
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
276
279
|
})
|
|
277
280
|
.s("AmazonRDSv19", "DeleteDBClusterParameterGroup", {})
|
|
278
281
|
.n("DocDBClient", "DeleteDBClusterParameterGroupCommand")
|
|
279
|
-
.sc(
|
|
282
|
+
.sc(DeleteDBClusterParameterGroup$)
|
|
280
283
|
.build() {
|
|
281
284
|
}
|
|
282
285
|
|
|
283
|
-
class DeleteDBClusterSnapshotCommand extends
|
|
286
|
+
class DeleteDBClusterSnapshotCommand extends Command
|
|
284
287
|
.classBuilder()
|
|
285
288
|
.ep(commonParams)
|
|
286
289
|
.m(function (Command, cs, config, o) {
|
|
287
|
-
return [
|
|
290
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
288
291
|
})
|
|
289
292
|
.s("AmazonRDSv19", "DeleteDBClusterSnapshot", {})
|
|
290
293
|
.n("DocDBClient", "DeleteDBClusterSnapshotCommand")
|
|
291
|
-
.sc(
|
|
294
|
+
.sc(DeleteDBClusterSnapshot$)
|
|
292
295
|
.build() {
|
|
293
296
|
}
|
|
294
297
|
|
|
295
|
-
class DeleteDBInstanceCommand extends
|
|
298
|
+
class DeleteDBInstanceCommand extends Command
|
|
296
299
|
.classBuilder()
|
|
297
300
|
.ep(commonParams)
|
|
298
301
|
.m(function (Command, cs, config, o) {
|
|
299
|
-
return [
|
|
302
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
300
303
|
})
|
|
301
304
|
.s("AmazonRDSv19", "DeleteDBInstance", {})
|
|
302
305
|
.n("DocDBClient", "DeleteDBInstanceCommand")
|
|
303
|
-
.sc(
|
|
306
|
+
.sc(DeleteDBInstance$)
|
|
304
307
|
.build() {
|
|
305
308
|
}
|
|
306
309
|
|
|
307
|
-
class DeleteDBSubnetGroupCommand extends
|
|
310
|
+
class DeleteDBSubnetGroupCommand extends Command
|
|
308
311
|
.classBuilder()
|
|
309
312
|
.ep(commonParams)
|
|
310
313
|
.m(function (Command, cs, config, o) {
|
|
311
|
-
return [
|
|
314
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
312
315
|
})
|
|
313
316
|
.s("AmazonRDSv19", "DeleteDBSubnetGroup", {})
|
|
314
317
|
.n("DocDBClient", "DeleteDBSubnetGroupCommand")
|
|
315
|
-
.sc(
|
|
318
|
+
.sc(DeleteDBSubnetGroup$)
|
|
316
319
|
.build() {
|
|
317
320
|
}
|
|
318
321
|
|
|
319
|
-
class DeleteEventSubscriptionCommand extends
|
|
322
|
+
class DeleteEventSubscriptionCommand extends Command
|
|
320
323
|
.classBuilder()
|
|
321
324
|
.ep(commonParams)
|
|
322
325
|
.m(function (Command, cs, config, o) {
|
|
323
|
-
return [
|
|
326
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
324
327
|
})
|
|
325
328
|
.s("AmazonRDSv19", "DeleteEventSubscription", {})
|
|
326
329
|
.n("DocDBClient", "DeleteEventSubscriptionCommand")
|
|
327
|
-
.sc(
|
|
330
|
+
.sc(DeleteEventSubscription$)
|
|
328
331
|
.build() {
|
|
329
332
|
}
|
|
330
333
|
|
|
331
|
-
class DeleteGlobalClusterCommand extends
|
|
334
|
+
class DeleteGlobalClusterCommand extends Command
|
|
332
335
|
.classBuilder()
|
|
333
336
|
.ep(commonParams)
|
|
334
337
|
.m(function (Command, cs, config, o) {
|
|
335
|
-
return [
|
|
338
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
336
339
|
})
|
|
337
340
|
.s("AmazonRDSv19", "DeleteGlobalCluster", {})
|
|
338
341
|
.n("DocDBClient", "DeleteGlobalClusterCommand")
|
|
339
|
-
.sc(
|
|
342
|
+
.sc(DeleteGlobalCluster$)
|
|
340
343
|
.build() {
|
|
341
344
|
}
|
|
342
345
|
|
|
343
|
-
class DescribeCertificatesCommand extends
|
|
346
|
+
class DescribeCertificatesCommand extends Command
|
|
344
347
|
.classBuilder()
|
|
345
348
|
.ep(commonParams)
|
|
346
349
|
.m(function (Command, cs, config, o) {
|
|
347
|
-
return [
|
|
350
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
348
351
|
})
|
|
349
352
|
.s("AmazonRDSv19", "DescribeCertificates", {})
|
|
350
353
|
.n("DocDBClient", "DescribeCertificatesCommand")
|
|
351
|
-
.sc(
|
|
354
|
+
.sc(DescribeCertificates$)
|
|
352
355
|
.build() {
|
|
353
356
|
}
|
|
354
357
|
|
|
355
|
-
class DescribeDBClusterParameterGroupsCommand extends
|
|
358
|
+
class DescribeDBClusterParameterGroupsCommand extends Command
|
|
356
359
|
.classBuilder()
|
|
357
360
|
.ep(commonParams)
|
|
358
361
|
.m(function (Command, cs, config, o) {
|
|
359
|
-
return [
|
|
362
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
360
363
|
})
|
|
361
364
|
.s("AmazonRDSv19", "DescribeDBClusterParameterGroups", {})
|
|
362
365
|
.n("DocDBClient", "DescribeDBClusterParameterGroupsCommand")
|
|
363
|
-
.sc(
|
|
366
|
+
.sc(DescribeDBClusterParameterGroups$)
|
|
364
367
|
.build() {
|
|
365
368
|
}
|
|
366
369
|
|
|
367
|
-
class DescribeDBClusterParametersCommand extends
|
|
370
|
+
class DescribeDBClusterParametersCommand extends Command
|
|
368
371
|
.classBuilder()
|
|
369
372
|
.ep(commonParams)
|
|
370
373
|
.m(function (Command, cs, config, o) {
|
|
371
|
-
return [
|
|
374
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
372
375
|
})
|
|
373
376
|
.s("AmazonRDSv19", "DescribeDBClusterParameters", {})
|
|
374
377
|
.n("DocDBClient", "DescribeDBClusterParametersCommand")
|
|
375
|
-
.sc(
|
|
378
|
+
.sc(DescribeDBClusterParameters$)
|
|
376
379
|
.build() {
|
|
377
380
|
}
|
|
378
381
|
|
|
379
|
-
class DescribeDBClustersCommand extends
|
|
382
|
+
class DescribeDBClustersCommand extends Command
|
|
380
383
|
.classBuilder()
|
|
381
384
|
.ep(commonParams)
|
|
382
385
|
.m(function (Command, cs, config, o) {
|
|
383
|
-
return [
|
|
386
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
384
387
|
})
|
|
385
388
|
.s("AmazonRDSv19", "DescribeDBClusters", {})
|
|
386
389
|
.n("DocDBClient", "DescribeDBClustersCommand")
|
|
387
|
-
.sc(
|
|
390
|
+
.sc(DescribeDBClusters$)
|
|
388
391
|
.build() {
|
|
389
392
|
}
|
|
390
393
|
|
|
391
|
-
class DescribeDBClusterSnapshotAttributesCommand extends
|
|
394
|
+
class DescribeDBClusterSnapshotAttributesCommand extends Command
|
|
392
395
|
.classBuilder()
|
|
393
396
|
.ep(commonParams)
|
|
394
397
|
.m(function (Command, cs, config, o) {
|
|
395
|
-
return [
|
|
398
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
396
399
|
})
|
|
397
400
|
.s("AmazonRDSv19", "DescribeDBClusterSnapshotAttributes", {})
|
|
398
401
|
.n("DocDBClient", "DescribeDBClusterSnapshotAttributesCommand")
|
|
399
|
-
.sc(
|
|
402
|
+
.sc(DescribeDBClusterSnapshotAttributes$)
|
|
400
403
|
.build() {
|
|
401
404
|
}
|
|
402
405
|
|
|
403
|
-
class DescribeDBClusterSnapshotsCommand extends
|
|
406
|
+
class DescribeDBClusterSnapshotsCommand extends Command
|
|
404
407
|
.classBuilder()
|
|
405
408
|
.ep(commonParams)
|
|
406
409
|
.m(function (Command, cs, config, o) {
|
|
407
|
-
return [
|
|
410
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
408
411
|
})
|
|
409
412
|
.s("AmazonRDSv19", "DescribeDBClusterSnapshots", {})
|
|
410
413
|
.n("DocDBClient", "DescribeDBClusterSnapshotsCommand")
|
|
411
|
-
.sc(
|
|
414
|
+
.sc(DescribeDBClusterSnapshots$)
|
|
412
415
|
.build() {
|
|
413
416
|
}
|
|
414
417
|
|
|
415
|
-
class DescribeDBEngineVersionsCommand extends
|
|
418
|
+
class DescribeDBEngineVersionsCommand extends Command
|
|
416
419
|
.classBuilder()
|
|
417
420
|
.ep(commonParams)
|
|
418
421
|
.m(function (Command, cs, config, o) {
|
|
419
|
-
return [
|
|
422
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
420
423
|
})
|
|
421
424
|
.s("AmazonRDSv19", "DescribeDBEngineVersions", {})
|
|
422
425
|
.n("DocDBClient", "DescribeDBEngineVersionsCommand")
|
|
423
|
-
.sc(
|
|
426
|
+
.sc(DescribeDBEngineVersions$)
|
|
424
427
|
.build() {
|
|
425
428
|
}
|
|
426
429
|
|
|
427
|
-
class DescribeDBInstancesCommand extends
|
|
430
|
+
class DescribeDBInstancesCommand extends Command
|
|
428
431
|
.classBuilder()
|
|
429
432
|
.ep(commonParams)
|
|
430
433
|
.m(function (Command, cs, config, o) {
|
|
431
|
-
return [
|
|
434
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
432
435
|
})
|
|
433
436
|
.s("AmazonRDSv19", "DescribeDBInstances", {})
|
|
434
437
|
.n("DocDBClient", "DescribeDBInstancesCommand")
|
|
435
|
-
.sc(
|
|
438
|
+
.sc(DescribeDBInstances$)
|
|
436
439
|
.build() {
|
|
437
440
|
}
|
|
438
441
|
|
|
439
|
-
class DescribeDBSubnetGroupsCommand extends
|
|
442
|
+
class DescribeDBSubnetGroupsCommand extends Command
|
|
440
443
|
.classBuilder()
|
|
441
444
|
.ep(commonParams)
|
|
442
445
|
.m(function (Command, cs, config, o) {
|
|
443
|
-
return [
|
|
446
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
444
447
|
})
|
|
445
448
|
.s("AmazonRDSv19", "DescribeDBSubnetGroups", {})
|
|
446
449
|
.n("DocDBClient", "DescribeDBSubnetGroupsCommand")
|
|
447
|
-
.sc(
|
|
450
|
+
.sc(DescribeDBSubnetGroups$)
|
|
448
451
|
.build() {
|
|
449
452
|
}
|
|
450
453
|
|
|
451
|
-
class DescribeEngineDefaultClusterParametersCommand extends
|
|
454
|
+
class DescribeEngineDefaultClusterParametersCommand extends Command
|
|
452
455
|
.classBuilder()
|
|
453
456
|
.ep(commonParams)
|
|
454
457
|
.m(function (Command, cs, config, o) {
|
|
455
|
-
return [
|
|
458
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
456
459
|
})
|
|
457
460
|
.s("AmazonRDSv19", "DescribeEngineDefaultClusterParameters", {})
|
|
458
461
|
.n("DocDBClient", "DescribeEngineDefaultClusterParametersCommand")
|
|
459
|
-
.sc(
|
|
462
|
+
.sc(DescribeEngineDefaultClusterParameters$)
|
|
460
463
|
.build() {
|
|
461
464
|
}
|
|
462
465
|
|
|
463
|
-
class DescribeEventCategoriesCommand extends
|
|
466
|
+
class DescribeEventCategoriesCommand extends Command
|
|
464
467
|
.classBuilder()
|
|
465
468
|
.ep(commonParams)
|
|
466
469
|
.m(function (Command, cs, config, o) {
|
|
467
|
-
return [
|
|
470
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
468
471
|
})
|
|
469
472
|
.s("AmazonRDSv19", "DescribeEventCategories", {})
|
|
470
473
|
.n("DocDBClient", "DescribeEventCategoriesCommand")
|
|
471
|
-
.sc(
|
|
474
|
+
.sc(DescribeEventCategories$)
|
|
472
475
|
.build() {
|
|
473
476
|
}
|
|
474
477
|
|
|
475
|
-
class DescribeEventsCommand extends
|
|
478
|
+
class DescribeEventsCommand extends Command
|
|
476
479
|
.classBuilder()
|
|
477
480
|
.ep(commonParams)
|
|
478
481
|
.m(function (Command, cs, config, o) {
|
|
479
|
-
return [
|
|
482
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
480
483
|
})
|
|
481
484
|
.s("AmazonRDSv19", "DescribeEvents", {})
|
|
482
485
|
.n("DocDBClient", "DescribeEventsCommand")
|
|
483
|
-
.sc(
|
|
486
|
+
.sc(DescribeEvents$)
|
|
484
487
|
.build() {
|
|
485
488
|
}
|
|
486
489
|
|
|
487
|
-
class DescribeEventSubscriptionsCommand extends
|
|
490
|
+
class DescribeEventSubscriptionsCommand extends Command
|
|
488
491
|
.classBuilder()
|
|
489
492
|
.ep(commonParams)
|
|
490
493
|
.m(function (Command, cs, config, o) {
|
|
491
|
-
return [
|
|
494
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
492
495
|
})
|
|
493
496
|
.s("AmazonRDSv19", "DescribeEventSubscriptions", {})
|
|
494
497
|
.n("DocDBClient", "DescribeEventSubscriptionsCommand")
|
|
495
|
-
.sc(
|
|
498
|
+
.sc(DescribeEventSubscriptions$)
|
|
496
499
|
.build() {
|
|
497
500
|
}
|
|
498
501
|
|
|
499
|
-
class DescribeGlobalClustersCommand extends
|
|
502
|
+
class DescribeGlobalClustersCommand extends Command
|
|
500
503
|
.classBuilder()
|
|
501
504
|
.ep(commonParams)
|
|
502
505
|
.m(function (Command, cs, config, o) {
|
|
503
|
-
return [
|
|
506
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
504
507
|
})
|
|
505
508
|
.s("AmazonRDSv19", "DescribeGlobalClusters", {})
|
|
506
509
|
.n("DocDBClient", "DescribeGlobalClustersCommand")
|
|
507
|
-
.sc(
|
|
510
|
+
.sc(DescribeGlobalClusters$)
|
|
508
511
|
.build() {
|
|
509
512
|
}
|
|
510
513
|
|
|
511
|
-
class DescribeOrderableDBInstanceOptionsCommand extends
|
|
514
|
+
class DescribeOrderableDBInstanceOptionsCommand extends Command
|
|
512
515
|
.classBuilder()
|
|
513
516
|
.ep(commonParams)
|
|
514
517
|
.m(function (Command, cs, config, o) {
|
|
515
|
-
return [
|
|
518
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
516
519
|
})
|
|
517
520
|
.s("AmazonRDSv19", "DescribeOrderableDBInstanceOptions", {})
|
|
518
521
|
.n("DocDBClient", "DescribeOrderableDBInstanceOptionsCommand")
|
|
519
|
-
.sc(
|
|
522
|
+
.sc(DescribeOrderableDBInstanceOptions$)
|
|
520
523
|
.build() {
|
|
521
524
|
}
|
|
522
525
|
|
|
523
|
-
class DescribePendingMaintenanceActionsCommand extends
|
|
526
|
+
class DescribePendingMaintenanceActionsCommand extends Command
|
|
524
527
|
.classBuilder()
|
|
525
528
|
.ep(commonParams)
|
|
526
529
|
.m(function (Command, cs, config, o) {
|
|
527
|
-
return [
|
|
530
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
528
531
|
})
|
|
529
532
|
.s("AmazonRDSv19", "DescribePendingMaintenanceActions", {})
|
|
530
533
|
.n("DocDBClient", "DescribePendingMaintenanceActionsCommand")
|
|
531
|
-
.sc(
|
|
534
|
+
.sc(DescribePendingMaintenanceActions$)
|
|
532
535
|
.build() {
|
|
533
536
|
}
|
|
534
537
|
|
|
535
|
-
class FailoverDBClusterCommand extends
|
|
538
|
+
class FailoverDBClusterCommand extends Command
|
|
536
539
|
.classBuilder()
|
|
537
540
|
.ep(commonParams)
|
|
538
541
|
.m(function (Command, cs, config, o) {
|
|
539
|
-
return [
|
|
542
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
540
543
|
})
|
|
541
544
|
.s("AmazonRDSv19", "FailoverDBCluster", {})
|
|
542
545
|
.n("DocDBClient", "FailoverDBClusterCommand")
|
|
543
|
-
.sc(
|
|
546
|
+
.sc(FailoverDBCluster$)
|
|
544
547
|
.build() {
|
|
545
548
|
}
|
|
546
549
|
|
|
547
|
-
class FailoverGlobalClusterCommand extends
|
|
550
|
+
class FailoverGlobalClusterCommand extends Command
|
|
548
551
|
.classBuilder()
|
|
549
552
|
.ep(commonParams)
|
|
550
553
|
.m(function (Command, cs, config, o) {
|
|
551
|
-
return [
|
|
554
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
552
555
|
})
|
|
553
556
|
.s("AmazonRDSv19", "FailoverGlobalCluster", {})
|
|
554
557
|
.n("DocDBClient", "FailoverGlobalClusterCommand")
|
|
555
|
-
.sc(
|
|
558
|
+
.sc(FailoverGlobalCluster$)
|
|
556
559
|
.build() {
|
|
557
560
|
}
|
|
558
561
|
|
|
559
|
-
class ListTagsForResourceCommand extends
|
|
562
|
+
class ListTagsForResourceCommand extends Command
|
|
560
563
|
.classBuilder()
|
|
561
564
|
.ep(commonParams)
|
|
562
565
|
.m(function (Command, cs, config, o) {
|
|
563
|
-
return [
|
|
566
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
564
567
|
})
|
|
565
568
|
.s("AmazonRDSv19", "ListTagsForResource", {})
|
|
566
569
|
.n("DocDBClient", "ListTagsForResourceCommand")
|
|
567
|
-
.sc(
|
|
570
|
+
.sc(ListTagsForResource$)
|
|
568
571
|
.build() {
|
|
569
572
|
}
|
|
570
573
|
|
|
571
|
-
class ModifyDBClusterCommand extends
|
|
574
|
+
class ModifyDBClusterCommand extends Command
|
|
572
575
|
.classBuilder()
|
|
573
576
|
.ep(commonParams)
|
|
574
577
|
.m(function (Command, cs, config, o) {
|
|
575
|
-
return [
|
|
578
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
576
579
|
})
|
|
577
580
|
.s("AmazonRDSv19", "ModifyDBCluster", {})
|
|
578
581
|
.n("DocDBClient", "ModifyDBClusterCommand")
|
|
579
|
-
.sc(
|
|
582
|
+
.sc(ModifyDBCluster$)
|
|
580
583
|
.build() {
|
|
581
584
|
}
|
|
582
585
|
|
|
583
|
-
class ModifyDBClusterParameterGroupCommand extends
|
|
586
|
+
class ModifyDBClusterParameterGroupCommand extends Command
|
|
584
587
|
.classBuilder()
|
|
585
588
|
.ep(commonParams)
|
|
586
589
|
.m(function (Command, cs, config, o) {
|
|
587
|
-
return [
|
|
590
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
588
591
|
})
|
|
589
592
|
.s("AmazonRDSv19", "ModifyDBClusterParameterGroup", {})
|
|
590
593
|
.n("DocDBClient", "ModifyDBClusterParameterGroupCommand")
|
|
591
|
-
.sc(
|
|
594
|
+
.sc(ModifyDBClusterParameterGroup$)
|
|
592
595
|
.build() {
|
|
593
596
|
}
|
|
594
597
|
|
|
595
|
-
class ModifyDBClusterSnapshotAttributeCommand extends
|
|
598
|
+
class ModifyDBClusterSnapshotAttributeCommand extends Command
|
|
596
599
|
.classBuilder()
|
|
597
600
|
.ep(commonParams)
|
|
598
601
|
.m(function (Command, cs, config, o) {
|
|
599
|
-
return [
|
|
602
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
600
603
|
})
|
|
601
604
|
.s("AmazonRDSv19", "ModifyDBClusterSnapshotAttribute", {})
|
|
602
605
|
.n("DocDBClient", "ModifyDBClusterSnapshotAttributeCommand")
|
|
603
|
-
.sc(
|
|
606
|
+
.sc(ModifyDBClusterSnapshotAttribute$)
|
|
604
607
|
.build() {
|
|
605
608
|
}
|
|
606
609
|
|
|
607
|
-
class ModifyDBInstanceCommand extends
|
|
610
|
+
class ModifyDBInstanceCommand extends Command
|
|
608
611
|
.classBuilder()
|
|
609
612
|
.ep(commonParams)
|
|
610
613
|
.m(function (Command, cs, config, o) {
|
|
611
|
-
return [
|
|
614
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
612
615
|
})
|
|
613
616
|
.s("AmazonRDSv19", "ModifyDBInstance", {})
|
|
614
617
|
.n("DocDBClient", "ModifyDBInstanceCommand")
|
|
615
|
-
.sc(
|
|
618
|
+
.sc(ModifyDBInstance$)
|
|
616
619
|
.build() {
|
|
617
620
|
}
|
|
618
621
|
|
|
619
|
-
class ModifyDBSubnetGroupCommand extends
|
|
622
|
+
class ModifyDBSubnetGroupCommand extends Command
|
|
620
623
|
.classBuilder()
|
|
621
624
|
.ep(commonParams)
|
|
622
625
|
.m(function (Command, cs, config, o) {
|
|
623
|
-
return [
|
|
626
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
624
627
|
})
|
|
625
628
|
.s("AmazonRDSv19", "ModifyDBSubnetGroup", {})
|
|
626
629
|
.n("DocDBClient", "ModifyDBSubnetGroupCommand")
|
|
627
|
-
.sc(
|
|
630
|
+
.sc(ModifyDBSubnetGroup$)
|
|
628
631
|
.build() {
|
|
629
632
|
}
|
|
630
633
|
|
|
631
|
-
class ModifyEventSubscriptionCommand extends
|
|
634
|
+
class ModifyEventSubscriptionCommand extends Command
|
|
632
635
|
.classBuilder()
|
|
633
636
|
.ep(commonParams)
|
|
634
637
|
.m(function (Command, cs, config, o) {
|
|
635
|
-
return [
|
|
638
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
636
639
|
})
|
|
637
640
|
.s("AmazonRDSv19", "ModifyEventSubscription", {})
|
|
638
641
|
.n("DocDBClient", "ModifyEventSubscriptionCommand")
|
|
639
|
-
.sc(
|
|
642
|
+
.sc(ModifyEventSubscription$)
|
|
640
643
|
.build() {
|
|
641
644
|
}
|
|
642
645
|
|
|
643
|
-
class ModifyGlobalClusterCommand extends
|
|
646
|
+
class ModifyGlobalClusterCommand extends Command
|
|
644
647
|
.classBuilder()
|
|
645
648
|
.ep(commonParams)
|
|
646
649
|
.m(function (Command, cs, config, o) {
|
|
647
|
-
return [
|
|
650
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
648
651
|
})
|
|
649
652
|
.s("AmazonRDSv19", "ModifyGlobalCluster", {})
|
|
650
653
|
.n("DocDBClient", "ModifyGlobalClusterCommand")
|
|
651
|
-
.sc(
|
|
654
|
+
.sc(ModifyGlobalCluster$)
|
|
652
655
|
.build() {
|
|
653
656
|
}
|
|
654
657
|
|
|
655
|
-
class RebootDBInstanceCommand extends
|
|
658
|
+
class RebootDBInstanceCommand extends Command
|
|
656
659
|
.classBuilder()
|
|
657
660
|
.ep(commonParams)
|
|
658
661
|
.m(function (Command, cs, config, o) {
|
|
659
|
-
return [
|
|
662
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
660
663
|
})
|
|
661
664
|
.s("AmazonRDSv19", "RebootDBInstance", {})
|
|
662
665
|
.n("DocDBClient", "RebootDBInstanceCommand")
|
|
663
|
-
.sc(
|
|
666
|
+
.sc(RebootDBInstance$)
|
|
664
667
|
.build() {
|
|
665
668
|
}
|
|
666
669
|
|
|
667
|
-
class RemoveFromGlobalClusterCommand extends
|
|
670
|
+
class RemoveFromGlobalClusterCommand extends Command
|
|
668
671
|
.classBuilder()
|
|
669
672
|
.ep(commonParams)
|
|
670
673
|
.m(function (Command, cs, config, o) {
|
|
671
|
-
return [
|
|
674
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
672
675
|
})
|
|
673
676
|
.s("AmazonRDSv19", "RemoveFromGlobalCluster", {})
|
|
674
677
|
.n("DocDBClient", "RemoveFromGlobalClusterCommand")
|
|
675
|
-
.sc(
|
|
678
|
+
.sc(RemoveFromGlobalCluster$)
|
|
676
679
|
.build() {
|
|
677
680
|
}
|
|
678
681
|
|
|
679
|
-
class RemoveSourceIdentifierFromSubscriptionCommand extends
|
|
682
|
+
class RemoveSourceIdentifierFromSubscriptionCommand extends Command
|
|
680
683
|
.classBuilder()
|
|
681
684
|
.ep(commonParams)
|
|
682
685
|
.m(function (Command, cs, config, o) {
|
|
683
|
-
return [
|
|
686
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
684
687
|
})
|
|
685
688
|
.s("AmazonRDSv19", "RemoveSourceIdentifierFromSubscription", {})
|
|
686
689
|
.n("DocDBClient", "RemoveSourceIdentifierFromSubscriptionCommand")
|
|
687
|
-
.sc(
|
|
690
|
+
.sc(RemoveSourceIdentifierFromSubscription$)
|
|
688
691
|
.build() {
|
|
689
692
|
}
|
|
690
693
|
|
|
691
|
-
class RemoveTagsFromResourceCommand extends
|
|
694
|
+
class RemoveTagsFromResourceCommand extends Command
|
|
692
695
|
.classBuilder()
|
|
693
696
|
.ep(commonParams)
|
|
694
697
|
.m(function (Command, cs, config, o) {
|
|
695
|
-
return [
|
|
698
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
696
699
|
})
|
|
697
700
|
.s("AmazonRDSv19", "RemoveTagsFromResource", {})
|
|
698
701
|
.n("DocDBClient", "RemoveTagsFromResourceCommand")
|
|
699
|
-
.sc(
|
|
702
|
+
.sc(RemoveTagsFromResource$)
|
|
700
703
|
.build() {
|
|
701
704
|
}
|
|
702
705
|
|
|
703
|
-
class ResetDBClusterParameterGroupCommand extends
|
|
706
|
+
class ResetDBClusterParameterGroupCommand extends Command
|
|
704
707
|
.classBuilder()
|
|
705
708
|
.ep(commonParams)
|
|
706
709
|
.m(function (Command, cs, config, o) {
|
|
707
|
-
return [
|
|
710
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
708
711
|
})
|
|
709
712
|
.s("AmazonRDSv19", "ResetDBClusterParameterGroup", {})
|
|
710
713
|
.n("DocDBClient", "ResetDBClusterParameterGroupCommand")
|
|
711
|
-
.sc(
|
|
714
|
+
.sc(ResetDBClusterParameterGroup$)
|
|
712
715
|
.build() {
|
|
713
716
|
}
|
|
714
717
|
|
|
715
|
-
class RestoreDBClusterFromSnapshotCommand extends
|
|
718
|
+
class RestoreDBClusterFromSnapshotCommand extends Command
|
|
716
719
|
.classBuilder()
|
|
717
720
|
.ep(commonParams)
|
|
718
721
|
.m(function (Command, cs, config, o) {
|
|
719
|
-
return [
|
|
722
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
720
723
|
})
|
|
721
724
|
.s("AmazonRDSv19", "RestoreDBClusterFromSnapshot", {})
|
|
722
725
|
.n("DocDBClient", "RestoreDBClusterFromSnapshotCommand")
|
|
723
|
-
.sc(
|
|
726
|
+
.sc(RestoreDBClusterFromSnapshot$)
|
|
724
727
|
.build() {
|
|
725
728
|
}
|
|
726
729
|
|
|
727
|
-
class RestoreDBClusterToPointInTimeCommand extends
|
|
730
|
+
class RestoreDBClusterToPointInTimeCommand extends Command
|
|
728
731
|
.classBuilder()
|
|
729
732
|
.ep(commonParams)
|
|
730
733
|
.m(function (Command, cs, config, o) {
|
|
731
|
-
return [
|
|
734
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
732
735
|
})
|
|
733
736
|
.s("AmazonRDSv19", "RestoreDBClusterToPointInTime", {})
|
|
734
737
|
.n("DocDBClient", "RestoreDBClusterToPointInTimeCommand")
|
|
735
|
-
.sc(
|
|
738
|
+
.sc(RestoreDBClusterToPointInTime$)
|
|
736
739
|
.build() {
|
|
737
740
|
}
|
|
738
741
|
|
|
739
|
-
class StartDBClusterCommand extends
|
|
742
|
+
class StartDBClusterCommand extends Command
|
|
740
743
|
.classBuilder()
|
|
741
744
|
.ep(commonParams)
|
|
742
745
|
.m(function (Command, cs, config, o) {
|
|
743
|
-
return [
|
|
746
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
744
747
|
})
|
|
745
748
|
.s("AmazonRDSv19", "StartDBCluster", {})
|
|
746
749
|
.n("DocDBClient", "StartDBClusterCommand")
|
|
747
|
-
.sc(
|
|
750
|
+
.sc(StartDBCluster$)
|
|
748
751
|
.build() {
|
|
749
752
|
}
|
|
750
753
|
|
|
751
|
-
class StopDBClusterCommand extends
|
|
754
|
+
class StopDBClusterCommand extends Command
|
|
752
755
|
.classBuilder()
|
|
753
756
|
.ep(commonParams)
|
|
754
757
|
.m(function (Command, cs, config, o) {
|
|
755
|
-
return [
|
|
758
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
756
759
|
})
|
|
757
760
|
.s("AmazonRDSv19", "StopDBCluster", {})
|
|
758
761
|
.n("DocDBClient", "StopDBClusterCommand")
|
|
759
|
-
.sc(
|
|
762
|
+
.sc(StopDBCluster$)
|
|
760
763
|
.build() {
|
|
761
764
|
}
|
|
762
765
|
|
|
763
|
-
class SwitchoverGlobalClusterCommand extends
|
|
766
|
+
class SwitchoverGlobalClusterCommand extends Command
|
|
764
767
|
.classBuilder()
|
|
765
768
|
.ep(commonParams)
|
|
766
769
|
.m(function (Command, cs, config, o) {
|
|
767
|
-
return [
|
|
770
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
768
771
|
})
|
|
769
772
|
.s("AmazonRDSv19", "SwitchoverGlobalCluster", {})
|
|
770
773
|
.n("DocDBClient", "SwitchoverGlobalClusterCommand")
|
|
771
|
-
.sc(
|
|
774
|
+
.sc(SwitchoverGlobalCluster$)
|
|
772
775
|
.build() {
|
|
773
776
|
}
|
|
774
777
|
|
|
775
|
-
const paginateDescribeCertificates =
|
|
778
|
+
const paginateDescribeCertificates = createPaginator(DocDBClient, DescribeCertificatesCommand, "Marker", "Marker", "MaxRecords");
|
|
776
779
|
|
|
777
|
-
const paginateDescribeDBClusterParameterGroups =
|
|
780
|
+
const paginateDescribeDBClusterParameterGroups = createPaginator(DocDBClient, DescribeDBClusterParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
778
781
|
|
|
779
|
-
const paginateDescribeDBClusterParameters =
|
|
782
|
+
const paginateDescribeDBClusterParameters = createPaginator(DocDBClient, DescribeDBClusterParametersCommand, "Marker", "Marker", "MaxRecords");
|
|
780
783
|
|
|
781
|
-
const paginateDescribeDBClusterSnapshots =
|
|
784
|
+
const paginateDescribeDBClusterSnapshots = createPaginator(DocDBClient, DescribeDBClusterSnapshotsCommand, "Marker", "Marker", "MaxRecords");
|
|
782
785
|
|
|
783
|
-
const paginateDescribeDBClusters =
|
|
786
|
+
const paginateDescribeDBClusters = createPaginator(DocDBClient, DescribeDBClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
784
787
|
|
|
785
|
-
const paginateDescribeDBEngineVersions =
|
|
788
|
+
const paginateDescribeDBEngineVersions = createPaginator(DocDBClient, DescribeDBEngineVersionsCommand, "Marker", "Marker", "MaxRecords");
|
|
786
789
|
|
|
787
|
-
const paginateDescribeDBInstances =
|
|
790
|
+
const paginateDescribeDBInstances = createPaginator(DocDBClient, DescribeDBInstancesCommand, "Marker", "Marker", "MaxRecords");
|
|
788
791
|
|
|
789
|
-
const paginateDescribeDBSubnetGroups =
|
|
792
|
+
const paginateDescribeDBSubnetGroups = createPaginator(DocDBClient, DescribeDBSubnetGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
790
793
|
|
|
791
|
-
const paginateDescribeEvents =
|
|
794
|
+
const paginateDescribeEvents = createPaginator(DocDBClient, DescribeEventsCommand, "Marker", "Marker", "MaxRecords");
|
|
792
795
|
|
|
793
|
-
const paginateDescribeEventSubscriptions =
|
|
796
|
+
const paginateDescribeEventSubscriptions = createPaginator(DocDBClient, DescribeEventSubscriptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
794
797
|
|
|
795
|
-
const paginateDescribeGlobalClusters =
|
|
798
|
+
const paginateDescribeGlobalClusters = createPaginator(DocDBClient, DescribeGlobalClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
796
799
|
|
|
797
|
-
const paginateDescribeOrderableDBInstanceOptions =
|
|
800
|
+
const paginateDescribeOrderableDBInstanceOptions = createPaginator(DocDBClient, DescribeOrderableDBInstanceOptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
798
801
|
|
|
799
|
-
const paginateDescribePendingMaintenanceActions =
|
|
802
|
+
const paginateDescribePendingMaintenanceActions = createPaginator(DocDBClient, DescribePendingMaintenanceActionsCommand, "Marker", "Marker", "MaxRecords");
|
|
800
803
|
|
|
801
|
-
const checkState$1 = async (client
|
|
804
|
+
const checkState$1 = async (client, input) => {
|
|
802
805
|
let reason;
|
|
803
806
|
try {
|
|
804
|
-
let result = await client
|
|
807
|
+
let result = await client.send(new DescribeDBInstancesCommand(input));
|
|
805
808
|
reason = result;
|
|
806
809
|
try {
|
|
807
810
|
const returnComparator = () => {
|
|
@@ -816,7 +819,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
816
819
|
allStringEq_5 = allStringEq_5 && (element_4 == "available");
|
|
817
820
|
}
|
|
818
821
|
if (allStringEq_5) {
|
|
819
|
-
return { state:
|
|
822
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
820
823
|
}
|
|
821
824
|
}
|
|
822
825
|
catch (e) { }
|
|
@@ -830,7 +833,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
830
833
|
};
|
|
831
834
|
for (let anyStringEq_4 of returnComparator()) {
|
|
832
835
|
if (anyStringEq_4 == "deleted") {
|
|
833
|
-
return { state:
|
|
836
|
+
return { state: WaiterState.FAILURE, reason };
|
|
834
837
|
}
|
|
835
838
|
}
|
|
836
839
|
}
|
|
@@ -845,7 +848,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
845
848
|
};
|
|
846
849
|
for (let anyStringEq_4 of returnComparator()) {
|
|
847
850
|
if (anyStringEq_4 == "deleting") {
|
|
848
|
-
return { state:
|
|
851
|
+
return { state: WaiterState.FAILURE, reason };
|
|
849
852
|
}
|
|
850
853
|
}
|
|
851
854
|
}
|
|
@@ -860,7 +863,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
860
863
|
};
|
|
861
864
|
for (let anyStringEq_4 of returnComparator()) {
|
|
862
865
|
if (anyStringEq_4 == "failed") {
|
|
863
|
-
return { state:
|
|
866
|
+
return { state: WaiterState.FAILURE, reason };
|
|
864
867
|
}
|
|
865
868
|
}
|
|
866
869
|
}
|
|
@@ -875,7 +878,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
875
878
|
};
|
|
876
879
|
for (let anyStringEq_4 of returnComparator()) {
|
|
877
880
|
if (anyStringEq_4 == "incompatible-restore") {
|
|
878
|
-
return { state:
|
|
881
|
+
return { state: WaiterState.FAILURE, reason };
|
|
879
882
|
}
|
|
880
883
|
}
|
|
881
884
|
}
|
|
@@ -890,7 +893,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
890
893
|
};
|
|
891
894
|
for (let anyStringEq_4 of returnComparator()) {
|
|
892
895
|
if (anyStringEq_4 == "incompatible-parameters") {
|
|
893
|
-
return { state:
|
|
896
|
+
return { state: WaiterState.FAILURE, reason };
|
|
894
897
|
}
|
|
895
898
|
}
|
|
896
899
|
}
|
|
@@ -899,22 +902,22 @@ const checkState$1 = async (client$1, input) => {
|
|
|
899
902
|
catch (exception) {
|
|
900
903
|
reason = exception;
|
|
901
904
|
}
|
|
902
|
-
return { state:
|
|
905
|
+
return { state: WaiterState.RETRY, reason };
|
|
903
906
|
};
|
|
904
907
|
const waitForDBInstanceAvailable = async (params, input) => {
|
|
905
908
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
906
|
-
return
|
|
909
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
907
910
|
};
|
|
908
911
|
const waitUntilDBInstanceAvailable = async (params, input) => {
|
|
909
912
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
910
|
-
const result = await
|
|
911
|
-
return
|
|
913
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
914
|
+
return checkExceptions(result);
|
|
912
915
|
};
|
|
913
916
|
|
|
914
|
-
const checkState = async (client
|
|
917
|
+
const checkState = async (client, input) => {
|
|
915
918
|
let reason;
|
|
916
919
|
try {
|
|
917
|
-
let result = await client
|
|
920
|
+
let result = await client.send(new DescribeDBInstancesCommand(input));
|
|
918
921
|
reason = result;
|
|
919
922
|
try {
|
|
920
923
|
const returnComparator = () => {
|
|
@@ -929,7 +932,7 @@ const checkState = async (client$1, input) => {
|
|
|
929
932
|
allStringEq_5 = allStringEq_5 && (element_4 == "deleted");
|
|
930
933
|
}
|
|
931
934
|
if (allStringEq_5) {
|
|
932
|
-
return { state:
|
|
935
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
933
936
|
}
|
|
934
937
|
}
|
|
935
938
|
catch (e) { }
|
|
@@ -943,7 +946,7 @@ const checkState = async (client$1, input) => {
|
|
|
943
946
|
};
|
|
944
947
|
for (let anyStringEq_4 of returnComparator()) {
|
|
945
948
|
if (anyStringEq_4 == "creating") {
|
|
946
|
-
return { state:
|
|
949
|
+
return { state: WaiterState.FAILURE, reason };
|
|
947
950
|
}
|
|
948
951
|
}
|
|
949
952
|
}
|
|
@@ -958,7 +961,7 @@ const checkState = async (client$1, input) => {
|
|
|
958
961
|
};
|
|
959
962
|
for (let anyStringEq_4 of returnComparator()) {
|
|
960
963
|
if (anyStringEq_4 == "modifying") {
|
|
961
|
-
return { state:
|
|
964
|
+
return { state: WaiterState.FAILURE, reason };
|
|
962
965
|
}
|
|
963
966
|
}
|
|
964
967
|
}
|
|
@@ -973,7 +976,7 @@ const checkState = async (client$1, input) => {
|
|
|
973
976
|
};
|
|
974
977
|
for (let anyStringEq_4 of returnComparator()) {
|
|
975
978
|
if (anyStringEq_4 == "rebooting") {
|
|
976
|
-
return { state:
|
|
979
|
+
return { state: WaiterState.FAILURE, reason };
|
|
977
980
|
}
|
|
978
981
|
}
|
|
979
982
|
}
|
|
@@ -988,7 +991,7 @@ const checkState = async (client$1, input) => {
|
|
|
988
991
|
};
|
|
989
992
|
for (let anyStringEq_4 of returnComparator()) {
|
|
990
993
|
if (anyStringEq_4 == "resetting-master-credentials") {
|
|
991
|
-
return { state:
|
|
994
|
+
return { state: WaiterState.FAILURE, reason };
|
|
992
995
|
}
|
|
993
996
|
}
|
|
994
997
|
}
|
|
@@ -997,19 +1000,19 @@ const checkState = async (client$1, input) => {
|
|
|
997
1000
|
catch (exception) {
|
|
998
1001
|
reason = exception;
|
|
999
1002
|
if (exception.name === "DBInstanceNotFoundFault") {
|
|
1000
|
-
return { state:
|
|
1003
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1001
1004
|
}
|
|
1002
1005
|
}
|
|
1003
|
-
return { state:
|
|
1006
|
+
return { state: WaiterState.RETRY, reason };
|
|
1004
1007
|
};
|
|
1005
1008
|
const waitForDBInstanceDeleted = async (params, input) => {
|
|
1006
1009
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
1007
|
-
return
|
|
1010
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1008
1011
|
};
|
|
1009
1012
|
const waitUntilDBInstanceDeleted = async (params, input) => {
|
|
1010
1013
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
1011
|
-
const result = await
|
|
1012
|
-
return
|
|
1014
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1015
|
+
return checkExceptions(result);
|
|
1013
1016
|
};
|
|
1014
1017
|
|
|
1015
1018
|
const commands = {
|
|
@@ -1090,7 +1093,7 @@ const waiters = {
|
|
|
1090
1093
|
};
|
|
1091
1094
|
class DocDB extends DocDBClient {
|
|
1092
1095
|
}
|
|
1093
|
-
|
|
1096
|
+
createAggregatedClient(commands, DocDB, { paginators, waiters });
|
|
1094
1097
|
|
|
1095
1098
|
const FailoverStatus = {
|
|
1096
1099
|
CANCELLING: "cancelling",
|
|
@@ -1114,9 +1117,6 @@ const SourceType = {
|
|
|
1114
1117
|
db_snapshot: "db-snapshot",
|
|
1115
1118
|
};
|
|
1116
1119
|
|
|
1117
|
-
exports.$Command = client.Command;
|
|
1118
|
-
exports.__Client = client.Client;
|
|
1119
|
-
exports.DocDBServiceException = DocDBServiceException.DocDBServiceException;
|
|
1120
1120
|
exports.AddSourceIdentifierToSubscriptionCommand = AddSourceIdentifierToSubscriptionCommand;
|
|
1121
1121
|
exports.AddTagsToResourceCommand = AddTagsToResourceCommand;
|
|
1122
1122
|
exports.ApplyMethod = ApplyMethod;
|
|
@@ -1195,23 +1195,3 @@ exports.waitForDBInstanceAvailable = waitForDBInstanceAvailable;
|
|
|
1195
1195
|
exports.waitForDBInstanceDeleted = waitForDBInstanceDeleted;
|
|
1196
1196
|
exports.waitUntilDBInstanceAvailable = waitUntilDBInstanceAvailable;
|
|
1197
1197
|
exports.waitUntilDBInstanceDeleted = waitUntilDBInstanceDeleted;
|
|
1198
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
1199
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1200
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1201
|
-
enumerable: true,
|
|
1202
|
-
value: schemas_0['__proto__']
|
|
1203
|
-
});
|
|
1204
|
-
|
|
1205
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
1206
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
1207
|
-
});
|
|
1208
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
1209
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1210
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1211
|
-
enumerable: true,
|
|
1212
|
-
value: errors['__proto__']
|
|
1213
|
-
});
|
|
1214
|
-
|
|
1215
|
-
Object.keys(errors).forEach(function (k) {
|
|
1216
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
1217
|
-
});
|