쿠키 기본 설정 선택

당사는 사이트와 서비스를 제공하는 데 필요한 필수 쿠키 및 유사한 도구를 사용합니다. 고객이 사이트를 어떻게 사용하는지 파악하고 개선할 수 있도록 성능 쿠키를 사용해 익명의 통계를 수집합니다. 필수 쿠키는 비활성화할 수 없지만 '사용자 지정' 또는 ‘거부’를 클릭하여 성능 쿠키를 거부할 수 있습니다.

사용자가 동의하는 경우 AWS와 승인된 제3자도 쿠키를 사용하여 유용한 사이트 기능을 제공하고, 사용자의 기본 설정을 기억하고, 관련 광고를 비롯한 관련 콘텐츠를 표시합니다. 필수가 아닌 모든 쿠키를 수락하거나 거부하려면 ‘수락’ 또는 ‘거부’를 클릭하세요. 더 자세한 내용을 선택하려면 ‘사용자 정의’를 클릭하세요.

AWS CLI를 사용한 AWS IoT 무선 예시

포커스 모드
AWS CLI를 사용한 AWS IoT 무선 예시 - AWS Command Line Interface

다음 코드 예시에서는 AWS IoT 무선에서 AWS Command Line Interface를 사용하여 작업을 수행하고 일반적인 시나리오를 구현하는 방법을 보여줍니다.

작업은 대규모 프로그램에서 발췌한 코드이며 컨텍스트에 맞춰 실행해야 합니다. 작업은 관련 시나리오의 컨텍스트에 따라 표시되며, 개별 서비스 함수를 직접적으로 호출하는 방법을 보여줍니다.

각 예시에는 전체 소스 코드에 대한 링크가 포함되어 있으며, 여기에서 컨텍스트에 맞춰 코드를 설정하고 실행하는 방법에 대한 지침을 찾을 수 있습니다.

주제

작업

다음 코드 예시에서는 associate-aws-account-with-partner-account 코드를 사용하는 방법을 보여줍니다.

AWS CLI

파트너 계정을 AWS 계정과 연결하는 방법

다음 associate-aws-account-with-partner-account 예시에서는 다음 Sidewalk 계정 자격 증명을 AWS 계정에 연결합니다.

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

출력:

{ "Sidewalk": { "AmazonId": "12345678901234", "AppServerPrivateKey": "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234" } }

자세한 내용은 AWS IoT 개발자 안내서Amazon Sidewalk Integration for AWS IoT Core을 참조하세요.

다음 코드 예시에서는 associate-aws-account-with-partner-account 코드를 사용하는 방법을 보여줍니다.

AWS CLI

파트너 계정을 AWS 계정과 연결하는 방법

다음 associate-aws-account-with-partner-account 예시에서는 다음 Sidewalk 계정 자격 증명을 AWS 계정에 연결합니다.

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

출력:

{ "Sidewalk": { "AmazonId": "12345678901234", "AppServerPrivateKey": "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234" } }

자세한 내용은 AWS IoT 개발자 안내서Amazon Sidewalk Integration for AWS IoT Core을 참조하세요.

다음 코드 예시에서는 associate-wireless-device-with-thing 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스에 사물을 연결하는 방법

다음 associate-wireless-device-with-thing 예시에서는 지정된 ID로 무선 디바이스에 사물을 연결합니다.

aws iotwireless associate-wireless-device-with-thing \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d" \ --thing-arn "arn:aws:iot:us-east-1:123456789012:thing/MyIoTWirelessThing"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 associate-wireless-device-with-thing 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스에 사물을 연결하는 방법

다음 associate-wireless-device-with-thing 예시에서는 지정된 ID로 무선 디바이스에 사물을 연결합니다.

aws iotwireless associate-wireless-device-with-thing \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d" \ --thing-arn "arn:aws:iot:us-east-1:123456789012:thing/MyIoTWirelessThing"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 associate-wireless-gateway-with-certificate 코드를 사용하는 방법을 보여줍니다.

AWS CLI

인증서를 무선 게이트웨이에 연결하는 방법

다음 associate-wireless-gateway-with-certificate 예시에서는 무선 게이트웨이를 인증서에 연결합니다.

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

출력:

{ "IotCertificateId": "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234" }

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 associate-wireless-gateway-with-certificate 코드를 사용하는 방법을 보여줍니다.

AWS CLI

인증서를 무선 게이트웨이에 연결하는 방법

다음 associate-wireless-gateway-with-certificate 예시에서는 무선 게이트웨이를 인증서에 연결합니다.

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

출력:

{ "IotCertificateId": "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234" }

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 associate-wireless-gateway-with-thing 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 사물을 연결하는 방법

다음 associate-wireless-gateway-with-thing 예시에서는 사물을 무선 게이트웨이에 연결합니다.

aws iotwireless associate-wireless-gateway-with-thing \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d" \ --thing-arn "arn:aws:iot:us-east-1:123456789012:thing/MyIoTWirelessThing"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 associate-wireless-gateway-with-thing 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 사물을 연결하는 방법

다음 associate-wireless-gateway-with-thing 예시에서는 사물을 무선 게이트웨이에 연결합니다.

aws iotwireless associate-wireless-gateway-with-thing \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d" \ --thing-arn "arn:aws:iot:us-east-1:123456789012:thing/MyIoTWirelessThing"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-destination 코드를 사용하는 방법을 보여줍니다.

AWS CLI

IoT 무선 대상을 생성하는 방법

다음 create-destination 예시에서는 디바이스 메시지를 AWS IoT 규칙에 매핑하기 위한 대상을 생성합니다. 이 명령을 실행하기 전에 AWS IoT 규칙으로 데이터를 전송하는 데 필요한 권한을 AWS IoT Core for LoRaWAN에 부여하는 IAM 역할을 생성해야 합니다.

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

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination", "Name": "IoTWirelessDestination" }

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조CreateDestination 섹션을 참조하세요.

다음 코드 예시에서는 create-destination 코드를 사용하는 방법을 보여줍니다.

AWS CLI

IoT 무선 대상을 생성하는 방법

다음 create-destination 예시에서는 디바이스 메시지를 AWS IoT 규칙에 매핑하기 위한 대상을 생성합니다. 이 명령을 실행하기 전에 AWS IoT 규칙으로 데이터를 전송하는 데 필요한 권한을 AWS IoT Core for LoRaWAN에 부여하는 IAM 역할을 생성해야 합니다.

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

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination", "Name": "IoTWirelessDestination" }

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조CreateDestination 섹션을 참조하세요.

다음 코드 예시에서는 create-device-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

새 디바이스 프로파일 생성

다음 create-device-profile 예시에서는 새로운 IoT 무선 디바이스 프로파일을 만듭니다.

aws iotwireless create-device-profile

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:DeviceProfile/12345678-a1b2-3c45-67d8-e90fa1b2c34d", "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d" }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-device-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

새 디바이스 프로파일 생성

다음 create-device-profile 예시에서는 새로운 IoT 무선 디바이스 프로파일을 만듭니다.

aws iotwireless create-device-profile

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:DeviceProfile/12345678-a1b2-3c45-67d8-e90fa1b2c34d", "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d" }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-service-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

새 서비스 프로파일 생성

다음 create-service-profile 예시에서는 서비스 프로파일을 만듭니다.

aws iotwireless create-service-profile

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:ServiceProfile/12345678-a1b2-3c45-67d8-e90fa1b2c34d", "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d" }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-service-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

새 서비스 프로파일 생성

다음 create-service-profile 예시에서는 서비스 프로파일을 만듭니다.

aws iotwireless create-service-profile

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:ServiceProfile/12345678-a1b2-3c45-67d8-e90fa1b2c34d", "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d" }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

IoT 무선 디바이스를 생성하는 방법

다음 create-wireless-device 예시에서는 LoRaWAN 유형의 무선 디바이스 리소스를 만듭니다.

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

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 }

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessDevice/1ffd32c8-8130-4194-96df-622f072a315f", "Id": "1ffd32c8-8130-4194-96df-622f072a315f" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

IoT 무선 디바이스를 생성하는 방법

다음 create-wireless-device 예시에서는 LoRaWAN 유형의 무선 디바이스 리소스를 만듭니다.

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

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 }

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessDevice/1ffd32c8-8130-4194-96df-622f072a315f", "Id": "1ffd32c8-8130-4194-96df-622f072a315f" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-wireless-gateway-task-definition 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크 정의 생성

다음 create-wireless-gateway-task-definition은 지정된 현재 버전이 있는 모든 게이트웨이에 대해 이 태스크 정의를 사용하여 태스크를 자동으로 생성합니다.

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

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" } } } }

출력:

{ "Id": "b7d3baad-25c7-35e7-a4e1-1683a0d61da9" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-wireless-gateway-task-definition 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크 정의 생성

다음 create-wireless-gateway-task-definition은 지정된 현재 버전이 있는 모든 게이트웨이에 대해 이 태스크 정의를 사용하여 태스크를 자동으로 생성합니다.

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

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" } } } }

출력:

{ "Id": "b7d3baad-25c7-35e7-a4e1-1683a0d61da9" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-wireless-gateway-task 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 대한 태스크를 생성하는 방법

다음 create-wireless-gateway-task 예시에서는 무선 게이트웨이에 대한 태스크를 만듭니다.

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

출력:

{ "WirelessGatewayTaskDefinitionId": "aa204003-0604-30fb-ac82-a4f95aaf450a", "Status": "Success" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-wireless-gateway-task 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 대한 태스크를 생성하는 방법

다음 create-wireless-gateway-task 예시에서는 무선 게이트웨이에 대한 태스크를 만듭니다.

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

출력:

{ "WirelessGatewayTaskDefinitionId": "aa204003-0604-30fb-ac82-a4f95aaf450a", "Status": "Success" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-wireless-gateway 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이를 생성하는 방법

다음 create-wireless-gateway 예시에서는 무선 LoRaWAN 디바이스 게이트웨이를 만듭니다.

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

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessGateway/12345678-a1b2-3c45-67d8-e90fa1b2c34d", "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 create-wireless-gateway 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이를 생성하는 방법

다음 create-wireless-gateway 예시에서는 무선 LoRaWAN 디바이스 게이트웨이를 만듭니다.

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

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessGateway/12345678-a1b2-3c45-67d8-e90fa1b2c34d", "Id": "12345678-a1b2-3c45-67d8-e90fa1b2c34d" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-destination 코드를 사용하는 방법을 보여줍니다.

AWS CLI

IoT 무선 대상을 삭제하는 방법

다음 delete-destination 예시에서는 생성한 이름 IoTWirelessDestination을 사용하는 무선 대상 리소스를 삭제합니다.

aws iotwireless delete-destination \ --name "IoTWirelessDestination"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조DeleteDestination 섹션을 참조하세요.

다음 코드 예시에서는 delete-destination 코드를 사용하는 방법을 보여줍니다.

AWS CLI

IoT 무선 대상을 삭제하는 방법

다음 delete-destination 예시에서는 생성한 이름 IoTWirelessDestination을 사용하는 무선 대상 리소스를 삭제합니다.

aws iotwireless delete-destination \ --name "IoTWirelessDestination"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조DeleteDestination 섹션을 참조하세요.

다음 코드 예시에서는 delete-device-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

디바이스 프로파일 삭제

다음 delete-device-profile 예시에서는 생성한 지정된 ID로 디바이스 프로파일을 삭제합니다.

aws iotwireless delete-device-profile \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-device-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

디바이스 프로파일 삭제

다음 delete-device-profile 예시에서는 생성한 지정된 ID로 디바이스 프로파일을 삭제합니다.

aws iotwireless delete-device-profile \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-service-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

서비스 프로파일을 삭제하는 방법

다음 delete-service-profile 예시에서는 생성한 지정된 ID로 서비스 프로파일을 삭제합니다.

aws iotwireless delete-service-profile \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-service-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

서비스 프로파일을 삭제하는 방법

다음 delete-service-profile 예시에서는 생성한 지정된 ID로 서비스 프로파일을 삭제합니다.

aws iotwireless delete-service-profile \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스를 삭제하는 방법

다음 delete-wireless-device 예시에서는 지정된 ID로 무선 디바이스를 삭제합니다.

aws iotwireless delete-wireless-device \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스를 삭제하는 방법

다음 delete-wireless-device 예시에서는 지정된 ID로 무선 디바이스를 삭제합니다.

aws iotwireless delete-wireless-device \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-wireless-gateway-task-definition 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크 정의 삭제

다음 delete-wireless-gateway-task-definition 예시에서는 다음 ID로 생성한 무선 게이트웨이 태스크 정의를 삭제합니다.

aws iotwireless delete-wireless-gateway-task-definition \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-wireless-gateway-task-definition 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크 정의 삭제

다음 delete-wireless-gateway-task-definition 예시에서는 다음 ID로 생성한 무선 게이트웨이 태스크 정의를 삭제합니다.

aws iotwireless delete-wireless-gateway-task-definition \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-wireless-gateway-task 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크를 삭제하는 방법

다음 delete-wireless-gateway-task 예시에서는 지정된 ID로 무선 게이트웨이 태스크를 삭제합니다.

aws iotwireless delete-wireless-gateway-task \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-wireless-gateway-task 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크를 삭제하는 방법

다음 delete-wireless-gateway-task 예시에서는 지정된 ID로 무선 게이트웨이 태스크를 삭제합니다.

aws iotwireless delete-wireless-gateway-task \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-wireless-gateway 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이를 삭제하는 방법

다음 delete-wireless-gateway 예시에서는 지정된 ID로 무선 게이트웨이를 삭제합니다.

aws iotwireless delete-wireless-gateway \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 delete-wireless-gateway 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이를 삭제하는 방법

다음 delete-wireless-gateway 예시에서는 지정된 ID로 무선 게이트웨이를 삭제합니다.

aws iotwireless delete-wireless-gateway \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 disassociate-aws-account-from-partner-account 코드를 사용하는 방법을 보여줍니다.

AWS CLI

AWS 계정에서 파트너 계정 연결을 해제하는 방법

다음 disassociate-aws-account-from-partner-account 예시에서는 현재 연결된 AWS 계정에서 파트너 계정의 연결을 해제합니다.

aws iotwireless disassociate-aws-account-from-partner-account \ --partner-account-id "12345678901234" \ --partner-type "Sidewalk"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 disassociate-aws-account-from-partner-account 코드를 사용하는 방법을 보여줍니다.

AWS CLI

AWS 계정에서 파트너 계정 연결을 해제하는 방법

다음 disassociate-aws-account-from-partner-account 예시에서는 현재 연결된 AWS 계정에서 파트너 계정의 연결을 해제합니다.

aws iotwireless disassociate-aws-account-from-partner-account \ --partner-account-id "12345678901234" \ --partner-type "Sidewalk"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 disassociate-wireless-device-from-thing 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스에서 사물의 연결을 해제하는 방법

다음 disassociate-wireless-device-from-thing 예시에서는 무선 디바이스를 현재 연결된 사물과 연결 해제합니다.

aws iotwireless disassociate-wireless-device-from-thing \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 disassociate-wireless-device-from-thing 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스에서 사물의 연결을 해제하는 방법

다음 disassociate-wireless-device-from-thing 예시에서는 무선 디바이스를 현재 연결된 사물과 연결 해제합니다.

aws iotwireless disassociate-wireless-device-from-thing \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 disassociate-wireless-gateway-from-certificate 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에서 인증서 연결을 해제하는 방법

다음 disassociate-wireless-gateway-from-certificate는 현재 연결된 인증서에서 무선 게이트웨이의 연결을 해제합니다.

aws iotwireless disassociate-wireless-gateway-from-certificate \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 disassociate-wireless-gateway-from-certificate 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에서 인증서 연결을 해제하는 방법

다음 disassociate-wireless-gateway-from-certificate는 현재 연결된 인증서에서 무선 게이트웨이의 연결을 해제합니다.

aws iotwireless disassociate-wireless-gateway-from-certificate \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 disassociate-wireless-gateway-from-thing 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에서 사물의 연결을 해제하는 방법

다음 disassociate-wireless-gateway-from-thing 예시에서는 무선 게이트웨이를 현재 연결된 사물과 연결 해제합니다.

aws iotwireless disassociate-wireless-gateway-from-thing \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 disassociate-wireless-gateway-from-thing 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에서 사물의 연결을 해제하는 방법

다음 disassociate-wireless-gateway-from-thing 예시에서는 무선 게이트웨이를 현재 연결된 사물과 연결 해제합니다.

aws iotwireless disassociate-wireless-gateway-from-thing \ --id "12345678-a1b2-3c45-67d8-e90fa1b2c34d"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add your gateways and wireless devices to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-destination 코드를 사용하는 방법을 보여줍니다.

AWS CLI

IoT 무선 대상에 대한 정보를 가져오는 방법

다음 get-destination 예시에서는 생성한 이름 IoTWirelessDestination을 사용하여 대상 리소스의 정보를 가져옵니다.

aws iotwireless get-destination \ --name "IoTWirelessDestination"

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination", "Name": "IoTWirelessDestination", "Expression": "IoTWirelessRule", "ExpressionType": "RuleName", "RoleArn": "arn:aws:iam::123456789012:role/IoTWirelessDestinationRole" }

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetDestination 섹션을 참조하세요.

다음 코드 예시에서는 get-destination 코드를 사용하는 방법을 보여줍니다.

AWS CLI

IoT 무선 대상에 대한 정보를 가져오는 방법

다음 get-destination 예시에서는 생성한 이름 IoTWirelessDestination을 사용하여 대상 리소스의 정보를 가져옵니다.

aws iotwireless get-destination \ --name "IoTWirelessDestination"

출력:

{ "Arn": "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination", "Name": "IoTWirelessDestination", "Expression": "IoTWirelessRule", "ExpressionType": "RuleName", "RoleArn": "arn:aws:iam::123456789012:role/IoTWirelessDestinationRole" }

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetDestination 섹션을 참조하세요.

다음 코드 예시에서는 get-device-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

인스턴스 프로파일 정보 가져오기

다음 get-device-profile 예시에서는 생성한 지정된 ID로 디바이스 프로파일에 대한 정보를 가져옵니다.

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

출력:

{ "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 } }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetDeviceProfile 섹션을 참조하세요.

다음 코드 예시에서는 get-device-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

인스턴스 프로파일 정보 가져오기

다음 get-device-profile 예시에서는 생성한 지정된 ID로 디바이스 프로파일에 대한 정보를 가져옵니다.

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

출력:

{ "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 } }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetDeviceProfile 섹션을 참조하세요.

다음 코드 예시에서는 get-partner-account 코드를 사용하는 방법을 보여줍니다.

AWS CLI

파트너 계정 정보를 가져오는 방법

다음 get-partner-account 예시에서는 다음 ID로 Sidewalk 계정의 정보를 가져옵니다.

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

출력:

{ "Sidewalk": { "AmazonId": "12345678901234", "Fingerprint": "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234" }, "AccountLinked": false }

자세한 내용은 AWS IoT 개발자 안내서Amazon Sidewalk Integration for AWS IoT Core을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetPartnerAccount 섹션을 참조하세요.

다음 코드 예시에서는 get-partner-account 코드를 사용하는 방법을 보여줍니다.

AWS CLI

파트너 계정 정보를 가져오는 방법

다음 get-partner-account 예시에서는 다음 ID로 Sidewalk 계정의 정보를 가져옵니다.

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

출력:

{ "Sidewalk": { "AmazonId": "12345678901234", "Fingerprint": "a123b45c6d78e9f012a34cd5e6a7890b12c3d45e6f78a1b234c56d7e890a1234" }, "AccountLinked": false }

자세한 내용은 AWS IoT 개발자 안내서Amazon Sidewalk Integration for AWS IoT Core을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetPartnerAccount 섹션을 참조하세요.

다음 코드 예시에서는 get-service-endpoint 코드를 사용하는 방법을 보여줍니다.

AWS CLI

서비스 엔드포인트 가져오기

다음 get-service-endpoint 예시에서는 CUPS 프로토콜의 계정별 엔드포인트를 가져옵니다.

aws iotwireless get-service-endpoint

출력:

{ "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" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetServiceEndpoint 섹션을 참조하세요.

다음 코드 예시에서는 get-service-endpoint 코드를 사용하는 방법을 보여줍니다.

AWS CLI

서비스 엔드포인트 가져오기

다음 get-service-endpoint 예시에서는 CUPS 프로토콜의 계정별 엔드포인트를 가져옵니다.

aws iotwireless get-service-endpoint

출력:

{ "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" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetServiceEndpoint 섹션을 참조하세요.

다음 코드 예시에서는 get-service-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

인스턴스 프로파일 정보 가져오기

다음 get-service-profile 예시에서는 생성한 지정된 ID를 사용하여 서비스 프로파일에 대한 정보를 가져옵니다.

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

출력:

{ "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 } }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetServiceProfile 섹션을 참조하세요.

다음 코드 예시에서는 get-service-profile 코드를 사용하는 방법을 보여줍니다.

AWS CLI

인스턴스 프로파일 정보 가져오기

다음 get-service-profile 예시에서는 생성한 지정된 ID를 사용하여 서비스 프로파일에 대한 정보를 가져옵니다.

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

출력:

{ "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 } }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetServiceProfile 섹션을 참조하세요.

다음 코드 예시에서는 get-wireless-device-statistics 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스에 대한 작동 정보를 가져오는 방법

다음 get-wireless-device-statistics 예시에서는 무선 디바이스의 작동 정보를 가져옵니다.

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

출력:

{ "WirelessDeviceId": "1ffd32c8-8130-4194-96df-622f072a315f" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-device-statistics 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스에 대한 작동 정보를 가져오는 방법

다음 get-wireless-device-statistics 예시에서는 무선 디바이스의 작동 정보를 가져옵니다.

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

출력:

{ "WirelessDeviceId": "1ffd32c8-8130-4194-96df-622f072a315f" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스에 대한 정보를 가져오는 방법

다음 get-wireless-device 예시에서는 AWS 계정에서 사용 가능한 위젯을 나열합니다.

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

출력:

{ "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" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetWirelessDevice 섹션을 참조하세요.

다음 코드 예시에서는 get-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스에 대한 정보를 가져오는 방법

다음 get-wireless-device 예시에서는 AWS 계정에서 사용 가능한 위젯을 나열합니다.

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

출력:

{ "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" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetWirelessDevice 섹션을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-certificate 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이와 연결된 인증서의 ID를 가져오는 방법

다음 get-wireless-gateway-certificate 예시에서는 지정된 ID로 무선 게이트웨이에 연결된 인증서 ID를 가져옵니다.

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

출력:

{ "IotCertificateId": "8ea4aeae3db34c78cce75d9abd830356869ead6972997e0603e5fd032c804b6f" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-certificate 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이와 연결된 인증서의 ID를 가져오는 방법

다음 get-wireless-gateway-certificate 예시에서는 지정된 ID로 무선 게이트웨이에 연결된 인증서 ID를 가져옵니다.

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

출력:

{ "IotCertificateId": "8ea4aeae3db34c78cce75d9abd830356869ead6972997e0603e5fd032c804b6f" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-firmware-information 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 대한 펌웨어 정보를 가져오는 방법

다음 get-wireless-gateway-firmware-information 예시에서는 무선 게이트웨이의 펌웨어 버전 및 기타 정보를 가져옵니다.

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

출력:

{ "LoRaWAN" :{ "CurrentVersion" :{ "PackageVersion" : "1.0.0", "Station" : "2.0.5", "Model" : "linux" } } }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-firmware-information 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 대한 펌웨어 정보를 가져오는 방법

다음 get-wireless-gateway-firmware-information 예시에서는 무선 게이트웨이의 펌웨어 버전 및 기타 정보를 가져옵니다.

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

출력:

{ "LoRaWAN" :{ "CurrentVersion" :{ "PackageVersion" : "1.0.0", "Station" : "2.0.5", "Model" : "linux" } } }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-statistics 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 대한 작동 정보를 가져오는 방법

다음 get-wireless-gateway-statistics 예시에서는 무선 게이트웨이의 작동 정보를 가져옵니다.

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

출력:

{ "WirelessGatewayId": "3039b406-5cc9-4307-925b-9948c63da25b" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-statistics 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 대한 작동 정보를 가져오는 방법

다음 get-wireless-gateway-statistics 예시에서는 무선 게이트웨이의 작동 정보를 가져옵니다.

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

출력:

{ "WirelessGatewayId": "3039b406-5cc9-4307-925b-9948c63da25b" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-task-definition 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크 정의의 정보 가져오기

다음 get-wireless-gateway-task-definition 예시에서는 지정된 ID로 무선 태스크 정의의 정보를 가져옵니다.

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

출력:

{ "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" } } } }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-task-definition 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크 정의의 정보 가져오기

다음 get-wireless-gateway-task-definition 예시에서는 지정된 ID로 무선 태스크 정의의 정보를 가져옵니다.

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

출력:

{ "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" } } } }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-task 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크에 대한 정보를 가져오는 방법

다음 get-wireless-gateway-task 예시에서는 지정된 ID를 가진 첨부 파일에 대한 정보를 반환합니다.

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

출력:

{ "WirelessGatewayId": "6c44ab31-8b4d-407a-bed3-19b6c7cda551", "WirelessGatewayTaskDefinitionId": "b7d3baad-25c7-35e7-a4e1-1683a0d61da9", "Status": "Success" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway-task 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크에 대한 정보를 가져오는 방법

다음 get-wireless-gateway-task 예시에서는 지정된 ID를 가진 첨부 파일에 대한 정보를 반환합니다.

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

출력:

{ "WirelessGatewayId": "6c44ab31-8b4d-407a-bed3-19b6c7cda551", "WirelessGatewayTaskDefinitionId": "b7d3baad-25c7-35e7-a4e1-1683a0d61da9", "Status": "Success" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 대한 정보를 가져오는 방법

다음 get-wireless-gateway 예시에서는 무선 게이트웨이 myFirstLoRaWANGateway의 정보를 가져옵니다.

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

출력:

{ "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" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetWirelessGateway 섹션을 참조하세요.

다음 코드 예시에서는 get-wireless-gateway 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이에 대한 정보를 가져오는 방법

다음 get-wireless-gateway 예시에서는 무선 게이트웨이 myFirstLoRaWANGateway의 정보를 가져옵니다.

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

출력:

{ "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" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조GetWirelessGateway 섹션을 참조하세요.

다음 코드 예시에서는 list-destinations 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 대상을 나열하는 방법

다음 list-destinations 예시에서는 AWS 계정에 등록된 사용 가능한 대상을 나열합니다.

aws iotwireless list-destinations

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조ListDestinations 섹션을 참조하세요.

다음 코드 예시에서는 list-destinations 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 대상을 나열하는 방법

다음 list-destinations 예시에서는 AWS 계정에 등록된 사용 가능한 대상을 나열합니다.

aws iotwireless list-destinations

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조ListDestinations 섹션을 참조하세요.

다음 코드 예시에서는 list-device-profiles 코드를 사용하는 방법을 보여줍니다.

AWS CLI

디바이스 프로파일을 나열하는 방법

다음 list-device-profiles 예시에서는 AWS 계정에 등록된 사용 가능한 디바이스 프로파일을 나열합니다.

aws iotwireless list-device-profiles

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조ListDeviceProfiles 섹션을 참조하세요.

다음 코드 예시에서는 list-device-profiles 코드를 사용하는 방법을 보여줍니다.

AWS CLI

디바이스 프로파일을 나열하는 방법

다음 list-device-profiles 예시에서는 AWS 계정에 등록된 사용 가능한 디바이스 프로파일을 나열합니다.

aws iotwireless list-device-profiles

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조ListDeviceProfiles 섹션을 참조하세요.

다음 코드 예시에서는 list-partner-accounts 코드를 사용하는 방법을 보여줍니다.

AWS CLI

파트너 계정을 나열하는 방법

다음 list-partner-accounts 예시에서는 AWS 계정에 연결된 사용 가능한 파트너 계정을 나열합니다.

aws iotwireless list-partner-accounts

출력:

{ "Sidewalk": [ { "AmazonId": "78965678771228", "Fingerprint": "bd96d8ef66dbfd2160eb60e156849e82ad7018b8b73c1ba0b4fc65c32498ee35" }, { "AmazonId": "89656787651228", "Fingerprint": "bc5e99e151c07be14be7e6603e4489c53f858b271213a36ebe3370777ba06e9b" } ] }

자세한 내용은 AWS IoT 개발자 안내서Amazon Sidewalk Integration for AWS IoT Core을 참조하세요.

다음 코드 예시에서는 list-partner-accounts 코드를 사용하는 방법을 보여줍니다.

AWS CLI

파트너 계정을 나열하는 방법

다음 list-partner-accounts 예시에서는 AWS 계정에 연결된 사용 가능한 파트너 계정을 나열합니다.

aws iotwireless list-partner-accounts

출력:

{ "Sidewalk": [ { "AmazonId": "78965678771228", "Fingerprint": "bd96d8ef66dbfd2160eb60e156849e82ad7018b8b73c1ba0b4fc65c32498ee35" }, { "AmazonId": "89656787651228", "Fingerprint": "bc5e99e151c07be14be7e6603e4489c53f858b271213a36ebe3370777ba06e9b" } ] }

자세한 내용은 AWS IoT 개발자 안내서Amazon Sidewalk Integration for AWS IoT Core을 참조하세요.

다음 코드 예시에서는 list-service-profiles 코드를 사용하는 방법을 보여줍니다.

AWS CLI

서비스 프로파일을 나열하는 방법

다음 list-service-profiles 예시에서는 AWS 계정에 등록된 사용 가능한 서비스 프로파일을 나열합니다.

aws iotwireless list-service-profiles

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 list-service-profiles 코드를 사용하는 방법을 보여줍니다.

AWS CLI

서비스 프로파일을 나열하는 방법

다음 list-service-profiles 예시에서는 AWS 계정에 등록된 사용 가능한 서비스 프로파일을 나열합니다.

aws iotwireless list-service-profiles

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Add profiles to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 list-tags-for-resource 코드를 사용하는 방법을 보여줍니다.

AWS CLI

리소스에 할당된 태그 나열

다음 list-tags-for-resource 예시에서는 무선 대상 리소스에 할당된 태그를 나열합니다.

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

출력:

{ "Tags": [ { "Value": "MyValue", "Key": "MyTag" } ] }

자세한 내용은 AWS IoT 개발자 안내서AWS IoT Core for LoRaWAN 리소스 설명을 참조하세요.

다음 코드 예시에서는 list-tags-for-resource 코드를 사용하는 방법을 보여줍니다.

AWS CLI

리소스에 할당된 태그 나열

다음 list-tags-for-resource 예시에서는 무선 대상 리소스에 할당된 태그를 나열합니다.

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

출력:

{ "Tags": [ { "Value": "MyValue", "Key": "MyTag" } ] }

자세한 내용은 AWS IoT 개발자 안내서AWS IoT Core for LoRaWAN 리소스 설명을 참조하세요.

다음 코드 예시에서는 list-wireless-devices 코드를 사용하는 방법을 보여줍니다.

AWS CLI

사용 가능한 무선 디바이스를 나열하는 방법

다음 list-wireless-devices 예시에서는 AWS 계정에 등록된 사용 가능한 무선 디바이스를 나열합니다.

aws iotwireless list-wireless-devices

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 list-wireless-devices 코드를 사용하는 방법을 보여줍니다.

AWS CLI

사용 가능한 무선 디바이스를 나열하는 방법

다음 list-wireless-devices 예시에서는 AWS 계정에 등록된 사용 가능한 무선 디바이스를 나열합니다.

aws iotwireless list-wireless-devices

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 list-wireless-gateway-task-definitions 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크 정의를 나열하는 방법

다음 list-wireless-gateway-task-definitions 예시에서는 AWS 계정에 등록된 사용 가능한 무선 게이트웨이 태스크 정의를 나열합니다.

aws iotwireless list-wireless-gateway-task-definitions

출력:

{ "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" } } } ] }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 list-wireless-gateway-task-definitions 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이 태스크 정의를 나열하는 방법

다음 list-wireless-gateway-task-definitions 예시에서는 AWS 계정에 등록된 사용 가능한 무선 게이트웨이 태스크 정의를 나열합니다.

aws iotwireless list-wireless-gateway-task-definitions

출력:

{ "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" } } } ] }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 list-wireless-gateways 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이를 나열하는 방법

다음 list-wireless-gateways 예시에서는 AWS 계정에서 사용 가능한 무선 게이트웨이를 나열합니다.

aws iotwireless list-wireless-gateways

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 list-wireless-gateways 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이를 나열하는 방법

다음 list-wireless-gateways 예시에서는 AWS 계정에서 사용 가능한 무선 게이트웨이를 나열합니다.

aws iotwireless list-wireless-gateways

출력:

{ "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" } ] }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 send-data-to-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스로 데이터를 보내려면

다음 send-data-to-wireless-device 예시에서는 복호화된 애플리케이션 데이터 프레임을 무선 디바이스로 보냅니다.

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

출력:

{ MessageId: "6011dd36-0043d6eb-0072-0008" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 send-data-to-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스로 데이터를 보내려면

다음 send-data-to-wireless-device 예시에서는 복호화된 애플리케이션 데이터 프레임을 무선 디바이스로 보냅니다.

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

출력:

{ MessageId: "6011dd36-0043d6eb-0072-0008" }

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 tag-resource 코드를 사용하는 방법을 보여줍니다.

AWS CLI

리소스의 태그 키 및 값을 지정하는 방법

다음 tag-resource 예시에서는 무선 대상 IoTWirelessDestination에 태그 키 MyTag 및 값 MyValue를 지정합니다.

aws iotwireless tag-resource \ --resource-arn "arn:aws:iotwireless:us-east-1:651419225604:Destination/IoTWirelessDestination" \ --tags Key="MyTag",Value="MyValue"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서AWS IoT Core for LoRaWAN 리소스 설명을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조TagResource를 참조하세요.

다음 코드 예시에서는 tag-resource 코드를 사용하는 방법을 보여줍니다.

AWS CLI

리소스의 태그 키 및 값을 지정하는 방법

다음 tag-resource 예시에서는 무선 대상 IoTWirelessDestination에 태그 키 MyTag 및 값 MyValue를 지정합니다.

aws iotwireless tag-resource \ --resource-arn "arn:aws:iotwireless:us-east-1:651419225604:Destination/IoTWirelessDestination" \ --tags Key="MyTag",Value="MyValue"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서AWS IoT Core for LoRaWAN 리소스 설명을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조TagResource를 참조하세요.

다음 코드 예시에서는 test-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스를 테스트하는 방법

다음 test-wireless-device 예시에서는 Hello의 업링크 데이터를 지정된 ID를 사용하여 디바이스로 보냅니다.

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

출력:

{ Result: "Test succeeded. one message is sent with payload: hello" }

자세한 내용은 AWS IoT 개발자 안내서AWS IoT Core for LoRaWAN에 디바이스 및 게이트웨이 연결을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조TestWirelessDevice 섹션을 참조하세요.

다음 코드 예시에서는 test-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스를 테스트하는 방법

다음 test-wireless-device 예시에서는 Hello의 업링크 데이터를 지정된 ID를 사용하여 디바이스로 보냅니다.

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

출력:

{ Result: "Test succeeded. one message is sent with payload: hello" }

자세한 내용은 AWS IoT 개발자 안내서AWS IoT Core for LoRaWAN에 디바이스 및 게이트웨이 연결을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조TestWirelessDevice 섹션을 참조하세요.

다음 코드 예시에서는 untag-resource 코드를 사용하는 방법을 보여줍니다.

AWS CLI

리소스에서 하나 이상의 태그 제거

다음 untag-resource 예시에서는 무선 대상 IoTWirelessDestination에서 태그 MyTag 및 해당 값을 제거합니다.

aws iotwireless untag-resource \ --resource-arn "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination" \ --tag-keys "MyTag"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서AWS IoT Core for LoRaWAN 리소스 설명을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조UntagResource를 참조하세요.

다음 코드 예시에서는 untag-resource 코드를 사용하는 방법을 보여줍니다.

AWS CLI

리소스에서 하나 이상의 태그 제거

다음 untag-resource 예시에서는 무선 대상 IoTWirelessDestination에서 태그 MyTag 및 해당 값을 제거합니다.

aws iotwireless untag-resource \ --resource-arn "arn:aws:iotwireless:us-east-1:123456789012:Destination/IoTWirelessDestination" \ --tag-keys "MyTag"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서AWS IoT Core for LoRaWAN 리소스 설명을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조UntagResource를 참조하세요.

다음 코드 예시에서는 update-destination 코드를 사용하는 방법을 보여줍니다.

AWS CLI

대상의 속성 업데이트

다음 update-destination 예시에서는 무선 대상의 설명 속성을 업데이트합니다.

aws iotwireless update-destination \ --name "IoTWirelessDestination" \ --description "Destination for messages processed using IoTWirelessRule"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조UpdateDestination 섹션을 참조하세요.

다음 코드 예시에서는 update-destination 코드를 사용하는 방법을 보여줍니다.

AWS CLI

대상의 속성 업데이트

다음 update-destination 예시에서는 무선 대상의 설명 속성을 업데이트합니다.

aws iotwireless update-destination \ --name "IoTWirelessDestination" \ --description "Destination for messages processed using IoTWirelessRule"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Add destinations to AWS IoT Core for LoRaWAN을 참조하세요.

  • API 세부 정보는 AWS CLI 명령 참조UpdateDestination 섹션을 참조하세요.

다음 코드 예시에서는 update-partner-account 코드를 사용하는 방법을 보여줍니다.

AWS CLI

파트너 계정의 속성을 업데이트하는 방법

다음 update-partner-account는 지정된 ID로 계정의 AppServerPrivateKey를 업데이트합니다.

aws iotwireless update-partner-account \ --partner-account-id "78965678771228" \ --partner-type "Sidewalk" \ --sidewalk AppServerPrivateKey="f798ab4899346a88599180fee9e14fa1ada7b6df989425b7c6d2146dd6c815bb"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Amazon Sidewalk Integration for AWS IoT Core을 참조하세요.

다음 코드 예시에서는 update-partner-account 코드를 사용하는 방법을 보여줍니다.

AWS CLI

파트너 계정의 속성을 업데이트하는 방법

다음 update-partner-account는 지정된 ID로 계정의 AppServerPrivateKey를 업데이트합니다.

aws iotwireless update-partner-account \ --partner-account-id "78965678771228" \ --partner-type "Sidewalk" \ --sidewalk AppServerPrivateKey="f798ab4899346a88599180fee9e14fa1ada7b6df989425b7c6d2146dd6c815bb"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Amazon Sidewalk Integration for AWS IoT Core을 참조하세요.

다음 코드 예시에서는 update-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스의 속성을 업데이트하는 방법

다음 update-wireless-device 예시에서는 AWS 계정에 등록된 무선 디바이스의 속성을 업데이트합니다.

aws iotwireless update-wireless-device \ --id "1ffd32c8-8130-4194-96df-622f072a315f" \ --destination-name IoTWirelessDestination2 \ --description "Using my first LoRaWAN device"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 update-wireless-device 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 디바이스의 속성을 업데이트하는 방법

다음 update-wireless-device 예시에서는 AWS 계정에 등록된 무선 디바이스의 속성을 업데이트합니다.

aws iotwireless update-wireless-device \ --id "1ffd32c8-8130-4194-96df-622f072a315f" \ --destination-name IoTWirelessDestination2 \ --description "Using my first LoRaWAN device"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 update-wireless-gateway 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이를 업데이트하는 방법

다음 update-wireless-gateway 예시에서는 무선 게이트웨이의 설명을 업데이트합니다.

aws iotwireless update-wireless-gateway \ --id "3285bdc7-5a12-4991-84ed-dadca65e342e" \ --description "Using my LoRaWAN gateway"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

다음 코드 예시에서는 update-wireless-gateway 코드를 사용하는 방법을 보여줍니다.

AWS CLI

무선 게이트웨이를 업데이트하는 방법

다음 update-wireless-gateway 예시에서는 무선 게이트웨이의 설명을 업데이트합니다.

aws iotwireless update-wireless-gateway \ --id "3285bdc7-5a12-4991-84ed-dadca65e342e" \ --description "Using my LoRaWAN gateway"

이 명령은 출력을 생성하지 않습니다.

자세한 내용은 AWS IoT 개발자 안내서Connecting devices and gateways to AWS IoT Core for LoRaWAN을 참조하세요.

이 페이지에서

프라이버시사이트 이용 약관쿠키 기본 설정
© 2025, Amazon Web Services, Inc. 또는 계열사. All rights reserved.