Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeviceOfflineException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeviceRetiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype CancellationStatus where
- newtype DeviceStatus where
- DeviceStatus' { }
- pattern DeviceStatus_OFFLINE :: DeviceStatus
- pattern DeviceStatus_ONLINE :: DeviceStatus
- pattern DeviceStatus_RETIRED :: DeviceStatus
- newtype DeviceType where
- DeviceType' { }
- pattern DeviceType_QPU :: DeviceType
- pattern DeviceType_SIMULATOR :: DeviceType
- newtype QuantumTaskStatus where
- QuantumTaskStatus' { }
- pattern QuantumTaskStatus_CANCELLED :: QuantumTaskStatus
- pattern QuantumTaskStatus_CANCELLING :: QuantumTaskStatus
- pattern QuantumTaskStatus_COMPLETED :: QuantumTaskStatus
- pattern QuantumTaskStatus_CREATED :: QuantumTaskStatus
- pattern QuantumTaskStatus_FAILED :: QuantumTaskStatus
- pattern QuantumTaskStatus_QUEUED :: QuantumTaskStatus
- pattern QuantumTaskStatus_RUNNING :: QuantumTaskStatus
- newtype SearchQuantumTasksFilterOperator where
- SearchQuantumTasksFilterOperator' { }
- pattern SearchQuantumTasksFilterOperator_BETWEEN :: SearchQuantumTasksFilterOperator
- pattern SearchQuantumTasksFilterOperator_EQUAL :: SearchQuantumTasksFilterOperator
- pattern SearchQuantumTasksFilterOperator_GT :: SearchQuantumTasksFilterOperator
- pattern SearchQuantumTasksFilterOperator_GTE :: SearchQuantumTasksFilterOperator
- pattern SearchQuantumTasksFilterOperator_LT :: SearchQuantumTasksFilterOperator
- pattern SearchQuantumTasksFilterOperator_LTE :: SearchQuantumTasksFilterOperator
- data DeviceSummary = DeviceSummary' {}
- newDeviceSummary :: Text -> Text -> DeviceStatus -> DeviceType -> Text -> DeviceSummary
- deviceSummary_deviceArn :: Lens' DeviceSummary Text
- deviceSummary_deviceName :: Lens' DeviceSummary Text
- deviceSummary_deviceStatus :: Lens' DeviceSummary DeviceStatus
- deviceSummary_deviceType :: Lens' DeviceSummary DeviceType
- deviceSummary_providerName :: Lens' DeviceSummary Text
- data QuantumTaskSummary = QuantumTaskSummary' {}
- newQuantumTaskSummary :: UTCTime -> Text -> Text -> Text -> Text -> Integer -> QuantumTaskStatus -> QuantumTaskSummary
- quantumTaskSummary_endedAt :: Lens' QuantumTaskSummary (Maybe UTCTime)
- quantumTaskSummary_tags :: Lens' QuantumTaskSummary (Maybe (HashMap Text Text))
- quantumTaskSummary_createdAt :: Lens' QuantumTaskSummary UTCTime
- quantumTaskSummary_deviceArn :: Lens' QuantumTaskSummary Text
- quantumTaskSummary_outputS3Bucket :: Lens' QuantumTaskSummary Text
- quantumTaskSummary_outputS3Directory :: Lens' QuantumTaskSummary Text
- quantumTaskSummary_quantumTaskArn :: Lens' QuantumTaskSummary Text
- quantumTaskSummary_shots :: Lens' QuantumTaskSummary Integer
- quantumTaskSummary_status :: Lens' QuantumTaskSummary QuantumTaskStatus
- data SearchDevicesFilter = SearchDevicesFilter' {}
- newSearchDevicesFilter :: Text -> NonEmpty Text -> SearchDevicesFilter
- searchDevicesFilter_name :: Lens' SearchDevicesFilter Text
- searchDevicesFilter_values :: Lens' SearchDevicesFilter (NonEmpty Text)
- data SearchQuantumTasksFilter = SearchQuantumTasksFilter' {}
- newSearchQuantumTasksFilter :: Text -> SearchQuantumTasksFilterOperator -> NonEmpty Text -> SearchQuantumTasksFilter
- searchQuantumTasksFilter_name :: Lens' SearchQuantumTasksFilter Text
- searchQuantumTasksFilter_operator :: Lens' SearchQuantumTasksFilter SearchQuantumTasksFilterOperator
- searchQuantumTasksFilter_values :: Lens' SearchQuantumTasksFilter (NonEmpty Text)
Service Configuration
defaultService :: Service Source #
API version 2019-09-01
of the Amazon Braket SDK configuration.
Errors
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The input fails to satisfy the constraints specified by an AWS service.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have sufficient access to perform this action.
_DeviceOfflineException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified device is currently offline.
_DeviceRetiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified device has been retired.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An error occurred due to a conflict.
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request failed because a service quota is exceeded.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The throttling rate limit is met.
_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request processing has failed because of an unknown error, exception, or failure.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource was not found.
CancellationStatus
newtype CancellationStatus Source #
pattern CancellationStatus_CANCELLED :: CancellationStatus | |
pattern CancellationStatus_CANCELLING :: CancellationStatus |
Instances
DeviceStatus
newtype DeviceStatus Source #
pattern DeviceStatus_OFFLINE :: DeviceStatus | |
pattern DeviceStatus_ONLINE :: DeviceStatus | |
pattern DeviceStatus_RETIRED :: DeviceStatus |
Instances
DeviceType
newtype DeviceType Source #
pattern DeviceType_QPU :: DeviceType | |
pattern DeviceType_SIMULATOR :: DeviceType |
Instances
QuantumTaskStatus
newtype QuantumTaskStatus Source #
pattern QuantumTaskStatus_CANCELLED :: QuantumTaskStatus | |
pattern QuantumTaskStatus_CANCELLING :: QuantumTaskStatus | |
pattern QuantumTaskStatus_COMPLETED :: QuantumTaskStatus | |
pattern QuantumTaskStatus_CREATED :: QuantumTaskStatus | |
pattern QuantumTaskStatus_FAILED :: QuantumTaskStatus | |
pattern QuantumTaskStatus_QUEUED :: QuantumTaskStatus | |
pattern QuantumTaskStatus_RUNNING :: QuantumTaskStatus |
Instances
SearchQuantumTasksFilterOperator
newtype SearchQuantumTasksFilterOperator Source #
Instances
DeviceSummary
data DeviceSummary Source #
Includes information about the device.
See: newDeviceSummary
smart constructor.
DeviceSummary' | |
|
Instances
:: Text | |
-> Text | |
-> DeviceStatus | |
-> DeviceType | |
-> Text | |
-> DeviceSummary |
Create a value of DeviceSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deviceArn:DeviceSummary'
, deviceSummary_deviceArn
- The ARN of the device.
$sel:deviceName:DeviceSummary'
, deviceSummary_deviceName
- The name of the device.
$sel:deviceStatus:DeviceSummary'
, deviceSummary_deviceStatus
- The status of the device.
$sel:deviceType:DeviceSummary'
, deviceSummary_deviceType
- The type of the device.
$sel:providerName:DeviceSummary'
, deviceSummary_providerName
- The provider of the device.
deviceSummary_deviceArn :: Lens' DeviceSummary Text Source #
The ARN of the device.
deviceSummary_deviceName :: Lens' DeviceSummary Text Source #
The name of the device.
deviceSummary_deviceStatus :: Lens' DeviceSummary DeviceStatus Source #
The status of the device.
deviceSummary_deviceType :: Lens' DeviceSummary DeviceType Source #
The type of the device.
deviceSummary_providerName :: Lens' DeviceSummary Text Source #
The provider of the device.
QuantumTaskSummary
data QuantumTaskSummary Source #
Includes information about a quantum task.
See: newQuantumTaskSummary
smart constructor.
QuantumTaskSummary' | |
|
Instances
newQuantumTaskSummary Source #
:: UTCTime | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Integer | |
-> QuantumTaskStatus | |
-> QuantumTaskSummary |
Create a value of QuantumTaskSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endedAt:QuantumTaskSummary'
, quantumTaskSummary_endedAt
- The time at which the task finished.
$sel:tags:QuantumTaskSummary'
, quantumTaskSummary_tags
- Displays the key, value pairs of tags associated with this quantum task.
$sel:createdAt:QuantumTaskSummary'
, quantumTaskSummary_createdAt
- The time at which the task was created.
$sel:deviceArn:QuantumTaskSummary'
, quantumTaskSummary_deviceArn
- The ARN of the device the task ran on.
$sel:outputS3Bucket:QuantumTaskSummary'
, quantumTaskSummary_outputS3Bucket
- The S3 bucket where the task result file is stored..
$sel:outputS3Directory:QuantumTaskSummary'
, quantumTaskSummary_outputS3Directory
- The folder in the S3 bucket where the task result file is stored.
$sel:quantumTaskArn:QuantumTaskSummary'
, quantumTaskSummary_quantumTaskArn
- The ARN of the task.
$sel:shots:QuantumTaskSummary'
, quantumTaskSummary_shots
- The shots used for the task.
$sel:status:QuantumTaskSummary'
, quantumTaskSummary_status
- The status of the task.
quantumTaskSummary_endedAt :: Lens' QuantumTaskSummary (Maybe UTCTime) Source #
The time at which the task finished.
quantumTaskSummary_tags :: Lens' QuantumTaskSummary (Maybe (HashMap Text Text)) Source #
Displays the key, value pairs of tags associated with this quantum task.
quantumTaskSummary_createdAt :: Lens' QuantumTaskSummary UTCTime Source #
The time at which the task was created.
quantumTaskSummary_deviceArn :: Lens' QuantumTaskSummary Text Source #
The ARN of the device the task ran on.
quantumTaskSummary_outputS3Bucket :: Lens' QuantumTaskSummary Text Source #
The S3 bucket where the task result file is stored..
quantumTaskSummary_outputS3Directory :: Lens' QuantumTaskSummary Text Source #
The folder in the S3 bucket where the task result file is stored.
quantumTaskSummary_quantumTaskArn :: Lens' QuantumTaskSummary Text Source #
The ARN of the task.
quantumTaskSummary_shots :: Lens' QuantumTaskSummary Integer Source #
The shots used for the task.
quantumTaskSummary_status :: Lens' QuantumTaskSummary QuantumTaskStatus Source #
The status of the task.
SearchDevicesFilter
data SearchDevicesFilter Source #
The filter to use for searching devices.
See: newSearchDevicesFilter
smart constructor.
Instances
newSearchDevicesFilter Source #
:: Text | |
-> NonEmpty Text | |
-> SearchDevicesFilter |
Create a value of SearchDevicesFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SearchDevicesFilter'
, searchDevicesFilter_name
- The name to use to filter results.
$sel:values:SearchDevicesFilter'
, searchDevicesFilter_values
- The values to use to filter results.
searchDevicesFilter_name :: Lens' SearchDevicesFilter Text Source #
The name to use to filter results.
searchDevicesFilter_values :: Lens' SearchDevicesFilter (NonEmpty Text) Source #
The values to use to filter results.
SearchQuantumTasksFilter
data SearchQuantumTasksFilter Source #
A filter to use to search for tasks.
See: newSearchQuantumTasksFilter
smart constructor.
Instances
newSearchQuantumTasksFilter Source #
Create a value of SearchQuantumTasksFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SearchQuantumTasksFilter'
, searchQuantumTasksFilter_name
- The name of the device used for the task.
$sel:operator:SearchQuantumTasksFilter'
, searchQuantumTasksFilter_operator
- An operator to use in the filter.
$sel:values:SearchQuantumTasksFilter'
, searchQuantumTasksFilter_values
- The values to use for the filter.
searchQuantumTasksFilter_name :: Lens' SearchQuantumTasksFilter Text Source #
The name of the device used for the task.
searchQuantumTasksFilter_operator :: Lens' SearchQuantumTasksFilter SearchQuantumTasksFilterOperator Source #
An operator to use in the filter.
searchQuantumTasksFilter_values :: Lens' SearchQuantumTasksFilter (NonEmpty Text) Source #
The values to use for the filter.