404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.129.89.50: ~ $
**To create an IoT Device Advisor test suite**

The following ``create-suite-definition`` example creates a device advisor test suite in the AWS IoT with the specified suite definition configuration. ::

    aws iotdeviceadvisor create-suite-definition \
        --suite-definition-configuration '{ \
            "suiteDefinitionName": "TestSuiteName",  \
            "devices": [{"thingArn":"arn:aws:iot:us-east-1:123456789012:thing/MyIotThing"}], \
            "intendedForQualification": false, \
            "rootGroup": "{\"configuration\":{},\"tests\":[{\"name\":\"MQTT Connect\",\"configuration\":{\"EXECUTION_TIMEOUT\":120},\"tests\":[{\"name\":\"MQTT_Connect\",\"configuration\":{},\"test\":{\"id\":\"MQTT_Connect\",\"testCase\":null,\"version\":\"0.0.0\"}}]}]}", \
            "devicePermissionRoleArn": "arn:aws:iam::123456789012:role/Myrole"}'

Output::

    {
        "suiteDefinitionId": "0jtsgio7yenu",
        "suiteDefinitionArn": "arn:aws:iotdeviceadvisor:us-east-1:123456789012:suitedefinition/0jtsgio7yenu",
        "suiteDefinitionName": "TestSuiteName",
        "createdAt": "2022-12-02T11:38:13.263000-05:00"
    }

For more information, see `Create a test suite definition <https://docs.aws.amazon.com/iot/latest/developerguide/device-advisor-workflow.html#device-advisor-workflow-create-suite-definition>`__ in the *AWS IoT Core Developer Guide*.

Filemanager

Name Type Size Permission Actions
create-suite-definition.rst File 1.36 KB 0644
delete-suite-definition.rst File 506 B 0644
get-endpoint.rst File 1.04 KB 0644
get-suite-definition.rst File 1.55 KB 0644
get-suite-run-report.rst File 848 B 0644
get-suite-run.rst File 2.28 KB 0644
list-suite-definitions.rst File 2.33 KB 0644
list-suite-runs.rst File 2.52 KB 0644
list-tags-for-resource.rst File 946 B 0644
start-suite-run.rst File 926 B 0644
stop-suite-run.rst File 618 B 0644
tag-resource.rst File 958 B 0644
untag-resource.rst File 937 B 0644
update-suite-definition.rst File 1.37 KB 0644