{ "version": "2.0", "metadata": { "apiVersion": "2020-09-18", "endpointPrefix": "api.iotdeviceadvisor", "jsonVersion": "1.1", "protocol": "rest-json", "serviceAbbreviation": "AWSIoTDeviceAdvisor", "serviceFullName": "AWS IoT Core Device Advisor", "serviceId": "IotDeviceAdvisor", "signatureVersion": "v4", "signingName": "iotdeviceadvisor", "uid": "iotdeviceadvisor-2020-09-18" }, "operations": { "CreateSuiteDefinition": { "name": "CreateSuiteDefinition", "http": { "method": "POST", "requestUri": "/suiteDefinitions" }, "input": { "shape": "CreateSuiteDefinitionRequest" }, "output": { "shape": "CreateSuiteDefinitionResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "
Creates a Device Advisor test suite.
Requires permission to access the CreateSuiteDefinition action.
" }, "DeleteSuiteDefinition": { "name": "DeleteSuiteDefinition", "http": { "method": "DELETE", "requestUri": "/suiteDefinitions/{suiteDefinitionId}" }, "input": { "shape": "DeleteSuiteDefinitionRequest" }, "output": { "shape": "DeleteSuiteDefinitionResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "Deletes a Device Advisor test suite.
Requires permission to access the DeleteSuiteDefinition action.
" }, "GetEndpoint": { "name": "GetEndpoint", "http": { "method": "GET", "requestUri": "/endpoint" }, "input": { "shape": "GetEndpointRequest" }, "output": { "shape": "GetEndpointResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "Gets information about an Device Advisor endpoint.
" }, "GetSuiteDefinition": { "name": "GetSuiteDefinition", "http": { "method": "GET", "requestUri": "/suiteDefinitions/{suiteDefinitionId}" }, "input": { "shape": "GetSuiteDefinitionRequest" }, "output": { "shape": "GetSuiteDefinitionResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "Gets information about a Device Advisor test suite.
Requires permission to access the GetSuiteDefinition action.
" }, "GetSuiteRun": { "name": "GetSuiteRun", "http": { "method": "GET", "requestUri": "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}" }, "input": { "shape": "GetSuiteRunRequest" }, "output": { "shape": "GetSuiteRunResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "Gets information about a Device Advisor test suite run.
Requires permission to access the GetSuiteRun action.
" }, "GetSuiteRunReport": { "name": "GetSuiteRunReport", "http": { "method": "GET", "requestUri": "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/report" }, "input": { "shape": "GetSuiteRunReportRequest" }, "output": { "shape": "GetSuiteRunReportResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "Gets a report download link for a successful Device Advisor qualifying test suite run.
Requires permission to access the GetSuiteRunReport action.
" }, "ListSuiteDefinitions": { "name": "ListSuiteDefinitions", "http": { "method": "GET", "requestUri": "/suiteDefinitions" }, "input": { "shape": "ListSuiteDefinitionsRequest" }, "output": { "shape": "ListSuiteDefinitionsResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "Lists the Device Advisor test suites you have created.
Requires permission to access the ListSuiteDefinitions action.
" }, "ListSuiteRuns": { "name": "ListSuiteRuns", "http": { "method": "GET", "requestUri": "/suiteRuns" }, "input": { "shape": "ListSuiteRunsRequest" }, "output": { "shape": "ListSuiteRunsResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "Lists runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite.
Requires permission to access the ListSuiteRuns action.
" }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "GET", "requestUri": "/tags/{resourceArn}" }, "input": { "shape": "ListTagsForResourceRequest" }, "output": { "shape": "ListTagsForResourceResponse" }, "errors": [ { "shape": "InternalServerException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "Lists the tags attached to an IoT Device Advisor resource.
Requires permission to access the ListTagsForResource action.
" }, "StartSuiteRun": { "name": "StartSuiteRun", "http": { "method": "POST", "requestUri": "/suiteDefinitions/{suiteDefinitionId}/suiteRuns" }, "input": { "shape": "StartSuiteRunRequest" }, "output": { "shape": "StartSuiteRunResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" }, { "shape": "ConflictException" } ], "documentation": "Starts a Device Advisor test suite run.
Requires permission to access the StartSuiteRun action.
" }, "StopSuiteRun": { "name": "StopSuiteRun", "http": { "method": "POST", "requestUri": "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/stop" }, "input": { "shape": "StopSuiteRunRequest" }, "output": { "shape": "StopSuiteRunResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InternalServerException" } ], "documentation": "Stops a Device Advisor test suite run that is currently running.
Requires permission to access the StopSuiteRun action.
" }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/tags/{resourceArn}" }, "input": { "shape": "TagResourceRequest" }, "output": { "shape": "TagResourceResponse" }, "errors": [ { "shape": "InternalServerException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "Adds to and modifies existing tags of an IoT Device Advisor resource.
Requires permission to access the TagResource action.
" }, "UntagResource": { "name": "UntagResource", "http": { "method": "DELETE", "requestUri": "/tags/{resourceArn}" }, "input": { "shape": "UntagResourceRequest" }, "output": { "shape": "UntagResourceResponse" }, "errors": [ { "shape": "InternalServerException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "Removes tags from an IoT Device Advisor resource.
Requires permission to access the UntagResource action.
" }, "UpdateSuiteDefinition": { "name": "UpdateSuiteDefinition", "http": { "method": "PATCH", "requestUri": "/suiteDefinitions/{suiteDefinitionId}" }, "input": { "shape": "UpdateSuiteDefinitionRequest" }, "output": { "shape": "UpdateSuiteDefinitionResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "Updates a Device Advisor test suite.
Requires permission to access the UpdateSuiteDefinition action.
" } }, "shapes": { "AmazonResourceName": { "type": "string", "max": 2048, "min": 20 }, "AuthenticationMethod": { "type": "string", "enum": [ "X509ClientCertificate", "SignatureVersion4" ] }, "CreateSuiteDefinitionRequest": { "type": "structure", "required": [ "suiteDefinitionConfiguration" ], "members": { "suiteDefinitionConfiguration": { "shape": "SuiteDefinitionConfiguration", "documentation": "Creates a Device Advisor test suite with suite definition configuration.
" }, "tags": { "shape": "TagMap", "documentation": "The tags to be attached to the suite definition.
" } } }, "CreateSuiteDefinitionResponse": { "type": "structure", "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "The UUID of the test suite created.
" }, "suiteDefinitionArn": { "shape": "AmazonResourceName", "documentation": "The Amazon Resource Name (ARN) of the test suite.
" }, "suiteDefinitionName": { "shape": "SuiteDefinitionName", "documentation": "The suite definition name of the test suite. This is a required parameter.
" }, "createdAt": { "shape": "Timestamp", "documentation": "The timestamp of when the test suite was created.
" } } }, "DeleteSuiteDefinitionRequest": { "type": "structure", "required": [ "suiteDefinitionId" ], "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the test suite to be deleted.
", "location": "uri", "locationName": "suiteDefinitionId" } } }, "DeleteSuiteDefinitionResponse": { "type": "structure", "members": {} }, "DeviceUnderTest": { "type": "structure", "members": { "thingArn": { "shape": "AmazonResourceName", "documentation": "Lists device's thing ARN.
" }, "certificateArn": { "shape": "AmazonResourceName", "documentation": "Lists device's certificate ARN.
" }, "deviceRoleArn": { "shape": "AmazonResourceName", "documentation": "Lists device's role ARN.
" } }, "documentation": "Information of a test device. A thing ARN, certificate ARN or device role ARN is required.
" }, "DeviceUnderTestList": { "type": "list", "member": { "shape": "DeviceUnderTest" }, "max": 2, "min": 0 }, "Endpoint": { "type": "string", "max": 75, "min": 45 }, "ErrorReason": { "type": "string" }, "Failure": { "type": "string" }, "GetEndpointRequest": { "type": "structure", "members": { "thingArn": { "shape": "AmazonResourceName", "documentation": "The thing ARN of the device. This is an optional parameter.
", "location": "querystring", "locationName": "thingArn" }, "certificateArn": { "shape": "AmazonResourceName", "documentation": "The certificate ARN of the device. This is an optional parameter.
", "location": "querystring", "locationName": "certificateArn" }, "deviceRoleArn": { "shape": "AmazonResourceName", "documentation": "The device role ARN of the device. This is an optional parameter.
", "location": "querystring", "locationName": "deviceRoleArn" }, "authenticationMethod": { "shape": "AuthenticationMethod", "documentation": "The authentication method used during the device connection.
", "location": "querystring", "locationName": "authenticationMethod" } } }, "GetEndpointResponse": { "type": "structure", "members": { "endpoint": { "shape": "Endpoint", "documentation": "The response of an Device Advisor endpoint.
" } } }, "GetSuiteDefinitionRequest": { "type": "structure", "required": [ "suiteDefinitionId" ], "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the test suite to get.
", "location": "uri", "locationName": "suiteDefinitionId" }, "suiteDefinitionVersion": { "shape": "SuiteDefinitionVersion", "documentation": "Suite definition version of the test suite to get.
", "location": "querystring", "locationName": "suiteDefinitionVersion" } } }, "GetSuiteDefinitionResponse": { "type": "structure", "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the suite definition.
" }, "suiteDefinitionArn": { "shape": "AmazonResourceName", "documentation": "The ARN of the suite definition.
" }, "suiteDefinitionVersion": { "shape": "SuiteDefinitionVersion", "documentation": "Suite definition version of the suite definition.
" }, "latestVersion": { "shape": "SuiteDefinitionVersion", "documentation": "Latest suite definition version of the suite definition.
" }, "suiteDefinitionConfiguration": { "shape": "SuiteDefinitionConfiguration", "documentation": "Suite configuration of the suite definition.
" }, "createdAt": { "shape": "Timestamp", "documentation": "Date (in Unix epoch time) when the suite definition was created.
" }, "lastModifiedAt": { "shape": "Timestamp", "documentation": "Date (in Unix epoch time) when the suite definition was last modified.
" }, "tags": { "shape": "TagMap", "documentation": "Tags attached to the suite definition.
" } } }, "GetSuiteRunReportRequest": { "type": "structure", "required": [ "suiteDefinitionId", "suiteRunId" ], "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the test suite.
", "location": "uri", "locationName": "suiteDefinitionId" }, "suiteRunId": { "shape": "UUID", "documentation": "Suite run ID of the test suite run.
", "location": "uri", "locationName": "suiteRunId" } } }, "GetSuiteRunReportResponse": { "type": "structure", "members": { "qualificationReportDownloadUrl": { "shape": "QualificationReportDownloadUrl", "documentation": "Download URL of the qualification report.
" } } }, "GetSuiteRunRequest": { "type": "structure", "required": [ "suiteDefinitionId", "suiteRunId" ], "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID for the test suite run.
", "location": "uri", "locationName": "suiteDefinitionId" }, "suiteRunId": { "shape": "UUID", "documentation": "Suite run ID for the test suite run.
", "location": "uri", "locationName": "suiteRunId" } } }, "GetSuiteRunResponse": { "type": "structure", "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID for the test suite run.
" }, "suiteDefinitionVersion": { "shape": "SuiteDefinitionVersion", "documentation": "Suite definition version for the test suite run.
" }, "suiteRunId": { "shape": "UUID", "documentation": "Suite run ID for the test suite run.
" }, "suiteRunArn": { "shape": "AmazonResourceName", "documentation": "The ARN of the suite run.
" }, "suiteRunConfiguration": { "shape": "SuiteRunConfiguration", "documentation": "Suite run configuration for the test suite run.
" }, "testResult": { "shape": "TestResult", "documentation": "Test results for the test suite run.
" }, "startTime": { "shape": "Timestamp", "documentation": "Date (in Unix epoch time) when the test suite run started.
" }, "endTime": { "shape": "Timestamp", "documentation": "Date (in Unix epoch time) when the test suite run ended.
" }, "status": { "shape": "SuiteRunStatus", "documentation": "Status for the test suite run.
" }, "errorReason": { "shape": "ErrorReason", "documentation": "Error reason for any test suite run failure.
" }, "tags": { "shape": "TagMap", "documentation": "The tags attached to the suite run.
" } } }, "GroupName": { "type": "string" }, "GroupResult": { "type": "structure", "members": { "groupId": { "shape": "UUID", "documentation": "Group result ID.
" }, "groupName": { "shape": "GroupName", "documentation": "Group Result Name.
" }, "tests": { "shape": "TestCaseRuns", "documentation": "Tests under Group Result.
" } }, "documentation": "Show Group Result.
" }, "GroupResultList": { "type": "list", "member": { "shape": "GroupResult" }, "documentation": "Group Result list.
" }, "IntendedForQualificationBoolean": { "type": "boolean" }, "IsLongDurationTestBoolean": { "type": "boolean" }, "ListSuiteDefinitionsRequest": { "type": "structure", "members": { "maxResults": { "shape": "MaxResults", "documentation": "The maximum number of results to return at once.
", "location": "querystring", "locationName": "maxResults" }, "nextToken": { "shape": "Token", "documentation": "A token used to get the next set of results.
", "location": "querystring", "locationName": "nextToken" } } }, "ListSuiteDefinitionsResponse": { "type": "structure", "members": { "suiteDefinitionInformationList": { "shape": "SuiteDefinitionInformationList", "documentation": "An array of objects that provide summaries of information about the suite definitions in the list.
" }, "nextToken": { "shape": "Token", "documentation": "A token used to get the next set of results.
" } } }, "ListSuiteRunsRequest": { "type": "structure", "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Lists the test suite runs of the specified test suite based on suite definition ID.
", "location": "querystring", "locationName": "suiteDefinitionId" }, "suiteDefinitionVersion": { "shape": "SuiteDefinitionVersion", "documentation": "Must be passed along with suiteDefinitionId
. Lists the test suite runs of the specified test suite based on suite definition version.
The maximum number of results to return at once.
", "location": "querystring", "locationName": "maxResults" }, "nextToken": { "shape": "Token", "documentation": "A token to retrieve the next set of results.
", "location": "querystring", "locationName": "nextToken" } } }, "ListSuiteRunsResponse": { "type": "structure", "members": { "suiteRunsList": { "shape": "SuiteRunsList", "documentation": "An array of objects that provide summaries of information about the suite runs in the list.
" }, "nextToken": { "shape": "Token", "documentation": "A token to retrieve the next set of results.
" } } }, "ListTagsForResourceRequest": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": { "shape": "AmazonResourceName", "documentation": "The resource ARN of the IoT Device Advisor resource. This can be SuiteDefinition ARN or SuiteRun ARN.
", "location": "uri", "locationName": "resourceArn" } } }, "ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "shape": "TagMap", "documentation": "The tags attached to the IoT Device Advisor resource.
" } } }, "LogUrl": { "type": "string" }, "MaxResults": { "type": "integer", "max": 50, "min": 1 }, "ParallelRun": { "type": "boolean" }, "Protocol": { "type": "string", "enum": [ "MqttV3_1_1", "MqttV5", "MqttV3_1_1_OverWebSocket", "MqttV5_OverWebSocket" ] }, "QualificationReportDownloadUrl": { "type": "string" }, "RootGroup": { "type": "string", "max": 2048, "min": 0 }, "SelectedTestList": { "type": "list", "member": { "shape": "UUID" }, "max": 100, "min": 0 }, "StartSuiteRunRequest": { "type": "structure", "required": [ "suiteDefinitionId", "suiteRunConfiguration" ], "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the test suite.
", "location": "uri", "locationName": "suiteDefinitionId" }, "suiteDefinitionVersion": { "shape": "SuiteDefinitionVersion", "documentation": "Suite definition version of the test suite.
" }, "suiteRunConfiguration": { "shape": "SuiteRunConfiguration", "documentation": "Suite run configuration.
" }, "tags": { "shape": "TagMap", "documentation": "The tags to be attached to the suite run.
" } } }, "StartSuiteRunResponse": { "type": "structure", "members": { "suiteRunId": { "shape": "UUID", "documentation": "Suite Run ID of the started suite run.
" }, "suiteRunArn": { "shape": "AmazonResourceName", "documentation": "Amazon Resource Name (ARN) of the started suite run.
" }, "createdAt": { "shape": "Timestamp", "documentation": "Starts a Device Advisor test suite run based on suite create time.
" }, "endpoint": { "shape": "Endpoint", "documentation": "The response of an Device Advisor test endpoint.
" } } }, "Status": { "type": "string", "enum": [ "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "STOPPING", "STOPPED", "PASS_WITH_WARNINGS", "ERROR" ] }, "StopSuiteRunRequest": { "type": "structure", "required": [ "suiteDefinitionId", "suiteRunId" ], "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the test suite run to be stopped.
", "location": "uri", "locationName": "suiteDefinitionId" }, "suiteRunId": { "shape": "UUID", "documentation": "Suite run ID of the test suite run to be stopped.
", "location": "uri", "locationName": "suiteRunId" } } }, "StopSuiteRunResponse": { "type": "structure", "members": {} }, "String128": { "type": "string", "max": 128, "min": 1 }, "String256": { "type": "string", "max": 256, "min": 1 }, "SuiteDefinitionConfiguration": { "type": "structure", "required": [ "suiteDefinitionName", "rootGroup", "devicePermissionRoleArn" ], "members": { "suiteDefinitionName": { "shape": "SuiteDefinitionName", "documentation": "Gets the suite definition name. This is a required parameter.
" }, "devices": { "shape": "DeviceUnderTestList", "documentation": "Gets the devices configured.
" }, "intendedForQualification": { "shape": "IntendedForQualificationBoolean", "documentation": "Gets the tests intended for qualification in a suite.
" }, "isLongDurationTest": { "shape": "IsLongDurationTestBoolean", "documentation": "Verifies if the test suite is a long duration test.
" }, "rootGroup": { "shape": "RootGroup", "documentation": "Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if intendedForQualification
is set to true, rootGroup
can be an empty string. If intendedForQualification
is false, rootGroup
cannot be an empty string. If rootGroup
is empty, and intendedForQualification
is set to true, all the qualification tests are included, and the configuration is default.
For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048.
" }, "devicePermissionRoleArn": { "shape": "AmazonResourceName", "documentation": "Gets the device permission ARN. This is a required parameter.
" }, "protocol": { "shape": "Protocol", "documentation": "Sets the MQTT protocol that is configured in the suite definition.
" } }, "documentation": "Gets the suite definition configuration.
" }, "SuiteDefinitionInformation": { "type": "structure", "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the test suite.
" }, "suiteDefinitionName": { "shape": "SuiteDefinitionName", "documentation": "Suite name of the test suite.
" }, "defaultDevices": { "shape": "DeviceUnderTestList", "documentation": "Specifies the devices that are under test for the test suite.
" }, "intendedForQualification": { "shape": "IntendedForQualificationBoolean", "documentation": "Specifies if the test suite is intended for qualification.
" }, "isLongDurationTest": { "shape": "IsLongDurationTestBoolean", "documentation": "Verifies if the test suite is a long duration test.
" }, "protocol": { "shape": "Protocol", "documentation": "Gets the MQTT protocol that is configured in the suite definition.
" }, "createdAt": { "shape": "Timestamp", "documentation": "Date (in Unix epoch time) when the test suite was created.
" } }, "documentation": "Information about the suite definition.
" }, "SuiteDefinitionInformationList": { "type": "list", "member": { "shape": "SuiteDefinitionInformation" } }, "SuiteDefinitionName": { "type": "string", "max": 256, "min": 1 }, "SuiteDefinitionVersion": { "type": "string", "max": 255, "min": 2 }, "SuiteRunConfiguration": { "type": "structure", "required": [ "primaryDevice" ], "members": { "primaryDevice": { "shape": "DeviceUnderTest", "documentation": "Sets the primary device for the test suite run. This requires a thing ARN or a certificate ARN.
" }, "selectedTestList": { "shape": "SelectedTestList", "documentation": "Sets test case list.
" }, "parallelRun": { "shape": "ParallelRun", "documentation": "TRUE if multiple test suites run in parallel.
" } }, "documentation": "Gets suite run configuration.
" }, "SuiteRunInformation": { "type": "structure", "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the suite run.
" }, "suiteDefinitionVersion": { "shape": "SuiteDefinitionVersion", "documentation": "Suite definition version of the suite run.
" }, "suiteDefinitionName": { "shape": "SuiteDefinitionName", "documentation": "Suite definition name of the suite run.
" }, "suiteRunId": { "shape": "UUID", "documentation": "Suite run ID of the suite run.
" }, "createdAt": { "shape": "Timestamp", "documentation": "Date (in Unix epoch time) when the suite run was created.
" }, "startedAt": { "shape": "Timestamp", "documentation": "Date (in Unix epoch time) when the suite run was started.
" }, "endAt": { "shape": "Timestamp", "documentation": "Date (in Unix epoch time) when the suite run ended.
" }, "status": { "shape": "SuiteRunStatus", "documentation": "Status of the suite run.
" }, "passed": { "shape": "SuiteRunResultCount", "documentation": "Number of test cases that passed in the suite run.
" }, "failed": { "shape": "SuiteRunResultCount", "documentation": "Number of test cases that failed in the suite run.
" } }, "documentation": "Information about the suite run.
Requires permission to access the SuiteRunInformation action.
" }, "SuiteRunResultCount": { "type": "integer", "max": 500, "min": 0 }, "SuiteRunStatus": { "type": "string", "enum": [ "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "STOPPING", "STOPPED", "PASS_WITH_WARNINGS", "ERROR" ] }, "SuiteRunsList": { "type": "list", "member": { "shape": "SuiteRunInformation" } }, "SystemMessage": { "type": "string" }, "TagKeyList": { "type": "list", "member": { "shape": "String128" }, "max": 50, "min": 0 }, "TagMap": { "type": "map", "key": { "shape": "String128" }, "value": { "shape": "String256" }, "max": 50, "min": 0 }, "TagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "shape": "AmazonResourceName", "documentation": "The resource ARN of an IoT Device Advisor resource. This can be SuiteDefinition ARN or SuiteRun ARN.
", "location": "uri", "locationName": "resourceArn" }, "tags": { "shape": "TagMap", "documentation": "The tags to be attached to the IoT Device Advisor resource.
" } } }, "TagResourceResponse": { "type": "structure", "members": {} }, "TestCaseDefinitionName": { "type": "string" }, "TestCaseRun": { "type": "structure", "members": { "testCaseRunId": { "shape": "UUID", "documentation": "Provides the test case run ID.
" }, "testCaseDefinitionId": { "shape": "UUID", "documentation": "Provides the test case run definition ID.
" }, "testCaseDefinitionName": { "shape": "TestCaseDefinitionName", "documentation": "Provides the test case run definition name.
" }, "status": { "shape": "Status", "documentation": "Provides the test case run status. Status is one of the following:
PASS
: Test passed.
FAIL
: Test failed.
PENDING
: Test has not started running but is scheduled.
RUNNING
: Test is running.
STOPPING
: Test is performing cleanup steps. You will see this status only if you stop a suite run.
STOPPED
Test is stopped. You will see this status only if you stop a suite run.
PASS_WITH_WARNINGS
: Test passed with warnings.
ERORR
: Test faced an error when running due to an internal issue.
Provides test case run start time.
" }, "endTime": { "shape": "Timestamp", "documentation": "Provides test case run end time.
" }, "logUrl": { "shape": "LogUrl", "documentation": "Provides test case run log URL.
" }, "warnings": { "shape": "Warnings", "documentation": "Provides test case run warnings.
" }, "failure": { "shape": "Failure", "documentation": "Provides test case run failure result.
" }, "testScenarios": { "shape": "TestCaseScenariosList", "documentation": "Provides the test scenarios for the test case run.
" } }, "documentation": "Provides the test case run.
" }, "TestCaseRuns": { "type": "list", "member": { "shape": "TestCaseRun" }, "documentation": "Tests under each group result.
" }, "TestCaseScenario": { "type": "structure", "members": { "testCaseScenarioId": { "shape": "TestCaseScenarioId", "documentation": "Provides test case scenario ID.
" }, "testCaseScenarioType": { "shape": "TestCaseScenarioType", "documentation": "Provides test case scenario type. Type is one of the following:
Advanced
Basic
Provides the test case scenario status. Status is one of the following:
PASS
: Test passed.
FAIL
: Test failed.
PENDING
: Test has not started running but is scheduled.
RUNNING
: Test is running.
STOPPING
: Test is performing cleanup steps. You will see this status only if you stop a suite run.
STOPPED
Test is stopped. You will see this status only if you stop a suite run.
PASS_WITH_WARNINGS
: Test passed with warnings.
ERORR
: Test faced an error when running due to an internal issue.
Provides test case scenario failure result.
" }, "systemMessage": { "shape": "SystemMessage", "documentation": "Provides test case scenario system messages if any.
" } }, "documentation": "Provides test case scenario.
" }, "TestCaseScenarioId": { "type": "string" }, "TestCaseScenarioStatus": { "type": "string", "enum": [ "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "STOPPING", "STOPPED", "PASS_WITH_WARNINGS", "ERROR" ] }, "TestCaseScenarioType": { "type": "string", "enum": [ "Advanced", "Basic" ] }, "TestCaseScenariosList": { "type": "list", "member": { "shape": "TestCaseScenario" } }, "TestResult": { "type": "structure", "members": { "groups": { "shape": "GroupResultList", "documentation": "Show each group of test results.
" } }, "documentation": "Show each group result.
" }, "Timestamp": { "type": "timestamp" }, "Token": { "type": "string", "max": 2000 }, "UUID": { "type": "string", "max": 36, "min": 12 }, "UntagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "shape": "AmazonResourceName", "documentation": "The resource ARN of an IoT Device Advisor resource. This can be SuiteDefinition ARN or SuiteRun ARN.
", "location": "uri", "locationName": "resourceArn" }, "tagKeys": { "shape": "TagKeyList", "documentation": "List of tag keys to remove from the IoT Device Advisor resource.
", "location": "querystring", "locationName": "tagKeys" } } }, "UntagResourceResponse": { "type": "structure", "members": {} }, "UpdateSuiteDefinitionRequest": { "type": "structure", "required": [ "suiteDefinitionId", "suiteDefinitionConfiguration" ], "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the test suite to be updated.
", "location": "uri", "locationName": "suiteDefinitionId" }, "suiteDefinitionConfiguration": { "shape": "SuiteDefinitionConfiguration", "documentation": "Updates a Device Advisor test suite with suite definition configuration.
" } } }, "UpdateSuiteDefinitionResponse": { "type": "structure", "members": { "suiteDefinitionId": { "shape": "UUID", "documentation": "Suite definition ID of the updated test suite.
" }, "suiteDefinitionArn": { "shape": "AmazonResourceName", "documentation": "Amazon Resource Name (ARN) of the updated test suite.
" }, "suiteDefinitionName": { "shape": "SuiteDefinitionName", "documentation": "Updates the suite definition name. This is a required parameter.
" }, "suiteDefinitionVersion": { "shape": "SuiteDefinitionVersion", "documentation": "Suite definition version of the updated test suite.
" }, "createdAt": { "shape": "Timestamp", "documentation": "Timestamp of when the test suite was created.
" }, "lastUpdatedAt": { "shape": "Timestamp", "documentation": "Timestamp of when the test suite was updated.
" } } }, "Warnings": { "type": "string" } }, "documentation": "Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT devices during device software development. Device Advisor provides pre-built tests that you can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core before deploying devices to production. By using Device Advisor, you can confirm that your devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable, receive software updates from IoT Device Management. You can also download signed qualification reports to submit to the Amazon Web Services Partner Network to get your device qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in and wait for it to be tested.
" }