types

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConflictException

type ConflictException struct {
	Message *string
}

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

Lists all the devices under test

type GroupResult

type GroupResult struct {

	// Show Group Result Id.
	GroupId *string

	// Show Group Result Name.
	GroupName *string

	// Show Group Result.
	Tests []TestCaseRun
}

Show Group Result.

type InternalServerException

type InternalServerException struct {
	Message *string
}

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

Sends Resource Not Found Exception.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) 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"
	StatusPassWithWarnings Status = "PASS_WITH_WARNINGS"
	StatusError            Status = "ERROR"
)

Enum values for Status

func (Status) Values

func (Status) Values() []Status

Values returns all known values for Status. 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 SuiteDefinitionConfiguration

type SuiteDefinitionConfiguration struct {

	// Gets 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
}

Gets Suite Definition Configuration.

type SuiteDefinitionInformation

type SuiteDefinitionInformation struct {

	// Gets the information of when the test suite was created.
	CreatedAt *time.Time

	// Specifies the devices under test.
	DefaultDevices []DeviceUnderTest

	// Gets the test suites which will be used for qualification.
	IntendedForQualification bool

	// Get suite definition Id.
	SuiteDefinitionId *string

	// Get test suite name.
	SuiteDefinitionName *string
}

Get suite definition information.

type SuiteRunConfiguration

type SuiteRunConfiguration struct {

	// Gets the primary device for suite run.
	PrimaryDevice *DeviceUnderTest

	// Gets the secondary device for suite run.
	SecondaryDevice *DeviceUnderTest

	// Gets test case list.
	SelectedTestList []string
}

Gets suite run configuration.

type SuiteRunInformation

type SuiteRunInformation struct {

	// Get suite run information based on time suite was created.
	CreatedAt *time.Time

	// Get suite run information based on end time of the run.
	EndAt *time.Time

	// Get suite run information based on result of the test suite run.
	Failed int32

	// Get suite run information based on result of the test suite run.
	Passed int32

	// Get suite run information based on start time of the run.
	StartedAt *time.Time

	// Get suite run information based on test run status.
	Status SuiteRunStatus

	// Get suite run information based on suite definition Id.
	SuiteDefinitionId *string

	// Get suite run information based on suite definition name.
	SuiteDefinitionName *string

	// Get suite run information based on suite definition version.
	SuiteDefinitionVersion *string

	// Get suite run information based on suite run Id.
	SuiteRunId *string
}

Get suite run information.

type SuiteRunStatus

type SuiteRunStatus string
const (
	SuiteRunStatusPass             SuiteRunStatus = "PASS"
	SuiteRunStatusFail             SuiteRunStatus = "FAIL"
	SuiteRunStatusCanceled         SuiteRunStatus = "CANCELED"
	SuiteRunStatusPending          SuiteRunStatus = "PENDING"
	SuiteRunStatusRunning          SuiteRunStatus = "RUNNING"
	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 TestCase

type TestCase struct {

	// Shows test case configuration.
	Configuration map[string]string

	// Shows test case name.
	Name *string

	// Specifies a test.
	Test *TestCaseDefinition
}

Shows tests in a test group.

type TestCaseCategory

type TestCaseCategory struct {

	// Lists all the tests name in the specified category.
	Name *string

	// Lists all the tests in the specified category.
	Tests []TestCase
}

Gets the test case category.

type TestCaseDefinition

type TestCaseDefinition struct {

	// Provides test case definition Id.
	Id *string

	// Provides test case definition version.
	TestCaseVersion *string
}

Provides test case definition.

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 test case run status.
	Status Status

	// Provides test case run definition Id.
	TestCaseDefinitionId *string

	// Provides test case run definition Name.
	TestCaseDefinitionName *string

	// Provides test case run Id.
	TestCaseRunId *string

	// Provides test case run warnings.
	Warnings *string
}

Provides test case run.

type TestResult

type TestResult struct {

	// Show each group of test results.
	Groups []GroupResult
}

Show each group result.

type ValidationException

type ValidationException struct {
	Message *string
}

Sends invalid request 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL