@aws-sdk/client-dynamodb 3.34.0 → 3.35.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 +12 -0
- package/dist-cjs/DynamoDB.js +779 -0
- package/dist-cjs/DynamoDB.js.map +1 -0
- package/dist-cjs/DynamoDBClient.js +67 -0
- package/dist-cjs/DynamoDBClient.js.map +1 -0
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +63 -0
- package/dist-cjs/commands/BatchExecuteStatementCommand.js.map +1 -0
- package/dist-cjs/commands/BatchGetItemCommand.js +106 -0
- package/dist-cjs/commands/BatchGetItemCommand.js.map +1 -0
- package/dist-cjs/commands/BatchWriteItemCommand.js +135 -0
- package/dist-cjs/commands/BatchWriteItemCommand.js.map +1 -0
- package/dist-cjs/commands/CreateBackupCommand.js +90 -0
- package/dist-cjs/commands/CreateBackupCommand.js.map +1 -0
- package/dist-cjs/commands/CreateGlobalTableCommand.js +128 -0
- package/dist-cjs/commands/CreateGlobalTableCommand.js.map +1 -0
- package/dist-cjs/commands/CreateTableCommand.js +73 -0
- package/dist-cjs/commands/CreateTableCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteBackupCommand.js +62 -0
- package/dist-cjs/commands/DeleteBackupCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteItemCommand.js +66 -0
- package/dist-cjs/commands/DeleteItemCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteTableCommand.js +77 -0
- package/dist-cjs/commands/DeleteTableCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeBackupCommand.js +62 -0
- package/dist-cjs/commands/DescribeBackupCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +71 -0
- package/dist-cjs/commands/DescribeContinuousBackupsCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeContributorInsightsCommand.js +61 -0
- package/dist-cjs/commands/DescribeContributorInsightsCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeEndpointsCommand.js +61 -0
- package/dist-cjs/commands/DescribeEndpointsCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeExportCommand.js +61 -0
- package/dist-cjs/commands/DescribeExportCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeGlobalTableCommand.js +65 -0
- package/dist-cjs/commands/DescribeGlobalTableCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +64 -0
- package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +61 -0
- package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeLimitsCommand.js +124 -0
- package/dist-cjs/commands/DescribeLimitsCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeTableCommand.js +67 -0
- package/dist-cjs/commands/DescribeTableCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +64 -0
- package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeTimeToLiveCommand.js +61 -0
- package/dist-cjs/commands/DescribeTimeToLiveCommand.js.map +1 -0
- package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +62 -0
- package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -0
- package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +64 -0
- package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -0
- package/dist-cjs/commands/ExecuteStatementCommand.js +63 -0
- package/dist-cjs/commands/ExecuteStatementCommand.js.map +1 -0
- package/dist-cjs/commands/ExecuteTransactionCommand.js +63 -0
- package/dist-cjs/commands/ExecuteTransactionCommand.js.map +1 -0
- package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +63 -0
- package/dist-cjs/commands/ExportTableToPointInTimeCommand.js.map +1 -0
- package/dist-cjs/commands/GetItemCommand.js +67 -0
- package/dist-cjs/commands/GetItemCommand.js.map +1 -0
- package/dist-cjs/commands/ListBackupsCommand.js +67 -0
- package/dist-cjs/commands/ListBackupsCommand.js.map +1 -0
- package/dist-cjs/commands/ListContributorInsightsCommand.js +61 -0
- package/dist-cjs/commands/ListContributorInsightsCommand.js.map +1 -0
- package/dist-cjs/commands/ListExportsCommand.js +61 -0
- package/dist-cjs/commands/ListExportsCommand.js.map +1 -0
- package/dist-cjs/commands/ListGlobalTablesCommand.js +64 -0
- package/dist-cjs/commands/ListGlobalTablesCommand.js.map +1 -0
- package/dist-cjs/commands/ListTablesCommand.js +63 -0
- package/dist-cjs/commands/ListTablesCommand.js.map +1 -0
- package/dist-cjs/commands/ListTagsOfResourceCommand.js +64 -0
- package/dist-cjs/commands/ListTagsOfResourceCommand.js.map +1 -0
- package/dist-cjs/commands/PutItemCommand.js +128 -0
- package/dist-cjs/commands/PutItemCommand.js.map +1 -0
- package/dist-cjs/commands/QueryCommand.js +116 -0
- package/dist-cjs/commands/QueryCommand.js.map +1 -0
- package/dist-cjs/commands/RestoreTableFromBackupCommand.js +85 -0
- package/dist-cjs/commands/RestoreTableFromBackupCommand.js.map +1 -0
- package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +116 -0
- package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js.map +1 -0
- package/dist-cjs/commands/ScanCommand.js +85 -0
- package/dist-cjs/commands/ScanCommand.js.map +1 -0
- package/dist-cjs/commands/TagResourceCommand.js +67 -0
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/TransactGetItemsCommand.js +86 -0
- package/dist-cjs/commands/TransactGetItemsCommand.js.map +1 -0
- package/dist-cjs/commands/TransactWriteItemsCommand.js +134 -0
- package/dist-cjs/commands/TransactWriteItemsCommand.js.map +1 -0
- package/dist-cjs/commands/UntagResourceCommand.js +65 -0
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +72 -0
- package/dist-cjs/commands/UpdateContinuousBackupsCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateContributorInsightsCommand.js +61 -0
- package/dist-cjs/commands/UpdateContributorInsightsCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateGlobalTableCommand.js +89 -0
- package/dist-cjs/commands/UpdateGlobalTableCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +61 -0
- package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateItemCommand.js +63 -0
- package/dist-cjs/commands/UpdateItemCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateTableCommand.js +83 -0
- package/dist-cjs/commands/UpdateTableCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +64 -0
- package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateTimeToLiveCommand.js +85 -0
- package/dist-cjs/commands/UpdateTimeToLiveCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/{dist/cjs → dist-cjs}/index.js +0 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/dist-cjs/models/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/dist-cjs/pagination/Interfaces.js.map +1 -0
- package/dist-cjs/pagination/ListContributorInsightsPaginator.js +46 -0
- package/dist-cjs/pagination/ListContributorInsightsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListExportsPaginator.js +46 -0
- package/dist-cjs/pagination/ListExportsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListTablesPaginator.js +46 -0
- package/dist-cjs/pagination/ListTablesPaginator.js.map +1 -0
- package/dist-cjs/pagination/QueryPaginator.js +46 -0
- package/dist-cjs/pagination/QueryPaginator.js.map +1 -0
- package/dist-cjs/pagination/ScanPaginator.js +46 -0
- package/dist-cjs/pagination/ScanPaginator.js.map +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +7983 -0
- package/dist-cjs/protocols/Aws_json1_0.js.map +1 -0
- package/dist-cjs/runtimeConfig.browser.js +43 -0
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/dist-cjs/waiters/waitForTableExists.js +49 -0
- package/dist-cjs/waiters/waitForTableExists.js.map +1 -0
- package/dist-cjs/waiters/waitForTableNotExists.js +40 -0
- package/dist-cjs/waiters/waitForTableNotExists.js.map +1 -0
- package/dist-es/DynamoDB.js +761 -0
- package/dist-es/DynamoDB.js.map +1 -0
- package/dist-es/DynamoDBClient.js +43 -0
- package/dist-es/DynamoDBClient.js.map +1 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +40 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js.map +1 -0
- package/dist-es/commands/BatchGetItemCommand.js +40 -0
- package/dist-es/commands/BatchGetItemCommand.js.map +1 -0
- package/dist-es/commands/BatchWriteItemCommand.js +40 -0
- package/dist-es/commands/BatchWriteItemCommand.js.map +1 -0
- package/dist-es/commands/CreateBackupCommand.js +40 -0
- package/dist-es/commands/CreateBackupCommand.js.map +1 -0
- package/dist-es/commands/CreateGlobalTableCommand.js +40 -0
- package/dist-es/commands/CreateGlobalTableCommand.js.map +1 -0
- package/dist-es/commands/CreateTableCommand.js +40 -0
- package/dist-es/commands/CreateTableCommand.js.map +1 -0
- package/dist-es/commands/DeleteBackupCommand.js +40 -0
- package/dist-es/commands/DeleteBackupCommand.js.map +1 -0
- package/dist-es/commands/DeleteItemCommand.js +40 -0
- package/dist-es/commands/DeleteItemCommand.js.map +1 -0
- package/dist-es/commands/DeleteTableCommand.js +40 -0
- package/dist-es/commands/DeleteTableCommand.js.map +1 -0
- package/dist-es/commands/DescribeBackupCommand.js +40 -0
- package/dist-es/commands/DescribeBackupCommand.js.map +1 -0
- package/dist-es/commands/DescribeContinuousBackupsCommand.js +40 -0
- package/dist-es/commands/DescribeContinuousBackupsCommand.js.map +1 -0
- package/dist-es/commands/DescribeContributorInsightsCommand.js +40 -0
- package/dist-es/commands/DescribeContributorInsightsCommand.js.map +1 -0
- package/dist-es/commands/DescribeEndpointsCommand.js +40 -0
- package/dist-es/commands/DescribeEndpointsCommand.js.map +1 -0
- package/dist-es/commands/DescribeExportCommand.js +40 -0
- package/dist-es/commands/DescribeExportCommand.js.map +1 -0
- package/dist-es/commands/DescribeGlobalTableCommand.js +40 -0
- package/dist-es/commands/DescribeGlobalTableCommand.js.map +1 -0
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +40 -0
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js.map +1 -0
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +40 -0
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -0
- package/dist-es/commands/DescribeLimitsCommand.js +40 -0
- package/dist-es/commands/DescribeLimitsCommand.js.map +1 -0
- package/dist-es/commands/DescribeTableCommand.js +40 -0
- package/dist-es/commands/DescribeTableCommand.js.map +1 -0
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +40 -0
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -0
- package/dist-es/commands/DescribeTimeToLiveCommand.js +40 -0
- package/dist-es/commands/DescribeTimeToLiveCommand.js.map +1 -0
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +40 -0
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -0
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +40 -0
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -0
- package/dist-es/commands/ExecuteStatementCommand.js +40 -0
- package/dist-es/commands/ExecuteStatementCommand.js.map +1 -0
- package/dist-es/commands/ExecuteTransactionCommand.js +40 -0
- package/dist-es/commands/ExecuteTransactionCommand.js.map +1 -0
- package/dist-es/commands/ExportTableToPointInTimeCommand.js +40 -0
- package/dist-es/commands/ExportTableToPointInTimeCommand.js.map +1 -0
- package/dist-es/commands/GetItemCommand.js +40 -0
- package/dist-es/commands/GetItemCommand.js.map +1 -0
- package/dist-es/commands/ListBackupsCommand.js +40 -0
- package/dist-es/commands/ListBackupsCommand.js.map +1 -0
- package/dist-es/commands/ListContributorInsightsCommand.js +40 -0
- package/dist-es/commands/ListContributorInsightsCommand.js.map +1 -0
- package/dist-es/commands/ListExportsCommand.js +40 -0
- package/dist-es/commands/ListExportsCommand.js.map +1 -0
- package/dist-es/commands/ListGlobalTablesCommand.js +40 -0
- package/dist-es/commands/ListGlobalTablesCommand.js.map +1 -0
- package/dist-es/commands/ListTablesCommand.js +40 -0
- package/dist-es/commands/ListTablesCommand.js.map +1 -0
- package/dist-es/commands/ListTagsOfResourceCommand.js +40 -0
- package/dist-es/commands/ListTagsOfResourceCommand.js.map +1 -0
- package/dist-es/commands/PutItemCommand.js +40 -0
- package/dist-es/commands/PutItemCommand.js.map +1 -0
- package/dist-es/commands/QueryCommand.js +40 -0
- package/dist-es/commands/QueryCommand.js.map +1 -0
- package/dist-es/commands/RestoreTableFromBackupCommand.js +40 -0
- package/dist-es/commands/RestoreTableFromBackupCommand.js.map +1 -0
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js +40 -0
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js.map +1 -0
- package/dist-es/commands/ScanCommand.js +40 -0
- package/dist-es/commands/ScanCommand.js.map +1 -0
- package/dist-es/commands/TagResourceCommand.js +40 -0
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/dist-es/commands/TransactGetItemsCommand.js +40 -0
- package/dist-es/commands/TransactGetItemsCommand.js.map +1 -0
- package/dist-es/commands/TransactWriteItemsCommand.js +40 -0
- package/dist-es/commands/TransactWriteItemsCommand.js.map +1 -0
- package/dist-es/commands/UntagResourceCommand.js +40 -0
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/dist-es/commands/UpdateContinuousBackupsCommand.js +40 -0
- package/dist-es/commands/UpdateContinuousBackupsCommand.js.map +1 -0
- package/dist-es/commands/UpdateContributorInsightsCommand.js +40 -0
- package/dist-es/commands/UpdateContributorInsightsCommand.js.map +1 -0
- package/dist-es/commands/UpdateGlobalTableCommand.js +40 -0
- package/dist-es/commands/UpdateGlobalTableCommand.js.map +1 -0
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +40 -0
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js.map +1 -0
- package/dist-es/commands/UpdateItemCommand.js +40 -0
- package/dist-es/commands/UpdateItemCommand.js.map +1 -0
- package/dist-es/commands/UpdateTableCommand.js +40 -0
- package/dist-es/commands/UpdateTableCommand.js.map +1 -0
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +40 -0
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -0
- package/dist-es/commands/UpdateTimeToLiveCommand.js +40 -0
- package/dist-es/commands/UpdateTimeToLiveCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/dist-es/pagination/Interfaces.js.map +1 -0
- package/dist-es/pagination/ListContributorInsightsPaginator.js +75 -0
- package/dist-es/pagination/ListContributorInsightsPaginator.js.map +1 -0
- package/dist-es/pagination/ListExportsPaginator.js +75 -0
- package/dist-es/pagination/ListExportsPaginator.js.map +1 -0
- package/dist-es/pagination/ListTablesPaginator.js +75 -0
- package/dist-es/pagination/ListTablesPaginator.js.map +1 -0
- package/dist-es/pagination/QueryPaginator.js +75 -0
- package/dist-es/pagination/QueryPaginator.js.map +1 -0
- package/dist-es/pagination/ScanPaginator.js +75 -0
- package/dist-es/pagination/ScanPaginator.js.map +1 -0
- package/dist-es/protocols/Aws_json1_0.js +7976 -0
- package/dist-es/protocols/Aws_json1_0.js.map +1 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/dist-es/runtimeConfig.js +23 -0
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/dist-es/waiters/waitForTableExists.js +55 -0
- package/dist-es/waiters/waitForTableExists.js.map +1 -0
- package/dist-es/waiters/waitForTableNotExists.js +46 -0
- package/dist-es/waiters/waitForTableNotExists.js.map +1 -0
- package/dist-types/DynamoDB.d.ts +1169 -0
- package/dist-types/DynamoDBClient.d.ts +207 -0
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +37 -0
- package/dist-types/commands/BatchGetItemCommand.d.ts +80 -0
- package/dist-types/commands/BatchWriteItemCommand.d.ts +109 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +64 -0
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +102 -0
- package/dist-types/commands/CreateTableCommand.d.ts +47 -0
- package/dist-types/commands/DeleteBackupCommand.d.ts +36 -0
- package/dist-types/commands/DeleteItemCommand.d.ts +40 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +51 -0
- package/dist-types/commands/DescribeBackupCommand.d.ts +36 -0
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +45 -0
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +35 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +35 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +35 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +39 -0
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +38 -0
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +35 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +98 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +41 -0
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +38 -0
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +35 -0
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +36 -0
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +38 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +37 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +37 -0
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +37 -0
- package/dist-types/commands/GetItemCommand.d.ts +41 -0
- package/dist-types/commands/ListBackupsCommand.d.ts +41 -0
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +35 -0
- package/dist-types/commands/ListExportsCommand.d.ts +35 -0
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +38 -0
- package/dist-types/commands/ListTablesCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +38 -0
- package/dist-types/commands/PutItemCommand.d.ts +102 -0
- package/dist-types/commands/QueryCommand.d.ts +90 -0
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +59 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +90 -0
- package/dist-types/commands/ScanCommand.d.ts +59 -0
- package/dist-types/commands/TagResourceCommand.d.ts +41 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +60 -0
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +108 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +39 -0
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +46 -0
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +35 -0
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +63 -0
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +35 -0
- package/dist-types/commands/UpdateItemCommand.d.ts +37 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +57 -0
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +38 -0
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +59 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExportsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTablesPaginator.d.ts +4 -0
- package/dist-types/pagination/QueryPaginator.d.ts +4 -0
- package/dist-types/pagination/ScanPaginator.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +152 -0
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +1169 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +207 -0
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +80 -0
- package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +109 -0
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +64 -0
- package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +102 -0
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +98 -0
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetItemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutItemCommand.d.ts +102 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +90 -0
- package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +90 -0
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +108 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +63 -0
- package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +57 -0
- package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +59 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +152 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +40 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +14 -0
- package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +14 -0
- package/dist-types/waiters/waitForTableExists.d.ts +14 -0
- package/dist-types/waiters/waitForTableNotExists.d.ts +14 -0
- package/package.json +44 -44
- package/src/DynamoDB.ts +2531 -0
- package/src/DynamoDBClient.ts +476 -0
- package/src/commands/BatchExecuteStatementCommand.ts +97 -0
- package/src/commands/BatchGetItemCommand.ts +140 -0
- package/src/commands/BatchWriteItemCommand.ts +169 -0
- package/src/commands/CreateBackupCommand.ts +124 -0
- package/src/commands/CreateGlobalTableCommand.ts +162 -0
- package/src/commands/CreateTableCommand.ts +107 -0
- package/src/commands/DeleteBackupCommand.ts +96 -0
- package/src/commands/DeleteItemCommand.ts +100 -0
- package/src/commands/DeleteTableCommand.ts +111 -0
- package/src/commands/DescribeBackupCommand.ts +96 -0
- package/src/commands/DescribeContinuousBackupsCommand.ts +108 -0
- package/src/commands/DescribeContributorInsightsCommand.ts +98 -0
- package/src/commands/DescribeEndpointsCommand.ts +95 -0
- package/src/commands/DescribeExportCommand.ts +95 -0
- package/src/commands/DescribeGlobalTableCommand.ts +99 -0
- package/src/commands/DescribeGlobalTableSettingsCommand.ts +101 -0
- package/src/commands/DescribeKinesisStreamingDestinationCommand.ts +106 -0
- package/src/commands/DescribeLimitsCommand.ts +158 -0
- package/src/commands/DescribeTableCommand.ts +101 -0
- package/src/commands/DescribeTableReplicaAutoScalingCommand.ts +106 -0
- package/src/commands/DescribeTimeToLiveCommand.ts +95 -0
- package/src/commands/DisableKinesisStreamingDestinationCommand.ts +104 -0
- package/src/commands/EnableKinesisStreamingDestinationCommand.ts +106 -0
- package/src/commands/ExecuteStatementCommand.ts +97 -0
- package/src/commands/ExecuteTransactionCommand.ts +97 -0
- package/src/commands/ExportTableToPointInTimeCommand.ts +97 -0
- package/src/commands/GetItemCommand.ts +94 -0
- package/src/commands/ListBackupsCommand.ts +101 -0
- package/src/commands/ListContributorInsightsCommand.ts +95 -0
- package/src/commands/ListExportsCommand.ts +95 -0
- package/src/commands/ListGlobalTablesCommand.ts +98 -0
- package/src/commands/ListTablesCommand.ts +97 -0
- package/src/commands/ListTagsOfResourceCommand.ts +98 -0
- package/src/commands/PutItemCommand.ts +155 -0
- package/src/commands/QueryCommand.ts +143 -0
- package/src/commands/RestoreTableFromBackupCommand.ts +119 -0
- package/src/commands/RestoreTableToPointInTimeCommand.ts +153 -0
- package/src/commands/ScanCommand.ts +112 -0
- package/src/commands/TagResourceCommand.ts +101 -0
- package/src/commands/TransactGetItemsCommand.ts +120 -0
- package/src/commands/TransactWriteItemsCommand.ts +168 -0
- package/src/commands/UntagResourceCommand.ts +99 -0
- package/src/commands/UpdateContinuousBackupsCommand.ts +106 -0
- package/src/commands/UpdateContributorInsightsCommand.ts +98 -0
- package/src/commands/UpdateGlobalTableCommand.ts +123 -0
- package/src/commands/UpdateGlobalTableSettingsCommand.ts +98 -0
- package/src/commands/UpdateItemCommand.ts +97 -0
- package/src/commands/UpdateTableCommand.ts +117 -0
- package/src/commands/UpdateTableReplicaAutoScalingCommand.ts +103 -0
- package/src/commands/UpdateTimeToLiveCommand.ts +119 -0
- package/src/endpoints.ts +96 -0
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/src/pagination/Interfaces.ts +8 -0
- package/src/pagination/ListContributorInsightsPaginator.ts +59 -0
- package/src/pagination/ListExportsPaginator.ts +55 -0
- package/src/pagination/ListTablesPaginator.ts +55 -0
- package/src/pagination/QueryPaginator.ts +55 -0
- package/src/pagination/ScanPaginator.ts +55 -0
- package/src/protocols/Aws_json1_0.ts +10027 -0
- package/src/runtimeConfig.browser.ts +42 -0
- package/src/runtimeConfig.native.ts +17 -0
- package/src/runtimeConfig.shared.ts +17 -0
- package/src/runtimeConfig.ts +49 -0
- package/src/waiters/waitForTableExists.ts +50 -0
- package/src/waiters/waitForTableNotExists.ts +42 -0
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- package/DynamoDB.ts +0 -2530
- package/DynamoDBClient.ts +0 -475
- package/commands/BatchExecuteStatementCommand.ts +0 -96
- package/commands/BatchGetItemCommand.ts +0 -139
- package/commands/BatchWriteItemCommand.ts +0 -168
- package/commands/CreateBackupCommand.ts +0 -123
- package/commands/CreateGlobalTableCommand.ts +0 -161
- package/commands/CreateTableCommand.ts +0 -106
- package/commands/DeleteBackupCommand.ts +0 -95
- package/commands/DeleteItemCommand.ts +0 -99
- package/commands/DeleteTableCommand.ts +0 -110
- package/commands/DescribeBackupCommand.ts +0 -95
- package/commands/DescribeContinuousBackupsCommand.ts +0 -107
- package/commands/DescribeContributorInsightsCommand.ts +0 -97
- package/commands/DescribeEndpointsCommand.ts +0 -94
- package/commands/DescribeExportCommand.ts +0 -94
- package/commands/DescribeGlobalTableCommand.ts +0 -98
- package/commands/DescribeGlobalTableSettingsCommand.ts +0 -100
- package/commands/DescribeKinesisStreamingDestinationCommand.ts +0 -105
- package/commands/DescribeLimitsCommand.ts +0 -157
- package/commands/DescribeTableCommand.ts +0 -100
- package/commands/DescribeTableReplicaAutoScalingCommand.ts +0 -105
- package/commands/DescribeTimeToLiveCommand.ts +0 -94
- package/commands/DisableKinesisStreamingDestinationCommand.ts +0 -103
- package/commands/EnableKinesisStreamingDestinationCommand.ts +0 -105
- package/commands/ExecuteStatementCommand.ts +0 -96
- package/commands/ExecuteTransactionCommand.ts +0 -96
- package/commands/ExportTableToPointInTimeCommand.ts +0 -96
- package/commands/GetItemCommand.ts +0 -93
- package/commands/ListBackupsCommand.ts +0 -100
- package/commands/ListContributorInsightsCommand.ts +0 -94
- package/commands/ListExportsCommand.ts +0 -94
- package/commands/ListGlobalTablesCommand.ts +0 -97
- package/commands/ListTablesCommand.ts +0 -96
- package/commands/ListTagsOfResourceCommand.ts +0 -97
- package/commands/PutItemCommand.ts +0 -154
- package/commands/QueryCommand.ts +0 -142
- package/commands/RestoreTableFromBackupCommand.ts +0 -118
- package/commands/RestoreTableToPointInTimeCommand.ts +0 -152
- package/commands/ScanCommand.ts +0 -111
- package/commands/TagResourceCommand.ts +0 -100
- package/commands/TransactGetItemsCommand.ts +0 -119
- package/commands/TransactWriteItemsCommand.ts +0 -167
- package/commands/UntagResourceCommand.ts +0 -98
- package/commands/UpdateContinuousBackupsCommand.ts +0 -105
- package/commands/UpdateContributorInsightsCommand.ts +0 -97
- package/commands/UpdateGlobalTableCommand.ts +0 -122
- package/commands/UpdateGlobalTableSettingsCommand.ts +0 -97
- package/commands/UpdateItemCommand.ts +0 -96
- package/commands/UpdateTableCommand.ts +0 -116
- package/commands/UpdateTableReplicaAutoScalingCommand.ts +0 -102
- package/commands/UpdateTimeToLiveCommand.ts +0 -118
- package/dist/cjs/DynamoDB.js +0 -779
- package/dist/cjs/DynamoDB.js.map +0 -1
- package/dist/cjs/DynamoDBClient.js +0 -67
- package/dist/cjs/DynamoDBClient.js.map +0 -1
- package/dist/cjs/commands/BatchExecuteStatementCommand.js +0 -63
- package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetItemCommand.js +0 -106
- package/dist/cjs/commands/BatchGetItemCommand.js.map +0 -1
- package/dist/cjs/commands/BatchWriteItemCommand.js +0 -135
- package/dist/cjs/commands/BatchWriteItemCommand.js.map +0 -1
- package/dist/cjs/commands/CreateBackupCommand.js +0 -90
- package/dist/cjs/commands/CreateBackupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateGlobalTableCommand.js +0 -128
- package/dist/cjs/commands/CreateGlobalTableCommand.js.map +0 -1
- package/dist/cjs/commands/CreateTableCommand.js +0 -73
- package/dist/cjs/commands/CreateTableCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBackupCommand.js +0 -62
- package/dist/cjs/commands/DeleteBackupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteItemCommand.js +0 -66
- package/dist/cjs/commands/DeleteItemCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTableCommand.js +0 -77
- package/dist/cjs/commands/DeleteTableCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeBackupCommand.js +0 -62
- package/dist/cjs/commands/DescribeBackupCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeContinuousBackupsCommand.js +0 -71
- package/dist/cjs/commands/DescribeContinuousBackupsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeContributorInsightsCommand.js +0 -61
- package/dist/cjs/commands/DescribeContributorInsightsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeEndpointsCommand.js +0 -61
- package/dist/cjs/commands/DescribeEndpointsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeExportCommand.js +0 -61
- package/dist/cjs/commands/DescribeExportCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeGlobalTableCommand.js +0 -65
- package/dist/cjs/commands/DescribeGlobalTableCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js +0 -64
- package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js +0 -61
- package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLimitsCommand.js +0 -124
- package/dist/cjs/commands/DescribeLimitsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTableCommand.js +0 -67
- package/dist/cjs/commands/DescribeTableCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js +0 -64
- package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTimeToLiveCommand.js +0 -61
- package/dist/cjs/commands/DescribeTimeToLiveCommand.js.map +0 -1
- package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js +0 -62
- package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js +0 -64
- package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/ExecuteStatementCommand.js +0 -63
- package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/ExecuteTransactionCommand.js +0 -63
- package/dist/cjs/commands/ExecuteTransactionCommand.js.map +0 -1
- package/dist/cjs/commands/ExportTableToPointInTimeCommand.js +0 -63
- package/dist/cjs/commands/ExportTableToPointInTimeCommand.js.map +0 -1
- package/dist/cjs/commands/GetItemCommand.js +0 -67
- package/dist/cjs/commands/GetItemCommand.js.map +0 -1
- package/dist/cjs/commands/ListBackupsCommand.js +0 -67
- package/dist/cjs/commands/ListBackupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListContributorInsightsCommand.js +0 -61
- package/dist/cjs/commands/ListContributorInsightsCommand.js.map +0 -1
- package/dist/cjs/commands/ListExportsCommand.js +0 -61
- package/dist/cjs/commands/ListExportsCommand.js.map +0 -1
- package/dist/cjs/commands/ListGlobalTablesCommand.js +0 -64
- package/dist/cjs/commands/ListGlobalTablesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTablesCommand.js +0 -63
- package/dist/cjs/commands/ListTablesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsOfResourceCommand.js +0 -64
- package/dist/cjs/commands/ListTagsOfResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutItemCommand.js +0 -128
- package/dist/cjs/commands/PutItemCommand.js.map +0 -1
- package/dist/cjs/commands/QueryCommand.js +0 -116
- package/dist/cjs/commands/QueryCommand.js.map +0 -1
- package/dist/cjs/commands/RestoreTableFromBackupCommand.js +0 -85
- package/dist/cjs/commands/RestoreTableFromBackupCommand.js.map +0 -1
- package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js +0 -116
- package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js.map +0 -1
- package/dist/cjs/commands/ScanCommand.js +0 -85
- package/dist/cjs/commands/ScanCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -67
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/TransactGetItemsCommand.js +0 -86
- package/dist/cjs/commands/TransactGetItemsCommand.js.map +0 -1
- package/dist/cjs/commands/TransactWriteItemsCommand.js +0 -134
- package/dist/cjs/commands/TransactWriteItemsCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js +0 -65
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateContinuousBackupsCommand.js +0 -72
- package/dist/cjs/commands/UpdateContinuousBackupsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateContributorInsightsCommand.js +0 -61
- package/dist/cjs/commands/UpdateContributorInsightsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateGlobalTableCommand.js +0 -89
- package/dist/cjs/commands/UpdateGlobalTableCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js +0 -61
- package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateItemCommand.js +0 -63
- package/dist/cjs/commands/UpdateItemCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateTableCommand.js +0 -83
- package/dist/cjs/commands/UpdateTableCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js +0 -64
- package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateTimeToLiveCommand.js +0 -85
- package/dist/cjs/commands/UpdateTimeToLiveCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -95
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListContributorInsightsPaginator.js +0 -46
- package/dist/cjs/pagination/ListContributorInsightsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListExportsPaginator.js +0 -46
- package/dist/cjs/pagination/ListExportsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTablesPaginator.js +0 -46
- package/dist/cjs/pagination/ListTablesPaginator.js.map +0 -1
- package/dist/cjs/pagination/QueryPaginator.js +0 -46
- package/dist/cjs/pagination/QueryPaginator.js.map +0 -1
- package/dist/cjs/pagination/ScanPaginator.js +0 -46
- package/dist/cjs/pagination/ScanPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_0.js +0 -7983
- package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js +0 -42
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js +0 -48
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js +0 -21
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/cjs/waiters/waitForTableExists.js +0 -49
- package/dist/cjs/waiters/waitForTableExists.js.map +0 -1
- package/dist/cjs/waiters/waitForTableNotExists.js +0 -40
- package/dist/cjs/waiters/waitForTableNotExists.js.map +0 -1
- package/dist/es/DynamoDB.js +0 -761
- package/dist/es/DynamoDB.js.map +0 -1
- package/dist/es/DynamoDBClient.js +0 -43
- package/dist/es/DynamoDBClient.js.map +0 -1
- package/dist/es/commands/BatchExecuteStatementCommand.js +0 -40
- package/dist/es/commands/BatchExecuteStatementCommand.js.map +0 -1
- package/dist/es/commands/BatchGetItemCommand.js +0 -40
- package/dist/es/commands/BatchGetItemCommand.js.map +0 -1
- package/dist/es/commands/BatchWriteItemCommand.js +0 -40
- package/dist/es/commands/BatchWriteItemCommand.js.map +0 -1
- package/dist/es/commands/CreateBackupCommand.js +0 -40
- package/dist/es/commands/CreateBackupCommand.js.map +0 -1
- package/dist/es/commands/CreateGlobalTableCommand.js +0 -40
- package/dist/es/commands/CreateGlobalTableCommand.js.map +0 -1
- package/dist/es/commands/CreateTableCommand.js +0 -40
- package/dist/es/commands/CreateTableCommand.js.map +0 -1
- package/dist/es/commands/DeleteBackupCommand.js +0 -40
- package/dist/es/commands/DeleteBackupCommand.js.map +0 -1
- package/dist/es/commands/DeleteItemCommand.js +0 -40
- package/dist/es/commands/DeleteItemCommand.js.map +0 -1
- package/dist/es/commands/DeleteTableCommand.js +0 -40
- package/dist/es/commands/DeleteTableCommand.js.map +0 -1
- package/dist/es/commands/DescribeBackupCommand.js +0 -40
- package/dist/es/commands/DescribeBackupCommand.js.map +0 -1
- package/dist/es/commands/DescribeContinuousBackupsCommand.js +0 -40
- package/dist/es/commands/DescribeContinuousBackupsCommand.js.map +0 -1
- package/dist/es/commands/DescribeContributorInsightsCommand.js +0 -40
- package/dist/es/commands/DescribeContributorInsightsCommand.js.map +0 -1
- package/dist/es/commands/DescribeEndpointsCommand.js +0 -40
- package/dist/es/commands/DescribeEndpointsCommand.js.map +0 -1
- package/dist/es/commands/DescribeExportCommand.js +0 -40
- package/dist/es/commands/DescribeExportCommand.js.map +0 -1
- package/dist/es/commands/DescribeGlobalTableCommand.js +0 -40
- package/dist/es/commands/DescribeGlobalTableCommand.js.map +0 -1
- package/dist/es/commands/DescribeGlobalTableSettingsCommand.js +0 -40
- package/dist/es/commands/DescribeGlobalTableSettingsCommand.js.map +0 -1
- package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js +0 -40
- package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js.map +0 -1
- package/dist/es/commands/DescribeLimitsCommand.js +0 -40
- package/dist/es/commands/DescribeLimitsCommand.js.map +0 -1
- package/dist/es/commands/DescribeTableCommand.js +0 -40
- package/dist/es/commands/DescribeTableCommand.js.map +0 -1
- package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js +0 -40
- package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js.map +0 -1
- package/dist/es/commands/DescribeTimeToLiveCommand.js +0 -40
- package/dist/es/commands/DescribeTimeToLiveCommand.js.map +0 -1
- package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js +0 -40
- package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js.map +0 -1
- package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js +0 -40
- package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js.map +0 -1
- package/dist/es/commands/ExecuteStatementCommand.js +0 -40
- package/dist/es/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/es/commands/ExecuteTransactionCommand.js +0 -40
- package/dist/es/commands/ExecuteTransactionCommand.js.map +0 -1
- package/dist/es/commands/ExportTableToPointInTimeCommand.js +0 -40
- package/dist/es/commands/ExportTableToPointInTimeCommand.js.map +0 -1
- package/dist/es/commands/GetItemCommand.js +0 -40
- package/dist/es/commands/GetItemCommand.js.map +0 -1
- package/dist/es/commands/ListBackupsCommand.js +0 -40
- package/dist/es/commands/ListBackupsCommand.js.map +0 -1
- package/dist/es/commands/ListContributorInsightsCommand.js +0 -40
- package/dist/es/commands/ListContributorInsightsCommand.js.map +0 -1
- package/dist/es/commands/ListExportsCommand.js +0 -40
- package/dist/es/commands/ListExportsCommand.js.map +0 -1
- package/dist/es/commands/ListGlobalTablesCommand.js +0 -40
- package/dist/es/commands/ListGlobalTablesCommand.js.map +0 -1
- package/dist/es/commands/ListTablesCommand.js +0 -40
- package/dist/es/commands/ListTablesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsOfResourceCommand.js +0 -40
- package/dist/es/commands/ListTagsOfResourceCommand.js.map +0 -1
- package/dist/es/commands/PutItemCommand.js +0 -40
- package/dist/es/commands/PutItemCommand.js.map +0 -1
- package/dist/es/commands/QueryCommand.js +0 -40
- package/dist/es/commands/QueryCommand.js.map +0 -1
- package/dist/es/commands/RestoreTableFromBackupCommand.js +0 -40
- package/dist/es/commands/RestoreTableFromBackupCommand.js.map +0 -1
- package/dist/es/commands/RestoreTableToPointInTimeCommand.js +0 -40
- package/dist/es/commands/RestoreTableToPointInTimeCommand.js.map +0 -1
- package/dist/es/commands/ScanCommand.js +0 -40
- package/dist/es/commands/ScanCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -40
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/TransactGetItemsCommand.js +0 -40
- package/dist/es/commands/TransactGetItemsCommand.js.map +0 -1
- package/dist/es/commands/TransactWriteItemsCommand.js +0 -40
- package/dist/es/commands/TransactWriteItemsCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -40
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateContinuousBackupsCommand.js +0 -40
- package/dist/es/commands/UpdateContinuousBackupsCommand.js.map +0 -1
- package/dist/es/commands/UpdateContributorInsightsCommand.js +0 -40
- package/dist/es/commands/UpdateContributorInsightsCommand.js.map +0 -1
- package/dist/es/commands/UpdateGlobalTableCommand.js +0 -40
- package/dist/es/commands/UpdateGlobalTableCommand.js.map +0 -1
- package/dist/es/commands/UpdateGlobalTableSettingsCommand.js +0 -40
- package/dist/es/commands/UpdateGlobalTableSettingsCommand.js.map +0 -1
- package/dist/es/commands/UpdateItemCommand.js +0 -40
- package/dist/es/commands/UpdateItemCommand.js.map +0 -1
- package/dist/es/commands/UpdateTableCommand.js +0 -40
- package/dist/es/commands/UpdateTableCommand.js.map +0 -1
- package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js +0 -40
- package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js.map +0 -1
- package/dist/es/commands/UpdateTimeToLiveCommand.js +0 -40
- package/dist/es/commands/UpdateTimeToLiveCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -95
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListContributorInsightsPaginator.js +0 -75
- package/dist/es/pagination/ListContributorInsightsPaginator.js.map +0 -1
- package/dist/es/pagination/ListExportsPaginator.js +0 -75
- package/dist/es/pagination/ListExportsPaginator.js.map +0 -1
- package/dist/es/pagination/ListTablesPaginator.js +0 -75
- package/dist/es/pagination/ListTablesPaginator.js.map +0 -1
- package/dist/es/pagination/QueryPaginator.js +0 -75
- package/dist/es/pagination/QueryPaginator.js.map +0 -1
- package/dist/es/pagination/ScanPaginator.js +0 -75
- package/dist/es/pagination/ScanPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_0.js +0 -7976
- package/dist/es/protocols/Aws_json1_0.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js +0 -17
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -23
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -14
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/es/waiters/waitForTableExists.js +0 -55
- package/dist/es/waiters/waitForTableExists.js.map +0 -1
- package/dist/es/waiters/waitForTableNotExists.js +0 -46
- package/dist/es/waiters/waitForTableNotExists.js.map +0 -1
- package/dist/types/DynamoDB.d.ts +0 -1169
- package/dist/types/DynamoDBClient.d.ts +0 -207
- package/dist/types/commands/BatchExecuteStatementCommand.d.ts +0 -37
- package/dist/types/commands/BatchGetItemCommand.d.ts +0 -80
- package/dist/types/commands/BatchWriteItemCommand.d.ts +0 -109
- package/dist/types/commands/CreateBackupCommand.d.ts +0 -64
- package/dist/types/commands/CreateGlobalTableCommand.d.ts +0 -102
- package/dist/types/commands/CreateTableCommand.d.ts +0 -47
- package/dist/types/commands/DeleteBackupCommand.d.ts +0 -36
- package/dist/types/commands/DeleteItemCommand.d.ts +0 -40
- package/dist/types/commands/DeleteTableCommand.d.ts +0 -51
- package/dist/types/commands/DescribeBackupCommand.d.ts +0 -36
- package/dist/types/commands/DescribeContinuousBackupsCommand.d.ts +0 -45
- package/dist/types/commands/DescribeContributorInsightsCommand.d.ts +0 -35
- package/dist/types/commands/DescribeEndpointsCommand.d.ts +0 -35
- package/dist/types/commands/DescribeExportCommand.d.ts +0 -35
- package/dist/types/commands/DescribeGlobalTableCommand.d.ts +0 -39
- package/dist/types/commands/DescribeGlobalTableSettingsCommand.d.ts +0 -38
- package/dist/types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +0 -35
- package/dist/types/commands/DescribeLimitsCommand.d.ts +0 -98
- package/dist/types/commands/DescribeTableCommand.d.ts +0 -41
- package/dist/types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +0 -38
- package/dist/types/commands/DescribeTimeToLiveCommand.d.ts +0 -35
- package/dist/types/commands/DisableKinesisStreamingDestinationCommand.d.ts +0 -36
- package/dist/types/commands/EnableKinesisStreamingDestinationCommand.d.ts +0 -38
- package/dist/types/commands/ExecuteStatementCommand.d.ts +0 -37
- package/dist/types/commands/ExecuteTransactionCommand.d.ts +0 -37
- package/dist/types/commands/ExportTableToPointInTimeCommand.d.ts +0 -37
- package/dist/types/commands/GetItemCommand.d.ts +0 -41
- package/dist/types/commands/ListBackupsCommand.d.ts +0 -41
- package/dist/types/commands/ListContributorInsightsCommand.d.ts +0 -35
- package/dist/types/commands/ListExportsCommand.d.ts +0 -35
- package/dist/types/commands/ListGlobalTablesCommand.d.ts +0 -38
- package/dist/types/commands/ListTablesCommand.d.ts +0 -37
- package/dist/types/commands/ListTagsOfResourceCommand.d.ts +0 -38
- package/dist/types/commands/PutItemCommand.d.ts +0 -102
- package/dist/types/commands/QueryCommand.d.ts +0 -90
- package/dist/types/commands/RestoreTableFromBackupCommand.d.ts +0 -59
- package/dist/types/commands/RestoreTableToPointInTimeCommand.d.ts +0 -90
- package/dist/types/commands/ScanCommand.d.ts +0 -59
- package/dist/types/commands/TagResourceCommand.d.ts +0 -41
- package/dist/types/commands/TransactGetItemsCommand.d.ts +0 -60
- package/dist/types/commands/TransactWriteItemsCommand.d.ts +0 -108
- package/dist/types/commands/UntagResourceCommand.d.ts +0 -39
- package/dist/types/commands/UpdateContinuousBackupsCommand.d.ts +0 -46
- package/dist/types/commands/UpdateContributorInsightsCommand.d.ts +0 -35
- package/dist/types/commands/UpdateGlobalTableCommand.d.ts +0 -63
- package/dist/types/commands/UpdateGlobalTableSettingsCommand.d.ts +0 -35
- package/dist/types/commands/UpdateItemCommand.d.ts +0 -37
- package/dist/types/commands/UpdateTableCommand.d.ts +0 -57
- package/dist/types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +0 -38
- package/dist/types/commands/UpdateTimeToLiveCommand.d.ts +0 -59
- package/dist/types/pagination/Interfaces.d.ts +0 -6
- package/dist/types/pagination/ListContributorInsightsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListExportsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListTablesPaginator.d.ts +0 -4
- package/dist/types/pagination/QueryPaginator.d.ts +0 -4
- package/dist/types/pagination/ScanPaginator.d.ts +0 -4
- package/dist/types/protocols/Aws_json1_0.d.ts +0 -152
- package/dist/types/runtimeConfig.d.ts +0 -40
- package/dist/types/ts3.4/DynamoDB.d.ts +0 -1169
- package/dist/types/ts3.4/DynamoDBClient.d.ts +0 -207
- package/dist/types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/BatchGetItemCommand.d.ts +0 -80
- package/dist/types/ts3.4/commands/BatchWriteItemCommand.d.ts +0 -109
- package/dist/types/ts3.4/commands/CreateBackupCommand.d.ts +0 -64
- package/dist/types/ts3.4/commands/CreateGlobalTableCommand.d.ts +0 -102
- package/dist/types/ts3.4/commands/CreateTableCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/DeleteBackupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteItemCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/DeleteTableCommand.d.ts +0 -51
- package/dist/types/ts3.4/commands/DescribeBackupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeEndpointsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeExportCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeLimitsCommand.d.ts +0 -98
- package/dist/types/ts3.4/commands/DescribeTableCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ExecuteStatementCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ExecuteTransactionCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetItemCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListBackupsCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListContributorInsightsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListExportsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListGlobalTablesCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ListTablesCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/PutItemCommand.d.ts +0 -102
- package/dist/types/ts3.4/commands/QueryCommand.d.ts +0 -90
- package/dist/types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +0 -90
- package/dist/types/ts3.4/commands/ScanCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/TransactGetItemsCommand.d.ts +0 -60
- package/dist/types/ts3.4/commands/TransactWriteItemsCommand.d.ts +0 -108
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +0 -46
- package/dist/types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +0 -63
- package/dist/types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateItemCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UpdateTableCommand.d.ts +0 -57
- package/dist/types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +0 -59
- package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist/types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListExportsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListTablesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/QueryPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ScanPaginator.d.ts +0 -4
- package/dist/types/ts3.4/protocols/Aws_json1_0.d.ts +0 -152
- package/dist/types/ts3.4/runtimeConfig.d.ts +0 -40
- package/dist/types/ts3.4/waiters/waitForTableExists.d.ts +0 -14
- package/dist/types/ts3.4/waiters/waitForTableNotExists.d.ts +0 -14
- package/dist/types/waiters/waitForTableExists.d.ts +0 -14
- package/dist/types/waiters/waitForTableNotExists.d.ts +0 -14
- package/endpoints.ts +0 -96
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListContributorInsightsPaginator.ts +0 -58
- package/pagination/ListExportsPaginator.ts +0 -54
- package/pagination/ListTablesPaginator.ts +0 -54
- package/pagination/QueryPaginator.ts +0 -54
- package/pagination/ScanPaginator.ts +0 -54
- package/protocols/Aws_json1_0.ts +0 -10026
- package/runtimeConfig.browser.ts +0 -41
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -48
- package/waiters/waitForTableExists.ts +0 -49
- package/waiters/waitForTableNotExists.ts +0 -41
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateGlobalTableCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Creates a global table from an existing table. A global table creates a replication
|
|
10
|
+
* relationship between two or more DynamoDB tables with the same table name in the
|
|
11
|
+
* provided Regions. </p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html">Version 2017.11.29</a> of global tables.</p>
|
|
14
|
+
* </note>
|
|
15
|
+
*
|
|
16
|
+
* <p>If you want to add a new replica table to a global table, each of the following conditions
|
|
17
|
+
* must be true:</p>
|
|
18
|
+
* <ul>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>The table must have the same primary key as all of the other replicas.</p>
|
|
21
|
+
* </li>
|
|
22
|
+
* <li>
|
|
23
|
+
* <p>The table must have the same name as all of the other replicas.</p>
|
|
24
|
+
* </li>
|
|
25
|
+
* <li>
|
|
26
|
+
* <p>The table must have DynamoDB Streams enabled, with the stream containing both the new and the old
|
|
27
|
+
* images of the item.</p>
|
|
28
|
+
* </li>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>None of the replica tables in the global table can contain any data.</p>
|
|
31
|
+
* </li>
|
|
32
|
+
* </ul>
|
|
33
|
+
* <p>
|
|
34
|
+
* If global secondary indexes are specified, then the following conditions must also be met:
|
|
35
|
+
* </p>
|
|
36
|
+
* <ul>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* The global secondary indexes must have the same name.
|
|
40
|
+
* </p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* The global secondary indexes must have the same hash key and sort key (if present).
|
|
45
|
+
* </p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
48
|
+
* <p>
|
|
49
|
+
* If local secondary indexes are specified, then the following conditions must also be met:
|
|
50
|
+
* </p>
|
|
51
|
+
* <ul>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>
|
|
54
|
+
* The local secondary indexes must have the same name.
|
|
55
|
+
* </p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>
|
|
59
|
+
* The local secondary indexes must have the same hash key and sort key (if present).
|
|
60
|
+
* </p>
|
|
61
|
+
* </li>
|
|
62
|
+
* </ul>
|
|
63
|
+
*
|
|
64
|
+
* <important>
|
|
65
|
+
* <p>
|
|
66
|
+
* Write capacity settings should be set consistently across your replica tables and
|
|
67
|
+
* secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write
|
|
68
|
+
* capacity settings for all of your global tables replicas and indexes.
|
|
69
|
+
* </p>
|
|
70
|
+
* <p>
|
|
71
|
+
* If you prefer to manage write capacity settings manually, you should provision equal
|
|
72
|
+
* replicated write capacity units to your replica tables. You should also provision
|
|
73
|
+
* equal replicated write capacity units to matching secondary indexes across
|
|
74
|
+
* your global table.
|
|
75
|
+
* </p>
|
|
76
|
+
* </important>
|
|
77
|
+
* @example
|
|
78
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
79
|
+
* ```javascript
|
|
80
|
+
* import { DynamoDBClient, CreateGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
81
|
+
* // const { DynamoDBClient, CreateGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
82
|
+
* const client = new DynamoDBClient(config);
|
|
83
|
+
* const command = new CreateGlobalTableCommand(input);
|
|
84
|
+
* const response = await client.send(command);
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @see {@link CreateGlobalTableCommandInput} for command's `input` shape.
|
|
88
|
+
* @see {@link CreateGlobalTableCommandOutput} for command's `response` shape.
|
|
89
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
class CreateGlobalTableCommand extends smithy_client_1.Command {
|
|
93
|
+
// Start section: command_properties
|
|
94
|
+
// End section: command_properties
|
|
95
|
+
constructor(input) {
|
|
96
|
+
// Start section: command_constructor
|
|
97
|
+
super();
|
|
98
|
+
this.input = input;
|
|
99
|
+
// End section: command_constructor
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
105
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
106
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
107
|
+
const { logger } = configuration;
|
|
108
|
+
const clientName = "DynamoDBClient";
|
|
109
|
+
const commandName = "CreateGlobalTableCommand";
|
|
110
|
+
const handlerExecutionContext = {
|
|
111
|
+
logger,
|
|
112
|
+
clientName,
|
|
113
|
+
commandName,
|
|
114
|
+
inputFilterSensitiveLog: models_0_1.CreateGlobalTableInput.filterSensitiveLog,
|
|
115
|
+
outputFilterSensitiveLog: models_0_1.CreateGlobalTableOutput.filterSensitiveLog,
|
|
116
|
+
};
|
|
117
|
+
const { requestHandler } = configuration;
|
|
118
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
119
|
+
}
|
|
120
|
+
serialize(input, context) {
|
|
121
|
+
return Aws_json1_0_1.serializeAws_json1_0CreateGlobalTableCommand(input, context);
|
|
122
|
+
}
|
|
123
|
+
deserialize(output, context) {
|
|
124
|
+
return Aws_json1_0_1.deserializeAws_json1_0CreateGlobalTableCommand(output, context);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.CreateGlobalTableCommand = CreateGlobalTableCommand;
|
|
128
|
+
//# sourceMappingURL=CreateGlobalTableCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateGlobalTableCommand.js","sourceRoot":"","sources":["../../src/commands/CreateGlobalTableCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAY7D,iDAAqF;AACrF,0DAGkC;AAKlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,MAAa,wBAAyB,SAAQ,uBAI7C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAoC;QACvD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA+B;QAGvD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,0BAA0B,CAAC;QAC/C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,iCAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,kCAAuB,CAAC,kBAAkB;SACrE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAoC,EAAE,OAAuB;QAC7E,OAAO,0DAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,4DAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CAIF;AAtDD,4DAsDC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateTableCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
/**
|
|
9
|
+
* <p>The <code>CreateTable</code> operation adds a new table to your account. In an AWS
|
|
10
|
+
* account, table names must be unique within each Region. That is, you can have two tables
|
|
11
|
+
* with same name if you create the tables in different Regions.</p>
|
|
12
|
+
* <p>
|
|
13
|
+
* <code>CreateTable</code> is an asynchronous operation. Upon receiving a <code>CreateTable</code> request,
|
|
14
|
+
* DynamoDB immediately returns a response with a <code>TableStatus</code> of <code>CREATING</code>. After
|
|
15
|
+
* the table is created, DynamoDB sets the <code>TableStatus</code> to <code>ACTIVE</code>. You can
|
|
16
|
+
* perform read and write operations only on an <code>ACTIVE</code> table. </p>
|
|
17
|
+
* <p>You can optionally define secondary indexes on the new table, as part of the <code>CreateTable</code>
|
|
18
|
+
* operation. If you want to create multiple tables with secondary indexes on them, you must create the
|
|
19
|
+
* tables sequentially. Only one table with secondary indexes can be in the <code>CREATING</code> state at
|
|
20
|
+
* any given time.</p>
|
|
21
|
+
* <p>You can use the <code>DescribeTable</code> action to check the table status.</p>
|
|
22
|
+
* @example
|
|
23
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
+
* ```javascript
|
|
25
|
+
* import { DynamoDBClient, CreateTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
26
|
+
* // const { DynamoDBClient, CreateTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
27
|
+
* const client = new DynamoDBClient(config);
|
|
28
|
+
* const command = new CreateTableCommand(input);
|
|
29
|
+
* const response = await client.send(command);
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* @see {@link CreateTableCommandInput} for command's `input` shape.
|
|
33
|
+
* @see {@link CreateTableCommandOutput} for command's `response` shape.
|
|
34
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
class CreateTableCommand extends smithy_client_1.Command {
|
|
38
|
+
// Start section: command_properties
|
|
39
|
+
// End section: command_properties
|
|
40
|
+
constructor(input) {
|
|
41
|
+
// Start section: command_constructor
|
|
42
|
+
super();
|
|
43
|
+
this.input = input;
|
|
44
|
+
// End section: command_constructor
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
50
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
51
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
52
|
+
const { logger } = configuration;
|
|
53
|
+
const clientName = "DynamoDBClient";
|
|
54
|
+
const commandName = "CreateTableCommand";
|
|
55
|
+
const handlerExecutionContext = {
|
|
56
|
+
logger,
|
|
57
|
+
clientName,
|
|
58
|
+
commandName,
|
|
59
|
+
inputFilterSensitiveLog: models_0_1.CreateTableInput.filterSensitiveLog,
|
|
60
|
+
outputFilterSensitiveLog: models_0_1.CreateTableOutput.filterSensitiveLog,
|
|
61
|
+
};
|
|
62
|
+
const { requestHandler } = configuration;
|
|
63
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
64
|
+
}
|
|
65
|
+
serialize(input, context) {
|
|
66
|
+
return Aws_json1_0_1.serializeAws_json1_0CreateTableCommand(input, context);
|
|
67
|
+
}
|
|
68
|
+
deserialize(output, context) {
|
|
69
|
+
return Aws_json1_0_1.deserializeAws_json1_0CreateTableCommand(output, context);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.CreateTableCommand = CreateTableCommand;
|
|
73
|
+
//# sourceMappingURL=CreateTableCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateTableCommand.js","sourceRoot":"","sources":["../../src/commands/CreateTableCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAY7D,iDAAyE;AACzE,0DAGkC;AAKlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,kBAAmB,SAAQ,uBAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA8B;QACjD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAyB;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,2BAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,4BAAiB,CAAC,kBAAkB;SAC/D,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA8B,EAAE,OAAuB;QACvE,OAAO,oDAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,sDAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CAIF;AAtDD,gDAsDC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteBackupCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Deletes an existing backup of a table.</p>
|
|
10
|
+
* <p>You can call <code>DeleteBackup</code> at a maximum rate of 10 times per second.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DynamoDBClient, DeleteBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
15
|
+
* // const { DynamoDBClient, DeleteBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
16
|
+
* const client = new DynamoDBClient(config);
|
|
17
|
+
* const command = new DeleteBackupCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteBackupCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteBackupCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
class DeleteBackupCommand extends smithy_client_1.Command {
|
|
27
|
+
// Start section: command_properties
|
|
28
|
+
// End section: command_properties
|
|
29
|
+
constructor(input) {
|
|
30
|
+
// Start section: command_constructor
|
|
31
|
+
super();
|
|
32
|
+
this.input = input;
|
|
33
|
+
// End section: command_constructor
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
39
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
41
|
+
const { logger } = configuration;
|
|
42
|
+
const clientName = "DynamoDBClient";
|
|
43
|
+
const commandName = "DeleteBackupCommand";
|
|
44
|
+
const handlerExecutionContext = {
|
|
45
|
+
logger,
|
|
46
|
+
clientName,
|
|
47
|
+
commandName,
|
|
48
|
+
inputFilterSensitiveLog: models_0_1.DeleteBackupInput.filterSensitiveLog,
|
|
49
|
+
outputFilterSensitiveLog: models_0_1.DeleteBackupOutput.filterSensitiveLog,
|
|
50
|
+
};
|
|
51
|
+
const { requestHandler } = configuration;
|
|
52
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
53
|
+
}
|
|
54
|
+
serialize(input, context) {
|
|
55
|
+
return Aws_json1_0_1.serializeAws_json1_0DeleteBackupCommand(input, context);
|
|
56
|
+
}
|
|
57
|
+
deserialize(output, context) {
|
|
58
|
+
return Aws_json1_0_1.deserializeAws_json1_0DeleteBackupCommand(output, context);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.DeleteBackupCommand = DeleteBackupCommand;
|
|
62
|
+
//# sourceMappingURL=DeleteBackupCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteBackupCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteBackupCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAY7D,iDAA2E;AAC3E,0DAGkC;AAKlC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,mBAAoB,SAAQ,uBAIxC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA+B;QAClD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA0B;QAGlD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,qBAAqB,CAAC;QAC1C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,4BAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,6BAAkB,CAAC,kBAAkB;SAChE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA+B,EAAE,OAAuB;QACxE,OAAO,qDAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,uDAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CAIF;AAtDD,kDAsDC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteItemCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.</p>
|
|
10
|
+
* <p>In addition to deleting an item, you can also return the item's attribute values in the same
|
|
11
|
+
* operation, using the <code>ReturnValues</code> parameter.</p>
|
|
12
|
+
* <p>Unless you specify conditions, the <code>DeleteItem</code> is an idempotent operation; running it
|
|
13
|
+
* multiple times on the same item or attribute does <i>not</i> result in an error response.</p>
|
|
14
|
+
* <p>Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { DynamoDBClient, DeleteItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
19
|
+
* // const { DynamoDBClient, DeleteItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
20
|
+
* const client = new DynamoDBClient(config);
|
|
21
|
+
* const command = new DeleteItemCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteItemCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteItemCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
class DeleteItemCommand extends smithy_client_1.Command {
|
|
31
|
+
// Start section: command_properties
|
|
32
|
+
// End section: command_properties
|
|
33
|
+
constructor(input) {
|
|
34
|
+
// Start section: command_constructor
|
|
35
|
+
super();
|
|
36
|
+
this.input = input;
|
|
37
|
+
// End section: command_constructor
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
43
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
45
|
+
const { logger } = configuration;
|
|
46
|
+
const clientName = "DynamoDBClient";
|
|
47
|
+
const commandName = "DeleteItemCommand";
|
|
48
|
+
const handlerExecutionContext = {
|
|
49
|
+
logger,
|
|
50
|
+
clientName,
|
|
51
|
+
commandName,
|
|
52
|
+
inputFilterSensitiveLog: models_0_1.DeleteItemInput.filterSensitiveLog,
|
|
53
|
+
outputFilterSensitiveLog: models_0_1.DeleteItemOutput.filterSensitiveLog,
|
|
54
|
+
};
|
|
55
|
+
const { requestHandler } = configuration;
|
|
56
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
57
|
+
}
|
|
58
|
+
serialize(input, context) {
|
|
59
|
+
return Aws_json1_0_1.serializeAws_json1_0DeleteItemCommand(input, context);
|
|
60
|
+
}
|
|
61
|
+
deserialize(output, context) {
|
|
62
|
+
return Aws_json1_0_1.deserializeAws_json1_0DeleteItemCommand(output, context);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.DeleteItemCommand = DeleteItemCommand;
|
|
66
|
+
//# sourceMappingURL=DeleteItemCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteItemCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteItemCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAY7D,iDAAuE;AACvE,0DAGkC;AAKlC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,iBAAkB,SAAQ,uBAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA6B;QAChD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAwB;QAGhD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,0BAAe,CAAC,kBAAkB;YAC3D,wBAAwB,EAAE,2BAAgB,CAAC,kBAAkB;SAC9D,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA6B,EAAE,OAAuB;QACtE,OAAO,mDAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CAIF;AAtDD,8CAsDC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteTableCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
/**
|
|
9
|
+
* <p>The <code>DeleteTable</code> operation deletes a table and all of its items. After a
|
|
10
|
+
* <code>DeleteTable</code> request, the specified table is in the <code>DELETING</code> state until
|
|
11
|
+
* DynamoDB completes the deletion. If the table is in the <code>ACTIVE</code> state, you can delete
|
|
12
|
+
* it. If a table is in <code>CREATING</code> or <code>UPDATING</code> states, then DynamoDB returns
|
|
13
|
+
* a <code>ResourceInUseException</code>. If the specified table does not exist, DynamoDB returns a
|
|
14
|
+
* <code>ResourceNotFoundException</code>. If table is already in the <code>DELETING</code> state, no
|
|
15
|
+
* error is returned. </p>
|
|
16
|
+
* <note>
|
|
17
|
+
* <p>DynamoDB might continue to accept data read and write operations, such as <code>GetItem</code> and
|
|
18
|
+
* <code>PutItem</code>, on a table in the <code>DELETING</code> state until the table deletion is
|
|
19
|
+
* complete.</p>
|
|
20
|
+
* </note>
|
|
21
|
+
* <p>When you delete a table, any indexes on that table are also deleted.</p>
|
|
22
|
+
* <p>If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes
|
|
23
|
+
* into the <code>DISABLED</code> state, and the stream is automatically deleted after 24 hours.</p>
|
|
24
|
+
*
|
|
25
|
+
* <p>Use the <code>DescribeTable</code> action to check the status of the table. </p>
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { DynamoDBClient, DeleteTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
30
|
+
* // const { DynamoDBClient, DeleteTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
31
|
+
* const client = new DynamoDBClient(config);
|
|
32
|
+
* const command = new DeleteTableCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @see {@link DeleteTableCommandInput} for command's `input` shape.
|
|
37
|
+
* @see {@link DeleteTableCommandOutput} for command's `response` shape.
|
|
38
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
class DeleteTableCommand extends smithy_client_1.Command {
|
|
42
|
+
// Start section: command_properties
|
|
43
|
+
// End section: command_properties
|
|
44
|
+
constructor(input) {
|
|
45
|
+
// Start section: command_constructor
|
|
46
|
+
super();
|
|
47
|
+
this.input = input;
|
|
48
|
+
// End section: command_constructor
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
54
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
56
|
+
const { logger } = configuration;
|
|
57
|
+
const clientName = "DynamoDBClient";
|
|
58
|
+
const commandName = "DeleteTableCommand";
|
|
59
|
+
const handlerExecutionContext = {
|
|
60
|
+
logger,
|
|
61
|
+
clientName,
|
|
62
|
+
commandName,
|
|
63
|
+
inputFilterSensitiveLog: models_0_1.DeleteTableInput.filterSensitiveLog,
|
|
64
|
+
outputFilterSensitiveLog: models_0_1.DeleteTableOutput.filterSensitiveLog,
|
|
65
|
+
};
|
|
66
|
+
const { requestHandler } = configuration;
|
|
67
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
68
|
+
}
|
|
69
|
+
serialize(input, context) {
|
|
70
|
+
return Aws_json1_0_1.serializeAws_json1_0DeleteTableCommand(input, context);
|
|
71
|
+
}
|
|
72
|
+
deserialize(output, context) {
|
|
73
|
+
return Aws_json1_0_1.deserializeAws_json1_0DeleteTableCommand(output, context);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.DeleteTableCommand = DeleteTableCommand;
|
|
77
|
+
//# sourceMappingURL=DeleteTableCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteTableCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteTableCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAY7D,iDAAyE;AACzE,0DAGkC;AAKlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,kBAAmB,SAAQ,uBAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA8B;QACjD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAyB;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,2BAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,4BAAiB,CAAC,kBAAkB;SAC/D,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA8B,EAAE,OAAuB;QACvE,OAAO,oDAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,sDAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CAIF;AAtDD,gDAsDC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeBackupCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Describes an existing backup of a table.</p>
|
|
10
|
+
* <p>You can call <code>DescribeBackup</code> at a maximum rate of 10 times per second.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DynamoDBClient, DescribeBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
15
|
+
* // const { DynamoDBClient, DescribeBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
16
|
+
* const client = new DynamoDBClient(config);
|
|
17
|
+
* const command = new DescribeBackupCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DescribeBackupCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DescribeBackupCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
class DescribeBackupCommand extends smithy_client_1.Command {
|
|
27
|
+
// Start section: command_properties
|
|
28
|
+
// End section: command_properties
|
|
29
|
+
constructor(input) {
|
|
30
|
+
// Start section: command_constructor
|
|
31
|
+
super();
|
|
32
|
+
this.input = input;
|
|
33
|
+
// End section: command_constructor
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
39
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
41
|
+
const { logger } = configuration;
|
|
42
|
+
const clientName = "DynamoDBClient";
|
|
43
|
+
const commandName = "DescribeBackupCommand";
|
|
44
|
+
const handlerExecutionContext = {
|
|
45
|
+
logger,
|
|
46
|
+
clientName,
|
|
47
|
+
commandName,
|
|
48
|
+
inputFilterSensitiveLog: models_0_1.DescribeBackupInput.filterSensitiveLog,
|
|
49
|
+
outputFilterSensitiveLog: models_0_1.DescribeBackupOutput.filterSensitiveLog,
|
|
50
|
+
};
|
|
51
|
+
const { requestHandler } = configuration;
|
|
52
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
53
|
+
}
|
|
54
|
+
serialize(input, context) {
|
|
55
|
+
return Aws_json1_0_1.serializeAws_json1_0DescribeBackupCommand(input, context);
|
|
56
|
+
}
|
|
57
|
+
deserialize(output, context) {
|
|
58
|
+
return Aws_json1_0_1.deserializeAws_json1_0DescribeBackupCommand(output, context);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.DescribeBackupCommand = DescribeBackupCommand;
|
|
62
|
+
//# sourceMappingURL=DescribeBackupCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeBackupCommand.js","sourceRoot":"","sources":["../../src/commands/DescribeBackupCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAY7D,iDAA+E;AAC/E,0DAGkC;AAKlC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,qBAAsB,SAAQ,uBAI1C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAiC;QACpD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA4B;QAGpD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,uBAAuB,CAAC;QAC5C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,8BAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,+BAAoB,CAAC,kBAAkB;SAClE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAiC,EAAE,OAAuB;QAC1E,OAAO,uDAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,yDAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;CAIF;AAtDD,sDAsDC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeContinuousBackupsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Checks the status of continuous backups and point in time recovery on the specified table.
|
|
10
|
+
* Continuous backups are <code>ENABLED</code> on all tables at table creation.
|
|
11
|
+
* If point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to ENABLED.</p>
|
|
12
|
+
* <p> After continuous backups and point in time recovery are enabled, you can restore to any
|
|
13
|
+
* point in time within <code>EarliestRestorableDateTime</code> and
|
|
14
|
+
* <code>LatestRestorableDateTime</code>. </p>
|
|
15
|
+
* <p>
|
|
16
|
+
* <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time. You can restore your table to any point
|
|
17
|
+
* in time during the last 35 days.
|
|
18
|
+
* </p>
|
|
19
|
+
* <p>You can call <code>DescribeContinuousBackups</code> at a maximum rate of 10 times per second.</p>
|
|
20
|
+
* @example
|
|
21
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
+
* ```javascript
|
|
23
|
+
* import { DynamoDBClient, DescribeContinuousBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
24
|
+
* // const { DynamoDBClient, DescribeContinuousBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
25
|
+
* const client = new DynamoDBClient(config);
|
|
26
|
+
* const command = new DescribeContinuousBackupsCommand(input);
|
|
27
|
+
* const response = await client.send(command);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @see {@link DescribeContinuousBackupsCommandInput} for command's `input` shape.
|
|
31
|
+
* @see {@link DescribeContinuousBackupsCommandOutput} for command's `response` shape.
|
|
32
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
class DescribeContinuousBackupsCommand extends smithy_client_1.Command {
|
|
36
|
+
// Start section: command_properties
|
|
37
|
+
// End section: command_properties
|
|
38
|
+
constructor(input) {
|
|
39
|
+
// Start section: command_constructor
|
|
40
|
+
super();
|
|
41
|
+
this.input = input;
|
|
42
|
+
// End section: command_constructor
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
48
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
50
|
+
const { logger } = configuration;
|
|
51
|
+
const clientName = "DynamoDBClient";
|
|
52
|
+
const commandName = "DescribeContinuousBackupsCommand";
|
|
53
|
+
const handlerExecutionContext = {
|
|
54
|
+
logger,
|
|
55
|
+
clientName,
|
|
56
|
+
commandName,
|
|
57
|
+
inputFilterSensitiveLog: models_0_1.DescribeContinuousBackupsInput.filterSensitiveLog,
|
|
58
|
+
outputFilterSensitiveLog: models_0_1.DescribeContinuousBackupsOutput.filterSensitiveLog,
|
|
59
|
+
};
|
|
60
|
+
const { requestHandler } = configuration;
|
|
61
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
62
|
+
}
|
|
63
|
+
serialize(input, context) {
|
|
64
|
+
return Aws_json1_0_1.serializeAws_json1_0DescribeContinuousBackupsCommand(input, context);
|
|
65
|
+
}
|
|
66
|
+
deserialize(output, context) {
|
|
67
|
+
return Aws_json1_0_1.deserializeAws_json1_0DescribeContinuousBackupsCommand(output, context);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.DescribeContinuousBackupsCommand = DescribeContinuousBackupsCommand;
|
|
71
|
+
//# sourceMappingURL=DescribeContinuousBackupsCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeContinuousBackupsCommand.js","sourceRoot":"","sources":["../../src/commands/DescribeContinuousBackupsCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAY7D,iDAAqG;AACrG,0DAGkC;AAKlC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,gCAAiC,SAAQ,uBAIrD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA4C;QAC/D,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAuC;QAG/D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,kCAAkC,CAAC;QACvD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,yCAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,0CAA+B,CAAC,kBAAkB;SAC7E,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA4C,EAAE,OAAuB;QACrF,OAAO,kEAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,WAAW,CACjB,MAAsB,EACtB,OAAuB;QAEvB,OAAO,oEAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CAIF;AAzDD,4EAyDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeContributorInsightsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Returns information about contributor insights, for a given table or global secondary index.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { DynamoDBClient, DescribeContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
14
|
+
* // const { DynamoDBClient, DescribeContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
15
|
+
* const client = new DynamoDBClient(config);
|
|
16
|
+
* const command = new DescribeContributorInsightsCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link DescribeContributorInsightsCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link DescribeContributorInsightsCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class DescribeContributorInsightsCommand extends smithy_client_1.Command {
|
|
26
|
+
// Start section: command_properties
|
|
27
|
+
// End section: command_properties
|
|
28
|
+
constructor(input) {
|
|
29
|
+
// Start section: command_constructor
|
|
30
|
+
super();
|
|
31
|
+
this.input = input;
|
|
32
|
+
// End section: command_constructor
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
38
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
40
|
+
const { logger } = configuration;
|
|
41
|
+
const clientName = "DynamoDBClient";
|
|
42
|
+
const commandName = "DescribeContributorInsightsCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.DescribeContributorInsightsInput.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.DescribeContributorInsightsOutput.filterSensitiveLog,
|
|
49
|
+
};
|
|
50
|
+
const { requestHandler } = configuration;
|
|
51
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
52
|
+
}
|
|
53
|
+
serialize(input, context) {
|
|
54
|
+
return Aws_json1_0_1.serializeAws_json1_0DescribeContributorInsightsCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_json1_0_1.deserializeAws_json1_0DescribeContributorInsightsCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.DescribeContributorInsightsCommand = DescribeContributorInsightsCommand;
|
|
61
|
+
//# sourceMappingURL=DescribeContributorInsightsCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeContributorInsightsCommand.js","sourceRoot":"","sources":["../../src/commands/DescribeContributorInsightsCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAY7D,iDAAyG;AACzG,0DAGkC;AAKlC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,kCAAmC,SAAQ,uBAIvD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA8C;QACjE,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAyC;QAGjE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,oCAAoC,CAAC;QACzD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,2CAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,4CAAiC,CAAC,kBAAkB;SAC/E,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA8C,EAAE,OAAuB;QACvF,OAAO,oEAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,WAAW,CACjB,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sEAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;CAIF;AAzDD,gFAyDC"}
|