1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Defines the Amazon Braket job to be created. Specifies the container image the
// job uses and the paths to the Python scripts used for entry and training.
type AlgorithmSpecification struct {
// The container image used to create an Amazon Braket job.
ContainerImage *ContainerImage
// Configures the paths to the Python scripts used for entry and training.
ScriptModeConfig *ScriptModeConfig
noSmithyDocumentSerde
}
// The Amazon Braket resource and the association type.
type Association struct {
// The Amazon Braket resource arn.
//
// This member is required.
Arn *string
// The association type for the specified Amazon Braket resource arn.
//
// This member is required.
Type AssociationType
noSmithyDocumentSerde
}
// The container image used to create an Amazon Braket job.
type ContainerImage struct {
// The URI locating the container image.
//
// This member is required.
Uri *string
noSmithyDocumentSerde
}
// Information about the source of the data used by the Amazon Braket job.
type DataSource struct {
// Information about the data stored in Amazon S3 used by the Amazon Braket job.
//
// This member is required.
S3DataSource *S3DataSource
noSmithyDocumentSerde
}
// Configures the quantum processing units (QPUs) or simulator used to create and
// run an Amazon Braket job.
type DeviceConfig struct {
// The primary quantum processing unit (QPU) or simulator used to create and run
// an Amazon Braket job.
//
// This member is required.
Device *string
noSmithyDocumentSerde
}
// Information about tasks and jobs queued on a device.
type DeviceQueueInfo struct {
// The name of the queue.
//
// This member is required.
Queue QueueName
// The number of jobs or tasks in the queue for a given device.
//
// This member is required.
QueueSize *string
// Optional. Specifies the priority of the queue. Tasks in a priority queue are
// processed before the tasks in a normal queue.
QueuePriority QueuePriority
noSmithyDocumentSerde
}
// Includes information about the device.
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
noSmithyDocumentSerde
}
// Information about the queue for a specified job.
type HybridJobQueueInfo struct {
// Current position of the job in the jobs queue.
//
// This member is required.
Position *string
// The name of the queue.
//
// This member is required.
Queue QueueName
// Optional. Provides more information about the queue position. For example, if
// the job is complete and no longer in the queue, the message field contains that
// information.
Message *string
noSmithyDocumentSerde
}
// A list of parameters that specify the input channels, type of input data, and
// where it is located.
type InputFileConfig struct {
// A named input source that an Amazon Braket job can consume.
//
// This member is required.
ChannelName *string
// The location of the channel data.
//
// This member is required.
DataSource *DataSource
// The MIME type of the data.
ContentType *string
noSmithyDocumentSerde
}
// Configures the resource instances to use while running the Amazon Braket hybrid
// job on Amazon Braket.
type InstanceConfig struct {
// Configures the type resource instances to use while running an Amazon Braket
// hybrid job.
//
// This member is required.
InstanceType InstanceType
// The size of the storage volume, in GB, that user wants to provision.
//
// This member is required.
VolumeSizeInGb *int32
// Configures the number of resource instances to use while running an Amazon
// Braket job on Amazon Braket. The default value is 1.
InstanceCount *int32
noSmithyDocumentSerde
}
// Contains information about the output locations for job checkpoint data.
type JobCheckpointConfig struct {
// Identifies the S3 path where you want Amazon Braket to store checkpoints. For
// example, s3://bucket-name/key-name-prefix .
//
// This member is required.
S3Uri *string
// (Optional) The local directory where checkpoints are written. The default
// directory is /opt/braket/checkpoints/ .
LocalPath *string
noSmithyDocumentSerde
}
// Details about the type and time events occurred related to the Amazon Braket
// job.
type JobEventDetails struct {
// The type of event that occurred related to the Amazon Braket job.
EventType JobEventType
// A message describing the event that occurred related to the Amazon Braket job.
Message *string
// The type of event that occurred related to the Amazon Braket job.
TimeOfEvent *time.Time
noSmithyDocumentSerde
}
// Specifies the path to the S3 location where you want to store job artifacts and
// the encryption key used to store them.
type JobOutputDataConfig struct {
// Identifies the S3 path where you want Amazon Braket to store the job training
// artifacts. For example, s3://bucket-name/key-name-prefix .
//
// This member is required.
S3Path *string
// The AWS Key Management Service (AWS KMS) key that Amazon Braket uses to encrypt
// the job training artifacts at rest using Amazon S3 server-side encryption.
KmsKeyId *string
noSmithyDocumentSerde
}
// Specifies limits for how long an Amazon Braket job can run.
type JobStoppingCondition struct {
// The maximum length of time, in seconds, that an Amazon Braket job can run.
MaxRuntimeInSeconds *int32
noSmithyDocumentSerde
}
// Provides summary information about an Amazon Braket job.
type JobSummary struct {
// The date and time that the Amazon Braket job was created.
//
// This member is required.
CreatedAt *time.Time
// Provides summary information about the primary device used by an Amazon Braket
// job.
//
// This member is required.
Device *string
// The ARN of the Amazon Braket job.
//
// This member is required.
JobArn *string
// The name of the Amazon Braket job.
//
// This member is required.
JobName *string
// The status of the Amazon Braket job.
//
// This member is required.
Status JobPrimaryStatus
// The date and time that the Amazon Braket job ended.
EndedAt *time.Time
// The date and time that the Amazon Braket job was started.
StartedAt *time.Time
// A tag object that consists of a key and an optional value, used to manage
// metadata for Amazon Braket resources.
Tags map[string]string
noSmithyDocumentSerde
}
// Information about the queue for the specified quantum task.
type QuantumTaskQueueInfo struct {
// Current position of the task in the quantum tasks queue.
//
// This member is required.
Position *string
// The name of the queue.
//
// This member is required.
Queue QueueName
// Optional. Provides more information about the queue position. For example, if
// the task is complete and no longer in the queue, the message field contains that
// information.
Message *string
// Optional. Specifies the priority of the queue. Quantum tasks in a priority
// queue are processed before the tasks in a normal queue.
QueuePriority QueuePriority
noSmithyDocumentSerde
}
// Includes information about a quantum task.
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
noSmithyDocumentSerde
}
// Information about the data stored in Amazon S3 used by the Amazon Braket job.
type S3DataSource struct {
// Depending on the value specified for the S3DataType , identifies either a key
// name prefix or a manifest that locates the S3 data source.
//
// This member is required.
S3Uri *string
noSmithyDocumentSerde
}
// Contains information about the Python scripts used for entry and by an Amazon
// Braket job.
type ScriptModeConfig struct {
// The path to the Python script that serves as the entry point for an Amazon
// Braket job.
//
// This member is required.
EntryPoint *string
// The URI that specifies the S3 path to the Python script module that contains
// the training script used by an Amazon Braket job.
//
// This member is required.
S3Uri *string
// The type of compression used by the Python scripts for an Amazon Braket job.
CompressionType CompressionType
noSmithyDocumentSerde
}
// The filter to use for searching devices.
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
noSmithyDocumentSerde
}
// A filter used to search for Amazon Braket jobs.
type SearchJobsFilter struct {
// The name to use for the jobs filter.
//
// This member is required.
Name *string
// An operator to use for the jobs filter.
//
// This member is required.
Operator SearchJobsFilterOperator
// The values to use for the jobs filter.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// A filter to use to search for tasks.
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
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|