@aws-sdk/client-dynamodb 3.535.0 → 3.538.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/README.md +24 -0
- package/dist-cjs/index.js +148 -0
- package/dist-es/DynamoDB.js +6 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +24 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +24 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_json1_0.js +70 -1
- package/dist-types/DynamoDB.d.ts +21 -0
- package/dist-types/DynamoDBClient.d.ts +5 -2
- package/dist-types/commands/CreateTableCommand.d.ts +1 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +104 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +104 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +5 -8
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +148 -37
- package/dist-types/protocols/Aws_json1_0.d.ts +27 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +51 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
- package/package.json +1 -1
|
@@ -1071,7 +1071,7 @@ export interface Capacity {
|
|
|
1071
1071
|
*/
|
|
1072
1072
|
export interface ConsumedCapacity {
|
|
1073
1073
|
/**
|
|
1074
|
-
* <p>The name of the table that was affected by the operation.</p>
|
|
1074
|
+
* <p>The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.</p>
|
|
1075
1075
|
* @public
|
|
1076
1076
|
*/
|
|
1077
1077
|
TableName?: string;
|
|
@@ -1436,7 +1436,7 @@ export interface ContributorInsightsSummary {
|
|
|
1436
1436
|
*/
|
|
1437
1437
|
export interface CreateBackupInput {
|
|
1438
1438
|
/**
|
|
1439
|
-
* <p>The name of the table.</p>
|
|
1439
|
+
* <p>The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
1440
1440
|
* @public
|
|
1441
1441
|
*/
|
|
1442
1442
|
TableName: string | undefined;
|
|
@@ -2055,7 +2055,7 @@ export interface CreateTableInput {
|
|
|
2055
2055
|
*/
|
|
2056
2056
|
AttributeDefinitions: AttributeDefinition[] | undefined;
|
|
2057
2057
|
/**
|
|
2058
|
-
* <p>The name of the table to create.</p>
|
|
2058
|
+
* <p>The name of the table to create. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
2059
2059
|
* @public
|
|
2060
2060
|
*/
|
|
2061
2061
|
TableName: string | undefined;
|
|
@@ -2325,6 +2325,13 @@ export interface CreateTableInput {
|
|
|
2325
2325
|
* @public
|
|
2326
2326
|
*/
|
|
2327
2327
|
DeletionProtectionEnabled?: boolean;
|
|
2328
|
+
/**
|
|
2329
|
+
* <p>An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.</p>
|
|
2330
|
+
* <p>When you attach a resource-based policy while creating a table, the policy creation is <i>strongly consistent</i>.</p>
|
|
2331
|
+
* <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. You can’t request an increase for this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html">Resource-based policy considerations</a>.</p>
|
|
2332
|
+
* @public
|
|
2333
|
+
*/
|
|
2334
|
+
ResourcePolicy?: string;
|
|
2328
2335
|
}
|
|
2329
2336
|
/**
|
|
2330
2337
|
* @public
|
|
@@ -3129,13 +3136,52 @@ export interface DeleteReplicationGroupMemberAction {
|
|
|
3129
3136
|
*/
|
|
3130
3137
|
RegionName: string | undefined;
|
|
3131
3138
|
}
|
|
3139
|
+
/**
|
|
3140
|
+
* @public
|
|
3141
|
+
*/
|
|
3142
|
+
export interface DeleteResourcePolicyInput {
|
|
3143
|
+
/**
|
|
3144
|
+
* <p>The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed. The resources you can specify include tables and streams. If you remove the policy of a table, it will also remove the permissions for the table's indexes defined in that policy document. This is because index permissions are defined in the table's policy.</p>
|
|
3145
|
+
* @public
|
|
3146
|
+
*/
|
|
3147
|
+
ResourceArn: string | undefined;
|
|
3148
|
+
/**
|
|
3149
|
+
* <p>A string value that you can use to conditionally delete your policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, the request will fail and return a <code>PolicyNotFoundException</code>.</p>
|
|
3150
|
+
* @public
|
|
3151
|
+
*/
|
|
3152
|
+
ExpectedRevisionId?: string;
|
|
3153
|
+
}
|
|
3154
|
+
/**
|
|
3155
|
+
* @public
|
|
3156
|
+
*/
|
|
3157
|
+
export interface DeleteResourcePolicyOutput {
|
|
3158
|
+
/**
|
|
3159
|
+
* <p>A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.</p>
|
|
3160
|
+
* <p>This value will be empty if you make a request against a resource without a policy.</p>
|
|
3161
|
+
* @public
|
|
3162
|
+
*/
|
|
3163
|
+
RevisionId?: string;
|
|
3164
|
+
}
|
|
3165
|
+
/**
|
|
3166
|
+
* <p>The operation tried to access a nonexistent resource-based policy.</p>
|
|
3167
|
+
* <p>If you specified an <code>ExpectedRevisionId</code>, it's possible that a policy is present for the resource but its revision ID didn't match the expected value.</p>
|
|
3168
|
+
* @public
|
|
3169
|
+
*/
|
|
3170
|
+
export declare class PolicyNotFoundException extends __BaseException {
|
|
3171
|
+
readonly name: "PolicyNotFoundException";
|
|
3172
|
+
readonly $fault: "client";
|
|
3173
|
+
/**
|
|
3174
|
+
* @internal
|
|
3175
|
+
*/
|
|
3176
|
+
constructor(opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>);
|
|
3177
|
+
}
|
|
3132
3178
|
/**
|
|
3133
3179
|
* <p>Represents the input of a <code>DeleteTable</code> operation.</p>
|
|
3134
3180
|
* @public
|
|
3135
3181
|
*/
|
|
3136
3182
|
export interface DeleteTableInput {
|
|
3137
3183
|
/**
|
|
3138
|
-
* <p>The name of the table to delete.</p>
|
|
3184
|
+
* <p>The name of the table to delete. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
3139
3185
|
* @public
|
|
3140
3186
|
*/
|
|
3141
3187
|
TableName: string | undefined;
|
|
@@ -3178,6 +3224,7 @@ export interface DescribeContinuousBackupsInput {
|
|
|
3178
3224
|
/**
|
|
3179
3225
|
* <p>Name of the table for which the customer wants to check the continuous backups and
|
|
3180
3226
|
* point in time recovery settings.</p>
|
|
3227
|
+
* <p>You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
3181
3228
|
* @public
|
|
3182
3229
|
*/
|
|
3183
3230
|
TableName: string | undefined;
|
|
@@ -3198,7 +3245,7 @@ export interface DescribeContinuousBackupsOutput {
|
|
|
3198
3245
|
*/
|
|
3199
3246
|
export interface DescribeContributorInsightsInput {
|
|
3200
3247
|
/**
|
|
3201
|
-
* <p>The name of the table to describe.</p>
|
|
3248
|
+
* <p>The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
3202
3249
|
* @public
|
|
3203
3250
|
*/
|
|
3204
3251
|
TableName: string | undefined;
|
|
@@ -4024,7 +4071,7 @@ export declare class ImportNotFoundException extends __BaseException {
|
|
|
4024
4071
|
*/
|
|
4025
4072
|
export interface DescribeKinesisStreamingDestinationInput {
|
|
4026
4073
|
/**
|
|
4027
|
-
* <p>The name of the table being described.</p>
|
|
4074
|
+
* <p>The name of the table being described. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
4028
4075
|
* @public
|
|
4029
4076
|
*/
|
|
4030
4077
|
TableName: string | undefined;
|
|
@@ -4131,7 +4178,7 @@ export interface DescribeLimitsOutput {
|
|
|
4131
4178
|
*/
|
|
4132
4179
|
export interface DescribeTableInput {
|
|
4133
4180
|
/**
|
|
4134
|
-
* <p>The name of the table to describe.</p>
|
|
4181
|
+
* <p>The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
4135
4182
|
* @public
|
|
4136
4183
|
*/
|
|
4137
4184
|
TableName: string | undefined;
|
|
@@ -4152,7 +4199,7 @@ export interface DescribeTableOutput {
|
|
|
4152
4199
|
*/
|
|
4153
4200
|
export interface DescribeTableReplicaAutoScalingInput {
|
|
4154
4201
|
/**
|
|
4155
|
-
* <p>The name of the table.</p>
|
|
4202
|
+
* <p>The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
4156
4203
|
* @public
|
|
4157
4204
|
*/
|
|
4158
4205
|
TableName: string | undefined;
|
|
@@ -4311,7 +4358,7 @@ export interface DescribeTableReplicaAutoScalingOutput {
|
|
|
4311
4358
|
*/
|
|
4312
4359
|
export interface DescribeTimeToLiveInput {
|
|
4313
4360
|
/**
|
|
4314
|
-
* <p>The name of the table to be described.</p>
|
|
4361
|
+
* <p>The name of the table to be described. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
4315
4362
|
* @public
|
|
4316
4363
|
*/
|
|
4317
4364
|
TableName: string | undefined;
|
|
@@ -4342,7 +4389,7 @@ export interface EnableKinesisStreamingConfiguration {
|
|
|
4342
4389
|
*/
|
|
4343
4390
|
export interface KinesisStreamingDestinationInput {
|
|
4344
4391
|
/**
|
|
4345
|
-
* <p>The name of the DynamoDB table.</p>
|
|
4392
|
+
* <p>The name of the DynamoDB table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
4346
4393
|
* @public
|
|
4347
4394
|
*/
|
|
4348
4395
|
TableName: string | undefined;
|
|
@@ -4622,6 +4669,31 @@ export declare class PointInTimeRecoveryUnavailableException extends __BaseExcep
|
|
|
4622
4669
|
*/
|
|
4623
4670
|
constructor(opts: __ExceptionOptionType<PointInTimeRecoveryUnavailableException, __BaseException>);
|
|
4624
4671
|
}
|
|
4672
|
+
/**
|
|
4673
|
+
* @public
|
|
4674
|
+
*/
|
|
4675
|
+
export interface GetResourcePolicyInput {
|
|
4676
|
+
/**
|
|
4677
|
+
* <p>The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy is attached. The resources you can specify include tables and streams.</p>
|
|
4678
|
+
* @public
|
|
4679
|
+
*/
|
|
4680
|
+
ResourceArn: string | undefined;
|
|
4681
|
+
}
|
|
4682
|
+
/**
|
|
4683
|
+
* @public
|
|
4684
|
+
*/
|
|
4685
|
+
export interface GetResourcePolicyOutput {
|
|
4686
|
+
/**
|
|
4687
|
+
* <p>The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.</p>
|
|
4688
|
+
* @public
|
|
4689
|
+
*/
|
|
4690
|
+
Policy?: string;
|
|
4691
|
+
/**
|
|
4692
|
+
* <p>A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.</p>
|
|
4693
|
+
* @public
|
|
4694
|
+
*/
|
|
4695
|
+
RevisionId?: string;
|
|
4696
|
+
}
|
|
4625
4697
|
/**
|
|
4626
4698
|
* <p>
|
|
4627
4699
|
* There was a conflict when importing from the specified S3 source.
|
|
@@ -4700,7 +4772,7 @@ export interface ImportTableOutput {
|
|
|
4700
4772
|
*/
|
|
4701
4773
|
export interface ListBackupsInput {
|
|
4702
4774
|
/**
|
|
4703
|
-
* <p>
|
|
4775
|
+
* <p>Lists the backups from the table specified in <code>TableName</code>. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
4704
4776
|
* @public
|
|
4705
4777
|
*/
|
|
4706
4778
|
TableName?: string;
|
|
@@ -4781,7 +4853,7 @@ export interface ListBackupsOutput {
|
|
|
4781
4853
|
*/
|
|
4782
4854
|
export interface ListContributorInsightsInput {
|
|
4783
4855
|
/**
|
|
4784
|
-
* <p>The name of the table.</p>
|
|
4856
|
+
* <p>The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
4785
4857
|
* @public
|
|
4786
4858
|
*/
|
|
4787
4859
|
TableName?: string;
|
|
@@ -5097,6 +5169,44 @@ export interface ListTagsOfResourceOutput {
|
|
|
5097
5169
|
*/
|
|
5098
5170
|
NextToken?: string;
|
|
5099
5171
|
}
|
|
5172
|
+
/**
|
|
5173
|
+
* @public
|
|
5174
|
+
*/
|
|
5175
|
+
export interface PutResourcePolicyInput {
|
|
5176
|
+
/**
|
|
5177
|
+
* <p>The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached. The resources you can specify include tables and streams.</p>
|
|
5178
|
+
* <p>You can control index permissions using the base table's policy. To specify the same permission level for your table and its indexes, you can provide both the table and index Amazon Resource Name (ARN)s in the <code>Resource</code> field of a given <code>Statement</code> in your policy document. Alternatively, to specify different permissions for your table, indexes, or both, you can define multiple <code>Statement</code> fields in your policy document.</p>
|
|
5179
|
+
* @public
|
|
5180
|
+
*/
|
|
5181
|
+
ResourceArn: string | undefined;
|
|
5182
|
+
/**
|
|
5183
|
+
* <p>An Amazon Web Services resource-based policy document in JSON format.</p>
|
|
5184
|
+
* <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html">Resource-based policy considerations</a>.</p>
|
|
5185
|
+
* @public
|
|
5186
|
+
*/
|
|
5187
|
+
Policy: string | undefined;
|
|
5188
|
+
/**
|
|
5189
|
+
* <p>A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, your request will be rejected with a <code>PolicyNotFoundException</code>.</p>
|
|
5190
|
+
* <p>To conditionally put a policy when no policy exists for the resource, specify <code>NO_POLICY</code> for the revision ID.</p>
|
|
5191
|
+
* @public
|
|
5192
|
+
*/
|
|
5193
|
+
ExpectedRevisionId?: string;
|
|
5194
|
+
/**
|
|
5195
|
+
* <p>Set this parameter to <code>true</code> to confirm that you want to remove your permissions to change the policy of this resource in the future.</p>
|
|
5196
|
+
* @public
|
|
5197
|
+
*/
|
|
5198
|
+
ConfirmRemoveSelfResourceAccess?: boolean;
|
|
5199
|
+
}
|
|
5200
|
+
/**
|
|
5201
|
+
* @public
|
|
5202
|
+
*/
|
|
5203
|
+
export interface PutResourcePolicyOutput {
|
|
5204
|
+
/**
|
|
5205
|
+
* <p>A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.</p>
|
|
5206
|
+
* @public
|
|
5207
|
+
*/
|
|
5208
|
+
RevisionId?: string;
|
|
5209
|
+
}
|
|
5100
5210
|
/**
|
|
5101
5211
|
* @public
|
|
5102
5212
|
* @enum
|
|
@@ -5311,7 +5421,7 @@ export interface PointInTimeRecoverySpecification {
|
|
|
5311
5421
|
*/
|
|
5312
5422
|
export interface UpdateContinuousBackupsInput {
|
|
5313
5423
|
/**
|
|
5314
|
-
* <p>The name of the table.</p>
|
|
5424
|
+
* <p>The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
5315
5425
|
* @public
|
|
5316
5426
|
*/
|
|
5317
5427
|
TableName: string | undefined;
|
|
@@ -5337,7 +5447,7 @@ export interface UpdateContinuousBackupsOutput {
|
|
|
5337
5447
|
*/
|
|
5338
5448
|
export interface UpdateContributorInsightsInput {
|
|
5339
5449
|
/**
|
|
5340
|
-
* <p>The name of the table.</p>
|
|
5450
|
+
* <p>The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
5341
5451
|
* @public
|
|
5342
5452
|
*/
|
|
5343
5453
|
TableName: string | undefined;
|
|
@@ -5632,12 +5742,12 @@ export interface UpdateKinesisStreamingConfiguration {
|
|
|
5632
5742
|
*/
|
|
5633
5743
|
export interface UpdateKinesisStreamingDestinationInput {
|
|
5634
5744
|
/**
|
|
5635
|
-
* <p>The table name for the Kinesis streaming destination input.</p>
|
|
5745
|
+
* <p>The table name for the Kinesis streaming destination input. You can also provide the ARN of the table in this parameter.</p>
|
|
5636
5746
|
* @public
|
|
5637
5747
|
*/
|
|
5638
5748
|
TableName: string | undefined;
|
|
5639
5749
|
/**
|
|
5640
|
-
* <p>The ARN for the Kinesis stream input.</p>
|
|
5750
|
+
* <p>The Amazon Resource Name (ARN) for the Kinesis stream input.</p>
|
|
5641
5751
|
* @public
|
|
5642
5752
|
*/
|
|
5643
5753
|
StreamArn: string | undefined;
|
|
@@ -5847,7 +5957,7 @@ export interface UpdateTableInput {
|
|
|
5847
5957
|
*/
|
|
5848
5958
|
AttributeDefinitions?: AttributeDefinition[];
|
|
5849
5959
|
/**
|
|
5850
|
-
* <p>The name of the table to be updated.</p>
|
|
5960
|
+
* <p>The name of the table to be updated. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
5851
5961
|
* @public
|
|
5852
5962
|
*/
|
|
5853
5963
|
TableName: string | undefined;
|
|
@@ -6022,7 +6132,7 @@ export interface UpdateTableReplicaAutoScalingInput {
|
|
|
6022
6132
|
*/
|
|
6023
6133
|
GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexAutoScalingUpdate[];
|
|
6024
6134
|
/**
|
|
6025
|
-
* <p>The name of the global table to be updated.</p>
|
|
6135
|
+
* <p>The name of the global table to be updated. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
6026
6136
|
* @public
|
|
6027
6137
|
*/
|
|
6028
6138
|
TableName: string | undefined;
|
|
@@ -6073,7 +6183,7 @@ export interface TimeToLiveSpecification {
|
|
|
6073
6183
|
*/
|
|
6074
6184
|
export interface UpdateTimeToLiveInput {
|
|
6075
6185
|
/**
|
|
6076
|
-
* <p>The name of the table to be configured.</p>
|
|
6186
|
+
* <p>The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
6077
6187
|
* @public
|
|
6078
6188
|
*/
|
|
6079
6189
|
TableName: string | undefined;
|
|
@@ -6888,7 +6998,7 @@ export interface Get {
|
|
|
6888
6998
|
*/
|
|
6889
6999
|
Key: Record<string, AttributeValue> | undefined;
|
|
6890
7000
|
/**
|
|
6891
|
-
* <p>The name of the table from which to retrieve the specified item.</p>
|
|
7001
|
+
* <p>The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
6892
7002
|
* @public
|
|
6893
7003
|
*/
|
|
6894
7004
|
TableName: string | undefined;
|
|
@@ -6913,7 +7023,7 @@ export interface Get {
|
|
|
6913
7023
|
*/
|
|
6914
7024
|
export interface GetItemInput {
|
|
6915
7025
|
/**
|
|
6916
|
-
* <p>The name of the table containing the requested item.</p>
|
|
7026
|
+
* <p>The name of the table containing the requested item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
6917
7027
|
* @public
|
|
6918
7028
|
*/
|
|
6919
7029
|
TableName: string | undefined;
|
|
@@ -7610,8 +7720,8 @@ export declare class TransactionCanceledException extends __BaseException {
|
|
|
7610
7720
|
*/
|
|
7611
7721
|
export interface BatchGetItemInput {
|
|
7612
7722
|
/**
|
|
7613
|
-
* <p>A map of one or more table names and, for each table, a map that describes one or more
|
|
7614
|
-
* items to retrieve from that table. Each table name can be used only once per
|
|
7723
|
+
* <p>A map of one or more table names or table ARNs and, for each table, a map that describes one or more
|
|
7724
|
+
* items to retrieve from that table. Each table name or ARN can be used only once per
|
|
7615
7725
|
* <code>BatchGetItem</code> request.</p>
|
|
7616
7726
|
* <p>Each element in the map of items to retrieve consists of the following:</p>
|
|
7617
7727
|
* <ul>
|
|
@@ -8074,7 +8184,7 @@ export interface ConditionCheck {
|
|
|
8074
8184
|
*/
|
|
8075
8185
|
Key: Record<string, AttributeValue> | undefined;
|
|
8076
8186
|
/**
|
|
8077
|
-
* <p>Name of the table for the check item request.</p>
|
|
8187
|
+
* <p>Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
8078
8188
|
* @public
|
|
8079
8189
|
*/
|
|
8080
8190
|
TableName: string | undefined;
|
|
@@ -8118,7 +8228,7 @@ export interface Delete {
|
|
|
8118
8228
|
*/
|
|
8119
8229
|
Key: Record<string, AttributeValue> | undefined;
|
|
8120
8230
|
/**
|
|
8121
|
-
* <p>Name of the table in which the item to be deleted resides.</p>
|
|
8231
|
+
* <p>Name of the table in which the item to be deleted resides. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
8122
8232
|
* @public
|
|
8123
8233
|
*/
|
|
8124
8234
|
TableName: string | undefined;
|
|
@@ -8162,7 +8272,7 @@ export interface Put {
|
|
|
8162
8272
|
*/
|
|
8163
8273
|
Item: Record<string, AttributeValue> | undefined;
|
|
8164
8274
|
/**
|
|
8165
|
-
* <p>Name of the table in which to write the item.</p>
|
|
8275
|
+
* <p>Name of the table in which to write the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
8166
8276
|
* @public
|
|
8167
8277
|
*/
|
|
8168
8278
|
TableName: string | undefined;
|
|
@@ -8209,7 +8319,7 @@ export interface Update {
|
|
|
8209
8319
|
*/
|
|
8210
8320
|
UpdateExpression: string | undefined;
|
|
8211
8321
|
/**
|
|
8212
|
-
* <p>Name of the table for the <code>UpdateItem</code> request.</p>
|
|
8322
|
+
* <p>Name of the table for the <code>UpdateItem</code> request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
8213
8323
|
* @public
|
|
8214
8324
|
*/
|
|
8215
8325
|
TableName: string | undefined;
|
|
@@ -8607,8 +8717,8 @@ export interface BatchExecuteStatementOutput {
|
|
|
8607
8717
|
*/
|
|
8608
8718
|
export interface BatchGetItemOutput {
|
|
8609
8719
|
/**
|
|
8610
|
-
* <p>A map of table name to a list of items. Each object in <code>Responses</code> consists
|
|
8611
|
-
* of a table name, along with a map of attribute data consisting of the data type and
|
|
8720
|
+
* <p>A map of table name or table ARN to a list of items. Each object in <code>Responses</code> consists
|
|
8721
|
+
* of a table name or ARN, along with a map of attribute data consisting of the data type and
|
|
8612
8722
|
* attribute value.</p>
|
|
8613
8723
|
* @public
|
|
8614
8724
|
*/
|
|
@@ -8669,8 +8779,9 @@ export interface BatchGetItemOutput {
|
|
|
8669
8779
|
*/
|
|
8670
8780
|
export interface ScanInput {
|
|
8671
8781
|
/**
|
|
8672
|
-
* <p>The name of the table containing the requested items
|
|
8673
|
-
*
|
|
8782
|
+
* <p>The name of the table containing the requested items or if you provide
|
|
8783
|
+
* <code>IndexName</code>, the name of the table to which that index belongs.</p>
|
|
8784
|
+
* <p>You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
8674
8785
|
* @public
|
|
8675
8786
|
*/
|
|
8676
8787
|
TableName: string | undefined;
|
|
@@ -8977,7 +9088,7 @@ export interface ScanInput {
|
|
|
8977
9088
|
*/
|
|
8978
9089
|
export interface BatchWriteItemInput {
|
|
8979
9090
|
/**
|
|
8980
|
-
* <p>A map of one or more table names and, for each table, a list of operations to be
|
|
9091
|
+
* <p>A map of one or more table names or table ARNs and, for each table, a list of operations to be
|
|
8981
9092
|
* performed (<code>DeleteRequest</code> or <code>PutRequest</code>). Each element in the
|
|
8982
9093
|
* map consists of the following:</p>
|
|
8983
9094
|
* <ul>
|
|
@@ -9067,7 +9178,7 @@ export interface BatchWriteItemInput {
|
|
|
9067
9178
|
*/
|
|
9068
9179
|
export interface DeleteItemInput {
|
|
9069
9180
|
/**
|
|
9070
|
-
* <p>The name of the table from which to delete the item.</p>
|
|
9181
|
+
* <p>The name of the table from which to delete the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
9071
9182
|
* @public
|
|
9072
9183
|
*/
|
|
9073
9184
|
TableName: string | undefined;
|
|
@@ -9279,7 +9390,7 @@ export interface DeleteItemInput {
|
|
|
9279
9390
|
*/
|
|
9280
9391
|
export interface PutItemInput {
|
|
9281
9392
|
/**
|
|
9282
|
-
* <p>The name of the table to contain the item.</p>
|
|
9393
|
+
* <p>The name of the table to contain the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
9283
9394
|
* @public
|
|
9284
9395
|
*/
|
|
9285
9396
|
TableName: string | undefined;
|
|
@@ -9505,7 +9616,7 @@ export interface PutItemInput {
|
|
|
9505
9616
|
*/
|
|
9506
9617
|
export interface QueryInput {
|
|
9507
9618
|
/**
|
|
9508
|
-
* <p>The name of the table containing the requested items.</p>
|
|
9619
|
+
* <p>The name of the table containing the requested items. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
9509
9620
|
* @public
|
|
9510
9621
|
*/
|
|
9511
9622
|
TableName: string | undefined;
|
|
@@ -9911,7 +10022,7 @@ export interface BatchWriteItemOutput {
|
|
|
9911
10022
|
* <code>RequestItems</code>, so you can provide this value directly to a subsequent
|
|
9912
10023
|
* <code>BatchWriteItem</code> operation. For more information, see
|
|
9913
10024
|
* <code>RequestItems</code> in the Request Parameters section.</p>
|
|
9914
|
-
* <p>Each <code>UnprocessedItems</code> entry consists of a table name and, for that table,
|
|
10025
|
+
* <p>Each <code>UnprocessedItems</code> entry consists of a table name or table ARN and, for that table,
|
|
9915
10026
|
* a list of operations to perform (<code>DeleteRequest</code> or
|
|
9916
10027
|
* <code>PutRequest</code>).</p>
|
|
9917
10028
|
* <ul>
|
|
@@ -10006,7 +10117,7 @@ export interface BatchWriteItemOutput {
|
|
|
10006
10117
|
*/
|
|
10007
10118
|
export interface UpdateItemInput {
|
|
10008
10119
|
/**
|
|
10009
|
-
* <p>The name of the table containing the item to update.</p>
|
|
10120
|
+
* <p>The name of the table containing the item to update. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
|
|
10010
10121
|
* @public
|
|
10011
10122
|
*/
|
|
10012
10123
|
TableName: string | undefined;
|
|
@@ -8,6 +8,7 @@ import { CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput } from ".
|
|
|
8
8
|
import { CreateTableCommandInput, CreateTableCommandOutput } from "../commands/CreateTableCommand";
|
|
9
9
|
import { DeleteBackupCommandInput, DeleteBackupCommandOutput } from "../commands/DeleteBackupCommand";
|
|
10
10
|
import { DeleteItemCommandInput, DeleteItemCommandOutput } from "../commands/DeleteItemCommand";
|
|
11
|
+
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
|
|
11
12
|
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "../commands/DeleteTableCommand";
|
|
12
13
|
import { DescribeBackupCommandInput, DescribeBackupCommandOutput } from "../commands/DescribeBackupCommand";
|
|
13
14
|
import { DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput } from "../commands/DescribeContinuousBackupsCommand";
|
|
@@ -28,6 +29,7 @@ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "../
|
|
|
28
29
|
import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "../commands/ExecuteTransactionCommand";
|
|
29
30
|
import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "../commands/ExportTableToPointInTimeCommand";
|
|
30
31
|
import { GetItemCommandInput, GetItemCommandOutput } from "../commands/GetItemCommand";
|
|
32
|
+
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
|
|
31
33
|
import { ImportTableCommandInput, ImportTableCommandOutput } from "../commands/ImportTableCommand";
|
|
32
34
|
import { ListBackupsCommandInput, ListBackupsCommandOutput } from "../commands/ListBackupsCommand";
|
|
33
35
|
import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "../commands/ListContributorInsightsCommand";
|
|
@@ -37,6 +39,7 @@ import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/L
|
|
|
37
39
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
38
40
|
import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "../commands/ListTagsOfResourceCommand";
|
|
39
41
|
import { PutItemCommandInput, PutItemCommandOutput } from "../commands/PutItemCommand";
|
|
42
|
+
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
|
|
40
43
|
import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand";
|
|
41
44
|
import { RestoreTableFromBackupCommandInput, RestoreTableFromBackupCommandOutput } from "../commands/RestoreTableFromBackupCommand";
|
|
42
45
|
import { RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput } from "../commands/RestoreTableToPointInTimeCommand";
|
|
@@ -86,6 +89,10 @@ export declare const se_DeleteBackupCommand: (input: DeleteBackupCommandInput, c
|
|
|
86
89
|
* serializeAws_json1_0DeleteItemCommand
|
|
87
90
|
*/
|
|
88
91
|
export declare const se_DeleteItemCommand: (input: DeleteItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
92
|
+
/**
|
|
93
|
+
* serializeAws_json1_0DeleteResourcePolicyCommand
|
|
94
|
+
*/
|
|
95
|
+
export declare const se_DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
89
96
|
/**
|
|
90
97
|
* serializeAws_json1_0DeleteTableCommand
|
|
91
98
|
*/
|
|
@@ -166,6 +173,10 @@ export declare const se_ExportTableToPointInTimeCommand: (input: ExportTableToPo
|
|
|
166
173
|
* serializeAws_json1_0GetItemCommand
|
|
167
174
|
*/
|
|
168
175
|
export declare const se_GetItemCommand: (input: GetItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
176
|
+
/**
|
|
177
|
+
* serializeAws_json1_0GetResourcePolicyCommand
|
|
178
|
+
*/
|
|
179
|
+
export declare const se_GetResourcePolicyCommand: (input: GetResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
169
180
|
/**
|
|
170
181
|
* serializeAws_json1_0ImportTableCommand
|
|
171
182
|
*/
|
|
@@ -202,6 +213,10 @@ export declare const se_ListTagsOfResourceCommand: (input: ListTagsOfResourceCom
|
|
|
202
213
|
* serializeAws_json1_0PutItemCommand
|
|
203
214
|
*/
|
|
204
215
|
export declare const se_PutItemCommand: (input: PutItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
216
|
+
/**
|
|
217
|
+
* serializeAws_json1_0PutResourcePolicyCommand
|
|
218
|
+
*/
|
|
219
|
+
export declare const se_PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
205
220
|
/**
|
|
206
221
|
* serializeAws_json1_0QueryCommand
|
|
207
222
|
*/
|
|
@@ -302,6 +317,10 @@ export declare const de_DeleteBackupCommand: (output: __HttpResponse, context: _
|
|
|
302
317
|
* deserializeAws_json1_0DeleteItemCommand
|
|
303
318
|
*/
|
|
304
319
|
export declare const de_DeleteItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteItemCommandOutput>;
|
|
320
|
+
/**
|
|
321
|
+
* deserializeAws_json1_0DeleteResourcePolicyCommand
|
|
322
|
+
*/
|
|
323
|
+
export declare const de_DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourcePolicyCommandOutput>;
|
|
305
324
|
/**
|
|
306
325
|
* deserializeAws_json1_0DeleteTableCommand
|
|
307
326
|
*/
|
|
@@ -382,6 +401,10 @@ export declare const de_ExportTableToPointInTimeCommand: (output: __HttpResponse
|
|
|
382
401
|
* deserializeAws_json1_0GetItemCommand
|
|
383
402
|
*/
|
|
384
403
|
export declare const de_GetItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetItemCommandOutput>;
|
|
404
|
+
/**
|
|
405
|
+
* deserializeAws_json1_0GetResourcePolicyCommand
|
|
406
|
+
*/
|
|
407
|
+
export declare const de_GetResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePolicyCommandOutput>;
|
|
385
408
|
/**
|
|
386
409
|
* deserializeAws_json1_0ImportTableCommand
|
|
387
410
|
*/
|
|
@@ -418,6 +441,10 @@ export declare const de_ListTagsOfResourceCommand: (output: __HttpResponse, cont
|
|
|
418
441
|
* deserializeAws_json1_0PutItemCommand
|
|
419
442
|
*/
|
|
420
443
|
export declare const de_PutItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutItemCommandOutput>;
|
|
444
|
+
/**
|
|
445
|
+
* deserializeAws_json1_0PutResourcePolicyCommand
|
|
446
|
+
*/
|
|
447
|
+
export declare const de_PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
|
|
421
448
|
/**
|
|
422
449
|
* deserializeAws_json1_0QueryCommand
|
|
423
450
|
*/
|
|
@@ -31,6 +31,10 @@ import {
|
|
|
31
31
|
DeleteItemCommandInput,
|
|
32
32
|
DeleteItemCommandOutput,
|
|
33
33
|
} from "./commands/DeleteItemCommand";
|
|
34
|
+
import {
|
|
35
|
+
DeleteResourcePolicyCommandInput,
|
|
36
|
+
DeleteResourcePolicyCommandOutput,
|
|
37
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
34
38
|
import {
|
|
35
39
|
DeleteTableCommandInput,
|
|
36
40
|
DeleteTableCommandOutput,
|
|
@@ -111,6 +115,10 @@ import {
|
|
|
111
115
|
GetItemCommandInput,
|
|
112
116
|
GetItemCommandOutput,
|
|
113
117
|
} from "./commands/GetItemCommand";
|
|
118
|
+
import {
|
|
119
|
+
GetResourcePolicyCommandInput,
|
|
120
|
+
GetResourcePolicyCommandOutput,
|
|
121
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
114
122
|
import {
|
|
115
123
|
ImportTableCommandInput,
|
|
116
124
|
ImportTableCommandOutput,
|
|
@@ -147,6 +155,10 @@ import {
|
|
|
147
155
|
PutItemCommandInput,
|
|
148
156
|
PutItemCommandOutput,
|
|
149
157
|
} from "./commands/PutItemCommand";
|
|
158
|
+
import {
|
|
159
|
+
PutResourcePolicyCommandInput,
|
|
160
|
+
PutResourcePolicyCommandOutput,
|
|
161
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
150
162
|
import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
|
|
151
163
|
import {
|
|
152
164
|
RestoreTableFromBackupCommandInput,
|
|
@@ -315,6 +327,19 @@ export interface DynamoDB {
|
|
|
315
327
|
options: __HttpHandlerOptions,
|
|
316
328
|
cb: (err: any, data?: DeleteItemCommandOutput) => void
|
|
317
329
|
): void;
|
|
330
|
+
deleteResourcePolicy(
|
|
331
|
+
args: DeleteResourcePolicyCommandInput,
|
|
332
|
+
options?: __HttpHandlerOptions
|
|
333
|
+
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
334
|
+
deleteResourcePolicy(
|
|
335
|
+
args: DeleteResourcePolicyCommandInput,
|
|
336
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
337
|
+
): void;
|
|
338
|
+
deleteResourcePolicy(
|
|
339
|
+
args: DeleteResourcePolicyCommandInput,
|
|
340
|
+
options: __HttpHandlerOptions,
|
|
341
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
342
|
+
): void;
|
|
318
343
|
deleteTable(
|
|
319
344
|
args: DeleteTableCommandInput,
|
|
320
345
|
options?: __HttpHandlerOptions
|
|
@@ -595,6 +620,19 @@ export interface DynamoDB {
|
|
|
595
620
|
options: __HttpHandlerOptions,
|
|
596
621
|
cb: (err: any, data?: GetItemCommandOutput) => void
|
|
597
622
|
): void;
|
|
623
|
+
getResourcePolicy(
|
|
624
|
+
args: GetResourcePolicyCommandInput,
|
|
625
|
+
options?: __HttpHandlerOptions
|
|
626
|
+
): Promise<GetResourcePolicyCommandOutput>;
|
|
627
|
+
getResourcePolicy(
|
|
628
|
+
args: GetResourcePolicyCommandInput,
|
|
629
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
630
|
+
): void;
|
|
631
|
+
getResourcePolicy(
|
|
632
|
+
args: GetResourcePolicyCommandInput,
|
|
633
|
+
options: __HttpHandlerOptions,
|
|
634
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
635
|
+
): void;
|
|
598
636
|
importTable(
|
|
599
637
|
args: ImportTableCommandInput,
|
|
600
638
|
options?: __HttpHandlerOptions
|
|
@@ -718,6 +756,19 @@ export interface DynamoDB {
|
|
|
718
756
|
options: __HttpHandlerOptions,
|
|
719
757
|
cb: (err: any, data?: PutItemCommandOutput) => void
|
|
720
758
|
): void;
|
|
759
|
+
putResourcePolicy(
|
|
760
|
+
args: PutResourcePolicyCommandInput,
|
|
761
|
+
options?: __HttpHandlerOptions
|
|
762
|
+
): Promise<PutResourcePolicyCommandOutput>;
|
|
763
|
+
putResourcePolicy(
|
|
764
|
+
args: PutResourcePolicyCommandInput,
|
|
765
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
766
|
+
): void;
|
|
767
|
+
putResourcePolicy(
|
|
768
|
+
args: PutResourcePolicyCommandInput,
|
|
769
|
+
options: __HttpHandlerOptions,
|
|
770
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
771
|
+
): void;
|
|
721
772
|
query(
|
|
722
773
|
args: QueryCommandInput,
|
|
723
774
|
options?: __HttpHandlerOptions
|