@aws-sdk/client-dynamodb 3.193.0 → 3.195.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/DynamoDBClient.js +12 -9
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +10 -0
- package/dist-cjs/commands/BatchGetItemCommand.js +10 -0
- package/dist-cjs/commands/BatchWriteItemCommand.js +10 -0
- package/dist-cjs/commands/CreateBackupCommand.js +10 -0
- package/dist-cjs/commands/CreateGlobalTableCommand.js +10 -0
- package/dist-cjs/commands/CreateTableCommand.js +10 -0
- package/dist-cjs/commands/DeleteBackupCommand.js +10 -0
- package/dist-cjs/commands/DeleteItemCommand.js +10 -0
- package/dist-cjs/commands/DeleteTableCommand.js +10 -0
- package/dist-cjs/commands/DescribeBackupCommand.js +10 -0
- package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +10 -0
- package/dist-cjs/commands/DescribeContributorInsightsCommand.js +10 -0
- package/dist-cjs/commands/DescribeEndpointsCommand.js +10 -0
- package/dist-cjs/commands/DescribeExportCommand.js +10 -0
- package/dist-cjs/commands/DescribeGlobalTableCommand.js +10 -0
- package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +10 -0
- package/dist-cjs/commands/DescribeImportCommand.js +10 -0
- package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +10 -0
- package/dist-cjs/commands/DescribeLimitsCommand.js +10 -0
- package/dist-cjs/commands/DescribeTableCommand.js +10 -0
- package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +10 -0
- package/dist-cjs/commands/DescribeTimeToLiveCommand.js +10 -0
- package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +10 -0
- package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +10 -0
- package/dist-cjs/commands/ExecuteStatementCommand.js +10 -0
- package/dist-cjs/commands/ExecuteTransactionCommand.js +10 -0
- package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +10 -0
- package/dist-cjs/commands/GetItemCommand.js +10 -0
- package/dist-cjs/commands/ImportTableCommand.js +10 -0
- package/dist-cjs/commands/ListBackupsCommand.js +10 -0
- package/dist-cjs/commands/ListContributorInsightsCommand.js +10 -0
- package/dist-cjs/commands/ListExportsCommand.js +10 -0
- package/dist-cjs/commands/ListGlobalTablesCommand.js +10 -0
- package/dist-cjs/commands/ListImportsCommand.js +10 -0
- package/dist-cjs/commands/ListTablesCommand.js +10 -0
- package/dist-cjs/commands/ListTagsOfResourceCommand.js +10 -0
- package/dist-cjs/commands/PutItemCommand.js +10 -0
- package/dist-cjs/commands/QueryCommand.js +10 -0
- package/dist-cjs/commands/RestoreTableFromBackupCommand.js +10 -0
- package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +10 -0
- package/dist-cjs/commands/ScanCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/TransactGetItemsCommand.js +10 -0
- package/dist-cjs/commands/TransactWriteItemsCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +10 -0
- package/dist-cjs/commands/UpdateContributorInsightsCommand.js +10 -0
- package/dist-cjs/commands/UpdateGlobalTableCommand.js +10 -0
- package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +10 -0
- package/dist-cjs/commands/UpdateItemCommand.js +10 -0
- package/dist-cjs/commands/UpdateTableCommand.js +10 -0
- package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +10 -0
- package/dist-cjs/commands/UpdateTimeToLiveCommand.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 +376 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/DynamoDBClient.js +13 -10
- package/dist-es/commands/BatchExecuteStatementCommand.js +10 -0
- package/dist-es/commands/BatchGetItemCommand.js +10 -0
- package/dist-es/commands/BatchWriteItemCommand.js +10 -0
- package/dist-es/commands/CreateBackupCommand.js +10 -0
- package/dist-es/commands/CreateGlobalTableCommand.js +10 -0
- package/dist-es/commands/CreateTableCommand.js +10 -0
- package/dist-es/commands/DeleteBackupCommand.js +10 -0
- package/dist-es/commands/DeleteItemCommand.js +10 -0
- package/dist-es/commands/DeleteTableCommand.js +10 -0
- package/dist-es/commands/DescribeBackupCommand.js +10 -0
- package/dist-es/commands/DescribeContinuousBackupsCommand.js +10 -0
- package/dist-es/commands/DescribeContributorInsightsCommand.js +10 -0
- package/dist-es/commands/DescribeEndpointsCommand.js +10 -0
- package/dist-es/commands/DescribeExportCommand.js +10 -0
- package/dist-es/commands/DescribeGlobalTableCommand.js +10 -0
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +10 -0
- package/dist-es/commands/DescribeImportCommand.js +10 -0
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +10 -0
- package/dist-es/commands/DescribeLimitsCommand.js +10 -0
- package/dist-es/commands/DescribeTableCommand.js +10 -0
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +10 -0
- package/dist-es/commands/DescribeTimeToLiveCommand.js +10 -0
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +10 -0
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +10 -0
- package/dist-es/commands/ExecuteStatementCommand.js +10 -0
- package/dist-es/commands/ExecuteTransactionCommand.js +10 -0
- package/dist-es/commands/ExportTableToPointInTimeCommand.js +10 -0
- package/dist-es/commands/GetItemCommand.js +10 -0
- package/dist-es/commands/ImportTableCommand.js +10 -0
- package/dist-es/commands/ListBackupsCommand.js +10 -0
- package/dist-es/commands/ListContributorInsightsCommand.js +10 -0
- package/dist-es/commands/ListExportsCommand.js +10 -0
- package/dist-es/commands/ListGlobalTablesCommand.js +10 -0
- package/dist-es/commands/ListImportsCommand.js +10 -0
- package/dist-es/commands/ListTablesCommand.js +10 -0
- package/dist-es/commands/ListTagsOfResourceCommand.js +10 -0
- package/dist-es/commands/PutItemCommand.js +10 -0
- package/dist-es/commands/QueryCommand.js +10 -0
- package/dist-es/commands/RestoreTableFromBackupCommand.js +10 -0
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js +10 -0
- package/dist-es/commands/ScanCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/TransactGetItemsCommand.js +10 -0
- package/dist-es/commands/TransactWriteItemsCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateContinuousBackupsCommand.js +10 -0
- package/dist-es/commands/UpdateContributorInsightsCommand.js +10 -0
- package/dist-es/commands/UpdateGlobalTableCommand.js +10 -0
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +10 -0
- package/dist-es/commands/UpdateItemCommand.js +10 -0
- package/dist-es/commands/UpdateTableCommand.js +10 -0
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +10 -0
- package/dist-es/commands/UpdateTimeToLiveCommand.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 +373 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/DynamoDBClient.d.ts +6 -9
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -0
- package/dist-types/commands/BatchGetItemCommand.d.ts +2 -0
- package/dist-types/commands/BatchWriteItemCommand.d.ts +2 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +2 -0
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +2 -0
- package/dist-types/commands/CreateTableCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBackupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteItemCommand.d.ts +2 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +2 -0
- package/dist-types/commands/DescribeBackupCommand.d.ts +2 -0
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +2 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -0
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +2 -0
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +2 -0
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +2 -0
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +2 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -0
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +2 -0
- package/dist-types/commands/GetItemCommand.d.ts +2 -0
- package/dist-types/commands/ImportTableCommand.d.ts +2 -0
- package/dist-types/commands/ListBackupsCommand.d.ts +2 -0
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +2 -0
- package/dist-types/commands/ListExportsCommand.d.ts +2 -0
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +2 -0
- package/dist-types/commands/ListImportsCommand.d.ts +2 -0
- package/dist-types/commands/ListTablesCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +2 -0
- package/dist-types/commands/PutItemCommand.d.ts +2 -0
- package/dist-types/commands/QueryCommand.d.ts +2 -0
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +2 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +2 -0
- package/dist-types/commands/ScanCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +2 -0
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateItemCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTimeToLiveCommand.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/DynamoDBClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetItemCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutItemCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.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 +4 -2
- package/dist-cjs/endpoints.js +0 -204
- package/dist-es/endpoints.js +0 -200
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveRegionConfig } from "@aws-sdk/config-resolver";
|
|
2
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
|
+
import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
4
|
import { resolveEndpointDiscoveryConfig, } from "@aws-sdk/middleware-endpoint-discovery";
|
|
4
5
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
6
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
@@ -9,21 +10,23 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
10
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
11
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
12
|
import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
|
|
13
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
14
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
15
|
export class DynamoDBClient extends __Client {
|
|
14
16
|
constructor(configuration) {
|
|
15
17
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 =
|
|
17
|
-
const _config_2 =
|
|
18
|
-
const _config_3 =
|
|
19
|
-
const _config_4 =
|
|
20
|
-
const _config_5 =
|
|
21
|
-
const _config_6 =
|
|
22
|
-
const _config_7 =
|
|
18
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
19
|
+
const _config_2 = resolveRegionConfig(_config_1);
|
|
20
|
+
const _config_3 = resolveEndpointConfig(_config_2);
|
|
21
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
22
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
23
|
+
const _config_6 = resolveAwsAuthConfig(_config_5);
|
|
24
|
+
const _config_7 = resolveUserAgentConfig(_config_6);
|
|
25
|
+
const _config_8 = resolveEndpointDiscoveryConfig(_config_7, {
|
|
23
26
|
endpointDiscoveryCommandCtor: DescribeEndpointsCommand,
|
|
24
27
|
});
|
|
25
|
-
super(
|
|
26
|
-
this.config =
|
|
28
|
+
super(_config_8);
|
|
29
|
+
this.config = _config_8;
|
|
27
30
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
28
31
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
29
32
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
@@ -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 { BatchExecuteStatementInputFilterSensitiveLog, BatchExecuteStatementOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class BatchExecuteStatementCommand 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, BatchExecuteStatementCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { BatchGetItemInputFilterSensitiveLog, BatchGetItemOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class BatchGetItemCommand 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, BatchGetItemCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { BatchWriteItemInputFilterSensitiveLog, BatchWriteItemOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class BatchWriteItemCommand 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, BatchWriteItemCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { CreateBackupInputFilterSensitiveLog, CreateBackupOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateBackupCommand 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, CreateBackupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { CreateGlobalTableInputFilterSensitiveLog, CreateGlobalTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateGlobalTableCommand 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, CreateGlobalTableCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { CreateTableInputFilterSensitiveLog, CreateTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateTableCommand 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, CreateTableCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DeleteBackupInputFilterSensitiveLog, DeleteBackupOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteBackupCommand 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, DeleteBackupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DeleteItemInputFilterSensitiveLog, DeleteItemOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteItemCommand 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, DeleteItemCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DeleteTableInputFilterSensitiveLog, DeleteTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteTableCommand 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, DeleteTableCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeBackupInputFilterSensitiveLog, DescribeBackupOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeBackupCommand 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, DescribeBackupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeContinuousBackupsInputFilterSensitiveLog, DescribeContinuousBackupsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeContinuousBackupsCommand 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, DescribeContinuousBackupsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeContributorInsightsInputFilterSensitiveLog, DescribeContributorInsightsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeContributorInsightsCommand 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, DescribeContributorInsightsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeEndpointsRequestFilterSensitiveLog, DescribeEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeEndpointsCommand 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, DescribeEndpointsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeExportInputFilterSensitiveLog, DescribeExportOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeExportCommand 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, DescribeExportCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeGlobalTableInputFilterSensitiveLog, DescribeGlobalTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeGlobalTableCommand 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, DescribeGlobalTableCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeGlobalTableSettingsInputFilterSensitiveLog, DescribeGlobalTableSettingsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeGlobalTableSettingsCommand 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, DescribeGlobalTableSettingsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeImportInputFilterSensitiveLog, DescribeImportOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeImportCommand 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, DescribeImportCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeKinesisStreamingDestinationInputFilterSensitiveLog, DescribeKinesisStreamingDestinationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeKinesisStreamingDestinationCommand 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, DescribeKinesisStreamingDestinationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeLimitsInputFilterSensitiveLog, DescribeLimitsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeLimitsCommand 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, DescribeLimitsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeTableInputFilterSensitiveLog, DescribeTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeTableCommand 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, DescribeTableCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeTableReplicaAutoScalingInputFilterSensitiveLog, DescribeTableReplicaAutoScalingOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeTableReplicaAutoScalingCommand 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, DescribeTableReplicaAutoScalingCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { DescribeTimeToLiveInputFilterSensitiveLog, DescribeTimeToLiveOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeTimeToLiveCommand 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, DescribeTimeToLiveCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { KinesisStreamingDestinationInputFilterSensitiveLog, KinesisStreamingDestinationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DisableKinesisStreamingDestinationCommand 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, DisableKinesisStreamingDestinationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { KinesisStreamingDestinationInputFilterSensitiveLog, KinesisStreamingDestinationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class EnableKinesisStreamingDestinationCommand 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, EnableKinesisStreamingDestinationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|
|
@@ -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 { ExecuteStatementInputFilterSensitiveLog, ExecuteStatementOutputFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ExecuteStatementCommand 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, ExecuteStatementCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DynamoDBClient";
|