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