@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,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribePendingMaintenanceActionsMessageFilterSensitiveLog, PendingMaintenanceActionsMessageFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribePendingMaintenanceActionsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribePendingMaintenanceActionsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { FailoverDBClusterMessageFilterSensitiveLog, FailoverDBClusterResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class FailoverDBClusterCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, FailoverDBClusterCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTagsForResourceMessageFilterSensitiveLog, TagListMessageFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ModifyDBClusterMessageFilterSensitiveLog, ModifyDBClusterResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ModifyDBClusterCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ModifyDBClusterCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DBClusterParameterGroupNameMessageFilterSensitiveLog, ModifyDBClusterParameterGroupMessageFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ModifyDBClusterParameterGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ModifyDBClusterParameterGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ModifyDBClusterSnapshotAttributeMessageFilterSensitiveLog, ModifyDBClusterSnapshotAttributeResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ModifyDBClusterSnapshotAttributeCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ModifyDBInstanceMessageFilterSensitiveLog, ModifyDBInstanceResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ModifyDBInstanceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ModifyDBInstanceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ModifyDBSubnetGroupMessageFilterSensitiveLog, ModifyDBSubnetGroupResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ModifyDBSubnetGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ModifyDBSubnetGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ModifyEventSubscriptionMessageFilterSensitiveLog, ModifyEventSubscriptionResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ModifyEventSubscriptionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ModifyEventSubscriptionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ModifyGlobalClusterMessageFilterSensitiveLog, ModifyGlobalClusterResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ModifyGlobalClusterCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ModifyGlobalClusterCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RebootDBInstanceMessageFilterSensitiveLog, RebootDBInstanceResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RebootDBInstanceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RebootDBInstanceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RemoveFromGlobalClusterMessageFilterSensitiveLog, RemoveFromGlobalClusterResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RemoveFromGlobalClusterCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RemoveFromGlobalClusterCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RemoveSourceIdentifierFromSubscriptionMessageFilterSensitiveLog, RemoveSourceIdentifierFromSubscriptionResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RemoveSourceIdentifierFromSubscriptionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RemoveTagsFromResourceMessageFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RemoveTagsFromResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RemoveTagsFromResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DBClusterParameterGroupNameMessageFilterSensitiveLog, ResetDBClusterParameterGroupMessageFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ResetDBClusterParameterGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ResetDBClusterParameterGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RestoreDBClusterFromSnapshotMessageFilterSensitiveLog, RestoreDBClusterFromSnapshotResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RestoreDBClusterFromSnapshotCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RestoreDBClusterToPointInTimeMessageFilterSensitiveLog, RestoreDBClusterToPointInTimeResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RestoreDBClusterToPointInTimeCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartDBClusterMessageFilterSensitiveLog, StartDBClusterResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartDBClusterCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartDBClusterCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopDBClusterMessageFilterSensitiveLog, StopDBClusterResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StopDBClusterCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopDBClusterCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DocDBClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|