Type definitions#
Auto-generated documentation for Braket type annotations stubs module mypy-boto3-braket.
ContainerImageTypeDef#
# ContainerImageTypeDef definition
class ContainerImageTypeDef(TypedDict):
uri: str,
ScriptModeConfigTypeDef#
# ScriptModeConfigTypeDef definition
class ScriptModeConfigTypeDef(TypedDict):
entryPoint: str,
s3Uri: str,
compressionType: NotRequired[CompressionTypeType], # (1)
AssociationTypeDef#
# AssociationTypeDef definition
class AssociationTypeDef(TypedDict):
arn: str,
type: AssociationTypeType, # (1)
CancelJobRequestRequestTypeDef#
# CancelJobRequestRequestTypeDef definition
class CancelJobRequestRequestTypeDef(TypedDict):
jobArn: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
CancelQuantumTaskRequestRequestTypeDef#
# CancelQuantumTaskRequestRequestTypeDef definition
class CancelQuantumTaskRequestRequestTypeDef(TypedDict):
clientToken: str,
quantumTaskArn: str,
DeviceConfigTypeDef#
# DeviceConfigTypeDef definition
class DeviceConfigTypeDef(TypedDict):
device: str,
InstanceConfigTypeDef#
# InstanceConfigTypeDef definition
class InstanceConfigTypeDef(TypedDict):
instanceType: InstanceTypeType, # (1)
volumeSizeInGb: int,
instanceCount: NotRequired[int],
- See InstanceTypeType
JobCheckpointConfigTypeDef#
# JobCheckpointConfigTypeDef definition
class JobCheckpointConfigTypeDef(TypedDict):
s3Uri: str,
localPath: NotRequired[str],
JobOutputDataConfigTypeDef#
# JobOutputDataConfigTypeDef definition
class JobOutputDataConfigTypeDef(TypedDict):
s3Path: str,
kmsKeyId: NotRequired[str],
JobStoppingConditionTypeDef#
# JobStoppingConditionTypeDef definition
class JobStoppingConditionTypeDef(TypedDict):
maxRuntimeInSeconds: NotRequired[int],
S3DataSourceTypeDef#
# S3DataSourceTypeDef definition
class S3DataSourceTypeDef(TypedDict):
s3Uri: str,
DeviceQueueInfoTypeDef#
# DeviceQueueInfoTypeDef definition
class DeviceQueueInfoTypeDef(TypedDict):
queue: QueueNameType, # (1)
queueSize: str,
queuePriority: NotRequired[QueuePriorityType], # (2)
- See QueueNameType
- See QueuePriorityType
DeviceSummaryTypeDef#
# DeviceSummaryTypeDef definition
class DeviceSummaryTypeDef(TypedDict):
deviceArn: str,
deviceName: str,
deviceStatus: DeviceStatusType, # (1)
deviceType: DeviceTypeType, # (2)
providerName: str,
- See DeviceStatusType
- See DeviceTypeType
GetDeviceRequestRequestTypeDef#
# GetDeviceRequestRequestTypeDef definition
class GetDeviceRequestRequestTypeDef(TypedDict):
deviceArn: str,
GetJobRequestRequestTypeDef#
# GetJobRequestRequestTypeDef definition
class GetJobRequestRequestTypeDef(TypedDict):
jobArn: str,
additionalAttributeNames: NotRequired[Sequence[HybridJobAdditionalAttributeNameType]], # (1)
HybridJobQueueInfoTypeDef#
# HybridJobQueueInfoTypeDef definition
class HybridJobQueueInfoTypeDef(TypedDict):
position: str,
queue: QueueNameType, # (1)
message: NotRequired[str],
- See QueueNameType
JobEventDetailsTypeDef#
# JobEventDetailsTypeDef definition
class JobEventDetailsTypeDef(TypedDict):
eventType: NotRequired[JobEventTypeType], # (1)
message: NotRequired[str],
timeOfEvent: NotRequired[datetime],
- See JobEventTypeType
GetQuantumTaskRequestRequestTypeDef#
# GetQuantumTaskRequestRequestTypeDef definition
class GetQuantumTaskRequestRequestTypeDef(TypedDict):
quantumTaskArn: str,
additionalAttributeNames: NotRequired[Sequence[QuantumTaskAdditionalAttributeNameType]], # (1)
QuantumTaskQueueInfoTypeDef#
# QuantumTaskQueueInfoTypeDef definition
class QuantumTaskQueueInfoTypeDef(TypedDict):
position: str,
queue: QueueNameType, # (1)
message: NotRequired[str],
queuePriority: NotRequired[QueuePriorityType], # (2)
- See QueueNameType
- See QueuePriorityType
JobSummaryTypeDef#
# JobSummaryTypeDef definition
class JobSummaryTypeDef(TypedDict):
createdAt: datetime,
device: str,
jobArn: str,
jobName: str,
status: JobPrimaryStatusType, # (1)
endedAt: NotRequired[datetime],
startedAt: NotRequired[datetime],
tags: NotRequired[Dict[str, str]],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
QuantumTaskSummaryTypeDef#
# QuantumTaskSummaryTypeDef definition
class QuantumTaskSummaryTypeDef(TypedDict):
createdAt: datetime,
deviceArn: str,
outputS3Bucket: str,
outputS3Directory: str,
quantumTaskArn: str,
shots: int,
status: QuantumTaskStatusType, # (1)
endedAt: NotRequired[datetime],
tags: NotRequired[Dict[str, str]],
SearchDevicesFilterTypeDef#
# SearchDevicesFilterTypeDef definition
class SearchDevicesFilterTypeDef(TypedDict):
name: str,
values: Sequence[str],
SearchJobsFilterTypeDef#
# SearchJobsFilterTypeDef definition
class SearchJobsFilterTypeDef(TypedDict):
name: str,
operator: SearchJobsFilterOperatorType, # (1)
values: Sequence[str],
SearchQuantumTasksFilterTypeDef#
# SearchQuantumTasksFilterTypeDef definition
class SearchQuantumTasksFilterTypeDef(TypedDict):
name: str,
operator: SearchQuantumTasksFilterOperatorType, # (1)
values: Sequence[str],
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
AlgorithmSpecificationTypeDef#
# AlgorithmSpecificationTypeDef definition
class AlgorithmSpecificationTypeDef(TypedDict):
containerImage: NotRequired[ContainerImageTypeDef], # (1)
scriptModeConfig: NotRequired[ScriptModeConfigTypeDef], # (2)
CreateQuantumTaskRequestRequestTypeDef#
# CreateQuantumTaskRequestRequestTypeDef definition
class CreateQuantumTaskRequestRequestTypeDef(TypedDict):
action: str,
clientToken: str,
deviceArn: str,
outputS3Bucket: str,
outputS3KeyPrefix: str,
shots: int,
associations: NotRequired[Sequence[AssociationTypeDef]], # (1)
deviceParameters: NotRequired[str],
jobToken: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
CancelJobResponseTypeDef#
# CancelJobResponseTypeDef definition
class CancelJobResponseTypeDef(TypedDict):
cancellationStatus: CancellationStatusType, # (1)
jobArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CancelQuantumTaskResponseTypeDef#
# CancelQuantumTaskResponseTypeDef definition
class CancelQuantumTaskResponseTypeDef(TypedDict):
cancellationStatus: CancellationStatusType, # (1)
quantumTaskArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateJobResponseTypeDef#
# CreateJobResponseTypeDef definition
class CreateJobResponseTypeDef(TypedDict):
jobArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateQuantumTaskResponseTypeDef#
# CreateQuantumTaskResponseTypeDef definition
class CreateQuantumTaskResponseTypeDef(TypedDict):
quantumTaskArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DataSourceTypeDef#
# DataSourceTypeDef definition
class DataSourceTypeDef(TypedDict):
s3DataSource: S3DataSourceTypeDef, # (1)
GetDeviceResponseTypeDef#
# GetDeviceResponseTypeDef definition
class GetDeviceResponseTypeDef(TypedDict):
deviceArn: str,
deviceCapabilities: str,
deviceName: str,
deviceQueueInfo: List[DeviceQueueInfoTypeDef], # (1)
deviceStatus: DeviceStatusType, # (2)
deviceType: DeviceTypeType, # (3)
providerName: str,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See DeviceQueueInfoTypeDef
- See DeviceStatusType
- See DeviceTypeType
- See ResponseMetadataTypeDef
SearchDevicesResponseTypeDef#
# SearchDevicesResponseTypeDef definition
class SearchDevicesResponseTypeDef(TypedDict):
devices: List[DeviceSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)