

Ada lebih banyak contoh AWS SDK yang tersedia di repo Contoh [SDK AWS Doc](https://github.com/awsdocs/aws-doc-sdk-examples). GitHub 

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

# AWS IoT Wireless contoh menggunakan AWS CLI
<a name="cli_2_iot-wireless_code_examples"></a>

Contoh kode berikut menunjukkan cara melakukan tindakan dan mengimplementasikan skenario umum dengan menggunakan AWS Command Line Interface with AWS IoT Wireless.

*Tindakan* merupakan kutipan kode dari program yang lebih besar dan harus dijalankan dalam konteks. Sementara tindakan menunjukkan cara memanggil fungsi layanan individual, Anda dapat melihat tindakan dalam konteks dalam skenario terkait.

Setiap contoh menyertakan tautan ke kode sumber lengkap, di mana Anda dapat menemukan instruksi tentang cara mengatur dan menjalankan kode dalam konteks.

**Topics**
+ [Tindakan](#actions)

## Tindakan
<a name="actions"></a>

### `associate-aws-account-with-partner-account`
<a name="iot-wireless_AssociateAwsAccountWithPartnerAccount_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`associate-aws-account-with-partner-account`.

**AWS CLI**  
**Untuk mengaitkan akun mitra dengan AWS akun Anda**  
`associate-aws-account-with-partner-account`Contoh berikut mengaitkan kredensi akun Sidewalk berikut dengan akun Anda. AWS   

```
aws iotwireless associate-aws-account-with-partner-account \
    --sidewalk AmazonId="12345678901234",AppServerPrivateKey="a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234"
```
Output:  

```
{
    "Sidewalk": {
        "AmazonId": "12345678901234",
        "AppServerPrivateKey": "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234"
    }
}
```
Untuk informasi selengkapnya, lihat [Integrasi Sidewalk Amazon untuk AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/iot-sidewalk.html) Core di Panduan Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [AssociateAwsAccountWithPartnerAccount](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/associate-aws-account-with-partner-account.html)di *Referensi AWS CLI Perintah*. 

### `associate-wireless-device-with-thing`
<a name="iot-wireless_AssociateWirelessDeviceWithThing_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`associate-wireless-device-with-thing`.

**AWS CLI**  
**Untuk mengaitkan sesuatu ke perangkat nirkabel**  
`associate-wireless-device-with-thing`Contoh berikut mengaitkan sesuatu ke perangkat nirkabel Anda yang memiliki ID yang ditentukan.  

```
aws iotwireless associate-wireless-device-with-thing \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d" \
    --thing-arn "arn:aws:iot:us-east-1:123456789012:thing/MyIoTWirelessThing"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menambahkan gateway dan perangkat nirkabel Anda ke AWS IoT Core for WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-onboard-devices.html).*  
+  Untuk detail API, lihat [AssociateWirelessDeviceWithThing](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/associate-wireless-device-with-thing.html)di *Referensi AWS CLI Perintah*. 

### `associate-wireless-gateway-with-certificate`
<a name="iot-wireless_AssociateWirelessGatewayWithCertificate_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`associate-wireless-gateway-with-certificate`.

**AWS CLI**  
**Untuk mengaitkan sertifikat dengan gateway nirkabel**  
Berikut ini `associate-wireless-gateway-with-certificate` mengaitkan gateway nirkabel dengan sertifikat.  

```
aws iotwireless associate-wireless-gateway-with-certificate \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d" \
    --iot-certificate-id "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234"
```
Output:  

```
{
    "IotCertificateId": "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234"
}
```
*Untuk informasi selengkapnya, lihat [Menambahkan gateway dan perangkat nirkabel Anda ke AWS IoT Core for WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-onboard-devices.html).*  
+  Untuk detail API, lihat [AssociateWirelessGatewayWithCertificate](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/associate-wireless-gateway-with-certificate.html)di *Referensi AWS CLI Perintah*. 

### `associate-wireless-gateway-with-thing`
<a name="iot-wireless_AssociateWirelessGatewayWithThing_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`associate-wireless-gateway-with-thing`.

**AWS CLI**  
**Untuk mengaitkan sesuatu ke gateway nirkabel**  
`associate-wireless-gateway-with-thing`Contoh berikut mengaitkan sesuatu ke gateway nirkabel.  

```
aws iotwireless associate-wireless-gateway-with-thing \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d" \
    --thing-arn "arn:aws:iot:us-east-1:123456789012:thing/MyIoTWirelessThing"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menambahkan gateway dan perangkat nirkabel Anda ke AWS IoT Core for WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-onboard-devices.html).*  
+  Untuk detail API, lihat [AssociateWirelessGatewayWithThing](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/associate-wireless-gateway-with-thing.html)di *Referensi AWS CLI Perintah*. 

### `create-destination`
<a name="iot-wireless_CreateDestination_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`create-destination`.

**AWS CLI**  
**Untuk membuat tujuan nirkabel IoT**  
`create-destination`Contoh berikut membuat tujuan untuk memetakan pesan perangkat ke aturan AWS IoT. Sebelum Anda menjalankan perintah ini, Anda harus telah membuat peran IAM yang memberikan AWS IoT Core LoRa untuk WAN izin yang diperlukan untuk mengirim data ke aturan IoT. AWS   

```
aws iotwireless create-destination \
    --name IoTWirelessDestination \
    --expression-type RuleName \
    --expression IoTWirelessRule \
    --role-arn arn:aws:iam::123456789012:role/IoTWirelessDestinationRole
```
Output:  

```
{
    "Arn": "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination",
    "Name": "IoTWirelessDestination"
}
```
Untuk informasi selengkapnya, lihat [Menambahkan tujuan ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-create-destinations.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [CreateDestination](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/create-destination.html)di *Referensi AWS CLI Perintah*. 

### `create-device-profile`
<a name="iot-wireless_CreateDeviceProfile_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`create-device-profile`.

**AWS CLI**  
**Untuk membuat profil perangkat baru**  
`create-device-profile`Contoh berikut membuat profil perangkat nirkabel IoT baru.  

```
aws iotwireless create-device-profile
```
Output:  

```
{
    "Arn": "arn:aws:iotwireless:us-east-1:123456789012:DeviceProfile/12345678-a1b2-3c45-67d8-e90fa1b2c34d",
    "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
}
```
Untuk informasi selengkapnya, lihat [Menambahkan profil ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-define-profiles.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [CreateDeviceProfile](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/create-device-profile.html)di *Referensi AWS CLI Perintah*. 

### `create-service-profile`
<a name="iot-wireless_CreateServiceProfile_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`create-service-profile`.

**AWS CLI**  
**Untuk membuat profil layanan baru**  
`create-service-profile`Contoh berikut membuat profil layanan nirkabel IoT baru.  

```
aws iotwireless create-service-profile
```
Output:  

```
{
    "Arn": "arn:aws:iotwireless:us-east-1:123456789012:ServiceProfile/12345678-a1b2-3c45-67d8-e90fa1b2c34d",
    "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
}
```
Untuk informasi selengkapnya, lihat [Menambahkan profil ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-define-profiles.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [CreateServiceProfile](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/create-service-profile.html)di *Referensi AWS CLI Perintah*. 

### `create-wireless-device`
<a name="iot-wireless_CreateWirelessDevice_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`create-wireless-device`.

**AWS CLI**  
**Untuk membuat perangkat nirkabel IoT**  
`create-wireless-device`Contoh berikut membuat sumber daya perangkat nirkabel dari tipe LoRa WAN.  

```
aws iotwireless create-wireless-device \
    --cli-input-json file://input.json
```
Isi dari `input.json`:  

```
{
    "Description": "My LoRaWAN wireless device"
    "DestinationName": "IoTWirelessDestination"
    "LoRaWAN": {
        "DeviceProfileId": "ab0c23d3-b001-45ef-6a01-2bc3de4f5333",
        "ServiceProfileId": "fe98dc76-cd12-001e-2d34-5550432da100",
        "OtaaV1_1": {
            "AppKey": "3f4ca100e2fc675ea123f4eb12c4a012",
            "JoinEui": "b4c231a359bc2e3d",
            "NwkKey": "01c3f004a2d6efffe32c4eda14bcd2b4"
        },
        "DevEui": "ac12efc654d23fc2"
    },
    "Name": "SampleIoTWirelessThing"
    "Type": LoRaWAN
}
```
Output:  

```
{
    "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessDevice/1ffd32c8-8130-4194-96df-622f072a315f",
    "Id": "1ffd32c8-8130-4194-96df-622f072a315f"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [CreateWirelessDevice](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/create-wireless-device.html)di *Referensi AWS CLI Perintah*. 

### `create-wireless-gateway-task-definition`
<a name="iot-wireless_CreateWirelessGatewayTaskDefinition_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`create-wireless-gateway-task-definition`.

**AWS CLI**  
**Untuk membuat definisi tugas gateway nirkabel**  
Berikut ini `create-wireless-gateway-task-definition` secara otomatis membuat tugas menggunakan definisi tugas ini untuk semua gateway dengan versi saat ini yang ditentukan.  

```
aws iotwireless create-wireless-gateway-task-definition \
    --cli-input-json file://input.json
```
Isi dari `input.json`:  

```
{
    "AutoCreateTasks": true,
    "Name": "TestAutoUpdate",
    "Update":{
        "UpdateDataSource" : "s3://cupsalphagafirmwarebin/station",
        "UpdateDataRole" : "arn:aws:iam::001234567890:role/SDK_Test_Role",
        "LoRaWAN" :{
            "CurrentVersion" :{
                "PackageVersion" : "1.0.0",
                "Station" : "2.0.5",
                "Model" : "linux"
            },
            "UpdateVersion" :{
                "PackageVersion" : "1.0.1",
                "Station" : "2.0.5",
                "Model" : "minihub"
            }
        }
    }
}
```
Output:  

```
{
    "Id": "b7d3baad-25c7-35e7-a4e1-1683a0d61da9"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [CreateWirelessGatewayTaskDefinition](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/create-wireless-gateway-task-definition.html)di *Referensi AWS CLI Perintah*. 

### `create-wireless-gateway-task`
<a name="iot-wireless_CreateWirelessGatewayTask_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`create-wireless-gateway-task`.

**AWS CLI**  
**Untuk membuat tugas untuk gateway nirkabel**  
`create-wireless-gateway-task`Contoh berikut membuat tugas untuk gateway nirkabel.  

```
aws iotwireless create-wireless-gateway-task \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d" \
    --wireless-gateway-task-definition-id "aa000102-0304-b0cd-ef56-a1b23cde456a"
```
Output:  

```
{
    "WirelessGatewayTaskDefinitionId": "aa204003-0604-30fb-ac82-a4f95aaf450a",
    "Status": "Success"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [CreateWirelessGatewayTask](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/create-wireless-gateway-task.html)di *Referensi AWS CLI Perintah*. 

### `create-wireless-gateway`
<a name="iot-wireless_CreateWirelessGateway_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`create-wireless-gateway`.

**AWS CLI**  
**Untuk membuat gateway nirkabel**  
`create-wireless-gateway`Contoh berikut membuat gateway perangkat LoRa WAN nirkabel.  

```
aws iotwireless create-wireless-gateway \
    --lorawan GatewayEui="a1b2c3d4567890ab",RfRegion="US915" \
    --name "myFirstLoRaWANGateway" \
    --description "Using my first LoRaWAN gateway"
```
Output:  

```
{
    "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessGateway/12345678-a1b2-3c45-67d8-e90fa1b2c34d",
    "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [CreateWirelessGateway](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/create-wireless-gateway.html)di *Referensi AWS CLI Perintah*. 

### `delete-destination`
<a name="iot-wireless_DeleteDestination_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`delete-destination`.

**AWS CLI**  
**Untuk menghapus tujuan nirkabel IoT**  
`delete-destination`Contoh berikut menghapus sumber daya tujuan nirkabel dengan nama `IoTWirelessDestination` yang Anda buat.  

```
aws iotwireless delete-destination \
    --name "IoTWirelessDestination"
```
Perintah ini tidak menghasilkan output.  
Untuk informasi selengkapnya, lihat [Menambahkan tujuan ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-create-destinations.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [DeleteDestination](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/delete-destination.html)di *Referensi AWS CLI Perintah*. 

### `delete-device-profile`
<a name="iot-wireless_DeleteDeviceProfile_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`delete-device-profile`.

**AWS CLI**  
**Untuk menghapus profil perangkat**  
`delete-device-profile`Contoh berikut menghapus profil perangkat dengan ID tertentu yang Anda buat.  

```
aws iotwireless delete-device-profile \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Perintah ini tidak menghasilkan output.  
Untuk informasi selengkapnya, lihat [Menambahkan profil ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-define-profiles.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [DeleteDeviceProfile](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/delete-device-profile.html)di *Referensi AWS CLI Perintah*. 

### `delete-service-profile`
<a name="iot-wireless_DeleteServiceProfile_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`delete-service-profile`.

**AWS CLI**  
**Untuk menghapus profil layanan**  
`delete-service-profile`Contoh berikut menghapus profil layanan dengan ID tertentu yang Anda buat.  

```
aws iotwireless delete-service-profile \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Perintah ini tidak menghasilkan output.  
Untuk informasi selengkapnya, lihat [Menambahkan profil ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-define-profiles.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [DeleteServiceProfile](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/delete-service-profile.html)di *Referensi AWS CLI Perintah*. 

### `delete-wireless-device`
<a name="iot-wireless_DeleteWirelessDevice_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`delete-wireless-device`.

**AWS CLI**  
**Untuk menghapus perangkat nirkabel**  
`delete-wireless-device`Contoh berikut menghapus perangkat nirkabel yang memiliki ID yang ditentukan.  

```
aws iotwireless delete-wireless-device \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [DeleteWirelessDevice](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/delete-wireless-device.html)di *Referensi AWS CLI Perintah*. 

### `delete-wireless-gateway-task-definition`
<a name="iot-wireless_DeleteWirelessGatewayTaskDefinition_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`delete-wireless-gateway-task-definition`.

**AWS CLI**  
**Untuk menghapus definisi tugas gateway nirkabel**  
`delete-wireless-gateway-task-definition`Contoh berikut menghapus definisi tugas gateway nirkabel yang Anda buat dengan ID berikut.  

```
aws iotwireless delete-wireless-gateway-task-definition \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [DeleteWirelessGatewayTaskDefinition](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/delete-wireless-gateway-task-definition.html)di *Referensi AWS CLI Perintah*. 

### `delete-wireless-gateway-task`
<a name="iot-wireless_DeleteWirelessGatewayTask_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`delete-wireless-gateway-task`.

**AWS CLI**  
**Untuk menghapus tugas gateway nirkabel**  
`delete-wireless-gateway-task`Contoh berikut menghapus tugas gateway nirkabel yang memiliki ID yang ditentukan.  

```
aws iotwireless delete-wireless-gateway-task \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [DeleteWirelessGatewayTask](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/delete-wireless-gateway-task.html)di *Referensi AWS CLI Perintah*. 

### `delete-wireless-gateway`
<a name="iot-wireless_DeleteWirelessGateway_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`delete-wireless-gateway`.

**AWS CLI**  
**Untuk menghapus gateway nirkabel**  
`delete-wireless-gateway`Contoh berikut menghapus gateway nirkabel yang memiliki ID tertentu.  

```
aws iotwireless delete-wireless-gateway \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [DeleteWirelessGateway](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/delete-wireless-gateway.html)di *Referensi AWS CLI Perintah*. 

### `disassociate-aws-account-from-partner-account`
<a name="iot-wireless_DisassociateAwsAccountFromPartnerAccount_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`disassociate-aws-account-from-partner-account`.

**AWS CLI**  
**Untuk memisahkan akun mitra dari akun AWS **  
`disassociate-aws-account-from-partner-account`Contoh berikut memisahkan akun mitra dari akun Anda yang saat ini terkait AWS .  

```
aws iotwireless disassociate-aws-account-from-partner-account \
    --partner-account-id "12345678901234" \
    --partner-type "Sidewalk"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menambahkan gateway dan perangkat nirkabel Anda ke AWS IoT Core for WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-onboard-devices.html).*  
+  Untuk detail API, lihat [DisassociateAwsAccountFromPartnerAccount](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/disassociate-aws-account-from-partner-account.html)di *Referensi AWS CLI Perintah*. 

### `disassociate-wireless-device-from-thing`
<a name="iot-wireless_DisassociateWirelessDeviceFromThing_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`disassociate-wireless-device-from-thing`.

**AWS CLI**  
**Untuk memisahkan benda dari perangkat nirkabel**  
`disassociate-wireless-device-from-thing`Contoh berikut memisahkan perangkat nirkabel dari hal yang saat ini terkait.  

```
aws iotwireless disassociate-wireless-device-from-thing \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menambahkan gateway dan perangkat nirkabel Anda ke AWS IoT Core for WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-onboard-devices.html).*  
+  Untuk detail API, lihat [DisassociateWirelessDeviceFromThing](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/disassociate-wireless-device-from-thing.html)di *Referensi AWS CLI Perintah*. 

### `disassociate-wireless-gateway-from-certificate`
<a name="iot-wireless_DisassociateWirelessGatewayFromCertificate_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`disassociate-wireless-gateway-from-certificate`.

**AWS CLI**  
**Untuk memisahkan sertifikat dari gateway nirkabel**  
Berikut ini `disassociate-wireless-gateway-from-certificate` memisahkan gateway nirkabel dari sertifikat yang saat ini terkait.  

```
aws iotwireless disassociate-wireless-gateway-from-certificate \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menambahkan gateway dan perangkat nirkabel Anda ke AWS IoT Core for WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-onboard-devices.html).*  
+  Untuk detail API, lihat [DisassociateWirelessGatewayFromCertificate](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/disassociate-wireless-gateway-from-certificate.html)di *Referensi AWS CLI Perintah*. 

### `disassociate-wireless-gateway-from-thing`
<a name="iot-wireless_DisassociateWirelessGatewayFromThing_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`disassociate-wireless-gateway-from-thing`.

**AWS CLI**  
**Untuk memisahkan benda itu dari gateway nirkabel**  
`disassociate-wireless-gateway-from-thing`Contoh berikut memisahkan gateway nirkabel dari hal yang saat ini terkait.  

```
aws iotwireless disassociate-wireless-gateway-from-thing \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menambahkan gateway dan perangkat nirkabel Anda ke AWS IoT Core for WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-onboard-devices.html).*  
+  Untuk detail API, lihat [DisassociateWirelessGatewayFromThing](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/disassociate-wireless-gateway-from-thing.html)di *Referensi AWS CLI Perintah*. 

### `get-destination`
<a name="iot-wireless_GetDestination_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-destination`.

**AWS CLI**  
**Untuk mendapatkan informasi tentang tujuan nirkabel IoT**  
`get-destination`Contoh berikut mendapatkan informasi tentang sumber daya tujuan dengan nama `IoTWirelessDestination` yang Anda buat.  

```
aws iotwireless get-destination \
    --name "IoTWirelessDestination"
```
Output:  

```
{
    "Arn": "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination",
    "Name": "IoTWirelessDestination",
    "Expression": "IoTWirelessRule",
    "ExpressionType": "RuleName",
    "RoleArn": "arn:aws:iam::123456789012:role/IoTWirelessDestinationRole"
}
```
Untuk informasi selengkapnya, lihat [Menambahkan tujuan ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-create-destinations.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [GetDestination](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-destination.html)di *Referensi AWS CLI Perintah*. 

### `get-device-profile`
<a name="iot-wireless_GetDeviceProfile_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-device-profile`.

**AWS CLI**  
**Untuk mendapatkan informasi tentang profil perangkat**  
`get-device-profile`Contoh berikut mendapatkan informasi tentang profil perangkat dengan ID tertentu yang Anda buat.  

```
aws iotwireless get-device-profile \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Output:  

```
{
    "Arn": "arn:aws:iotwireless:us-east-1:123456789012:DeviceProfile/12345678-a1b2-3c45-67d8-e90fa1b2c34d",
    "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d",
    "LoRaWAN": {
    "MacVersion": "1.0.3",
    "MaxDutyCycle": 10,
    "Supports32BitFCnt": false,
    "RegParamsRevision": "RP002-1.0.1",
    "SupportsJoin": true,
    "RfRegion": "US915",
    "MaxEirp": 13,
    "SupportsClassB": false,
    "SupportsClassC": false
    }
}
```
Untuk informasi selengkapnya, lihat [Menambahkan profil ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-define-profiles.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [GetDeviceProfile](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-device-profile.html)di *Referensi AWS CLI Perintah*. 

### `get-partner-account`
<a name="iot-wireless_GetPartnerAccount_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-partner-account`.

**AWS CLI**  
**Untuk mendapatkan informasi akun mitra**  
`get-partner-account`Contoh berikut mendapatkan informasi tentang akun Sidewalk Anda yang memiliki ID berikut.  

```
aws iotwireless get-partner-account \
    --partner-account-id "12345678901234" \
    --partner-type "Sidewalk"
```
Output:  

```
{
    "Sidewalk": {
        "AmazonId": "12345678901234",
        "Fingerprint": "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234"
    },
    "AccountLinked": false
}
```
Untuk informasi selengkapnya, lihat [Integrasi Sidewalk Amazon untuk AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/iot-sidewalk.html) Core di Panduan Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [GetPartnerAccount](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-partner-account.html)di *Referensi AWS CLI Perintah*. 

### `get-service-endpoint`
<a name="iot-wireless_GetServiceEndpoint_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-service-endpoint`.

**AWS CLI**  
**Untuk mendapatkan titik akhir layanan**  
`get-service-endpoint`Contoh berikut mendapatkan titik akhir khusus akun untuk protokol CUPS.  

```
aws iotwireless get-service-endpoint
```
Output:  

```
{
    "ServiceType": "CUPS",
    "ServiceEndpoint": "https://A1RMKZ37ACAGOT.cups.lorawan.us-east-1.amazonaws.com:443",
    "ServerTrust": "-----BEGIN CERTIFICATE-----\n
    MIIESTCCAzGgAwIBAgITBn+UV4WH6Kx33rJTMlu8mYtWDTANBgkqhkiG9w0BAQsF\n
    ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6\n
    b24gUm9vdCBDQSAxMB4XDTE1MTAyMjAwMDAwMFoXDTI1MTAxOTAwMDAwMFowRjEL\n
    MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEVMBMGA1UECxMMU2VydmVyIENB\n
    IDFCMQ8wDQYDVQQDEwZBbWF6b24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK\n
    AoIBAQDCThZn3c68asg3Wuw6MLAd5tES6BIoSMzoKcG5blPVo+sDORrMd4f2AbnZ\n
    cMzPa43j4wNxhplty6aUKk4T1qe9BOwKFjwK6zmxxLVYo7bHViXsPlJ6qOMpFge5\n
    blDP+18x+B26A0piiQOuPkfyDyeR4xQghfj66Yo19V+emU3nazfvpFA+ROz6WoVm\n
    B5x+F2pV8xeKNR7u6azDdU5YVX1TawprmxRC1+WsAYmz6qP+z8ArDITC2FMVy2fw\n
    0IjKOtEXc/VfmtTFch5+AfGYMGMqqvJ6LcXiAhqG5TI+Dr0RtM88k+8XUBCeQ8IG\n
    KuANaL7TiItKZYxK1MMuTJtV9IblAgMBAAGjggE7MIIBNzASBgNVHRMBAf8ECDAG\n
    AQH/AgEAMA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUWaRmBlKge5WSPKOUByeW\n
    dFv5PdAwHwYDVR0jBBgwFoAUhBjMhTTsvAyUlC4IWZzHshBOCggwewYIKwYBBQUH\n
    AQEEbzBtMC8GCCsGAQUFBzABhiNodHRwOi8vb2NzcC5yb290Y2ExLmFtYXpvbnRy\n
    dXN0LmNvbTA6BggrBgEFBQcwAoYuaHR0cDovL2NydC5yb290Y2ExLmFtYXpvbnRy\n
    dXN0LmNvbS9yb290Y2ExLmNlcjA/BgNVHR8EODA2MDSgMqAwhi5odHRwOi8vY3Js\n
    LnJvb3RjYTEuYW1hem9udHJ1c3QuY29tL3Jvb3RjYTEuY3JsMBMGA1UdIAQMMAow\n
    CAYGZ4EMAQIBMA0GCSqGSIb3DQEBCwUAA4IBAQCFkr41u3nPo4FCHOTjY3NTOVI1\n
    59Gt/a6ZiqyJEi+752+a1U5y6iAwYfmXss2lJwJFqMp2PphKg5625kXg8kP2CN5t\n
    6G7bMQcT8C8xDZNtYTd7WPD8UZiRKAJPBXa30/AbwuZe0GaFEQ8ugcYQgSn+IGBI\n
    8/LwhBNTZTUVEWuCUUBVV18YtbAiPq3yXqMB48Oz+ctBWuZSkbvkNodPLamkB2g1\n
    upRyzQ7qDn1X8nn8N8V7YJ6y68AtkHcNSRAnpTitxBKjtKPISLMVCx7i4hncxHZS\n
    yLyKQXhw2W2Xs0qLeC1etA+jTGDK4UfLeC0SF7FSi8o5LL21L8IzApar2pR/\n
    -----END CERTIFICATE-----\n"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [GetServiceEndpoint](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-service-endpoint.html)di *Referensi AWS CLI Perintah*. 

### `get-service-profile`
<a name="iot-wireless_GetServiceProfile_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-service-profile`.

**AWS CLI**  
**Untuk mendapatkan informasi tentang profil layanan**  
`get-service-profile`Contoh berikut mendapatkan informasi tentang profil layanan dengan ID tertentu yang Anda buat.  

```
aws iotwireless get-service-profile \
    --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"
```
Output:  

```
{
    "Arn": "arn:aws:iotwireless:us-east-1:651419225604:ServiceProfile/538185bb-d7e7-4b95-96a0-c51aa4a5b9a0",
    "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d",
    "LoRaWAN": {
        "HrAllowed": false,
        "NwkGeoLoc": false,
        "DrMax": 15,
        "UlBucketSize": 4096,
        "PrAllowed": false,
        "ReportDevStatusBattery": false,
        "DrMin": 0,
        "DlRate": 60,
        "AddGwMetadata": false,
        "ReportDevStatusMargin": false,
        "MinGwDiversity": 1,
        "RaAllowed": false,
        "DlBucketSize": 4096,
        "DevStatusReqFreq": 24,
        "TargetPer": 5,
        "UlRate": 60
    }
}
```
Untuk informasi selengkapnya, lihat [Menambahkan profil ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-define-profiles.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [GetServiceProfile](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-service-profile.html)di *Referensi AWS CLI Perintah*. 

### `get-wireless-device-statistics`
<a name="iot-wireless_GetWirelessDeviceStatistics_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-wireless-device-statistics`.

**AWS CLI**  
**Untuk mendapatkan informasi pengoperasian tentang perangkat nirkabel**  
`get-wireless-device-statistics`Contoh berikut mendapatkan informasi pengoperasian tentang perangkat nirkabel.  

```
aws iotwireless get-wireless-device-statistics \
    --wireless-device-id "1ffd32c8-8130-4194-96df-622f072a315f"
```
Output:  

```
{
    "WirelessDeviceId": "1ffd32c8-8130-4194-96df-622f072a315f"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [GetWirelessDeviceStatistics](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-wireless-device-statistics.html)di *Referensi AWS CLI Perintah*. 

### `get-wireless-device`
<a name="iot-wireless_GetWirelessDevice_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-wireless-device`.

**AWS CLI**  
**Untuk mendapatkan informasi tentang perangkat nirkabel**  
`get-wireless-device`Contoh berikut mencantumkan widget yang tersedia di AWS akun Anda.  

```
aws iotwireless get-wireless-device \
    --identifier "1ffd32c8-8130-4194-96df-622f072a315f" \
    --identifier-type WirelessDeviceID
```
Output:  

```
{
    "Name": "myLoRaWANDevice",
    "ThingArn": "arn:aws:iot:us-east-1:123456789012:thing/44b87eb4-9bce-423d-b5fc-973f5ecc358b",
    "DestinationName": "IoTWirelessDestination",
    "Id": "1ffd32c8-8130-4194-96df-622f072a315f",
    "ThingName": "44b87eb4-9bce-423d-b5fc-973f5ecc358b",
    "Type": "LoRaWAN",
    "LoRaWAN": {
        "DeviceProfileId": "ab0c23d3-b001-45ef-6a01-2bc3de4f5333",
        "ServiceProfileId": "fe98dc76-cd12-001e-2d34-5550432da100",
        "OtaaV1_1": {
            "AppKey": "3f4ca100e2fc675ea123f4eb12c4a012",
            "JoinEui": "b4c231a359bc2e3d",
            "NwkKey": "01c3f004a2d6efffe32c4eda14bcd2b4"
        },
        "DevEui": "ac12efc654d23fc2"
    },
    "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessDevice/1ffd32c8-8130-4194-96df-622f072a315f",
    "Description": "My LoRaWAN wireless device"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [GetWirelessDevice](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-wireless-device.html)di *Referensi AWS CLI Perintah*. 

### `get-wireless-gateway-certificate`
<a name="iot-wireless_GetWirelessGatewayCertificate_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-wireless-gateway-certificate`.

**AWS CLI**  
**Untuk mendapatkan ID sertifikat yang terkait dengan gateway nirkabel**  
`get-wireless-gateway-certificate`Contoh berikut mendapatkan ID sertifikat yang terkait dengan gateway nirkabel yang memiliki ID tertentu.  

```
aws iotwireless get-wireless-gateway-certificate \
    --id "6c44ab31-8b4d-407a-bed3-19b6c7cda551"
```
Output:  

```
{
    "IotCertificateId": "8ea4aeae3db34c78cce75d9abd830356869ead6972997e0603e5fd032c804b6f"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [GetWirelessGatewayCertificate](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-wireless-gateway-certificate.html)di *Referensi AWS CLI Perintah*. 

### `get-wireless-gateway-firmware-information`
<a name="iot-wireless_GetWirelessGatewayFirmwareInformation_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-wireless-gateway-firmware-information`.

**AWS CLI**  
**Untuk mendapatkan informasi firmware tentang gateway nirkabel**  
`get-wireless-gateway-firmware-information`Contoh berikut mendapatkan versi firmware dan informasi lain tentang gateway nirkabel.  

```
aws iotwireless get-wireless-gateway-firmware-information \
    --id "3039b406-5cc9-4307-925b-9948c63da25b"
```
Output:  

```
{
    "LoRaWAN" :{
        "CurrentVersion" :{
            "PackageVersion" : "1.0.0",
            "Station" : "2.0.5",
            "Model" : "linux"
        }
    }
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [GetWirelessGatewayFirmwareInformation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-wireless-gateway-firmware-information.html)di *Referensi AWS CLI Perintah*. 

### `get-wireless-gateway-statistics`
<a name="iot-wireless_GetWirelessGatewayStatistics_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-wireless-gateway-statistics`.

**AWS CLI**  
**Untuk mendapatkan informasi pengoperasian tentang gateway nirkabel**  
`get-wireless-gateway-statistics`Contoh berikut mendapatkan informasi operasi tentang gateway nirkabel.  

```
aws iotwireless get-wireless-gateway-statistics \
    --wireless-gateway-id "3039b406-5cc9-4307-925b-9948c63da25b"
```
Output:  

```
{
    "WirelessGatewayId": "3039b406-5cc9-4307-925b-9948c63da25b"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [GetWirelessGatewayStatistics](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-wireless-gateway-statistics.html)di *Referensi AWS CLI Perintah*. 

### `get-wireless-gateway-task-definition`
<a name="iot-wireless_GetWirelessGatewayTaskDefinition_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-wireless-gateway-task-definition`.

**AWS CLI**  
**Untuk mendapatkan informasi tentang definisi tugas gateway nirkabel**  
`get-wireless-gateway-task-definition`Contoh berikut mendapatkan informasi tentang definisi tugas nirkabel dengan ID yang ditentukan.  

```
aws iotwireless get-wireless-gateway-task-definition \
    --id "b7d3baad-25c7-35e7-a4e1-1683a0d61da9"
```
Output:  

```
{
    "AutoCreateTasks": true,
    "Name": "TestAutoUpdate",
    "Update":{
        "UpdateDataSource" : "s3://cupsalphagafirmwarebin/station",
        "UpdateDataRole" : "arn:aws:iam::001234567890:role/SDK_Test_Role",
        "LoRaWAN" :{
            "CurrentVersion" :{
                "PackageVersion" : "1.0.0",
                "Station" : "2.0.5",
                "Model" : "linux"
            },
            "UpdateVersion" :{
                "PackageVersion" : "1.0.1",
                "Station" : "2.0.5",
                "Model" : "minihub"
            }
        }
    }
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [GetWirelessGatewayTaskDefinition](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-wireless-gateway-task-definition.html)di *Referensi AWS CLI Perintah*. 

### `get-wireless-gateway-task`
<a name="iot-wireless_GetWirelessGatewayTask_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-wireless-gateway-task`.

**AWS CLI**  
**Untuk mendapatkan informasi tentang tugas gateway nirkabel**  
`get-wireless-gateway-task`Contoh berikut mendapatkan informasi tentang tugas gateway nirkabel dengan ID yang ditentukan.  

```
aws iotwireless get-wireless-gateway-task \
    --id "11693a46-6866-47c3-a031-c9a616e7644b"
```
Output:  

```
{
    "WirelessGatewayId": "6c44ab31-8b4d-407a-bed3-19b6c7cda551",
    "WirelessGatewayTaskDefinitionId": "b7d3baad-25c7-35e7-a4e1-1683a0d61da9",
    "Status": "Success"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [GetWirelessGatewayTask](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-wireless-gateway-task.html)di *Referensi AWS CLI Perintah*. 

### `get-wireless-gateway`
<a name="iot-wireless_GetWirelessGateway_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`get-wireless-gateway`.

**AWS CLI**  
**Untuk mendapatkan informasi tentang gateway nirkabel**  
`get-wireless-gateway`Contoh berikut mendapatkan informasi tentang gateway nirkabel`myFirstLoRaWANGateway`.  

```
aws iotwireless get-wireless-gateway \
    --identifier "12345678-a1b2-3c45-67d8-e90fa1b2c34d" \
    --identifier-type WirelessGatewayId
```
Output:  

```
{
    "Description": "My first LoRaWAN gateway",
    "ThingArn": "arn:aws:iot:us-east-1:123456789012:thing/a1b2c3d4-5678-90ab-cdef-12ab345c67de",
    "LoRaWAN": {
        "RfRegion": "US915",
        "GatewayEui": "a1b2c3d4567890ab"
    },
    "ThingName": "a1b2c3d4-5678-90ab-cdef-12ab345c67de",
    "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d",
    "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessGateway/6c44ab31-8b4d-407a-bed3-19b6c7cda551",
    "Name": "myFirstLoRaWANGateway"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [GetWirelessGateway](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/get-wireless-gateway.html)di *Referensi AWS CLI Perintah*. 

### `list-destinations`
<a name="iot-wireless_ListDestinations_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`list-destinations`.

**AWS CLI**  
**Untuk membuat daftar tujuan nirkabel**  
`list-destinations`Contoh berikut mencantumkan tujuan yang tersedia yang terdaftar ke AWS akun Anda.  

```
aws iotwireless list-destinations
```
Output:  

```
{
    "DestinationList": [
        {
            "Arn": "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination",
            "Name": "IoTWirelessDestination",
            "Expression": "IoTWirelessRule",
            "Description": "Destination for messages processed using IoTWirelessRule",
            "RoleArn": "arn:aws:iam::123456789012:role/IoTWirelessDestinationRole"
        },
        {
            "Arn": "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination2",
            "Name": "IoTWirelessDestination2",
            "Expression": "IoTWirelessRule2",
            "RoleArn": "arn:aws:iam::123456789012:role/IoTWirelessDestinationRole"
        }
    ]
}
```
Untuk informasi selengkapnya, lihat [Menambahkan tujuan ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-create-destinations.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [ListDestinations](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/list-destinations.html)di *Referensi AWS CLI Perintah*. 

### `list-device-profiles`
<a name="iot-wireless_ListDeviceProfiles_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`list-device-profiles`.

**AWS CLI**  
**Untuk membuat daftar profil perangkat**  
`list-device-profiles`Contoh berikut mencantumkan profil perangkat yang tersedia yang terdaftar ke AWS akun Anda.  

```
aws iotwireless list-device-profiles
```
Output:  

```
{
    "DeviceProfileList": [
        {
            "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d",
            "Arn": "arn:aws:iotwireless:us-east-1:123456789012:DeviceProfile/12345678-a1b2-3c45-67d8-e90fa1b2c34d"
        },
        {
            "Id": "a1b2c3d4-5678-90ab-cdef-12ab345c67de",
            "Arn": "arn:aws:iotwireless:us-east-1:123456789012:DeviceProfile/a1b2c3d4-5678-90ab-cdef-12ab345c67de"
        }
    ]
}
```
Untuk informasi selengkapnya, lihat [Menambahkan profil ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-define-profiles.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [ListDeviceProfiles](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/list-device-profiles.html)di *Referensi AWS CLI Perintah*. 

### `list-partner-accounts`
<a name="iot-wireless_ListPartnerAccounts_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`list-partner-accounts`.

**AWS CLI**  
**Untuk membuat daftar akun mitra**  
`list-partner-accounts`Contoh berikut mencantumkan akun mitra yang tersedia yang terkait dengan AWS akun Anda.  

```
aws iotwireless list-partner-accounts
```
Output:  

```
{
    "Sidewalk": [
        {
            "AmazonId": "78965678771228",
            "Fingerprint": "bd96d8ef66dbfd2160eb60e156849e82ad7018b8b73c1ba0b4fc65c32498ee35"
        },
        {
            "AmazonId": "89656787651228",
            "Fingerprint": "bc5e99e151c07be14be7e6603e4489c53f858b271213a36ebe3370777ba06e9b"
        }
    ]
}
```
Untuk informasi selengkapnya, lihat [Integrasi Sidewalk Amazon untuk AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/iot-sidewalk.html) Core di Panduan Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [ListPartnerAccounts](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/list-partner-accounts.html)di *Referensi AWS CLI Perintah*. 

### `list-service-profiles`
<a name="iot-wireless_ListServiceProfiles_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`list-service-profiles`.

**AWS CLI**  
**Untuk membuat daftar profil layanan**  
`list-service-profiles`Contoh berikut mencantumkan profil layanan yang tersedia yang terdaftar ke AWS akun Anda.  

```
aws iotwireless list-service-profiles
```
Output:  

```
{
    "ServiceProfileList": [
        {
            "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d",
            "Arn": "arn:aws:iotwireless:us-east-1:123456789012:ServiceProfile/538185bb-d7e7-4b95-96a0-c51aa4a5b9a0"
        },
        {
            "Id": "a1b2c3d4-5678-90ab-cdef-12ab345c67de",
            "Arn": "arn:aws:iotwireless:us-east-1:123456789012:ServiceProfile/ea8bc823-5d13-472e-8d26-9550737d8100"
        }
    ]
}
```
Untuk informasi selengkapnya, lihat [Menambahkan profil ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-define-profiles.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [ListServiceProfiles](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/list-service-profiles.html)di *Referensi AWS CLI Perintah*. 

### `list-tags-for-resource`
<a name="iot-wireless_ListTagsForResource_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`list-tags-for-resource`.

**AWS CLI**  
**Untuk mencantumkan tag yang ditetapkan ke sumber daya**  
`list-tags-for-resource`Contoh berikut mencantumkan tag yang ditetapkan ke sumber daya tujuan nirkabel.  

```
aws iotwireless list-tags-for-resource \
    --resource-arn "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination"
```
Output:  

```
{
    "Tags": [
        {
            "Value": "MyValue",
            "Key": "MyTag"
        }
    ]
}
```
Untuk informasi selengkapnya, lihat [Menjelaskan Inti AWS IoT Anda untuk sumber daya LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-describe-resource.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [ListTagsForResource](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/list-tags-for-resource.html)di *Referensi AWS CLI Perintah*. 

### `list-wireless-devices`
<a name="iot-wireless_ListWirelessDevices_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`list-wireless-devices`.

**AWS CLI**  
**Untuk daftar perangkat nirkabel yang tersedia**  
`list-wireless-devices`Contoh berikut mencantumkan perangkat nirkabel yang tersedia yang terdaftar ke AWS akun Anda.  

```
aws iotwireless list-wireless-devices
```
Output:  

```
{
    "WirelessDeviceList": [
        {
            "Name": "myLoRaWANDevice",
            "DestinationName": "IoTWirelessDestination",
            "Id": "1ffd32c8-8130-4194-96df-622f072a315f",
            "Type": "LoRaWAN",
            "LoRaWAN": {
                "DevEui": "ac12efc654d23fc2"
            },
            "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessDevice/1ffd32c8-8130-4194-96df-622f072a315f"
        }
    ]
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [ListWirelessDevices](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/list-wireless-devices.html)di *Referensi AWS CLI Perintah*. 

### `list-wireless-gateway-task-definitions`
<a name="iot-wireless_ListWirelessGatewayTaskDefinitions_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`list-wireless-gateway-task-definitions`.

**AWS CLI**  
**Untuk membuat daftar definisi tugas gateway nirkabel**  
`list-wireless-gateway-task-definitions`Contoh berikut mencantumkan definisi tugas gateway nirkabel yang tersedia yang terdaftar ke AWS akun Anda.  

```
aws iotwireless list-wireless-gateway-task-definitions
```
Output:  

```
{
    "TaskDefinitions": [
        {
            "Id": "b7d3baad-25c7-35e7-a4e1-1683a0d61da9",
            "LoRaWAN" :
                {
                "CurrentVersion" :{
                    "PackageVersion" : "1.0.0",
                    "Station" : "2.0.5",
                    "Model" : "linux"
                },
                "UpdateVersion" :{
                    "PackageVersion" : "1.0.1",
                    "Station" : "2.0.5",
                    "Model" : "minihub"
                }
            }
        }
    ]
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [ListWirelessGatewayTaskDefinitions](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/list-wireless-gateway-task-definitions.html)di *Referensi AWS CLI Perintah*. 

### `list-wireless-gateways`
<a name="iot-wireless_ListWirelessGateways_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`list-wireless-gateways`.

**AWS CLI**  
**Untuk membuat daftar gateway nirkabel**  
`list-wireless-gateways`Contoh berikut mencantumkan gateway nirkabel yang tersedia di akun Anda AWS .  

```
aws iotwireless list-wireless-gateways
```
Output:  

```
{
    "WirelessGatewayList": [
        {
            "Description": "My first LoRaWAN gateway",
            "LoRaWAN": {
                "RfRegion": "US915",
                "GatewayEui": "dac632ebc01d23e4"
            },
            "Id": "3039b406-5cc9-4307-925b-9948c63da25b",
            "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessGateway/3039b406-5cc9-4307-925b-9948c63da25b",
            "Name": "myFirstLoRaWANGateway"
        },
        {
            "Description": "My second LoRaWAN gateway",
            "LoRaWAN": {
                "RfRegion": "US915",
                "GatewayEui": "cda123fffe92ecd2"
            },
            "Id": "3285bdc7-5a12-4991-84ed-dadca65e342e",
            "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessGateway/3285bdc7-5a12-4991-84ed-dadca65e342e",
            "Name": "mySecondLoRaWANGateway"
        }
    ]
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [ListWirelessGateways](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/list-wireless-gateways.html)di *Referensi AWS CLI Perintah*. 

### `send-data-to-wireless-device`
<a name="iot-wireless_SendDataToWirelessDevice_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`send-data-to-wireless-device`.

**AWS CLI**  
**Untuk mengirim data ke perangkat nirkabel**  
`send-data-to-wireless-device`Contoh berikut mengirimkan bingkai data aplikasi yang didekripsi ke perangkat nirkabel.  

```
aws iotwireless send-data-to-wireless-device \
    --id "11aa5eae-2f56-4b8e-a023-b28d98494e49" \
    --transmit-mode "1" \
    --payload-data "SGVsbG8gVG8gRGV2c2lt" \
    --wireless-metadata LoRaWAN={FPort=1}
```
Output:  

```
{
    MessageId: "6011dd36-0043d6eb-0072-0008"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [SendDataToWirelessDevice](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/send-data-to-wireless-device.html)di *Referensi AWS CLI Perintah*. 

### `tag-resource`
<a name="iot-wireless_TagResource_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`tag-resource`.

**AWS CLI**  
**Untuk menentukan kunci tag dan nilai untuk sumber daya**  
`tag-resource`Contoh berikut menandai tujuan nirkabel `IoTWirelessDestination` dengan kunci `MyTag` dan nilai`MyValue`.  

```
aws iotwireless tag-resource \
    --resource-arn "arn:aws:iotwireless:us-east-1:651419225604:Destination/IoTWirelessDestination" \
    --tags Key="MyTag",Value="MyValue"
```
Perintah ini tidak menghasilkan output.  
Untuk informasi selengkapnya, lihat [Menjelaskan Inti AWS IoT Anda untuk sumber daya LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-describe-resource.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [TagResource](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/tag-resource.html)di *Referensi AWS CLI Perintah*. 

### `test-wireless-device`
<a name="iot-wireless_TestWirelessDevice_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`test-wireless-device`.

**AWS CLI**  
**Untuk menguji perangkat nirkabel**  
`test-wireless-device`Contoh berikut mengirimkan data uplink `Hello` ke perangkat dengan ID tertentu.  

```
aws iotwireless test-wireless-device \
    --id "11aa5eae-2f56-4b8e-a023-b28d98494e49"
```
Output:  

```
{
    Result: "Test succeeded. one message is sent with payload: hello"
}
```
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [TestWirelessDevice](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/test-wireless-device.html)di *Referensi AWS CLI Perintah*. 

### `untag-resource`
<a name="iot-wireless_UntagResource_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`untag-resource`.

**AWS CLI**  
**Untuk menghapus satu atau beberapa tag dari sumber daya**  
`untag-resource`Contoh berikut menghapus tag `MyTag` dan nilainya dari tujuan nirkabel`IoTWirelessDestination`.  

```
aws iotwireless untag-resource \
    --resource-arn "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination" \
    --tag-keys "MyTag"
```
Perintah ini tidak menghasilkan output.  
Untuk informasi selengkapnya, lihat [Menjelaskan Inti AWS IoT Anda untuk sumber daya LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-describe-resource.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [UntagResource](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/untag-resource.html)di *Referensi AWS CLI Perintah*. 

### `update-destination`
<a name="iot-wireless_UpdateDestination_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`update-destination`.

**AWS CLI**  
**Untuk memperbarui properti tujuan**  
`update-destination`Contoh berikut memperbarui properti deskripsi tujuan nirkabel.  

```
aws iotwireless update-destination \
    --name "IoTWirelessDestination" \
    --description "Destination for messages processed using IoTWirelessRule"
```
Perintah ini tidak menghasilkan output.  
Untuk informasi selengkapnya, lihat [Menambahkan tujuan ke AWS IoT Core untuk LoRa WAN di Panduan](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-create-destinations.html) Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [UpdateDestination](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/update-destination.html)di *Referensi AWS CLI Perintah*. 

### `update-partner-account`
<a name="iot-wireless_UpdatePartnerAccount_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`update-partner-account`.

**AWS CLI**  
**Untuk memperbarui properti akun mitra**  
Berikut ini `update-partner-account` memperbarui `AppServerPrivateKey` untuk akun yang memiliki ID yang ditentukan.  

```
aws iotwireless update-partner-account \
    --partner-account-id "78965678771228" \
    --partner-type "Sidewalk" \
    --sidewalk AppServerPrivateKey="f798ab4899346a88599180fee9e14fa1ada7b6df989425b7c6d2146dd6c815bb"
```
Perintah ini tidak menghasilkan output.  
Untuk informasi selengkapnya, lihat [Integrasi Sidewalk Amazon untuk AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/iot-sidewalk.html) Core di Panduan Pengembang *AWS IoT*.  
+  Untuk detail API, lihat [UpdatePartnerAccount](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/update-partner-account.html)di *Referensi AWS CLI Perintah*. 

### `update-wireless-device`
<a name="iot-wireless_UpdateWirelessDevice_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`update-wireless-device`.

**AWS CLI**  
**Untuk memperbarui properti perangkat nirkabel**  
`update-wireless-device`Contoh berikut memperbarui properti perangkat nirkabel yang terdaftar ke AWS akun Anda.  

```
aws iotwireless update-wireless-device \
    --id "1ffd32c8-8130-4194-96df-622f072a315f" \
    --destination-name IoTWirelessDestination2 \
    --description "Using my first LoRaWAN device"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [UpdateWirelessDevice](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/update-wireless-device.html)di *Referensi AWS CLI Perintah*. 

### `update-wireless-gateway`
<a name="iot-wireless_UpdateWirelessGateway_cli_2_topic"></a>

Contoh kode berikut menunjukkan cara menggunakan`update-wireless-gateway`.

**AWS CLI**  
**Untuk memperbarui gateway nirkabel**  
`update-wireless-gateway`Contoh berikut memperbarui deskripsi gateway nirkabel Anda.  

```
aws iotwireless update-wireless-gateway \
    --id "3285bdc7-5a12-4991-84ed-dadca65e342e" \
    --description "Using my LoRaWAN gateway"
```
Perintah ini tidak menghasilkan output.  
*Untuk informasi selengkapnya, lihat [Menghubungkan perangkat dan gateway ke AWS IoT Core untuk WAN LoRa di Panduan Pengembang AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html).*  
+  Untuk detail API, lihat [UpdateWirelessGateway](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotwireless/update-wireless-gateway.html)di *Referensi AWS CLI Perintah*. 