@aws-sdk/client-docdb 3.192.0 → 3.194.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/DocDBClient.js +11 -8
- package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/AddTagsToResourceCommand.js +10 -0
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +10 -0
- package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +10 -0
- package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +10 -0
- package/dist-cjs/commands/CreateDBClusterCommand.js +10 -0
- package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +10 -0
- package/dist-cjs/commands/CreateDBInstanceCommand.js +10 -0
- package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/CreateGlobalClusterCommand.js +10 -0
- package/dist-cjs/commands/DeleteDBClusterCommand.js +10 -0
- package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +10 -0
- package/dist-cjs/commands/DeleteDBInstanceCommand.js +10 -0
- package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/DeleteGlobalClusterCommand.js +10 -0
- package/dist-cjs/commands/DescribeCertificatesCommand.js +10 -0
- package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +10 -0
- package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +10 -0
- package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +10 -0
- package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +10 -0
- package/dist-cjs/commands/DescribeDBClustersCommand.js +10 -0
- package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +10 -0
- package/dist-cjs/commands/DescribeDBInstancesCommand.js +10 -0
- package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +10 -0
- package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventsCommand.js +10 -0
- package/dist-cjs/commands/DescribeGlobalClustersCommand.js +10 -0
- package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +10 -0
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +10 -0
- package/dist-cjs/commands/FailoverDBClusterCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ModifyDBClusterCommand.js +10 -0
- package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +10 -0
- package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +10 -0
- package/dist-cjs/commands/ModifyDBInstanceCommand.js +10 -0
- package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +10 -0
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/ModifyGlobalClusterCommand.js +10 -0
- package/dist-cjs/commands/RebootDBInstanceCommand.js +10 -0
- package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +10 -0
- package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +10 -0
- package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +10 -0
- package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +10 -0
- package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +10 -0
- package/dist-cjs/commands/StartDBClusterCommand.js +10 -0
- package/dist-cjs/commands/StopDBClusterCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +438 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/DocDBClient.js +12 -9
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +10 -0
- package/dist-es/commands/AddTagsToResourceCommand.js +10 -0
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +10 -0
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +10 -0
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +10 -0
- package/dist-es/commands/CreateDBClusterCommand.js +10 -0
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +10 -0
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js +10 -0
- package/dist-es/commands/CreateDBInstanceCommand.js +10 -0
- package/dist-es/commands/CreateDBSubnetGroupCommand.js +10 -0
- package/dist-es/commands/CreateEventSubscriptionCommand.js +10 -0
- package/dist-es/commands/CreateGlobalClusterCommand.js +10 -0
- package/dist-es/commands/DeleteDBClusterCommand.js +10 -0
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +10 -0
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +10 -0
- package/dist-es/commands/DeleteDBInstanceCommand.js +10 -0
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js +10 -0
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +10 -0
- package/dist-es/commands/DeleteGlobalClusterCommand.js +10 -0
- package/dist-es/commands/DescribeCertificatesCommand.js +10 -0
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +10 -0
- package/dist-es/commands/DescribeDBClusterParametersCommand.js +10 -0
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +10 -0
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +10 -0
- package/dist-es/commands/DescribeDBClustersCommand.js +10 -0
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js +10 -0
- package/dist-es/commands/DescribeDBInstancesCommand.js +10 -0
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +10 -0
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +10 -0
- package/dist-es/commands/DescribeEventCategoriesCommand.js +10 -0
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +10 -0
- package/dist-es/commands/DescribeEventsCommand.js +10 -0
- package/dist-es/commands/DescribeGlobalClustersCommand.js +10 -0
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +10 -0
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +10 -0
- package/dist-es/commands/FailoverDBClusterCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ModifyDBClusterCommand.js +10 -0
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +10 -0
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +10 -0
- package/dist-es/commands/ModifyDBInstanceCommand.js +10 -0
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js +10 -0
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +10 -0
- package/dist-es/commands/ModifyGlobalClusterCommand.js +10 -0
- package/dist-es/commands/RebootDBInstanceCommand.js +10 -0
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +10 -0
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +10 -0
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +10 -0
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +10 -0
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +10 -0
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +10 -0
- package/dist-es/commands/StartDBClusterCommand.js +10 -0
- package/dist-es/commands/StopDBClusterCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +435 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/DocDBClient.d.ts +6 -9
- package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +2 -0
- package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +2 -0
- package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/CreateDBClusterCommand.d.ts +2 -0
- package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/CreateGlobalClusterCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCertificatesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +2 -0
- package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -0
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +2 -0
- package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +2 -0
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +2 -0
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +2 -0
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +2 -0
- package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -0
- package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +2 -0
- package/dist-types/commands/StartDBClusterCommand.d.ts +2 -0
- package/dist-types/commands/StopDBClusterCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/DocDBClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCertificatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +30 -28
- package/dist-cjs/endpoints.js +0 -211
- package/dist-es/endpoints.js +0 -207
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoveFromGlobalClusterCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RemoveFromGlobalClusterCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveFromGlobalClusterCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DocDBClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoveSourceIdentifierFromSubscriptionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RemoveSourceIdentifierFromSubscriptionCommand extends smithy_client_1.Comm
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveSourceIdentifierFromSubscriptionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DocDBClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoveTagsFromResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RemoveTagsFromResourceCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveTagsFromResourceCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DocDBClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ResetDBClusterParameterGroupCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class ResetDBClusterParameterGroupCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResetDBClusterParameterGroupCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DocDBClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RestoreDBClusterFromSnapshotCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RestoreDBClusterFromSnapshotCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RestoreDBClusterFromSnapshotCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DocDBClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RestoreDBClusterToPointInTimeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RestoreDBClusterToPointInTimeCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RestoreDBClusterToPointInTimeCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DocDBClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StartDBClusterCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class StartDBClusterCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartDBClusterCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DocDBClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StopDBClusterCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class StopDBClusterCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopDBClusterCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DocDBClient";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
return {
|
|
7
|
+
...options,
|
|
8
|
+
useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
|
|
9
|
+
useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
|
|
10
|
+
defaultSigningName: "rds",
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|