types

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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 AccessDeniedException

type AccessDeniedException struct {
	Message *string
}

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type CancellationStatus

type CancellationStatus string
const (
	CancellationStatusCancelling CancellationStatus = "CANCELLING"
	CancellationStatusCancelled  CancellationStatus = "CANCELLED"
)

Enum values for CancellationStatus

func (CancellationStatus) Values added in v0.29.0

Values returns all known values for CancellationStatus. 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 ConflictException

type ConflictException struct {
	Message *string
}

An error occurred due to a conflict.

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 DeviceOfflineException

type DeviceOfflineException struct {
	Message *string
}

The specified device is currently offline.

func (*DeviceOfflineException) Error

func (e *DeviceOfflineException) Error() string

func (*DeviceOfflineException) ErrorCode

func (e *DeviceOfflineException) ErrorCode() string

func (*DeviceOfflineException) ErrorFault

func (e *DeviceOfflineException) ErrorFault() smithy.ErrorFault

func (*DeviceOfflineException) ErrorMessage

func (e *DeviceOfflineException) ErrorMessage() string

type DeviceStatus

type DeviceStatus string
const (
	DeviceStatusOnline  DeviceStatus = "ONLINE"
	DeviceStatusOffline DeviceStatus = "OFFLINE"
)

Enum values for DeviceStatus

func (DeviceStatus) Values added in v0.29.0

func (DeviceStatus) Values() []DeviceStatus

Values returns all known values for DeviceStatus. 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 DeviceSummary

type DeviceSummary struct {

	// The ARN of the device.
	//
	// This member is required.
	DeviceArn *string

	// The name of the device.
	//
	// This member is required.
	DeviceName *string

	// The status of the device.
	//
	// This member is required.
	DeviceStatus DeviceStatus

	// The type of the device.
	//
	// This member is required.
	DeviceType DeviceType

	// The provider of the device.
	//
	// This member is required.
	ProviderName *string
}

Includes information about the device.

type DeviceType

type DeviceType string
const (
	DeviceTypeQpu       DeviceType = "QPU"
	DeviceTypeSimulator DeviceType = "SIMULATOR"
)

Enum values for DeviceType

func (DeviceType) Values added in v0.29.0

func (DeviceType) Values() []DeviceType

Values returns all known values for DeviceType. 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 InternalServiceException

type InternalServiceException struct {
	Message *string
}

The request processing has failed because of an unknown error, exception, or failure.

func (*InternalServiceException) Error

func (e *InternalServiceException) Error() string

func (*InternalServiceException) ErrorCode

func (e *InternalServiceException) ErrorCode() string

func (*InternalServiceException) ErrorFault

func (e *InternalServiceException) ErrorFault() smithy.ErrorFault

func (*InternalServiceException) ErrorMessage

func (e *InternalServiceException) ErrorMessage() string

type QuantumTaskStatus

type QuantumTaskStatus string
const (
	QuantumTaskStatusCreated    QuantumTaskStatus = "CREATED"
	QuantumTaskStatusQueued     QuantumTaskStatus = "QUEUED"
	QuantumTaskStatusRunning    QuantumTaskStatus = "RUNNING"
	QuantumTaskStatusCompleted  QuantumTaskStatus = "COMPLETED"
	QuantumTaskStatusFailed     QuantumTaskStatus = "FAILED"
	QuantumTaskStatusCancelling QuantumTaskStatus = "CANCELLING"
	QuantumTaskStatusCancelled  QuantumTaskStatus = "CANCELLED"
)

Enum values for QuantumTaskStatus

func (QuantumTaskStatus) Values added in v0.29.0

Values returns all known values for QuantumTaskStatus. 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 QuantumTaskSummary

type QuantumTaskSummary struct {

	// The time at which the task was created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The ARN of the device the task ran on.
	//
	// This member is required.
	DeviceArn *string

	// The S3 bucket where the task result file is stored..
	//
	// This member is required.
	OutputS3Bucket *string

	// The folder in the S3 bucket where the task result file is stored.
	//
	// This member is required.
	OutputS3Directory *string

	// The ARN of the task.
	//
	// This member is required.
	QuantumTaskArn *string

	// The shots used for the task.
	//
	// This member is required.
	Shots *int64

	// The status of the task.
	//
	// This member is required.
	Status QuantumTaskStatus

	// The time at which the task finished.
	EndedAt *time.Time

	// Displays the key, value pairs of tags associated with this quantum task.
	Tags map[string]string
}

Includes information about a quantum task.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string
}

The specified resource was not found.

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 SearchDevicesFilter

type SearchDevicesFilter struct {

	// The name to use to filter results.
	//
	// This member is required.
	Name *string

	// The values to use to filter results.
	//
	// This member is required.
	Values []string
}

The filter to use for searching devices.

type SearchQuantumTasksFilter

type SearchQuantumTasksFilter struct {

	// The name of the device used for the task.
	//
	// This member is required.
	Name *string

	// An operator to use in the filter.
	//
	// This member is required.
	Operator SearchQuantumTasksFilterOperator

	// The values to use for the filter.
	//
	// This member is required.
	Values []string
}

A filter to use to search for tasks.

type SearchQuantumTasksFilterOperator

type SearchQuantumTasksFilterOperator string
const (
	SearchQuantumTasksFilterOperatorLt      SearchQuantumTasksFilterOperator = "LT"
	SearchQuantumTasksFilterOperatorLte     SearchQuantumTasksFilterOperator = "LTE"
	SearchQuantumTasksFilterOperatorEqual   SearchQuantumTasksFilterOperator = "EQUAL"
	SearchQuantumTasksFilterOperatorGt      SearchQuantumTasksFilterOperator = "GT"
	SearchQuantumTasksFilterOperatorGte     SearchQuantumTasksFilterOperator = "GTE"
	SearchQuantumTasksFilterOperatorBetween SearchQuantumTasksFilterOperator = "BETWEEN"
)

Enum values for SearchQuantumTasksFilterOperator

func (SearchQuantumTasksFilterOperator) Values added in v0.29.0

Values returns all known values for SearchQuantumTasksFilterOperator. 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 ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	Message *string
}

The request failed because a service quota is exceeded.

func (*ServiceQuotaExceededException) Error

func (*ServiceQuotaExceededException) ErrorCode

func (e *ServiceQuotaExceededException) ErrorCode() string

func (*ServiceQuotaExceededException) ErrorFault

func (*ServiceQuotaExceededException) ErrorMessage

func (e *ServiceQuotaExceededException) ErrorMessage() string

type ThrottlingException

type ThrottlingException struct {
	Message *string
}

The throttling rate limit is met.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type ValidationException

type ValidationException struct {
	Message *string
}

The input fails to satisfy the constraints specified by an AWS service.

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