

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# UpdatePricingPlan
<a name="API_UpdatePricingPlan"></a>

Perbarui paket harga.

## Minta Sintaks
<a name="API_UpdatePricingPlan_RequestSyntax"></a>

```
POST /pricingplan HTTP/1.1
Content-type: application/json

{
   "bundleNames": [ "{{string}}" ],
   "pricingMode": "{{string}}"
}
```

## Parameter Permintaan URI
<a name="API_UpdatePricingPlan_RequestParameters"></a>

Permintaan tidak menggunakan parameter URI apa pun.

## Isi Permintaan
<a name="API_UpdatePricingPlan_RequestBody"></a>

Permintaan menerima data berikut dalam format JSON.

 ** [bundleNames](#API_UpdatePricingPlan_RequestSyntax) **   <a name="tm-UpdatePricingPlan-request-bundleNames"></a>
Nama bundel.  
Tipe: Array string  
Anggota Array: Jumlah minimum 1 item. Jumlah maksimum 10 item.  
Batasan Panjang: Panjang minimum 1. Panjang maksimum 256.  
Pola: `.*`   
Wajib: Tidak

 ** [pricingMode](#API_UpdatePricingPlan_RequestSyntax) **   <a name="tm-UpdatePricingPlan-request-pricingMode"></a>
Modus harga.  
Tipe: String  
Nilai yang Valid: `BASIC | STANDARD | TIERED_BUNDLE`   
Wajib: Ya

## Sintaksis Respons
<a name="API_UpdatePricingPlan_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "currentPricingPlan": { 
      "billableEntityCount": number,
      "bundleInformation": { 
         "bundleNames": [ "string" ],
         "pricingTier": "string"
      },
      "effectiveDateTime": number,
      "pricingMode": "string",
      "updateDateTime": number,
      "updateReason": "string"
   },
   "pendingPricingPlan": { 
      "billableEntityCount": number,
      "bundleInformation": { 
         "bundleNames": [ "string" ],
         "pricingTier": "string"
      },
      "effectiveDateTime": number,
      "pricingMode": "string",
      "updateDateTime": number,
      "updateReason": "string"
   }
}
```

## Elemen Respons
<a name="API_UpdatePricingPlan_ResponseElements"></a>

Jika tindakan berhasil, layanan mengirimkan kembali respons HTTP 200.

Layanan mengembalikan data berikut dalam format JSON.

 ** [currentPricingPlan](#API_UpdatePricingPlan_ResponseSyntax) **   <a name="tm-UpdatePricingPlan-response-currentPricingPlan"></a>
Perbarui paket harga saat ini.  
Tipe: Objek [PricingPlan](API_PricingPlan.md)

 ** [pendingPricingPlan](#API_UpdatePricingPlan_ResponseSyntax) **   <a name="tm-UpdatePricingPlan-response-pendingPricingPlan"></a>
Perbarui paket harga yang tertunda.  
Tipe: Objek [PricingPlan](API_PricingPlan.md)

## Kesalahan
<a name="API_UpdatePricingPlan_Errors"></a>

Untuk informasi tentang kesalahan yang umum untuk semua tindakan, lihat [Jenis Kesalahan Umum](CommonErrors.md).

 ** AccessDeniedException **   
Akses ditolak.  
Kode Status HTTP: 403

 ** InternalServerException **   
Terjadi kesalahan tak terduga.  
Kode Status HTTP: 500

 ** ThrottlingException **   
Tarif melebihi batas.  
Kode Status HTTP: 429

 ** ValidationException **   
Gagal  
Kode Status HTTP: 400

## Lihat Juga
<a name="API_UpdatePricingPlan_SeeAlso"></a>

Untuk informasi selengkapnya tentang penggunaan API ini di salah satu bahasa khusus AWS SDKs, lihat berikut ini:
+  [AWS Antarmuka Baris Perintah V2](https://docs.aws.amazon.com/goto/cli2/iottwinmaker-2021-11-29/UpdatePricingPlan) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/iottwinmaker-2021-11-29/UpdatePricingPlan) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/iottwinmaker-2021-11-29/UpdatePricingPlan) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/iottwinmaker-2021-11-29/UpdatePricingPlan) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iottwinmaker-2021-11-29/UpdatePricingPlan) 
+  [AWS SDK untuk V3 JavaScript ](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/iottwinmaker-2021-11-29/UpdatePricingPlan) 
+  [AWS SDK para Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/iottwinmaker-2021-11-29/UpdatePricingPlan) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/iottwinmaker-2021-11-29/UpdatePricingPlan) 
+  [AWS SDK untuk Python](https://docs.aws.amazon.com/goto/boto3/iottwinmaker-2021-11-29/UpdatePricingPlan) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iottwinmaker-2021-11-29/UpdatePricingPlan) 