

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 支援資源型政策的 DynamoDB API 操作
<a name="rbac-iam-actions"></a>

本主題列出受資源型政策支援的 API 操作。不過，進行跨帳戶存取時，您只能透過資源型政策使用特定一組 DynamoDB API。您無法將資源型政策附加至某些資源類型，例如備份與匯入。對應於這些資源類型 API 的 IAM 動作不在資源型政策支援範圍內。由於資料表管理員會在同一帳戶內設定資料表的內部參數，因此 [UpdateTimeToLive](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTimeToLive.html) 和 [DisableKinesisStreamingDestination](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DisableKinesisStreamingDestination.html) 等 API 不支援透過資源型政策進行跨帳戶存取。

支援跨帳戶存取的 DynamoDB 資料平面與控制平面 API 也支援資料表名稱多載，允許您指定資料表 ARN 以取代資料表名稱。您可以在這些 API 的 `TableName` 參數中指定資料表 ARN。不過，並非所有這些 API 都支援跨帳戶存取。

**Topics**
+ [資料平面 API 操作](#rbac-data-plane-actions)
+ [PartiQL API 操作](#rbac-partiql-actions)
+ [控制平面 API 操作](#rbac-control-plane-actions)
+ [2019.11.21 版 (目前) 全域資料表 API 操作](#rbac-current-global-table-actions)
+ [2017.11.29 版 (舊版) 全域資料表 API 操作](#rbac-legacy-global-table-actions)
+ [標籤 API 操作](#rbac-tags-actions)
+ [備份與還原 API 操作](#rbac-backup-restore-actions)
+ [持續備份/還原 (PITR) API 操作](#rbac-continuous-backup-restore-actions)
+ [Contributor Insights API 操作](#rbac-contributor-insights-actions)
+ [匯出 API 操作](#rbac-export-actions)
+ [匯入 API 操作](#rbac-import-actions)
+ [Amazon Kinesis Data Streams API 操作](#rbac-kinesis-actions)
+ [資源型政策 API 操作](#rbac-rbp-actions)
+ [存留時間 API 操作](#rbac-ttl-actions)
+ [其他 API 操作](#rbac-other-actions)
+ [DynamoDB Streams API 操作](#rbac-ds-actions)

## 資料平面 API 操作
<a name="rbac-data-plane-actions"></a>

下表列出[資料平面 API](HowItWorks.API.md#HowItWorks.API.DataPlane) 操作針對資源型政策與跨帳戶存取所提供的 API 層級支援。


| 資料平面 - 資料表/索引 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DeleteItem](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteItem.html)   | 是 | 是 | 
|   [GetItem](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html)   | 是 | 是 | 
|   [PutItem](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html)   | 是 | 是 | 
|   [Query](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html)   | 是 | 是 | 
|   [Scan](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Scan.html)   | 是 | 是 | 
|   [UpdateItem](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html)   | 是 | 是 | 
|   [TransactGetItems](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html)   | 是 | 是 | 
|   [TransactWriteItems](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html)   | 是 | 是 | 
|   [BatchGetItem](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchGetItem.html)   | 是 | 是 | 
|   [BatchWriteItem](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchWriteItem.html)   | 是 | 是 | 

## PartiQL API 操作
<a name="rbac-partiql-actions"></a>

下表列出 [PartiQL](HowItWorks.API.md#HowItWorks.API.DataPlane.partiql) API 操作針對資源型政策與跨帳戶存取權所提供的 API 層級支援。


| PartiQL API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [BatchExecuteStatement](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchExecuteStatement.html)   | 是 | 否 | 
|   [ExecuteStatement](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ExecuteStatement.html)   | 是 | 否 | 
|   [ExecuteTransaction](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ExecuteTransaction.html)   | 是 | 否 | 

## 控制平面 API 操作
<a name="rbac-control-plane-actions"></a>

下表列出[控制平面](HowItWorks.API.md#HowItWorks.API.ControlPlane) API 操作針對資源型政策與跨帳戶存取所提供的 API 層級支援。


| 控制平面 - 資料表 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [CreateTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html)   | 否 | 否 | 
|   [DeleteTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteTable.html)   | 是 | 是 | 
|   [DescribeTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html)   | 是 | 是 | 
|   [UpdateTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html)   | 是 | 是 | 

## 2019.11.21 版 (目前) 全域資料表 API 操作
<a name="rbac-current-global-table-actions"></a>

下表列出 [2019.11.21 版 (目前) 全域資料表](GlobalTables.md) API 操作針對資源型政策與跨帳戶存取權所提供的 API 層級支援。


| 2019.11.21 版 (目前) 全域資料表 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DescribeTableReplicaAutoScaling](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTableReplicaAutoScaling.html)   | 是 | 否 | 
|   [UpdateTableReplicaAutoScaling](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTableReplicaAutoScaling.html)   | 是 | 否 | 

## 2017.11.29 版 (舊版) 全域資料表 API 操作
<a name="rbac-legacy-global-table-actions"></a>

下表列出 [2017.11.29 版 (舊版) 全域資料表](globaltables.V1.md) API 操作針對資源型政策與跨帳戶存取權所提供的 API 層級支援。


| 2017.11.29 版 (舊版) 全域資料表 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [CreateGlobalTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateGlobalTable.html)   | 否 | 否 | 
|   [DescribeGlobalTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeGlobalTable.html)   | 否 | 否 | 
|   [DescribeGlobalTableSettings](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeGlobalTableSettings.html)   | 否 | 否 | 
|   [ListGlobalTables](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListGlobalTables.html)   | 否 | 否 | 
|   [UpdateGlobalTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateGlobalTable.html)   | 否 | 否 | 
|   [UpdateGlobalTableSettings](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateGlobalTableSettings.html)   | 否 | 否 | 

## 標籤 API 操作
<a name="rbac-tags-actions"></a>

下表列出與資源型政策及跨帳戶存取權之[標籤](Tagging.Operations.md)相關的 API 操作所提供的 API 層級支援。


| 標籤 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [ListTagsOfResource](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListTagsOfResource.html)   | 是 | 是 | 
|   [TagResource](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TagResource.html)   | 是 | 是 | 
|   [UntagResource](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UntagResource.html)   | 是 | 是 | 

## 備份與還原 API 操作
<a name="rbac-backup-restore-actions"></a>

下表列出與資源型政策及跨帳戶存取權相關的[備份與還原](Backup-and-Restore.md) API 操作所提供的 API 層級支援。


| 備份與還原 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [CreateBackup](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateBackup.html)   | 是 | 否 | 
|   [DescribeBackup](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeBackup.html)   | 否 | 否 | 
|   [DeleteBackup](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteBackup.html)   | 否 | 否 | 
|  [RestoreTableFromBackup](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_RestoreTableFromBackup.html)  | 否 | 否 | 

## 持續備份/還原 (PITR) API 操作
<a name="rbac-continuous-backup-restore-actions"></a>

下表列出與資源型政策及跨帳戶存取權相關的[持續備份/還原 (PITR)](Point-in-time-recovery.md) API 操作所提供的 API 層級支援。


| 持續備份/還原 (PITR) API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DescribeContinuousBackups](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeContinuousBackups.html)   | 是 | 否 | 
|   [RestoreTableToPointInTime](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_RestoreTableToPointInTime.html)   | 是 | 否 | 
|   [UpdateContinuousBackups](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateContinuousBackups.html)   | 是 | 否 | 

## Contributor Insights API 操作
<a name="rbac-contributor-insights-actions"></a>

下表列出與資源型政策及跨帳戶存取權相關的[持續備份/還原 (PITR)](Point-in-time-recovery.md) API 操作所提供的 API 層級支援。


| Contributor Insights API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DescribeContributorInsights](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeContributorInsights.html)   | 是 | 否 | 
|   [ListContributorInsights](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListContributorInsights.html)   | 否 | 否 | 
|   [UpdateContributorInsights](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateContributorInsights.html)   | 是 | 否 | 

## 匯出 API 操作
<a name="rbac-export-actions"></a>

下表列出匯出 API 操作針對資源型政策與跨帳戶存取權所提供的 API 層級支援。


| 匯出 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DescribeExport](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeExport.html)   | 否 | 否 | 
|   [ExportTableToPointInTime](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ExportTableToPointInTime.html)   | 是 | 否 | 
|   [ListExports](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListExports.html)   | 否 | 否 | 

## 匯入 API 操作
<a name="rbac-import-actions"></a>

下表列出匯入 API 操作針對資源型政策與跨帳戶存取權所提供的 API 層級支援。


| 匯入 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DescribeImport](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeImport.html)   | 否 | 否 | 
|   [ImportTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ImportTable.html)   | 否 | 否 | 
|   [ListImports](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListImports.html)   | 否 | 否 | 

## Amazon Kinesis Data Streams API 操作
<a name="rbac-kinesis-actions"></a>

下表列出 Kinesis Data Streams API 操作針對資源型政策與跨帳戶存取權所提供的 API 層級支援。


| Kinesis API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DescribeKinesisStreamingDestination](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeKinesisStreamingDestination.html)   | 是 | 否 | 
|   [DisableKinesisStreamingDestination](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DisableKinesisStreamingDestination.html)   | 是 | 否 | 
|   [EnableKinesisStreamingDestination](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_EnableKinesisStreamingDestination.html)   | 是 | 否 | 
|   [UpdateKinesisStreamingDestination](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateKinesisStreamingDestination.html)   | 是 | 否 | 

## 資源型政策 API 操作
<a name="rbac-rbp-actions"></a>

下表列出資源型政策 API 操作針對資源型政策與跨帳戶存取權所提供的 API 層級支援。


| 資源型政策 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [GetResourcePolicy](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetResourcePolicy.html)   | 是 | 否 | 
|   [PutResourcePolicy](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutResourcePolicy.html)   | 是 | 否 | 
|   [DeleteResourcePolicy](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteResourcePolicy.html)   | 是 | 否 | 

## 存留時間 API 操作
<a name="rbac-ttl-actions"></a>

下表列出針對資源型政策與跨帳戶存取權，[存留時間](TTL.md) (TTL) API 操作所提供的 API 層級支援。


| TTL API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DescribeTimeToLive](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTimeToLive.html)   | 是 | 否 | 
|   [UpdateTimeToLive](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTimeToLive.html)   | 是 | 否 | 

## 其他 API 操作
<a name="rbac-other-actions"></a>

下表列出其他 API 操作針對資源型政策與跨帳戶存取權所提供的 API 層級支援。


| 其他 API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DescribeLimits](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeLimits.html)   | 否 | 否 | 
|   [DescribeEndpoint](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeEndpoints.html)   | 否 | 否 | 
|   [ListBackups](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListBackups.html)   | 否 | 否 | 
|   [ListTables](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListTables.html)   | 否 | 否 | 

## DynamoDB Streams API 操作
<a name="rbac-ds-actions"></a>

下表列出 DynamoDB Streams API 針對資源型政策與跨帳戶存取權所提供的 API 層級支援。


| DynamoDB Streams API | 資源型政策支援 | 跨帳戶支援 | 
| --- | --- | --- | 
|   [DescribeStream](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_DescribeStream.html)   | 是 | 是 | 
|   [GetRecords](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetRecords.html)   | 是 | 是 | 
|   [GetShardIterator](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html)   | 是 | 是 | 
|   [ListStreams](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_ListStreams.html)   | 否 | 否 | 