Documentation ¶
Index ¶
- type ConflictException
- type DeviceUnderTest
- type GroupResult
- type InternalServerException
- type ResourceNotFoundException
- type Status
- type SuiteDefinitionConfiguration
- type SuiteDefinitionInformation
- type SuiteRunConfiguration
- type SuiteRunInformation
- type SuiteRunStatus
- type TestCaseRun
- type TestResult
- type ValidationException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConflictException ¶
type ConflictException struct { Message *string // contains filtered or unexported fields }
Sends a Conflict Exception.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type DeviceUnderTest ¶
type DeviceUnderTest struct { // Lists devices certificate ARN. CertificateArn *string // Lists devices thing ARN. ThingArn *string // contains filtered or unexported fields }
Information of a test device. A thing ARN or a certificate ARN is required.
type GroupResult ¶
type GroupResult struct { // Group result ID. GroupId *string // Group Result Name. GroupName *string // Tests under Group Result. Tests []TestCaseRun // contains filtered or unexported fields }
Show Group Result.
type InternalServerException ¶
type InternalServerException struct { Message *string // contains filtered or unexported fields }
Sends an Internal Failure exception.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string // contains filtered or unexported fields }
Sends a Resource Not Found exception.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type Status ¶
type Status string
const ( StatusPass Status = "PASS" StatusFail Status = "FAIL" StatusCanceled Status = "CANCELED" StatusPending Status = "PENDING" StatusRunning Status = "RUNNING" StatusStopping Status = "STOPPING" StatusStopped Status = "STOPPED" StatusPassWithWarnings Status = "PASS_WITH_WARNINGS" StatusError Status = "ERROR" )
Enum values for Status
type SuiteDefinitionConfiguration ¶
type SuiteDefinitionConfiguration struct { // Gets the device permission ARN. DevicePermissionRoleArn *string // Gets the devices configured. Devices []DeviceUnderTest // Gets the tests intended for qualification in a suite. IntendedForQualification bool // Gets test suite root group. RootGroup *string // Gets Suite Definition Configuration name. SuiteDefinitionName *string // contains filtered or unexported fields }
Gets Suite Definition Configuration.
type SuiteDefinitionInformation ¶
type SuiteDefinitionInformation struct { // Date (in Unix epoch time) when the test suite was created. CreatedAt *time.Time // Specifies the devices that are under test for the test suite. DefaultDevices []DeviceUnderTest // Specifies if the test suite is intended for qualification. IntendedForQualification bool // Suite definition ID of the test suite. SuiteDefinitionId *string // Suite name of the test suite. SuiteDefinitionName *string // contains filtered or unexported fields }
Information about the suite definition.
type SuiteRunConfiguration ¶
type SuiteRunConfiguration struct { // TRUE if multiple test suites run in parallel. ParallelRun bool // Gets the primary device for suite run. PrimaryDevice *DeviceUnderTest // Gets test case list. SelectedTestList []string // contains filtered or unexported fields }
Gets suite run configuration.
type SuiteRunInformation ¶
type SuiteRunInformation struct { // Date (in Unix epoch time) when the suite run was created. CreatedAt *time.Time // Date (in Unix epoch time) when the suite run ended. EndAt *time.Time // Number of test cases that failed in the suite run. Failed int32 // Number of test cases that passed in the suite run. Passed int32 // Date (in Unix epoch time) when the suite run was started. StartedAt *time.Time // Status of the suite run. Status SuiteRunStatus // Suite definition ID of the suite run. SuiteDefinitionId *string // Suite definition name of the suite run. SuiteDefinitionName *string // Suite definition version of the suite run. SuiteDefinitionVersion *string // Suite run ID of the suite run. SuiteRunId *string // contains filtered or unexported fields }
Information about the suite run. Requires permission to access the SuiteRunInformation (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.
type SuiteRunStatus ¶
type SuiteRunStatus string
const ( SuiteRunStatusPass SuiteRunStatus = "PASS" SuiteRunStatusFail SuiteRunStatus = "FAIL" SuiteRunStatusCanceled SuiteRunStatus = "CANCELED" SuiteRunStatusPending SuiteRunStatus = "PENDING" SuiteRunStatusRunning SuiteRunStatus = "RUNNING" SuiteRunStatusStopping SuiteRunStatus = "STOPPING" SuiteRunStatusStopped SuiteRunStatus = "STOPPED" SuiteRunStatusPassWithWarnings SuiteRunStatus = "PASS_WITH_WARNINGS" SuiteRunStatusError SuiteRunStatus = "ERROR" )
Enum values for SuiteRunStatus
func (SuiteRunStatus) Values ¶
func (SuiteRunStatus) Values() []SuiteRunStatus
Values returns all known values for SuiteRunStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type TestCaseRun ¶
type TestCaseRun struct { // Provides test case run end time. EndTime *time.Time // Provides test case run failure result. Failure *string // Provides test case run log URL. LogUrl *string // Provides test case run start time. StartTime *time.Time // 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. Status Status // Provides the test case run definition ID. TestCaseDefinitionId *string // Provides the test case run definition name. TestCaseDefinitionName *string // Provides the test case run ID. TestCaseRunId *string // Provides test case run warnings. Warnings *string // contains filtered or unexported fields }
Provides the test case run.
type TestResult ¶
type TestResult struct { // Show each group of test results. Groups []GroupResult // contains filtered or unexported fields }
Show each group result.
type ValidationException ¶
type ValidationException struct { Message *string // contains filtered or unexported fields }
Sends a validation exception.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string