

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# 料金更新通知の設定
<a name="notifications-price-list-api"></a>


|  | 
| --- |
| に関するフィードバックを提供するには AWS の料金表、この[簡単なアンケート](https://amazonmr.au1.qualtrics.com/jfe/form/SV_cO0deTMyKyFeezA)に回答してください。回答者は匿名になります。**注:** このアンケートは英語にのみ対応しています。 | 

料金表ファイルは随時変更されます。料金表ファイルが更新されると、Amazon Simple Notiﬁcation Service (Amazon SNS) 通知が送信されます。が料金 AWS を下げるときや、新しい製品やサービスが起動されたときなど、料金が変更されたときに通知を受け取るように を設定できます。

料金が変わるたびに通知を受け取るか、1 日 1 回通知を受け取ることができます。1 日 1 回の通知を受け取るように選択した場合、通知には前日に適用されたすべての料金変更が含まれます。通知を設定して、変更が発生したときに最新のファイルを入手することをお勧めします。

**Contents**
+ [Amazon SNS 通知の設定](#set-up-sns-notifications-price-changes)
+ [の通知構造 AWS のサービス](#notification-structure-for-aws-services)
+ [Savings Plans の通知の構造](#notification-structures-for-aws-savings-plans)

## Amazon SNS 通知の設定
<a name="set-up-sns-notifications-price-changes"></a>

を使用して Amazon SNS 通知に AWS マネジメントコンソール サインアップできます。

**料金表ファイルの更新に関する Amazon SNS 通知を設定するには**

1. にサインイン AWS マネジメントコンソール し、[https://console.aws.amazon.com/sns/v3/home](https://console.aws.amazon.com/sns/v3/home) で Amazon SNS コンソールを開きます。

1. Amazon SNS を初めて使用する場合、**[今すぐ始める]** を選択します。

1. 必要に応じて、ナビゲーションバー AWS リージョン の を**米国東部 (バージニア北部)** に変更します。

1. ナビゲーションペインで **[サブスクリプション]** を選択します。

1. [**Create subscription**] を選択してください。

1. **[トピック ARN]** には、必要に応じて以下を入力します。
   + サービス料金の場合 
     + 料金が変更されるたびに通知を受けるには、`arn:aws:sns:us-east-1:278350005181:price-list-api` と入力します。
     + 料金変更の通知を 1 日に 1 回受け取るには、`arn:aws:sns:us-east-1:278350005181:daily-aggregated-price-list-api` と入力します。
   + Savings Plans 料金の場合は、`arn:aws:sns:us-east-1:626627529009:SavingsPlanPublishNotifications` と入力します。

1. [**Protocol (プロトコル)**] では、デフォルトの `HTTP` 設定を使用します。

1. Endpoint には****、Amazon Simple Queue Service (Amazon SQS)、または E メールなど AWS Lambda、通知を受信する形式を指定します。

1. [**Create subscription**] を選択してください。

   料金が変更されると、ステップ 8 で指定した形式で通知が届きます。

**重要**  
次のエラーメッセージが表示された場合: サブスクリプションを作成できませんでした。エラーコード: InvalidParameter - エラーメッセージ: 無効なパラメータ: TopicArn、米国東部 (バージニア北部) リージョンを使用していない可能性があります。請求メトリクスデータは、リソースが他のリージョンにある場合でも、このリージョンに保存されます。ステップ 3 に戻り、以降の手順を完了します。

## の通知構造 AWS のサービス
<a name="notification-structure-for-aws-services"></a>

料金更新通知の件名は次の形式です。

```
[Pricing Update] New {{<serviceCode>}} offer file available.
```

**Example 例: 件名**  
Amazon Relational Database Service (Amazon RDS) の料金更新通知は次のようになります。  

```
[Pricing Update] New AmazonRDS offer file available.
```

**Example 例: 通知メッセージ**  
Amazon SQS、Lambda、またはその他のサービス AWS のサービス などの にサブスクライブしている場合、料金更新通知メッセージ本文の構造は次のようになります。  

```
{
    "formatVersion":"v1.0",
    "offerCode":"{{<serviceCode>}}",
    "version":"{{<Version number of this new price list>}}",
    "timeStamp":"{{<Publish date of this new price list>}}",
    "url":{
        "JSON":"{{<JSON URL of the current version price list>}}",
        "CSV":"{{<CSV URL of the current version price list>}}"
    },
    "regionIndex":"<Region index url of the current version price list>",
    "operation":"Publish"
}
```
例えば、Amazon RDS の通知メッセージは次のようになります。  

```
{
    "formatVersion":"v1.0",
    "offerCode":"AmazonRDS",
    "version":"20230328234721",
    "timeStamp":"2023-03-28T23:47:21Z",
    "url":{
        "JSON":"https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/index.json",
        "CSV":"https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/index.csv"
    },
    "regionIndex":"https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/region_index.json",
    "operation":"Publish"
}
```

**Example 例: E メール通知**  
E メールに登録した場合、料金更新 E メールメッセージ本文の構造は次のようになります。  

```
Hello,
You've received this notification because you subscribed to receiving updates from SNS topic arn:aws:sns:us-east-1:278350005181:price-list-api.

We've published a new version of the offer file for Service <serviceCode>. To download the offer file, use the following URLs:
  - JSON format : {{<JSON URL of the current version price list>}}
  - CSV format : {{<CSV URL url of the current version price list>}}

To download the index for the region-specific offer files, use the following URL:
   - RegionIndexUrl : {{<Region index URL of the current version price list>}}

To get a daily email that shows all price changes made the previous day, subscribe to the following SNS topic: arn:aws:sns:us-east-1:278350005181:daily-aggregated-price-list-api.

To learn more about offer files and index files, see  http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html.

Thank You,
Amazon Web Services Team
```
Amazon RDS の E メールメッセージの例は次のようになります。  

```
Hello,
You've received this notification because you subscribed to receiving updates from SNS topic arn:aws:sns:us-east-1:278350005181:price-list-api.

We've published a new version of the offer file for Service AmazonRDS. To download the offer file, use the following URLs:
  - JSON format : https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/index.json
  - CSV format : https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/index.csv

To download the index for the region-specific offer files, use the following URL:
   - RegionIndexUrl : https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonRDS/current/region_index.json

To get a daily email that shows all price changes made the previous day, subscribe to the following SNS topic: arn:aws:sns:us-east-1:278350005181:daily-aggregated-price-list-api.

To learn more about offer files and index files, see  http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html.

Thank You,
Amazon Web Services Team
```

## Savings Plans の通知の構造
<a name="notification-structures-for-aws-savings-plans"></a>

料金更新通知の件名は次の形式です。

```
[Pricing Update] New {{<Savings Plan name>}} is available.
```

**Example 例: Savings Plans の件名**  
Savings Plans の件名は次のようになります。  

```
[Pricing Update] New AWS Compute Savings Plan is available.
```

**Example 例: 通知メッセージ**  
Amazon SQS、Lambda、またはその他のサービス AWS のサービス などの にサブスクライブしている場合、料金更新通知メッセージ本文の構造は次のようになります。  

```
{
  "version":"<Version number of this new price list>",
  "offerCode":"<savingsPlanCode which can be used as input to API calls>",
  "savingsPlanCode":"{{<savingsPlan Name>}}",
  "topicArn":"arn:aws:sns:us-east-1:626627529009:SavingsPlanPublishNotifications",
  "versionIndex":"{{<version index url of the version price list>}}",
  "regionIndex":"{{<Region index URL of the version price list>}}"
}
```
例えば、`ComputeSavingsPlans` の通知は次のようになります。  

```
{
  "version":"20230509202901",
  "offerCode":"AWSComputeSavingsPlan",
  "savingsPlanCode":"ComputeSavingsPlans",
  "topicArn":"arn:aws:sns:us-east-1:626627529009:SavingsPlanPublishNotifications",
  "versionIndex":"https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/AWSComputeSavingsPlan/20230509202901/index.json",
  "regionIndex":"https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/AWSComputeSavingsPlan/20230509202901/region_index.json"
}
```

**Example 例: E メール通知**  
E メールに登録した場合、料金更新 E メール本文の構造は次のようになります。  

```
Hello,

You've received this notification because you subscribed to receiving updates from SNS topic arn:aws:sns:us-east-1:626627529009:SavingsPlanPublishNotifications.

We've published a new version of {{<Savings Plan name>}}.

To download the index of current region specific savings plans, use the following URL:
  - {{<Region index URL of the version price list>}}
  
To download the index of previous versions of savings plans, use the following URL:
  - {{<version index URL of the version price list>}}

To learn more about Savings Plans, see http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html.
To learn about finding Savings Plan prices in an offer file, see https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/sp-offer-file.html

Thank You,
Amazon Web Services Team
```
例えば、Savings Plans の E メール本文は次のようになります。  

```
Hello,

You've received this notification because you subscribed to receiving updates from SNS topic arn:aws:sns:us-east-1:626627529009:SavingsPlanPublishNotifications.

We've published a new version of Compute Savings Plans.

To download the index of current region specific savings plans, use the following URL:
  - https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/AWSComputeSavingsPlan/20230509202901/region_index.json
  
To download the index of previous versions of savings plans, use the following URL:
  - https://pricing.us-east-1.amazonaws.com/savingsPlan/v1.0/aws/AWSComputeSavingsPlan/20230509202901/index.json

To learn more about savings plans, see http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html.
To learn about finding Savings Plan prices in an offer file, see https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/sp-offer-file.html

Thank You,
Amazon Web Services Team
```