

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

# Configurazione delle notifiche di aggiornamento dei prezzi
<a name="notifications-price-list-api"></a>


|  | 
| --- |
| Per fornire un feedback in merito Listino prezzi AWS, completa questo [breve sondaggio](https://amazonmr.au1.qualtrics.com/jfe/form/SV_cO0deTMyKyFeezA). Le risposte saranno anonime. **Nota:** questo sondaggio è solo in inglese. | 

I file del listino prezzi possono essere modificati in qualsiasi momento. Quando i file del listino prezzi vengono aggiornati, viene inviata una notifica Amazon Simple Notification Service (Amazon SNS). Puoi impostare la ricezione di notifiche quando i prezzi cambiano, ad esempio quando i prezzi AWS diminuiscono o quando vengono lanciati nuovi prodotti e servizi. 

Puoi ricevere le notifiche ogni volta che un prezzo viene modificato oppure una volta al giorno. Se scegli questa seconda opzione, la notifica include tutte le variazioni dei prezzi del giorno precedente. Consigliamo di configurare le notifiche e di ricevere i file più recenti quando vengono modificati.

**Contents**
+ [Configurazione delle notifiche di Amazon SNS](#set-up-sns-notifications-price-changes)
+ [Struttura delle notifiche per Servizi AWS](#notification-structure-for-aws-services)
+ [Struttura delle notifiche per Savings Plans](#notification-structures-for-aws-savings-plans)

## Configurazione delle notifiche di Amazon SNS
<a name="set-up-sns-notifications-price-changes"></a>

Puoi utilizzare il Console di gestione AWS per registrarti alle notifiche di Amazon SNS.

**Configurazione delle notifiche di Amazon SNS per gli aggiornamenti dei file del listino prezzi**

1. [Accedi Console di gestione AWS e apri la console Amazon SNS nella versione v3/home. https://console.aws.amazon.com/sns/](https://console.aws.amazon.com/sns/v3/home)

1. Se sei un nuovo utente di Amazon SNS, scegli **Inizia**.

1. Se necessario, modifica la barra di navigazione Regione AWS in **Stati Uniti orientali (Virginia settentrionale**).

1. Nel riquadro di navigazione, selezionare **Subscriptions (Abbonamenti)**.

1. Scegli **Create Subscription** (Crea sottoscrizione).

1. In **ARN dell'argomento**, inserisci le seguenti informazioni in base alle esigenze:
   + Per i prezzi dei servizi: 
     + Per ricevere una notifica ogni volta che un prezzo viene modificato, inserisci: `arn:aws:sns:us-east-1:278350005181:price-list-api`
     + Per ricevere una notifica sulle variazioni di prezzo una volta al giorno, inserisci: `arn:aws:sns:us-east-1:278350005181:daily-aggregated-price-list-api`
   + Per i prezzi di Savings Plans, inserisci `arn:aws:sns:us-east-1:626627529009:SavingsPlanPublishNotifications`

1. In **Protocol (Protocollo)**, utilizzare l'impostazione predefinita `HTTP`.

1. Per **Endpoint**, specifica il formato in cui desideri ricevere la notifica, ad esempio Amazon Simple Queue Service (Amazon AWS Lambda SQS) o e-mail.

1. Scegli **Create Subscription** (Crea sottoscrizione).

   Quando un prezzo viene modificato, ricevi una notifica nel formato che preferisci, specificato nella fase 8.

**Importante**  
Se viene visualizzato un messaggio di errore Impossibile creare la sottoscrizione. Codice di errore: InvalidParameter - Messaggio di errore: Parametro non valido: TopicArn è probabile che tu non stia utilizzando la regione Stati Uniti orientali (Virginia settentrionale). I dati dei parametri di fatturazione sono archiviati in questa regione, anche per le risorse appartenenti ad altre regioni. Torna alla fase 3 e completa il resto della procedura.

## Struttura delle notifiche per Servizi AWS
<a name="notification-structure-for-aws-services"></a>

La notifica di aggiornamento dei prezzi ha un oggetto nel seguente formato.

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

**Example Esempio: oggetto**  
Una notifica di aggiornamento dei prezzi per Amazon Relational Database Service (Amazon RDS) è simile alla seguente.  

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

**Example Esempio: messaggio di notifica**  
Se ti sei abbonato Servizi AWS ad Amazon SQS, Lambda o altri servizi, la struttura del corpo del messaggio di notifica dell'aggiornamento dei prezzi è simile alla seguente.  

```
{
    "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"
}
```
Ad esempio, il messaggio di notifica per Amazon RDS è simile al seguente.  

```
{
    "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 Esempio: notifica tramite e-mail**  
Se hai effettuato l'iscrizione all'e-mail, la struttura del corpo del messaggio e-mail di aggiornamento dei prezzi è simile alla seguente.  

```
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
```
Un messaggio e-mail di esempio per Amazon RDS è simile al seguente.  

```
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
```

## Struttura delle notifiche per Savings Plans
<a name="notification-structures-for-aws-savings-plans"></a>

La notifica di aggiornamento dei prezzi ha un oggetto nel seguente formato.

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

**Example Esempio: oggetto di Savings Plans**  
L'oggetto di Savings Plans è simile al seguente.  

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

**Example Esempio: messaggio di notifica**  
Se ti sei abbonato Servizi AWS ad Amazon SQS, Lambda o altri servizi, la struttura del corpo del messaggio di notifica dell'aggiornamento dei prezzi è simile alla seguente,  

```
{
  "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>}}"
}
```
Ad esempio, una notifica per `ComputeSavingsPlans` è simile alla seguente.  

```
{
  "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 Esempio: notifica tramite e-mail**  
Se hai effettuato l'iscrizione all'e-mail, la struttura del corpo dell'e-mail di aggiornamento dei prezzi è simile la seguente.  

```
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
```
Ad esempio, un corpo dell'e-mail per Savings Plans è simile al seguente.  

```
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
```