

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 的操作、资源和条件键 Amazon Billing
<a name="list_billing"></a>

Amazon Billing （服务前缀： `billing`) 提供以下特定服务的操作、资源、操作和条件密钥，用于 IAM 权限策略。

参考：
+ 了解如何[配置该服务](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-what-is.html)。
+ 查看[适用于该服务的 API 操作列表](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_Operations_AWS_Billing.html)。
+ 了解如何[使用 IAM](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security-iam.html) 权限策略保护该服务及其资源。
+ 查看 [编程服务授权参考](https://servicereference.us-east-1.amazonaws.com/v1/billing/billing.json) 用于此服务。

**Topics**
+ [API 操作定义为 Amazon Billing](#list_billing-operations)
+ [动作定义为 Amazon Billing](#list_billing-actions-as-permissions)
+ [Permission-only 的操作 Amazon Billing](#list_billing-permission-only-actions)
+ [资源类型定义为 Amazon Billing](#list_billing-resources-for-iam-policies)
+ [的条件密钥 Amazon Billing](#list_billing-policy-keys)

## API 操作定义为 Amazon Billing
<a name="list_billing-operations"></a>

下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作静态值的条件密钥；有关每个操作支持的全套条件密钥，请参阅 [操作表](#list_billing-actions-as-permissions)。




- **   AssociateContract  **
  - **IAM 操作:**  [billing:AssociateContract](#list_billing-action-AssociateContract) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   AssociateSourceViews  **
  - **IAM 操作:**  [billing:AssociateSourceViews](#list_billing-action-AssociateSourceViews)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入
  - **IAM 操作:**  [billing:UseSourceView](#list_billing-action-UseSourceView)  / **条件键:**  / **可能的值:**  / **访问级别:** 读取

- **   CancelContractualInvestmentAttestation  **
  - **IAM 操作:**  [billing:CancelContractualInvestmentAttestation](#list_billing-action-CancelContractualInvestmentAttestation) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   CreateBillingView  **
  - **IAM 操作:**  [billing:CreateBillingView](#list_billing-action-CreateBillingView)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入
  - **IAM 操作:**  [billing:TagResource](#list_billing-action-TagResource)  / **条件键:**  / **可能的值:**  / **访问级别:** 标记、写入
  - **IAM 操作:**  [billing:UseSourceView](#list_billing-action-UseSourceView)  / **条件键:**  / **可能的值:**  / **访问级别:** 读取

- **   CreateContractualInvestmentAttestation  **
  - **IAM 操作:**  [billing:CreateContractualInvestmentAttestation](#list_billing-action-CreateContractualInvestmentAttestation) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   DeleteBillingView  **
  - **IAM 操作:**  [billing:DeleteBillingView](#list_billing-action-DeleteBillingView) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   DisassociateContract  **
  - **IAM 操作:**  [billing:DisassociateContract](#list_billing-action-DisassociateContract) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   DisassociateSourceViews  **
  - **IAM 操作:**  [billing:DisassociateSourceViews](#list_billing-action-DisassociateSourceViews) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   GetBillingPreferences  **
  - **IAM 操作:**  [billing:GetBillingPreferences](#list_billing-action-GetBillingPreferences)  / **条件键:**  / **可能的值:**  / **访问级别:** 读取
  - **IAM 操作:**  [aws-portal:ViewBilling](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  / **条件键:**  / **可能的值:**  / **访问级别:** 读取

- **   GetBillingView  **
  - **IAM 操作:**  [billing:GetBillingView](#list_billing-action-GetBillingView) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   GetContractInformation  **
  - **IAM 操作:**  [billing:GetContractInformation](#list_billing-action-GetContractInformation) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   GetCreditAllocationHistory  **
  - **IAM 操作:**  [billing:GetCreditAllocationHistory](#list_billing-action-GetCreditAllocationHistory) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   GetCredits  **
  - **IAM 操作:**  [billing:GetCredits](#list_billing-action-GetCredits)  / **条件键:**  / **可能的值:**  / **访问级别:** 读取
  - **IAM 操作:**  [aws-portal:ViewBilling](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  / **条件键:**  / **可能的值:**  / **访问级别:** 读取

- **   GetEnterpriseSupportChargeSummary  **
  - **IAM 操作:**  [billing:GetEnterpriseSupportChargeSummary](#list_billing-action-GetEnterpriseSupportChargeSummary) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   GetEnterpriseSupportContractDetails  **
  - **IAM 操作:**  [billing:GetEnterpriseSupportContractDetails](#list_billing-action-GetEnterpriseSupportContractDetails) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   GetResourcePolicy  **
  - **IAM 操作:**  [billing:GetResourcePolicy](#list_billing-action-GetResourcePolicy) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 权限管理，写入

- **   ListBillingViewSegments  **
  - **IAM 操作:**  [billing:ListBillingViewSegments](#list_billing-action-ListBillingViewSegments) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListBillingViews  **
  - **IAM 操作:**  [billing:ListBillingViews](#list_billing-action-ListBillingViews) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   ListBusinessSupportAccountCharges  **
  - **IAM 操作:**  [billing:ListBusinessSupportAccountCharges](#list_billing-action-ListBusinessSupportAccountCharges) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListBusinessSupportSubscriptionHistory  **
  - **IAM 操作:**  [billing:ListBusinessSupportSubscriptionHistory](#list_billing-action-ListBusinessSupportSubscriptionHistory) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListContracts  **
  - **IAM 操作:**  [billing:ListContracts](#list_billing-action-ListContracts) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListContractualInvestmentAttestations  **
  - **IAM 操作:**  [billing:ListContractualInvestmentAttestations](#list_billing-action-ListContractualInvestmentAttestations) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   ListContractualInvestmentSummaries  **
  - **IAM 操作:**  [billing:ListContractualInvestmentSummaries](#list_billing-action-ListContractualInvestmentSummaries) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   ListContractualInvestments  **
  - **IAM 操作:**  [billing:ListContractualInvestments](#list_billing-action-ListContractualInvestments) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   ListEnterpriseSupportLinkedAccountCharges  **
  - **IAM 操作:**  [billing:ListEnterpriseSupportLinkedAccountCharges](#list_billing-action-ListEnterpriseSupportLinkedAccountCharges) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListSourceViewsForBillingView  **
  - **IAM 操作:**  [billing:ListSourceViewsForBillingView](#list_billing-action-ListSourceViewsForBillingView) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListTagsForResource  **
  - **IAM 操作:**  [billing:ListTagsForResource](#list_billing-action-ListTagsForResource) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   RedeemCredits  **
  - **IAM 操作:**  [billing:RedeemCredits](#list_billing-action-RedeemCredits)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入
  - **IAM 操作:**  [aws-portal:ModifyBilling](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入

- **   TagResource  **
  - **IAM 操作:**  [billing:TagResource](#list_billing-action-TagResource) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 标记、写入

- **   UntagResource  **
  - **IAM 操作:**  [billing:UntagResource](#list_billing-action-UntagResource) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 标记、写入

- **   UpdateBillingPreferences  **
  - **IAM 操作:**  [billing:UpdateBillingPreferences](#list_billing-action-UpdateBillingPreferences)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入
  - **IAM 操作:**  [aws-portal:ModifyBilling](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入

- **   UpdateBillingView  **
  - **IAM 操作:**  [billing:UpdateBillingView](#list_billing-action-UpdateBillingView) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入



## 动作定义为 Amazon Billing
<a name="list_billing-actions-as-permissions"></a>

您可以在 IAM 策略语句的 `Action` 元素中指定以下操作。对于每个操作，该表列出了该操作支持的资源类型和条件键。可以使用策略授予在 Amazon中执行操作的权限。您在策略中使用一项操作时，通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下，单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。




- **   [AssociateContract](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予将私人定价附录与呼叫者关联的权限 Amazon Web Services 账户
  - **资源类型（\* 为必需）:** [contract\*](#list_billing-resource-contract)
  - **条件键:**  
  - **访问级别:** 写入

- **   [AssociateSourceViews](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_AssociateSourceViews.html)  **
  - **说明:** 授予权限以将源视图与账单视图关联
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [CancelContractualInvestmentAttestation](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 允许取消在私募定价附录中申请投资奖励的认证
  - **资源类型（\* 为必需）:** [contract\*](#list_billing-resource-contract)
  - **条件键:**  
  - **访问级别:** 写入

- **   [CreateBillingView](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_CreateBillingView.html)  **
  - **说明:** 授予权限以创建账单视图
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:RequestTag/${TagKey}](#list_billing-aws_RequestTag___TagKey_)<br />[aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_billing-aws_TagKeys)
  - **访问级别:** 写入

- **   [CreateContractualInvestmentAttestation](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 允许创建证书，要求在私募定价附录中完成结果后获得投资奖励
  - **资源类型（\* 为必需）:** [contract\*](#list_billing-resource-contract)
  - **条件键:**  
  - **访问级别:** 写入

- **   [DeleteBillingView](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_DeleteBillingView.html)  **
  - **说明:** 授予权限以删除账单视图
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [DisassociateContract](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予取消私有定价附录与来电者关联的权限 Amazon Web Services 账户
  - **资源类型（\* 为必需）:** [contract\*](#list_billing-resource-contract)
  - **条件键:**  
  - **访问级别:** 写入

- **   [DisassociateSourceViews](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_DisassociateSourceViews.html)  **
  - **说明:** 授予权限以取消源视图与账单视图的关联
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [GetBillingPreferences](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看账单首选项的权限，例如预留实例、实惠配套和服务抵扣金共享
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetBillingView](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_GetBillingView.html)  **
  - **说明:** 授予权限以获取指定账单视图的元数据
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 读取

- **   [GetCreditAllocationHistory](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看积分分配历史记录的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetCredits](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看已兑换的服务抵扣金的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetEnterpriseSupportChargeSummary](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看企业支持费用摘要数据的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetEnterpriseSupportContractDetails](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看企业支持合同详细信息的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetResourcePolicy](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_GetResourcePolicy.html)  **
  - **说明:** 授予权限以获取资源策略指定账单视图
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 权限管理，写入

- **   [ListBillingViewSegments](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_ListBillingViewSegments.html)  **
  - **说明:** 授予获取指定账单视图的账单视图区段列表的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListBillingViews](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_ListBillingViews.html)  **
  - **说明:** 授予权限以获取所有可用账单视图的列表
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [ListBusinessSupportAccountCharges](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看按关联账户细分的商业支持费用的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListBusinessSupportSubscriptionHistory](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看商业支持订阅合同历史记录的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListContracts](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予列出来电者账户可见的合同的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListContractualInvestmentAttestations](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 允许列出根据私募定价附录提交的投资证明
  - **资源类型（\* 为必需）:** [contract\*](#list_billing-resource-contract)
  - **条件键:**  
  - **访问级别:** 读取

- **   [ListContractualInvestmentSummaries](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予在私募定价附录中列出投资摘要的权限
  - **资源类型（\* 为必需）:** [contract\*](#list_billing-resource-contract)
  - **条件键:**  
  - **访问级别:** 读取

- **   [ListContractualInvestments](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 允许在私募定价附录的投资摘要下列出投资
  - **资源类型（\* 为必需）:** [contract\*](#list_billing-resource-contract)
  - **条件键:**  
  - **访问级别:** 读取

- **   [ListCreditEntitlementPeriods](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看信贷权利衡量期限的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [ListCreditEntitlements](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看来电者账户设定获得的信用额度资格的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [ListEnterpriseSupportLinkedAccountCharges](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看按关联账户细分的企业支持费用的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListSourceViewsForBillingView](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_ListSourceViewsForBillingView.html)  **
  - **说明:** 授予权限以获取指定账单视图的源视图的列表
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 列表

- **   [ListTagsForResource](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_ListTagsForResource.html)  **
  - **说明:** 授予权限以获取指定账单视图的标签的列表
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 读取

- **   [RedeemCredits](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予兑换权限 Amazon 信贷
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 写入

- **   [SplitCredit](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予将积分拆分成同一个账户中的多个子项积分的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 写入

- **   [TagResource](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_TagResource.html)  **
  - **说明:** 授予权限以将标签添加到指定账单视图
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:RequestTag/${TagKey}](#list_billing-aws_RequestTag___TagKey_)<br />[aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_billing-aws_TagKeys)
  - **访问级别:** 标记、写入

- **   [TransferCredit](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予向同一付款人下的另一个账户转账的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 写入

- **   [UntagResource](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_UntagResource.html)  **
  - **说明:** 授予权限以从指定账单视图移除标签
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_billing-aws_TagKeys)
  - **访问级别:** 标记、写入

- **   [UpdateBillingPreferences](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予更新账单首选项的权限，例如预留实例、实惠配套和服务抵扣金共享
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 写入

- **   [UpdateBillingView](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_UpdateBillingView.html)  **
  - **说明:** 授予权限以更新账单视图
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入



## Permission-only 的操作 Amazon Billing
<a name="list_billing-permission-only-actions"></a>

以下操作定义为 Amazon Billing 但不能通过任何 API 操作直接调用。它们只能在 IAM 政策声明中用于授予或拒绝权限。




- **   [DeleteResourcePolicy](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_DeleteResourcePolicy.html)  **
  - **说明:** 授予权限以删除账单视图资源策略
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 权限管理，写入

- **   [GetBillingData](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予对账单信息执行查询的权限
  - **资源类型（\* 为必需）:** [billingview](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 读取

- **   [GetBillingDetails](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看详细行项目账单信息的权限
  - **资源类型（\* 为必需）:** [billingview](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 读取

- **   [GetBillingNotifications](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予查看由发送的通知的权限 Amazon 与您的账户账单信息相关
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetBillingViewData](https://docs.amazonaws.cn/)  **
  - **说明:** 授予权限以获取指定账单视图的成本和使用情况数据
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 读取

- **   [GetContractInformation](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予检索合同信息的权限，例如合同的法人实体名称、期限和账户
  - **资源类型（\* 为必需）:** [contract](#list_billing-resource-contract)
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetIAMAccessPreference](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予权限以检索允许 IAM 访问账单首选项状态
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetSellerOfRecord](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予检索账户的默认记录卖家的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [PutContractInformation](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予设置账户合同信息、最终用户组织名称，以及账户是否用于为公共部门客户提供服务的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 写入

- **   [PutResourcePolicy](https://docs.amazonaws.cn/aws-cost-management/latest/APIReference/API_billing_PutResourcePolicy.html)  **
  - **说明:** 授予权限以放置账单视图资源策略
  - **资源类型（\* 为必需）:** [billingview\*](#list_billing-resource-billingview)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_)
  - **访问级别:** 权限管理，写入

- **   [UpdateIAMAccessPreference](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予权限以更新允许 IAM 访问账单首选项
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 写入

- **   [UseSourceView](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  **
  - **说明:** 授予权限以使用账单视图作为其他账单视图的数据来源
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取



## 资源类型定义为 Amazon Billing
<a name="list_billing-resources-for-iam-policies"></a>

以下资源类型是由该服务定义的，可以在 IAM 权限策略语句的 `Resource` 元素中使用这些资源类型。



| 资源类型 | ARN | 条件键 | 
| --- | --- | --- | 
|  [billingview](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/)  | arn:${Partition}:billing::${Account}:billingview/${ResourceId} | [aws:ResourceTag/${TagKey}](#list_billing-aws_ResourceTag___TagKey_) | 
|  [contract](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/)  | arn:${Partition}:billing::${Account}:contract/${ContractId} |   | 

## 的条件密钥 Amazon Billing
<a name="list_billing-policy-keys"></a>

Amazon Billing 定义了以下条件密钥，这些密钥可用于 `Condition` IAM 政策的元素。



| 条件键 | 描述 | 类型 | 
| --- | --- | --- | 
|   [aws:RequestTag/${TagKey}](https://docs.amazonaws.cn/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag)  | 按请求中传递的标签筛选访问权限 | String | 
|   [aws:ResourceTag/${TagKey}](https://docs.amazonaws.cn/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag)  | 按与资源关联的标签筛选访问权限 | String | 
|   [aws:TagKeys](https://docs.amazonaws.cn/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys)  | 按请求中传递的标签键筛选访问权限 | ArrayOfString | 