

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

# 的操作、资源和条件键 Amazon 付款
<a name="list_payments"></a>

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

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

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

## 动作定义为 Amazon 付款
<a name="list_payments-actions-as-permissions"></a>

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




- **   [AcceptFinancingApplicationTerms](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以接受放款人提供的融资申请条款
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 写入

- **   [CreateFinancingApplication](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以创建融资申请
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 写入

- **   [CreatePaymentInstrument](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  **
  - **说明:** 授予创建付款方式的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:** [aws:RequestTag/${TagKey}](#list_payments-aws_RequestTag___TagKey_)<br />[aws:TagKeys](#list_payments-aws_TagKeys)
  - **访问级别:** 写入

- **   [GetFinancingApplication](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以获取有关融资申请的信息
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetFinancingLine](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以获取有关融资额度的信息
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetFinancingLineWithdrawal](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以获取有关融资额度提款的信息
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetFinancingOption](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以获取有关融资选项的信息
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 读取

- **   [GetPaymentInstrument](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  **
  - **说明:** 授予获取付款方式信息的权限
  - **资源类型（\* 为必需）:** [payment-instrument](#list_payments-resource-payment-instrument)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_payments-aws_ResourceTag___TagKey_)
  - **访问级别:** 列表

- **   [ListFinancingApplications](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以列出融资申请元数据
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListFinancingLineWithdrawals](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以列出融资额度提款元数据
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListFinancingLines](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以列出融资额度元数据
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListPaymentProgramOptions](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以列出有关付款选项的信息
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListPaymentProgramStatus](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以列出有关付款计划资格和注册状态的信息
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListTagsForResource](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  **
  - **说明:** 授予权限以列出付款资源的标签
  - **资源类型（\* 为必需）:** [payment-instrument](#list_payments-resource-payment-instrument)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_payments-aws_ResourceTag___TagKey_)
  - **访问级别:** 列表

- **   [TagResource](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  **
  - **说明:** 授予权限以标记付款资源
  - **资源类型（\* 为必需）:** [payment-instrument](#list_payments-resource-payment-instrument)
  - **条件键:** [aws:RequestTag/${TagKey}](#list_payments-aws_RequestTag___TagKey_)<br />[aws:ResourceTag/${TagKey}](#list_payments-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_payments-aws_TagKeys)
  - **访问级别:** 标记、写入

- **   [UntagResource](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  **
  - **说明:** 授予权限以取消标记付款资源
  - **资源类型（\* 为必需）:** [payment-instrument](#list_payments-resource-payment-instrument)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_payments-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_payments-aws_TagKeys)
  - **访问级别:** 标记、写入

- **   [UpdateFinancingApplication](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/security_iam_id-based-policy-examples.html#billing-permissions-ref)  **
  - **说明:** 授予权限以更新融资申请
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 写入



## Permission-only 的操作 Amazon 付款
<a name="list_payments-permission-only-actions"></a>

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



| 操作 | 说明 | 资源类型（\* 为必需） | 条件键 | 访问级别 | 
| --- | --- | --- | --- | --- | 
|   [DeletePaymentInstrument](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  | 授予删除付款方式的权限 |  |   | 写入 | 
|   [GetPaymentStatus](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  | 授予获取发票付款状态的权限 |  |   | 读取 | 
|   [ListPaymentInstruments](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  | 授予权限以列出付款工具元数据 |  |   | 列表 | 
|   [ListPaymentPreferences](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  | 授予获取付款偏好（首选付款币种、首选付款方式等）的权限 |  |   | 列表 | 
|   [MakePayment](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  | 授予进行付款、验证付款、验证付款方式，以及为 Advance Pay 生成资金请求文档的权限 |  |   | 写入 | 
|   [UpdatePaymentInstrument](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  | 授予权限以更新付款工具 |  |   | 写入 | 
|   [UpdatePaymentPreferences](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html)  | 授予更新付款偏好（首选付款货币、首选付款方式等）的权限 |  |   | 写入 | 

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

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



| 资源类型 | ARN | 条件键 | 
| --- | --- | --- | 
|  [payment-instrument](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions)  | arn:${Partition}:payments::${Account}:payment-instrument:${ResourceId} | [aws:ResourceTag/${TagKey}](#list_payments-aws_ResourceTag___TagKey_) | 

## 的条件密钥 Amazon 付款
<a name="list_payments-policy-keys"></a>

Amazon 付款定义了以下条件密钥，这些密钥可用于 `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 | 