aws-sdk-braket 1.56.0 → 1.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-braket/client.rb +248 -229
- data/lib/aws-sdk-braket/client_api.rb +101 -77
- data/lib/aws-sdk-braket/errors.rb +10 -0
- data/lib/aws-sdk-braket/types.rb +580 -477
- data/lib/aws-sdk-braket.rb +1 -1
- data/sig/client.rbs +88 -86
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +91 -73
- metadata +3 -3
@@ -476,15 +476,15 @@ module Aws::Braket
|
|
476
476
|
|
477
477
|
# @!group API Operations
|
478
478
|
|
479
|
-
# Cancels an Amazon Braket job.
|
479
|
+
# Cancels an Amazon Braket hybrid job.
|
480
480
|
#
|
481
481
|
# @option params [required, String] :job_arn
|
482
|
-
# The ARN of the Amazon Braket job to cancel.
|
482
|
+
# The ARN of the Amazon Braket hybrid job to cancel.
|
483
483
|
#
|
484
484
|
# @return [Types::CancelJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
485
485
|
#
|
486
|
-
# * {Types::CancelJobResponse#cancellation_status #cancellation_status} => String
|
487
486
|
# * {Types::CancelJobResponse#job_arn #job_arn} => String
|
487
|
+
# * {Types::CancelJobResponse#cancellation_status #cancellation_status} => String
|
488
488
|
#
|
489
489
|
# @example Request syntax with placeholder values
|
490
490
|
#
|
@@ -494,8 +494,8 @@ module Aws::Braket
|
|
494
494
|
#
|
495
495
|
# @example Response structure
|
496
496
|
#
|
497
|
-
# resp.cancellation_status #=> String, one of "CANCELLING", "CANCELLED"
|
498
497
|
# resp.job_arn #=> String
|
498
|
+
# resp.cancellation_status #=> String, one of "CANCELLING", "CANCELLED"
|
499
499
|
#
|
500
500
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelJob AWS API Documentation
|
501
501
|
#
|
@@ -508,31 +508,31 @@ module Aws::Braket
|
|
508
508
|
|
509
509
|
# Cancels the specified task.
|
510
510
|
#
|
511
|
+
# @option params [required, String] :quantum_task_arn
|
512
|
+
# The ARN of the quantum task to cancel.
|
513
|
+
#
|
511
514
|
# @option params [required, String] :client_token
|
512
|
-
# The client token associated with the request.
|
515
|
+
# The client token associated with the cancellation request.
|
513
516
|
#
|
514
517
|
# **A suitable default value is auto-generated.** You should normally
|
515
518
|
# not need to pass this option.**
|
516
519
|
#
|
517
|
-
# @option params [required, String] :quantum_task_arn
|
518
|
-
# The ARN of the task to cancel.
|
519
|
-
#
|
520
520
|
# @return [Types::CancelQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
521
521
|
#
|
522
|
-
# * {Types::CancelQuantumTaskResponse#cancellation_status #cancellation_status} => String
|
523
522
|
# * {Types::CancelQuantumTaskResponse#quantum_task_arn #quantum_task_arn} => String
|
523
|
+
# * {Types::CancelQuantumTaskResponse#cancellation_status #cancellation_status} => String
|
524
524
|
#
|
525
525
|
# @example Request syntax with placeholder values
|
526
526
|
#
|
527
527
|
# resp = client.cancel_quantum_task({
|
528
|
-
# client_token: "String64", # required
|
529
528
|
# quantum_task_arn: "QuantumTaskArn", # required
|
529
|
+
# client_token: "String64", # required
|
530
530
|
# })
|
531
531
|
#
|
532
532
|
# @example Response structure
|
533
533
|
#
|
534
|
-
# resp.cancellation_status #=> String, one of "CANCELLING", "CANCELLED"
|
535
534
|
# resp.quantum_task_arn #=> String
|
535
|
+
# resp.cancellation_status #=> String, one of "CANCELLING", "CANCELLED"
|
536
536
|
#
|
537
537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelQuantumTask AWS API Documentation
|
538
538
|
#
|
@@ -543,63 +543,70 @@ module Aws::Braket
|
|
543
543
|
req.send_request(options)
|
544
544
|
end
|
545
545
|
|
546
|
-
# Creates an Amazon Braket job.
|
547
|
-
#
|
548
|
-
# @option params [required, Types::AlgorithmSpecification] :algorithm_specification
|
549
|
-
# Definition of the Amazon Braket job to be created. Specifies the
|
550
|
-
# container image the job uses and information about the Python scripts
|
551
|
-
# used for entry and training.
|
552
|
-
#
|
553
|
-
# @option params [Array<Types::Association>] :associations
|
554
|
-
# The list of Amazon Braket resources associated with the hybrid job.
|
555
|
-
#
|
556
|
-
# @option params [Types::JobCheckpointConfig] :checkpoint_config
|
557
|
-
# Information about the output locations for job checkpoint data.
|
546
|
+
# Creates an Amazon Braket hybrid job.
|
558
547
|
#
|
559
548
|
# @option params [required, String] :client_token
|
560
|
-
#
|
561
|
-
# idempotent.
|
549
|
+
# The client token associated with this request that guarantees that the
|
550
|
+
# request is idempotent.
|
562
551
|
#
|
563
552
|
# **A suitable default value is auto-generated.** You should normally
|
564
553
|
# not need to pass this option.**
|
565
554
|
#
|
566
|
-
# @option params [required, Types::
|
567
|
-
#
|
568
|
-
#
|
569
|
-
#
|
570
|
-
# @option params [Hash<String,String>] :hyper_parameters
|
571
|
-
# Algorithm-specific parameters used by an Amazon Braket job that
|
572
|
-
# influence the quality of the training job. The values are set with a
|
573
|
-
# string of JSON key:value pairs, where the key is the name of the
|
574
|
-
# hyperparameter and the value is the value of th hyperparameter.
|
555
|
+
# @option params [required, Types::AlgorithmSpecification] :algorithm_specification
|
556
|
+
# Definition of the Amazon Braket job to be created. Specifies the
|
557
|
+
# container image the job uses and information about the Python scripts
|
558
|
+
# used for entry and training.
|
575
559
|
#
|
576
560
|
# @option params [Array<Types::InputFileConfig>] :input_data_config
|
577
561
|
# A list of parameters that specify the name and type of input data and
|
578
562
|
# where it is located.
|
579
563
|
#
|
580
|
-
# @option params [required, Types::
|
581
|
-
#
|
582
|
-
#
|
564
|
+
# @option params [required, Types::JobOutputDataConfig] :output_data_config
|
565
|
+
# The path to the S3 location where you want to store hybrid job
|
566
|
+
# artifacts and the encryption key used to store them.
|
583
567
|
#
|
584
|
-
# @option params [
|
585
|
-
#
|
568
|
+
# @option params [Types::JobCheckpointConfig] :checkpoint_config
|
569
|
+
# Information about the output locations for hybrid job checkpoint data.
|
586
570
|
#
|
587
|
-
# @option params [required,
|
588
|
-
# The
|
589
|
-
# the encryption key used to store them.
|
571
|
+
# @option params [required, String] :job_name
|
572
|
+
# The name of the Amazon Braket hybrid job.
|
590
573
|
#
|
591
574
|
# @option params [required, String] :role_arn
|
592
575
|
# The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can
|
593
576
|
# assume to perform tasks on behalf of a user. It can access user
|
594
577
|
# resources, run an Amazon Braket job container on behalf of user, and
|
595
|
-
# output
|
578
|
+
# output results and hybrid job details to the users' s3 buckets.
|
596
579
|
#
|
597
580
|
# @option params [Types::JobStoppingCondition] :stopping_condition
|
598
|
-
# The user-defined criteria that specifies when a job stops
|
581
|
+
# The user-defined criteria that specifies when a hybrid job stops
|
582
|
+
# running.
|
583
|
+
#
|
584
|
+
# @option params [required, Types::InstanceConfig] :instance_config
|
585
|
+
# Configuration of the resource instances to use while running the
|
586
|
+
# hybrid job on Amazon Braket.
|
587
|
+
#
|
588
|
+
# @option params [Hash<String,String>] :hyper_parameters
|
589
|
+
# Algorithm-specific parameters used by an Amazon Braket hybrid job that
|
590
|
+
# influence the quality of the training job. The values are set with a
|
591
|
+
# map of JSON key:value pairs, where the key is the name of the
|
592
|
+
# hyperparameter and the value is the value of the hyperparameter.
|
593
|
+
#
|
594
|
+
# Do not include any security-sensitive information including account
|
595
|
+
# access IDs, secrets, or tokens in any hyperparameter fields. As part
|
596
|
+
# of the shared responsibility model, you are responsible for any
|
597
|
+
# potential exposure, unauthorized access, or compromise of your
|
598
|
+
# sensitive data if caused by security-sensitive information included in
|
599
|
+
# the request hyperparameter variable or plain text fields.
|
600
|
+
#
|
601
|
+
# @option params [required, Types::DeviceConfig] :device_config
|
602
|
+
# The quantum processing unit (QPU) or simulator used to create an
|
603
|
+
# Amazon Braket hybrid job.
|
599
604
|
#
|
600
605
|
# @option params [Hash<String,String>] :tags
|
601
|
-
#
|
602
|
-
#
|
606
|
+
# Tags to be added to the hybrid job you're creating.
|
607
|
+
#
|
608
|
+
# @option params [Array<Types::Association>] :associations
|
609
|
+
# The list of Amazon Braket resources associated with the hybrid job.
|
603
610
|
#
|
604
611
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
605
612
|
#
|
@@ -608,32 +615,16 @@ module Aws::Braket
|
|
608
615
|
# @example Request syntax with placeholder values
|
609
616
|
#
|
610
617
|
# resp = client.create_job({
|
618
|
+
# client_token: "String64", # required
|
611
619
|
# algorithm_specification: { # required
|
612
|
-
# container_image: {
|
613
|
-
# uri: "Uri", # required
|
614
|
-
# },
|
615
620
|
# script_mode_config: {
|
616
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
617
621
|
# entry_point: "String", # required
|
618
622
|
# s3_uri: "S3Path", # required
|
623
|
+
# compression_type: "NONE", # accepts NONE, GZIP
|
619
624
|
# },
|
620
|
-
#
|
621
|
-
#
|
622
|
-
# {
|
623
|
-
# arn: "BraketResourceArn", # required
|
624
|
-
# type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
|
625
|
+
# container_image: {
|
626
|
+
# uri: "Uri", # required
|
625
627
|
# },
|
626
|
-
# ],
|
627
|
-
# checkpoint_config: {
|
628
|
-
# local_path: "String4096",
|
629
|
-
# s3_uri: "S3Path", # required
|
630
|
-
# },
|
631
|
-
# client_token: "String64", # required
|
632
|
-
# device_config: { # required
|
633
|
-
# device: "String256", # required
|
634
|
-
# },
|
635
|
-
# hyper_parameters: {
|
636
|
-
# "String256" => "HyperParametersValueString",
|
637
628
|
# },
|
638
629
|
# input_data_config: [
|
639
630
|
# {
|
@@ -646,23 +637,39 @@ module Aws::Braket
|
|
646
637
|
# },
|
647
638
|
# },
|
648
639
|
# ],
|
649
|
-
# instance_config: { # required
|
650
|
-
# instance_count: 1,
|
651
|
-
# instance_type: "ml.m4.xlarge", # required, accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.p4d.24xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.c5n.xlarge, ml.c5n.2xlarge, ml.c5n.4xlarge, ml.c5n.9xlarge, ml.c5n.18xlarge
|
652
|
-
# volume_size_in_gb: 1, # required
|
653
|
-
# },
|
654
|
-
# job_name: "CreateJobRequestJobNameString", # required
|
655
640
|
# output_data_config: { # required
|
656
641
|
# kms_key_id: "String2048",
|
657
642
|
# s3_path: "S3Path", # required
|
658
643
|
# },
|
644
|
+
# checkpoint_config: {
|
645
|
+
# local_path: "String4096",
|
646
|
+
# s3_uri: "S3Path", # required
|
647
|
+
# },
|
648
|
+
# job_name: "CreateJobRequestJobNameString", # required
|
659
649
|
# role_arn: "RoleArn", # required
|
660
650
|
# stopping_condition: {
|
661
651
|
# max_runtime_in_seconds: 1,
|
662
652
|
# },
|
653
|
+
# instance_config: { # required
|
654
|
+
# instance_type: "ml.m4.xlarge", # required, accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.p4d.24xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.c5n.xlarge, ml.c5n.2xlarge, ml.c5n.4xlarge, ml.c5n.9xlarge, ml.c5n.18xlarge
|
655
|
+
# volume_size_in_gb: 1, # required
|
656
|
+
# instance_count: 1,
|
657
|
+
# },
|
658
|
+
# hyper_parameters: {
|
659
|
+
# "String256" => "HyperParametersValueString",
|
660
|
+
# },
|
661
|
+
# device_config: { # required
|
662
|
+
# device: "String256", # required
|
663
|
+
# },
|
663
664
|
# tags: {
|
664
665
|
# "String" => "String",
|
665
666
|
# },
|
667
|
+
# associations: [
|
668
|
+
# {
|
669
|
+
# arn: "BraketResourceArn", # required
|
670
|
+
# type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
|
671
|
+
# },
|
672
|
+
# ],
|
666
673
|
# })
|
667
674
|
#
|
668
675
|
# @example Response structure
|
@@ -680,16 +687,6 @@ module Aws::Braket
|
|
680
687
|
|
681
688
|
# Creates a quantum task.
|
682
689
|
#
|
683
|
-
# @option params [required, String] :action
|
684
|
-
# The action associated with the task.
|
685
|
-
#
|
686
|
-
# **SDK automatically handles json encoding and base64 encoding for you
|
687
|
-
# when the required value (Hash, Array, etc.) is provided according to
|
688
|
-
# the description.**
|
689
|
-
#
|
690
|
-
# @option params [Array<Types::Association>] :associations
|
691
|
-
# The list of Amazon Braket resources associated with the quantum task.
|
692
|
-
#
|
693
690
|
# @option params [required, String] :client_token
|
694
691
|
# The client token associated with the request.
|
695
692
|
#
|
@@ -697,32 +694,42 @@ module Aws::Braket
|
|
697
694
|
# not need to pass this option.**
|
698
695
|
#
|
699
696
|
# @option params [required, String] :device_arn
|
700
|
-
# The ARN of the device to run the task on.
|
697
|
+
# The ARN of the device to run the quantum task on.
|
701
698
|
#
|
702
699
|
# @option params [String] :device_parameters
|
703
|
-
# The parameters for the device to run the task on.
|
700
|
+
# The parameters for the device to run the quantum task on.
|
704
701
|
#
|
705
702
|
# **SDK automatically handles json encoding and base64 encoding for you
|
706
703
|
# when the required value (Hash, Array, etc.) is provided according to
|
707
704
|
# the description.**
|
708
705
|
#
|
709
|
-
# @option params [
|
710
|
-
# The
|
711
|
-
# task.
|
706
|
+
# @option params [required, Integer] :shots
|
707
|
+
# The number of shots to use for the quantum task.
|
712
708
|
#
|
713
709
|
# @option params [required, String] :output_s3_bucket
|
714
|
-
# The S3 bucket to store task result files in.
|
710
|
+
# The S3 bucket to store quantum task result files in.
|
715
711
|
#
|
716
712
|
# @option params [required, String] :output_s3_key_prefix
|
717
|
-
# The key prefix for the location in the S3 bucket to store task
|
718
|
-
# in.
|
713
|
+
# The key prefix for the location in the S3 bucket to store quantum task
|
714
|
+
# results in.
|
719
715
|
#
|
720
|
-
# @option params [required,
|
721
|
-
# The
|
716
|
+
# @option params [required, String] :action
|
717
|
+
# The action associated with the quantum task.
|
718
|
+
#
|
719
|
+
# **SDK automatically handles json encoding and base64 encoding for you
|
720
|
+
# when the required value (Hash, Array, etc.) is provided according to
|
721
|
+
# the description.**
|
722
722
|
#
|
723
723
|
# @option params [Hash<String,String>] :tags
|
724
724
|
# Tags to be added to the quantum task you're creating.
|
725
725
|
#
|
726
|
+
# @option params [String] :job_token
|
727
|
+
# The token for an Amazon Braket hybrid job that associates it with the
|
728
|
+
# quantum task.
|
729
|
+
#
|
730
|
+
# @option params [Array<Types::Association>] :associations
|
731
|
+
# The list of Amazon Braket resources associated with the quantum task.
|
732
|
+
#
|
726
733
|
# @return [Types::CreateQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
727
734
|
#
|
728
735
|
# * {Types::CreateQuantumTaskResponse#quantum_task_arn #quantum_task_arn} => String
|
@@ -730,23 +737,23 @@ module Aws::Braket
|
|
730
737
|
# @example Request syntax with placeholder values
|
731
738
|
#
|
732
739
|
# resp = client.create_quantum_task({
|
733
|
-
# action: "JsonValue", # required
|
734
|
-
# associations: [
|
735
|
-
# {
|
736
|
-
# arn: "BraketResourceArn", # required
|
737
|
-
# type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
|
738
|
-
# },
|
739
|
-
# ],
|
740
740
|
# client_token: "String64", # required
|
741
741
|
# device_arn: "DeviceArn", # required
|
742
742
|
# device_parameters: "CreateQuantumTaskRequestDeviceParametersString",
|
743
|
-
#
|
743
|
+
# shots: 1, # required
|
744
744
|
# output_s3_bucket: "CreateQuantumTaskRequestOutputS3BucketString", # required
|
745
745
|
# output_s3_key_prefix: "CreateQuantumTaskRequestOutputS3KeyPrefixString", # required
|
746
|
-
#
|
746
|
+
# action: "JsonValue", # required
|
747
747
|
# tags: {
|
748
748
|
# "String" => "String",
|
749
749
|
# },
|
750
|
+
# job_token: "JobToken",
|
751
|
+
# associations: [
|
752
|
+
# {
|
753
|
+
# arn: "BraketResourceArn", # required
|
754
|
+
# type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
|
755
|
+
# },
|
756
|
+
# ],
|
750
757
|
# })
|
751
758
|
#
|
752
759
|
# @example Response structure
|
@@ -782,12 +789,12 @@ module Aws::Braket
|
|
782
789
|
# @return [Types::GetDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
783
790
|
#
|
784
791
|
# * {Types::GetDeviceResponse#device_arn #device_arn} => String
|
785
|
-
# * {Types::GetDeviceResponse#device_capabilities #device_capabilities} => String
|
786
792
|
# * {Types::GetDeviceResponse#device_name #device_name} => String
|
787
|
-
# * {Types::GetDeviceResponse#device_queue_info #device_queue_info} => Array<Types::DeviceQueueInfo>
|
788
|
-
# * {Types::GetDeviceResponse#device_status #device_status} => String
|
789
|
-
# * {Types::GetDeviceResponse#device_type #device_type} => String
|
790
793
|
# * {Types::GetDeviceResponse#provider_name #provider_name} => String
|
794
|
+
# * {Types::GetDeviceResponse#device_type #device_type} => String
|
795
|
+
# * {Types::GetDeviceResponse#device_status #device_status} => String
|
796
|
+
# * {Types::GetDeviceResponse#device_capabilities #device_capabilities} => String
|
797
|
+
# * {Types::GetDeviceResponse#device_queue_info #device_queue_info} => Array<Types::DeviceQueueInfo>
|
791
798
|
#
|
792
799
|
# @example Request syntax with placeholder values
|
793
800
|
#
|
@@ -798,15 +805,15 @@ module Aws::Braket
|
|
798
805
|
# @example Response structure
|
799
806
|
#
|
800
807
|
# resp.device_arn #=> String
|
801
|
-
# resp.device_capabilities #=> String
|
802
808
|
# resp.device_name #=> String
|
809
|
+
# resp.provider_name #=> String
|
810
|
+
# resp.device_type #=> String, one of "QPU", "SIMULATOR"
|
811
|
+
# resp.device_status #=> String, one of "ONLINE", "OFFLINE", "RETIRED"
|
812
|
+
# resp.device_capabilities #=> String
|
803
813
|
# resp.device_queue_info #=> Array
|
804
814
|
# resp.device_queue_info[0].queue #=> String, one of "QUANTUM_TASKS_QUEUE", "JOBS_QUEUE"
|
805
|
-
# resp.device_queue_info[0].queue_priority #=> String, one of "Normal", "Priority"
|
806
815
|
# resp.device_queue_info[0].queue_size #=> String
|
807
|
-
# resp.
|
808
|
-
# resp.device_type #=> String, one of "QPU", "SIMULATOR"
|
809
|
-
# resp.provider_name #=> String
|
816
|
+
# resp.device_queue_info[0].queue_priority #=> String, one of "Normal", "Priority"
|
810
817
|
#
|
811
818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetDevice AWS API Documentation
|
812
819
|
#
|
@@ -817,87 +824,88 @@ module Aws::Braket
|
|
817
824
|
req.send_request(options)
|
818
825
|
end
|
819
826
|
|
820
|
-
# Retrieves the specified Amazon Braket job.
|
821
|
-
#
|
822
|
-
# @option params [Array<String>] :additional_attribute_names
|
823
|
-
# A list of attributes to return information for.
|
827
|
+
# Retrieves the specified Amazon Braket hybrid job.
|
824
828
|
#
|
825
829
|
# @option params [required, String] :job_arn
|
826
|
-
# The ARN of the job to retrieve.
|
830
|
+
# The ARN of the hybrid job to retrieve.
|
831
|
+
#
|
832
|
+
# @option params [Array<String>] :additional_attribute_names
|
833
|
+
# A list of attributes to return additional information for. Only the
|
834
|
+
# QueueInfo additional attribute name is currently supported.
|
827
835
|
#
|
828
836
|
# @return [Types::GetJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
829
837
|
#
|
830
|
-
# * {Types::GetJobResponse#
|
831
|
-
# * {Types::GetJobResponse#
|
832
|
-
# * {Types::GetJobResponse#
|
833
|
-
# * {Types::GetJobResponse#checkpoint_config #checkpoint_config} => Types::JobCheckpointConfig
|
834
|
-
# * {Types::GetJobResponse#created_at #created_at} => Time
|
835
|
-
# * {Types::GetJobResponse#device_config #device_config} => Types::DeviceConfig
|
836
|
-
# * {Types::GetJobResponse#ended_at #ended_at} => Time
|
837
|
-
# * {Types::GetJobResponse#events #events} => Array<Types::JobEventDetails>
|
838
|
+
# * {Types::GetJobResponse#status #status} => String
|
839
|
+
# * {Types::GetJobResponse#job_arn #job_arn} => String
|
840
|
+
# * {Types::GetJobResponse#role_arn #role_arn} => String
|
838
841
|
# * {Types::GetJobResponse#failure_reason #failure_reason} => String
|
842
|
+
# * {Types::GetJobResponse#job_name #job_name} => String
|
839
843
|
# * {Types::GetJobResponse#hyper_parameters #hyper_parameters} => Hash<String,String>
|
840
844
|
# * {Types::GetJobResponse#input_data_config #input_data_config} => Array<Types::InputFileConfig>
|
841
|
-
# * {Types::GetJobResponse#instance_config #instance_config} => Types::InstanceConfig
|
842
|
-
# * {Types::GetJobResponse#job_arn #job_arn} => String
|
843
|
-
# * {Types::GetJobResponse#job_name #job_name} => String
|
844
845
|
# * {Types::GetJobResponse#output_data_config #output_data_config} => Types::JobOutputDataConfig
|
845
|
-
# * {Types::GetJobResponse#queue_info #queue_info} => Types::HybridJobQueueInfo
|
846
|
-
# * {Types::GetJobResponse#role_arn #role_arn} => String
|
847
|
-
# * {Types::GetJobResponse#started_at #started_at} => Time
|
848
|
-
# * {Types::GetJobResponse#status #status} => String
|
849
846
|
# * {Types::GetJobResponse#stopping_condition #stopping_condition} => Types::JobStoppingCondition
|
847
|
+
# * {Types::GetJobResponse#checkpoint_config #checkpoint_config} => Types::JobCheckpointConfig
|
848
|
+
# * {Types::GetJobResponse#algorithm_specification #algorithm_specification} => Types::AlgorithmSpecification
|
849
|
+
# * {Types::GetJobResponse#instance_config #instance_config} => Types::InstanceConfig
|
850
|
+
# * {Types::GetJobResponse#created_at #created_at} => Time
|
851
|
+
# * {Types::GetJobResponse#started_at #started_at} => Time
|
852
|
+
# * {Types::GetJobResponse#ended_at #ended_at} => Time
|
853
|
+
# * {Types::GetJobResponse#billable_duration #billable_duration} => Integer
|
854
|
+
# * {Types::GetJobResponse#device_config #device_config} => Types::DeviceConfig
|
855
|
+
# * {Types::GetJobResponse#events #events} => Array<Types::JobEventDetails>
|
850
856
|
# * {Types::GetJobResponse#tags #tags} => Hash<String,String>
|
857
|
+
# * {Types::GetJobResponse#queue_info #queue_info} => Types::HybridJobQueueInfo
|
858
|
+
# * {Types::GetJobResponse#associations #associations} => Array<Types::Association>
|
851
859
|
#
|
852
860
|
# @example Request syntax with placeholder values
|
853
861
|
#
|
854
862
|
# resp = client.get_job({
|
855
|
-
# additional_attribute_names: ["QueueInfo"], # accepts QueueInfo
|
856
863
|
# job_arn: "JobArn", # required
|
864
|
+
# additional_attribute_names: ["QueueInfo"], # accepts QueueInfo
|
857
865
|
# })
|
858
866
|
#
|
859
867
|
# @example Response structure
|
860
868
|
#
|
861
|
-
# resp.
|
862
|
-
# resp.
|
863
|
-
# resp.
|
864
|
-
# resp.algorithm_specification.script_mode_config.s3_uri #=> String
|
865
|
-
# resp.associations #=> Array
|
866
|
-
# resp.associations[0].arn #=> String
|
867
|
-
# resp.associations[0].type #=> String, one of "RESERVATION_TIME_WINDOW_ARN"
|
868
|
-
# resp.billable_duration #=> Integer
|
869
|
-
# resp.checkpoint_config.local_path #=> String
|
870
|
-
# resp.checkpoint_config.s3_uri #=> String
|
871
|
-
# resp.created_at #=> Time
|
872
|
-
# resp.device_config.device #=> String
|
873
|
-
# resp.ended_at #=> Time
|
874
|
-
# resp.events #=> Array
|
875
|
-
# resp.events[0].event_type #=> String, one of "WAITING_FOR_PRIORITY", "QUEUED_FOR_EXECUTION", "STARTING_INSTANCE", "DOWNLOADING_DATA", "RUNNING", "DEPRIORITIZED_DUE_TO_INACTIVITY", "UPLOADING_RESULTS", "COMPLETED", "FAILED", "MAX_RUNTIME_EXCEEDED", "CANCELLED"
|
876
|
-
# resp.events[0].message #=> String
|
877
|
-
# resp.events[0].time_of_event #=> Time
|
869
|
+
# resp.status #=> String, one of "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
870
|
+
# resp.job_arn #=> String
|
871
|
+
# resp.role_arn #=> String
|
878
872
|
# resp.failure_reason #=> String
|
873
|
+
# resp.job_name #=> String
|
879
874
|
# resp.hyper_parameters #=> Hash
|
880
875
|
# resp.hyper_parameters["String256"] #=> String
|
881
876
|
# resp.input_data_config #=> Array
|
882
877
|
# resp.input_data_config[0].channel_name #=> String
|
883
878
|
# resp.input_data_config[0].content_type #=> String
|
884
879
|
# resp.input_data_config[0].data_source.s3_data_source.s3_uri #=> String
|
885
|
-
# resp.instance_config.instance_count #=> Integer
|
886
|
-
# resp.instance_config.instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.p4d.24xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5n.xlarge", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge"
|
887
|
-
# resp.instance_config.volume_size_in_gb #=> Integer
|
888
|
-
# resp.job_arn #=> String
|
889
|
-
# resp.job_name #=> String
|
890
880
|
# resp.output_data_config.kms_key_id #=> String
|
891
881
|
# resp.output_data_config.s3_path #=> String
|
892
|
-
# resp.queue_info.message #=> String
|
893
|
-
# resp.queue_info.position #=> String
|
894
|
-
# resp.queue_info.queue #=> String, one of "QUANTUM_TASKS_QUEUE", "JOBS_QUEUE"
|
895
|
-
# resp.role_arn #=> String
|
896
|
-
# resp.started_at #=> Time
|
897
|
-
# resp.status #=> String, one of "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
898
882
|
# resp.stopping_condition.max_runtime_in_seconds #=> Integer
|
883
|
+
# resp.checkpoint_config.local_path #=> String
|
884
|
+
# resp.checkpoint_config.s3_uri #=> String
|
885
|
+
# resp.algorithm_specification.script_mode_config.entry_point #=> String
|
886
|
+
# resp.algorithm_specification.script_mode_config.s3_uri #=> String
|
887
|
+
# resp.algorithm_specification.script_mode_config.compression_type #=> String, one of "NONE", "GZIP"
|
888
|
+
# resp.algorithm_specification.container_image.uri #=> String
|
889
|
+
# resp.instance_config.instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.p4d.24xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5n.xlarge", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge"
|
890
|
+
# resp.instance_config.volume_size_in_gb #=> Integer
|
891
|
+
# resp.instance_config.instance_count #=> Integer
|
892
|
+
# resp.created_at #=> Time
|
893
|
+
# resp.started_at #=> Time
|
894
|
+
# resp.ended_at #=> Time
|
895
|
+
# resp.billable_duration #=> Integer
|
896
|
+
# resp.device_config.device #=> String
|
897
|
+
# resp.events #=> Array
|
898
|
+
# resp.events[0].event_type #=> String, one of "WAITING_FOR_PRIORITY", "QUEUED_FOR_EXECUTION", "STARTING_INSTANCE", "DOWNLOADING_DATA", "RUNNING", "DEPRIORITIZED_DUE_TO_INACTIVITY", "UPLOADING_RESULTS", "COMPLETED", "FAILED", "MAX_RUNTIME_EXCEEDED", "CANCELLED"
|
899
|
+
# resp.events[0].time_of_event #=> Time
|
900
|
+
# resp.events[0].message #=> String
|
899
901
|
# resp.tags #=> Hash
|
900
902
|
# resp.tags["String"] #=> String
|
903
|
+
# resp.queue_info.queue #=> String, one of "QUANTUM_TASKS_QUEUE", "JOBS_QUEUE"
|
904
|
+
# resp.queue_info.position #=> String
|
905
|
+
# resp.queue_info.message #=> String
|
906
|
+
# resp.associations #=> Array
|
907
|
+
# resp.associations[0].arn #=> String
|
908
|
+
# resp.associations[0].type #=> String, one of "RESERVATION_TIME_WINDOW_ARN"
|
901
909
|
#
|
902
910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetJob AWS API Documentation
|
903
911
|
#
|
@@ -910,58 +918,65 @@ module Aws::Braket
|
|
910
918
|
|
911
919
|
# Retrieves the specified quantum task.
|
912
920
|
#
|
913
|
-
# @option params [Array<String>] :additional_attribute_names
|
914
|
-
# A list of attributes to return information for.
|
915
|
-
#
|
916
921
|
# @option params [required, String] :quantum_task_arn
|
917
|
-
# The ARN of the task to retrieve.
|
922
|
+
# The ARN of the quantum task to retrieve.
|
923
|
+
#
|
924
|
+
# @option params [Array<String>] :additional_attribute_names
|
925
|
+
# A list of attributes to return additional information for. Only the
|
926
|
+
# QueueInfo additional attribute name is currently supported.
|
918
927
|
#
|
919
928
|
# @return [Types::GetQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
920
929
|
#
|
921
|
-
# * {Types::GetQuantumTaskResponse#
|
922
|
-
# * {Types::GetQuantumTaskResponse#
|
930
|
+
# * {Types::GetQuantumTaskResponse#quantum_task_arn #quantum_task_arn} => String
|
931
|
+
# * {Types::GetQuantumTaskResponse#status #status} => String
|
932
|
+
# * {Types::GetQuantumTaskResponse#failure_reason #failure_reason} => String
|
923
933
|
# * {Types::GetQuantumTaskResponse#device_arn #device_arn} => String
|
924
934
|
# * {Types::GetQuantumTaskResponse#device_parameters #device_parameters} => String
|
925
|
-
# * {Types::GetQuantumTaskResponse#
|
926
|
-
# * {Types::GetQuantumTaskResponse#failure_reason #failure_reason} => String
|
927
|
-
# * {Types::GetQuantumTaskResponse#job_arn #job_arn} => String
|
935
|
+
# * {Types::GetQuantumTaskResponse#shots #shots} => Integer
|
928
936
|
# * {Types::GetQuantumTaskResponse#output_s3_bucket #output_s3_bucket} => String
|
929
937
|
# * {Types::GetQuantumTaskResponse#output_s3_directory #output_s3_directory} => String
|
930
|
-
# * {Types::GetQuantumTaskResponse#
|
931
|
-
# * {Types::GetQuantumTaskResponse#
|
932
|
-
# * {Types::GetQuantumTaskResponse#shots #shots} => Integer
|
933
|
-
# * {Types::GetQuantumTaskResponse#status #status} => String
|
938
|
+
# * {Types::GetQuantumTaskResponse#created_at #created_at} => Time
|
939
|
+
# * {Types::GetQuantumTaskResponse#ended_at #ended_at} => Time
|
934
940
|
# * {Types::GetQuantumTaskResponse#tags #tags} => Hash<String,String>
|
941
|
+
# * {Types::GetQuantumTaskResponse#job_arn #job_arn} => String
|
942
|
+
# * {Types::GetQuantumTaskResponse#queue_info #queue_info} => Types::QuantumTaskQueueInfo
|
943
|
+
# * {Types::GetQuantumTaskResponse#associations #associations} => Array<Types::Association>
|
944
|
+
# * {Types::GetQuantumTaskResponse#num_successful_shots #num_successful_shots} => Integer
|
945
|
+
# * {Types::GetQuantumTaskResponse#action_metadata #action_metadata} => Types::ActionMetadata
|
935
946
|
#
|
936
947
|
# @example Request syntax with placeholder values
|
937
948
|
#
|
938
949
|
# resp = client.get_quantum_task({
|
939
|
-
# additional_attribute_names: ["QueueInfo"], # accepts QueueInfo
|
940
950
|
# quantum_task_arn: "QuantumTaskArn", # required
|
951
|
+
# additional_attribute_names: ["QueueInfo"], # accepts QueueInfo
|
941
952
|
# })
|
942
953
|
#
|
943
954
|
# @example Response structure
|
944
955
|
#
|
945
|
-
# resp.
|
946
|
-
# resp.
|
947
|
-
# resp.
|
948
|
-
# resp.created_at #=> Time
|
956
|
+
# resp.quantum_task_arn #=> String
|
957
|
+
# resp.status #=> String, one of "CREATED", "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
958
|
+
# resp.failure_reason #=> String
|
949
959
|
# resp.device_arn #=> String
|
950
960
|
# resp.device_parameters #=> String
|
951
|
-
# resp.
|
952
|
-
# resp.failure_reason #=> String
|
953
|
-
# resp.job_arn #=> String
|
961
|
+
# resp.shots #=> Integer
|
954
962
|
# resp.output_s3_bucket #=> String
|
955
963
|
# resp.output_s3_directory #=> String
|
956
|
-
# resp.
|
957
|
-
# resp.
|
958
|
-
# resp.queue_info.position #=> String
|
959
|
-
# resp.queue_info.queue #=> String, one of "QUANTUM_TASKS_QUEUE", "JOBS_QUEUE"
|
960
|
-
# resp.queue_info.queue_priority #=> String, one of "Normal", "Priority"
|
961
|
-
# resp.shots #=> Integer
|
962
|
-
# resp.status #=> String, one of "CREATED", "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
964
|
+
# resp.created_at #=> Time
|
965
|
+
# resp.ended_at #=> Time
|
963
966
|
# resp.tags #=> Hash
|
964
967
|
# resp.tags["String"] #=> String
|
968
|
+
# resp.job_arn #=> String
|
969
|
+
# resp.queue_info.queue #=> String, one of "QUANTUM_TASKS_QUEUE", "JOBS_QUEUE"
|
970
|
+
# resp.queue_info.position #=> String
|
971
|
+
# resp.queue_info.queue_priority #=> String, one of "Normal", "Priority"
|
972
|
+
# resp.queue_info.message #=> String
|
973
|
+
# resp.associations #=> Array
|
974
|
+
# resp.associations[0].arn #=> String
|
975
|
+
# resp.associations[0].type #=> String, one of "RESERVATION_TIME_WINDOW_ARN"
|
976
|
+
# resp.num_successful_shots #=> Integer
|
977
|
+
# resp.action_metadata.action_type #=> String
|
978
|
+
# resp.action_metadata.program_count #=> Integer
|
979
|
+
# resp.action_metadata.executable_count #=> Integer
|
965
980
|
#
|
966
981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTask AWS API Documentation
|
967
982
|
#
|
@@ -1003,16 +1018,17 @@ module Aws::Braket
|
|
1003
1018
|
|
1004
1019
|
# Searches for devices using the specified filters.
|
1005
1020
|
#
|
1006
|
-
# @option params [
|
1007
|
-
#
|
1021
|
+
# @option params [String] :next_token
|
1022
|
+
# A token used for pagination of results returned in the response. Use
|
1023
|
+
# the token returned from the previous request to continue search where
|
1024
|
+
# the previous request ended.
|
1008
1025
|
#
|
1009
1026
|
# @option params [Integer] :max_results
|
1010
1027
|
# The maximum number of results to return in the response.
|
1011
1028
|
#
|
1012
|
-
# @option params [
|
1013
|
-
#
|
1014
|
-
#
|
1015
|
-
# the previous request ended.
|
1029
|
+
# @option params [required, Array<Types::SearchDevicesFilter>] :filters
|
1030
|
+
# Array of SearchDevicesFilter objects to use when searching for
|
1031
|
+
# devices.
|
1016
1032
|
#
|
1017
1033
|
# @return [Types::SearchDevicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1018
1034
|
#
|
@@ -1024,14 +1040,14 @@ module Aws::Braket
|
|
1024
1040
|
# @example Request syntax with placeholder values
|
1025
1041
|
#
|
1026
1042
|
# resp = client.search_devices({
|
1043
|
+
# next_token: "String",
|
1044
|
+
# max_results: 1,
|
1027
1045
|
# filters: [ # required
|
1028
1046
|
# {
|
1029
1047
|
# name: "SearchDevicesFilterNameString", # required
|
1030
1048
|
# values: ["String256"], # required
|
1031
1049
|
# },
|
1032
1050
|
# ],
|
1033
|
-
# max_results: 1,
|
1034
|
-
# next_token: "String",
|
1035
1051
|
# })
|
1036
1052
|
#
|
1037
1053
|
# @example Response structure
|
@@ -1039,9 +1055,9 @@ module Aws::Braket
|
|
1039
1055
|
# resp.devices #=> Array
|
1040
1056
|
# resp.devices[0].device_arn #=> String
|
1041
1057
|
# resp.devices[0].device_name #=> String
|
1042
|
-
# resp.devices[0].device_status #=> String, one of "ONLINE", "OFFLINE", "RETIRED"
|
1043
|
-
# resp.devices[0].device_type #=> String, one of "QPU", "SIMULATOR"
|
1044
1058
|
# resp.devices[0].provider_name #=> String
|
1059
|
+
# resp.devices[0].device_type #=> String, one of "QPU", "SIMULATOR"
|
1060
|
+
# resp.devices[0].device_status #=> String, one of "ONLINE", "OFFLINE", "RETIRED"
|
1045
1061
|
# resp.next_token #=> String
|
1046
1062
|
#
|
1047
1063
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchDevices AWS API Documentation
|
@@ -1053,19 +1069,20 @@ module Aws::Braket
|
|
1053
1069
|
req.send_request(options)
|
1054
1070
|
end
|
1055
1071
|
|
1056
|
-
# Searches for Amazon Braket jobs that match the specified filter
|
1072
|
+
# Searches for Amazon Braket hybrid jobs that match the specified filter
|
1057
1073
|
# values.
|
1058
1074
|
#
|
1059
|
-
# @option params [
|
1060
|
-
#
|
1075
|
+
# @option params [String] :next_token
|
1076
|
+
# A token used for pagination of results returned in the response. Use
|
1077
|
+
# the token returned from the previous request to continue search where
|
1078
|
+
# the previous request ended.
|
1061
1079
|
#
|
1062
1080
|
# @option params [Integer] :max_results
|
1063
1081
|
# The maximum number of results to return in the response.
|
1064
1082
|
#
|
1065
|
-
# @option params [
|
1066
|
-
#
|
1067
|
-
#
|
1068
|
-
# the previous request ended.
|
1083
|
+
# @option params [required, Array<Types::SearchJobsFilter>] :filters
|
1084
|
+
# Array of SearchJobsFilter objects to use when searching for hybrid
|
1085
|
+
# jobs.
|
1069
1086
|
#
|
1070
1087
|
# @return [Types::SearchJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1071
1088
|
#
|
@@ -1077,27 +1094,27 @@ module Aws::Braket
|
|
1077
1094
|
# @example Request syntax with placeholder values
|
1078
1095
|
#
|
1079
1096
|
# resp = client.search_jobs({
|
1097
|
+
# next_token: "String",
|
1098
|
+
# max_results: 1,
|
1080
1099
|
# filters: [ # required
|
1081
1100
|
# {
|
1082
1101
|
# name: "String64", # required
|
1083
|
-
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN, CONTAINS
|
1084
1102
|
# values: ["String256"], # required
|
1103
|
+
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN, CONTAINS
|
1085
1104
|
# },
|
1086
1105
|
# ],
|
1087
|
-
# max_results: 1,
|
1088
|
-
# next_token: "String",
|
1089
1106
|
# })
|
1090
1107
|
#
|
1091
1108
|
# @example Response structure
|
1092
1109
|
#
|
1093
1110
|
# resp.jobs #=> Array
|
1094
|
-
# resp.jobs[0].
|
1095
|
-
# resp.jobs[0].device #=> String
|
1096
|
-
# resp.jobs[0].ended_at #=> Time
|
1111
|
+
# resp.jobs[0].status #=> String, one of "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
1097
1112
|
# resp.jobs[0].job_arn #=> String
|
1098
1113
|
# resp.jobs[0].job_name #=> String
|
1114
|
+
# resp.jobs[0].device #=> String
|
1115
|
+
# resp.jobs[0].created_at #=> Time
|
1099
1116
|
# resp.jobs[0].started_at #=> Time
|
1100
|
-
# resp.jobs[0].
|
1117
|
+
# resp.jobs[0].ended_at #=> Time
|
1101
1118
|
# resp.jobs[0].tags #=> Hash
|
1102
1119
|
# resp.jobs[0].tags["String"] #=> String
|
1103
1120
|
# resp.next_token #=> String
|
@@ -1113,52 +1130,53 @@ module Aws::Braket
|
|
1113
1130
|
|
1114
1131
|
# Searches for tasks that match the specified filter values.
|
1115
1132
|
#
|
1116
|
-
# @option params [
|
1117
|
-
#
|
1133
|
+
# @option params [String] :next_token
|
1134
|
+
# A token used for pagination of results returned in the response. Use
|
1135
|
+
# the token returned from the previous request to continue search where
|
1136
|
+
# the previous request ended.
|
1118
1137
|
#
|
1119
1138
|
# @option params [Integer] :max_results
|
1120
1139
|
# Maximum number of results to return in the response.
|
1121
1140
|
#
|
1122
|
-
# @option params [
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
# the previous request ended.
|
1141
|
+
# @option params [required, Array<Types::SearchQuantumTasksFilter>] :filters
|
1142
|
+
# Array of `SearchQuantumTasksFilter` objects to use when searching for
|
1143
|
+
# quantum tasks.
|
1126
1144
|
#
|
1127
1145
|
# @return [Types::SearchQuantumTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1128
1146
|
#
|
1129
|
-
# * {Types::SearchQuantumTasksResponse#next_token #next_token} => String
|
1130
1147
|
# * {Types::SearchQuantumTasksResponse#quantum_tasks #quantum_tasks} => Array<Types::QuantumTaskSummary>
|
1148
|
+
# * {Types::SearchQuantumTasksResponse#next_token #next_token} => String
|
1131
1149
|
#
|
1132
1150
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1133
1151
|
#
|
1134
1152
|
# @example Request syntax with placeholder values
|
1135
1153
|
#
|
1136
1154
|
# resp = client.search_quantum_tasks({
|
1155
|
+
# next_token: "String",
|
1156
|
+
# max_results: 1,
|
1137
1157
|
# filters: [ # required
|
1138
1158
|
# {
|
1139
1159
|
# name: "String64", # required
|
1140
|
-
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
|
1141
1160
|
# values: ["String256"], # required
|
1161
|
+
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
|
1142
1162
|
# },
|
1143
1163
|
# ],
|
1144
|
-
# max_results: 1,
|
1145
|
-
# next_token: "String",
|
1146
1164
|
# })
|
1147
1165
|
#
|
1148
1166
|
# @example Response structure
|
1149
1167
|
#
|
1150
|
-
# resp.next_token #=> String
|
1151
1168
|
# resp.quantum_tasks #=> Array
|
1152
|
-
# resp.quantum_tasks[0].
|
1169
|
+
# resp.quantum_tasks[0].quantum_task_arn #=> String
|
1170
|
+
# resp.quantum_tasks[0].status #=> String, one of "CREATED", "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
1153
1171
|
# resp.quantum_tasks[0].device_arn #=> String
|
1154
|
-
# resp.quantum_tasks[0].
|
1172
|
+
# resp.quantum_tasks[0].shots #=> Integer
|
1155
1173
|
# resp.quantum_tasks[0].output_s3_bucket #=> String
|
1156
1174
|
# resp.quantum_tasks[0].output_s3_directory #=> String
|
1157
|
-
# resp.quantum_tasks[0].
|
1158
|
-
# resp.quantum_tasks[0].
|
1159
|
-
# resp.quantum_tasks[0].status #=> String, one of "CREATED", "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
1175
|
+
# resp.quantum_tasks[0].created_at #=> Time
|
1176
|
+
# resp.quantum_tasks[0].ended_at #=> Time
|
1160
1177
|
# resp.quantum_tasks[0].tags #=> Hash
|
1161
1178
|
# resp.quantum_tasks[0].tags["String"] #=> String
|
1179
|
+
# resp.next_token #=> String
|
1162
1180
|
#
|
1163
1181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasks AWS API Documentation
|
1164
1182
|
#
|
@@ -1176,7 +1194,8 @@ module Aws::Braket
|
|
1176
1194
|
# added.
|
1177
1195
|
#
|
1178
1196
|
# @option params [required, Hash<String,String>] :tags
|
1179
|
-
# Specify the tags to add to the resource.
|
1197
|
+
# Specify the tags to add to the resource. Tags can be specified as a
|
1198
|
+
# key-value map.
|
1180
1199
|
#
|
1181
1200
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1182
1201
|
#
|
@@ -1243,7 +1262,7 @@ module Aws::Braket
|
|
1243
1262
|
tracer: tracer
|
1244
1263
|
)
|
1245
1264
|
context[:gem_name] = 'aws-sdk-braket'
|
1246
|
-
context[:gem_version] = '1.
|
1265
|
+
context[:gem_version] = '1.57.0'
|
1247
1266
|
Seahorse::Client::Request.new(handlers, context)
|
1248
1267
|
end
|
1249
1268
|
|