View a markdown version of this page

AWS 最終使用者傳訊社交的動作、資源和條件索引鍵 - 服務授權參考

AWS 最終使用者傳訊社交的動作、資源和條件索引鍵

AWS 最終使用者傳訊社交 (服務字首:social-messaging) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

AWS 最終使用者傳訊社交定義的 API 操作

下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。

作業 IAM 動作 條件鍵 可能的值 (s) 存取層級

AssociateWhatsAppBusinessAccount

social-messaging:AssociateWhatsAppBusinessAccount

寫入

social-messaging:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

social-messaging.amazonaws.com

寫入

CreateWhatsAppDataset

social-messaging:CreateWhatsAppDataset

寫入

CreateWhatsAppFlow

social-messaging:CreateWhatsAppFlow

寫入

CreateWhatsAppMessageTemplate

social-messaging:CreateWhatsAppMessageTemplate

寫入

CreateWhatsAppMessageTemplateFromLibrary

social-messaging:CreateWhatsAppMessageTemplateFromLibrary

寫入

CreateWhatsAppMessageTemplateMedia

social-messaging:CreateWhatsAppMessageTemplateMedia

寫入

DeleteWhatsAppFlow

social-messaging:DeleteWhatsAppFlow

寫入

DeleteWhatsAppMessageMedia

social-messaging:DeleteWhatsAppMessageMedia

寫入

DeleteWhatsAppMessageTemplate

social-messaging:DeleteWhatsAppMessageTemplate

寫入

DeprecateWhatsAppFlow

social-messaging:DeprecateWhatsAppFlow

寫入

DisassociateWhatsAppBusinessAccount

social-messaging:DisassociateWhatsAppBusinessAccount

寫入

GetLinkedWhatsAppBusinessAccount

social-messaging:GetLinkedWhatsAppBusinessAccount

讀取

GetLinkedWhatsAppBusinessAccountPhoneNumber

social-messaging:GetLinkedWhatsAppBusinessAccountPhoneNumber

讀取

GetWhatsAppBusinessPublicKey

social-messaging:GetWhatsAppBusinessPublicKey

讀取

GetWhatsAppCallPermission

social-messaging:GetWhatsAppCallPermission

讀取

GetWhatsAppFlow

social-messaging:GetWhatsAppFlow

讀取

GetWhatsAppFlowPreview

social-messaging:GetWhatsAppFlowPreview

讀取

GetWhatsAppMessageMedia

social-messaging:GetWhatsAppMessageMedia

寫入

GetWhatsAppMessageTemplate

social-messaging:GetWhatsAppMessageTemplate

讀取

ListLinkedWhatsAppBusinessAccounts

social-messaging:ListLinkedWhatsAppBusinessAccounts

清單

ListTagsForResource

social-messaging:ListTagsForResource

讀取

ListWhatsAppFlowAssets

social-messaging:ListWhatsAppFlowAssets

清單

ListWhatsAppFlows

social-messaging:ListWhatsAppFlows

清單

ListWhatsAppMessageTemplates

social-messaging:ListWhatsAppMessageTemplates

清單

ListWhatsAppTemplateLibrary

social-messaging:ListWhatsAppTemplateLibrary

清單

PostWhatsAppMessageMedia

social-messaging:PostWhatsAppMessageMedia

寫入

PublishWhatsAppFlow

social-messaging:PublishWhatsAppFlow

寫入

PutWhatsAppBusinessAccountEventDestinations

social-messaging:PutWhatsAppBusinessAccountEventDestinations

寫入

iam:PassRole

iam:PassedToService

social-messaging.amazonaws.com

寫入

PutWhatsAppBusinessPublicKey

social-messaging:PutWhatsAppBusinessPublicKey

寫入

SendWhatsAppCallEvent

social-messaging:SendWhatsAppCallEvent

寫入

SendWhatsAppConversionEvent

social-messaging:SendWhatsAppConversionEvent

寫入

SendWhatsAppMessage

social-messaging:SendWhatsAppMessage

寫入

TagResource

social-messaging:TagResource

標記、寫入

UntagResource

social-messaging:UntagResource

標記、寫入

UpdateLinkedWhatsAppBusinessAccountPhoneNumber

social-messaging:UpdateLinkedWhatsAppBusinessAccountPhoneNumber

寫入

UpdateWhatsAppFlow

social-messaging:UpdateWhatsAppFlow

寫入

UpdateWhatsAppFlowAssets

social-messaging:UpdateWhatsAppFlowAssets

寫入

UpdateWhatsAppMessageTemplate

social-messaging:UpdateWhatsAppMessageTemplate

寫入

AWS 最終使用者傳訊社交定義的動作

您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

AssociateWhatsAppBusinessAccount

准許將 WhatsApp 商業帳戶與您的 AWS 帳戶

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateWhatsAppDataset

准許為 WhatsApp 商業帳戶建立新的 WhatsApp 資料集

waba*

aws:ResourceTag/${TagKey}

寫入

CreateWhatsAppFlow

准許建立新的 WhatsApp Flow

waba*

aws:ResourceTag/${TagKey}

寫入

CreateWhatsAppMessageTemplate

准許建立 WhatsApp 訊息範本

waba*

aws:ResourceTag/${TagKey}

寫入

CreateWhatsAppMessageTemplateFromLibrary

准許從 Meta 的範本程式庫建立 WhatsApp 訊息範本

waba*

aws:ResourceTag/${TagKey}

寫入

CreateWhatsAppMessageTemplateMedia

准許為 WhatsApp 訊息範本建立媒體

waba*

aws:ResourceTag/${TagKey}

寫入

DeleteWhatsAppFlow

准許刪除 WhatsApp 流程

waba*

aws:ResourceTag/${TagKey}

寫入

DeleteWhatsAppMessageMedia

准許從 WhatsApp 刪除媒體物件

phone-number-id*

aws:ResourceTag/${TagKey}

寫入

DeleteWhatsAppMessageTemplate

准許刪除 WhatsApp 訊息範本

waba*

aws:ResourceTag/${TagKey}

寫入

DeprecateWhatsAppFlow

准許棄用已發佈的 WhatsApp 流程

waba*

aws:ResourceTag/${TagKey}

寫入

DisassociateWhatsAppBusinessAccount

准許取消 WhatsApp 商業帳戶與 的關聯 AWS 帳戶

waba*

aws:ResourceTag/${TagKey}

寫入

GetLinkedWhatsAppBusinessAccount

准許檢視 WhatsApp 商業帳戶的詳細資訊

waba*

aws:ResourceTag/${TagKey}

讀取

GetLinkedWhatsAppBusinessAccountPhoneNumber

准許檢視電話號碼的詳細資訊

phone-number-id*

aws:ResourceTag/${TagKey}

讀取

GetWhatsAppBusinessPublicKey

准許擷取電話號碼的 WhatsApp 商業公有金鑰

phone-number-id*

aws:ResourceTag/${TagKey}

讀取

GetWhatsAppCallPermission

准許擷取 WhatsApp 電話號碼的語音呼叫許可

phone-number-id*

aws:ResourceTag/${TagKey}

讀取

GetWhatsAppFlow

准許擷取 WhatsApp 流程的中繼資料和狀態

waba*

aws:ResourceTag/${TagKey}

讀取

GetWhatsAppFlowPreview

准許產生 Web 預覽 URL 以測試 WhatsApp 流程

waba*

aws:ResourceTag/${TagKey}

讀取

GetWhatsAppMessageMedia

准許從 WhatsApp 取得媒體物件

phone-number-id*

aws:ResourceTag/${TagKey}

寫入

GetWhatsAppMessageTemplate

准許取得 WhatsApp 訊息範本的詳細資訊

waba*

aws:ResourceTag/${TagKey}

讀取

ListLinkedWhatsAppBusinessAccounts

准許檢視您的所有 WhatsApp 商業帳戶

清單

ListTagsForResource

准許列出資源的標籤

phone-number-id

aws:ResourceTag/${TagKey}

讀取

waba

aws:ResourceTag/${TagKey}

ListWhatsAppFlowAssets

准許列出 WhatsApp 流程的資產

waba*

aws:ResourceTag/${TagKey}

清單

ListWhatsAppFlows

准許列出 WhatsApp 商業帳戶的所有 WhatsApp 流程

waba*

aws:ResourceTag/${TagKey}

清單

ListWhatsAppMessageTemplates

准許列出 WhatsApp 訊息範本

waba*

aws:ResourceTag/${TagKey}

清單

ListWhatsAppTemplateLibrary

准許從 Meta 的範本程式庫列出可用的範本

waba*

aws:ResourceTag/${TagKey}

清單

PostWhatsAppMessageMedia

准許將媒體物件上傳至 WhatsApp

phone-number-id*

aws:ResourceTag/${TagKey}

寫入

PublishWhatsAppFlow

准許發佈 WhatsApp 流程

waba*

aws:ResourceTag/${TagKey}

寫入

PutWhatsAppBusinessAccountEventDestinations

准許更新 WhatsApp 商業帳戶事件目的地

waba*

aws:ResourceTag/${TagKey}

寫入

PutWhatsAppBusinessPublicKey

准許設定電話號碼的 WhatsApp 商業公有金鑰

phone-number-id*

aws:ResourceTag/${TagKey}

寫入

SendWhatsAppCallEvent

准許透過 WhatsApp 傳送語音通話事件

phone-number-id*

aws:ResourceTag/${TagKey}

寫入

SendWhatsAppConversionEvent

准許透過 WhatsApp 傳送轉換事件

waba*

aws:ResourceTag/${TagKey}

寫入

SendWhatsAppMessage

准許透過 WhatsApp 傳送訊息

phone-number-id*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許將標籤新增至資源

phone-number-id

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

waba

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許從資源移除標籤

phone-number-id

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

waba

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateLinkedWhatsAppBusinessAccountPhoneNumber

准許更新連結 WhatsApp 電話號碼的設定

phone-number-id*

aws:ResourceTag/${TagKey}

寫入

UpdateWhatsAppFlow

准許更新 WhatsApp 流程的中繼資料

waba*

aws:ResourceTag/${TagKey}

寫入

UpdateWhatsAppFlowAssets

准許更新 WhatsApp 流程的 Flow JSON 定義

waba*

aws:ResourceTag/${TagKey}

寫入

UpdateWhatsAppMessageTemplate

准許更新 WhatsApp 訊息範本

waba*

aws:ResourceTag/${TagKey}

寫入

AWS 最終使用者傳訊社交定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。

資源類型 ARN 條件索引鍵

phone-number-id

arn:${Partition}:social-messaging:${Region}:${Account}:phone-number-id/${OriginationPhoneNumberId}

aws:ResourceTag/${TagKey}

waba

arn:${Partition}:social-messaging:${Region}:${Account}:waba/${WabaId}

aws:ResourceTag/${TagKey}

AWS 最終使用者傳訊社交的條件索引鍵

AWS 最終使用者傳訊社交定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依要求中傳遞的標籤來篩選存取權

String

aws:ResourceTag/${TagKey}

依與資源關聯的標籤來篩選存取權

String

aws:TagKeys

依要求中傳遞的標籤索引鍵來篩選存取權

ArrayOfString