aws-sdk-braket 1.55.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-braket/client.rb +257 -241
- 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
@@ -95,8 +95,8 @@ module Aws::Braket
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials used for authentication. This can be
|
99
|
-
# following classes:
|
98
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
99
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
102
102
|
# credentials.
|
@@ -124,8 +124,7 @@ module Aws::Braket
|
|
124
124
|
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
125
125
|
# from the Cognito Identity service.
|
126
126
|
#
|
127
|
-
# When `:credentials` are not configured directly, the following
|
128
|
-
# locations will be searched for credentials:
|
127
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
129
128
|
#
|
130
129
|
# * `Aws.config[:credentials]`
|
131
130
|
#
|
@@ -139,12 +138,10 @@ module Aws::Braket
|
|
139
138
|
#
|
140
139
|
# * `~/.aws/config`
|
141
140
|
#
|
142
|
-
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
-
# to `true`.
|
141
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
142
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
143
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
144
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
148
145
|
#
|
149
146
|
# @option options [required, String] :region
|
150
147
|
# The AWS region to connect to. The configured `:region` is
|
@@ -377,8 +374,8 @@ module Aws::Braket
|
|
377
374
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
378
375
|
#
|
379
376
|
# @option options [Aws::TokenProvider] :token_provider
|
380
|
-
# Your Bearer token used for authentication. This can be
|
381
|
-
# following classes:
|
377
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
378
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
382
379
|
#
|
383
380
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
384
381
|
# tokens.
|
@@ -479,15 +476,15 @@ module Aws::Braket
|
|
479
476
|
|
480
477
|
# @!group API Operations
|
481
478
|
|
482
|
-
# Cancels an Amazon Braket job.
|
479
|
+
# Cancels an Amazon Braket hybrid job.
|
483
480
|
#
|
484
481
|
# @option params [required, String] :job_arn
|
485
|
-
# The ARN of the Amazon Braket job to cancel.
|
482
|
+
# The ARN of the Amazon Braket hybrid job to cancel.
|
486
483
|
#
|
487
484
|
# @return [Types::CancelJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
488
485
|
#
|
489
|
-
# * {Types::CancelJobResponse#cancellation_status #cancellation_status} => String
|
490
486
|
# * {Types::CancelJobResponse#job_arn #job_arn} => String
|
487
|
+
# * {Types::CancelJobResponse#cancellation_status #cancellation_status} => String
|
491
488
|
#
|
492
489
|
# @example Request syntax with placeholder values
|
493
490
|
#
|
@@ -497,8 +494,8 @@ module Aws::Braket
|
|
497
494
|
#
|
498
495
|
# @example Response structure
|
499
496
|
#
|
500
|
-
# resp.cancellation_status #=> String, one of "CANCELLING", "CANCELLED"
|
501
497
|
# resp.job_arn #=> String
|
498
|
+
# resp.cancellation_status #=> String, one of "CANCELLING", "CANCELLED"
|
502
499
|
#
|
503
500
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelJob AWS API Documentation
|
504
501
|
#
|
@@ -511,31 +508,31 @@ module Aws::Braket
|
|
511
508
|
|
512
509
|
# Cancels the specified task.
|
513
510
|
#
|
511
|
+
# @option params [required, String] :quantum_task_arn
|
512
|
+
# The ARN of the quantum task to cancel.
|
513
|
+
#
|
514
514
|
# @option params [required, String] :client_token
|
515
|
-
# The client token associated with the request.
|
515
|
+
# The client token associated with the cancellation request.
|
516
516
|
#
|
517
517
|
# **A suitable default value is auto-generated.** You should normally
|
518
518
|
# not need to pass this option.**
|
519
519
|
#
|
520
|
-
# @option params [required, String] :quantum_task_arn
|
521
|
-
# The ARN of the task to cancel.
|
522
|
-
#
|
523
520
|
# @return [Types::CancelQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
524
521
|
#
|
525
|
-
# * {Types::CancelQuantumTaskResponse#cancellation_status #cancellation_status} => String
|
526
522
|
# * {Types::CancelQuantumTaskResponse#quantum_task_arn #quantum_task_arn} => String
|
523
|
+
# * {Types::CancelQuantumTaskResponse#cancellation_status #cancellation_status} => String
|
527
524
|
#
|
528
525
|
# @example Request syntax with placeholder values
|
529
526
|
#
|
530
527
|
# resp = client.cancel_quantum_task({
|
531
|
-
# client_token: "String64", # required
|
532
528
|
# quantum_task_arn: "QuantumTaskArn", # required
|
529
|
+
# client_token: "String64", # required
|
533
530
|
# })
|
534
531
|
#
|
535
532
|
# @example Response structure
|
536
533
|
#
|
537
|
-
# resp.cancellation_status #=> String, one of "CANCELLING", "CANCELLED"
|
538
534
|
# resp.quantum_task_arn #=> String
|
535
|
+
# resp.cancellation_status #=> String, one of "CANCELLING", "CANCELLED"
|
539
536
|
#
|
540
537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelQuantumTask AWS API Documentation
|
541
538
|
#
|
@@ -546,63 +543,70 @@ module Aws::Braket
|
|
546
543
|
req.send_request(options)
|
547
544
|
end
|
548
545
|
|
549
|
-
# Creates an Amazon Braket job.
|
550
|
-
#
|
551
|
-
# @option params [required, Types::AlgorithmSpecification] :algorithm_specification
|
552
|
-
# Definition of the Amazon Braket job to be created. Specifies the
|
553
|
-
# container image the job uses and information about the Python scripts
|
554
|
-
# used for entry and training.
|
555
|
-
#
|
556
|
-
# @option params [Array<Types::Association>] :associations
|
557
|
-
# The list of Amazon Braket resources associated with the hybrid job.
|
558
|
-
#
|
559
|
-
# @option params [Types::JobCheckpointConfig] :checkpoint_config
|
560
|
-
# Information about the output locations for job checkpoint data.
|
546
|
+
# Creates an Amazon Braket hybrid job.
|
561
547
|
#
|
562
548
|
# @option params [required, String] :client_token
|
563
|
-
#
|
564
|
-
# idempotent.
|
549
|
+
# The client token associated with this request that guarantees that the
|
550
|
+
# request is idempotent.
|
565
551
|
#
|
566
552
|
# **A suitable default value is auto-generated.** You should normally
|
567
553
|
# not need to pass this option.**
|
568
554
|
#
|
569
|
-
# @option params [required, Types::
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
# @option params [Hash<String,String>] :hyper_parameters
|
574
|
-
# Algorithm-specific parameters used by an Amazon Braket job that
|
575
|
-
# influence the quality of the training job. The values are set with a
|
576
|
-
# string of JSON key:value pairs, where the key is the name of the
|
577
|
-
# 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.
|
578
559
|
#
|
579
560
|
# @option params [Array<Types::InputFileConfig>] :input_data_config
|
580
561
|
# A list of parameters that specify the name and type of input data and
|
581
562
|
# where it is located.
|
582
563
|
#
|
583
|
-
# @option params [required, Types::
|
584
|
-
#
|
585
|
-
#
|
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.
|
586
567
|
#
|
587
|
-
# @option params [
|
588
|
-
#
|
568
|
+
# @option params [Types::JobCheckpointConfig] :checkpoint_config
|
569
|
+
# Information about the output locations for hybrid job checkpoint data.
|
589
570
|
#
|
590
|
-
# @option params [required,
|
591
|
-
# The
|
592
|
-
# the encryption key used to store them.
|
571
|
+
# @option params [required, String] :job_name
|
572
|
+
# The name of the Amazon Braket hybrid job.
|
593
573
|
#
|
594
574
|
# @option params [required, String] :role_arn
|
595
575
|
# The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can
|
596
576
|
# assume to perform tasks on behalf of a user. It can access user
|
597
577
|
# resources, run an Amazon Braket job container on behalf of user, and
|
598
|
-
# output
|
578
|
+
# output results and hybrid job details to the users' s3 buckets.
|
599
579
|
#
|
600
580
|
# @option params [Types::JobStoppingCondition] :stopping_condition
|
601
|
-
# 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.
|
602
604
|
#
|
603
605
|
# @option params [Hash<String,String>] :tags
|
604
|
-
#
|
605
|
-
#
|
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.
|
606
610
|
#
|
607
611
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
608
612
|
#
|
@@ -611,32 +615,16 @@ module Aws::Braket
|
|
611
615
|
# @example Request syntax with placeholder values
|
612
616
|
#
|
613
617
|
# resp = client.create_job({
|
618
|
+
# client_token: "String64", # required
|
614
619
|
# algorithm_specification: { # required
|
615
|
-
# container_image: {
|
616
|
-
# uri: "Uri", # required
|
617
|
-
# },
|
618
620
|
# script_mode_config: {
|
619
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
620
621
|
# entry_point: "String", # required
|
621
622
|
# s3_uri: "S3Path", # required
|
623
|
+
# compression_type: "NONE", # accepts NONE, GZIP
|
622
624
|
# },
|
623
|
-
#
|
624
|
-
#
|
625
|
-
# {
|
626
|
-
# arn: "BraketResourceArn", # required
|
627
|
-
# type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
|
625
|
+
# container_image: {
|
626
|
+
# uri: "Uri", # required
|
628
627
|
# },
|
629
|
-
# ],
|
630
|
-
# checkpoint_config: {
|
631
|
-
# local_path: "String4096",
|
632
|
-
# s3_uri: "S3Path", # required
|
633
|
-
# },
|
634
|
-
# client_token: "String64", # required
|
635
|
-
# device_config: { # required
|
636
|
-
# device: "String256", # required
|
637
|
-
# },
|
638
|
-
# hyper_parameters: {
|
639
|
-
# "String256" => "HyperParametersValueString",
|
640
628
|
# },
|
641
629
|
# input_data_config: [
|
642
630
|
# {
|
@@ -649,23 +637,39 @@ module Aws::Braket
|
|
649
637
|
# },
|
650
638
|
# },
|
651
639
|
# ],
|
652
|
-
# instance_config: { # required
|
653
|
-
# instance_count: 1,
|
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
|
-
# },
|
657
|
-
# job_name: "CreateJobRequestJobNameString", # required
|
658
640
|
# output_data_config: { # required
|
659
641
|
# kms_key_id: "String2048",
|
660
642
|
# s3_path: "S3Path", # required
|
661
643
|
# },
|
644
|
+
# checkpoint_config: {
|
645
|
+
# local_path: "String4096",
|
646
|
+
# s3_uri: "S3Path", # required
|
647
|
+
# },
|
648
|
+
# job_name: "CreateJobRequestJobNameString", # required
|
662
649
|
# role_arn: "RoleArn", # required
|
663
650
|
# stopping_condition: {
|
664
651
|
# max_runtime_in_seconds: 1,
|
665
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
|
+
# },
|
666
664
|
# tags: {
|
667
665
|
# "String" => "String",
|
668
666
|
# },
|
667
|
+
# associations: [
|
668
|
+
# {
|
669
|
+
# arn: "BraketResourceArn", # required
|
670
|
+
# type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
|
671
|
+
# },
|
672
|
+
# ],
|
669
673
|
# })
|
670
674
|
#
|
671
675
|
# @example Response structure
|
@@ -683,16 +687,6 @@ module Aws::Braket
|
|
683
687
|
|
684
688
|
# Creates a quantum task.
|
685
689
|
#
|
686
|
-
# @option params [required, String] :action
|
687
|
-
# The action associated with the task.
|
688
|
-
#
|
689
|
-
# **SDK automatically handles json encoding and base64 encoding for you
|
690
|
-
# when the required value (Hash, Array, etc.) is provided according to
|
691
|
-
# the description.**
|
692
|
-
#
|
693
|
-
# @option params [Array<Types::Association>] :associations
|
694
|
-
# The list of Amazon Braket resources associated with the quantum task.
|
695
|
-
#
|
696
690
|
# @option params [required, String] :client_token
|
697
691
|
# The client token associated with the request.
|
698
692
|
#
|
@@ -700,32 +694,42 @@ module Aws::Braket
|
|
700
694
|
# not need to pass this option.**
|
701
695
|
#
|
702
696
|
# @option params [required, String] :device_arn
|
703
|
-
# The ARN of the device to run the task on.
|
697
|
+
# The ARN of the device to run the quantum task on.
|
704
698
|
#
|
705
699
|
# @option params [String] :device_parameters
|
706
|
-
# The parameters for the device to run the task on.
|
700
|
+
# The parameters for the device to run the quantum task on.
|
707
701
|
#
|
708
702
|
# **SDK automatically handles json encoding and base64 encoding for you
|
709
703
|
# when the required value (Hash, Array, etc.) is provided according to
|
710
704
|
# the description.**
|
711
705
|
#
|
712
|
-
# @option params [
|
713
|
-
# The
|
714
|
-
# task.
|
706
|
+
# @option params [required, Integer] :shots
|
707
|
+
# The number of shots to use for the quantum task.
|
715
708
|
#
|
716
709
|
# @option params [required, String] :output_s3_bucket
|
717
|
-
# The S3 bucket to store task result files in.
|
710
|
+
# The S3 bucket to store quantum task result files in.
|
718
711
|
#
|
719
712
|
# @option params [required, String] :output_s3_key_prefix
|
720
|
-
# The key prefix for the location in the S3 bucket to store task
|
721
|
-
# in.
|
713
|
+
# The key prefix for the location in the S3 bucket to store quantum task
|
714
|
+
# results in.
|
722
715
|
#
|
723
|
-
# @option params [required,
|
724
|
-
# 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.**
|
725
722
|
#
|
726
723
|
# @option params [Hash<String,String>] :tags
|
727
724
|
# Tags to be added to the quantum task you're creating.
|
728
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
|
+
#
|
729
733
|
# @return [Types::CreateQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
730
734
|
#
|
731
735
|
# * {Types::CreateQuantumTaskResponse#quantum_task_arn #quantum_task_arn} => String
|
@@ -733,23 +737,23 @@ module Aws::Braket
|
|
733
737
|
# @example Request syntax with placeholder values
|
734
738
|
#
|
735
739
|
# resp = client.create_quantum_task({
|
736
|
-
# action: "JsonValue", # required
|
737
|
-
# associations: [
|
738
|
-
# {
|
739
|
-
# arn: "BraketResourceArn", # required
|
740
|
-
# type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
|
741
|
-
# },
|
742
|
-
# ],
|
743
740
|
# client_token: "String64", # required
|
744
741
|
# device_arn: "DeviceArn", # required
|
745
742
|
# device_parameters: "CreateQuantumTaskRequestDeviceParametersString",
|
746
|
-
#
|
743
|
+
# shots: 1, # required
|
747
744
|
# output_s3_bucket: "CreateQuantumTaskRequestOutputS3BucketString", # required
|
748
745
|
# output_s3_key_prefix: "CreateQuantumTaskRequestOutputS3KeyPrefixString", # required
|
749
|
-
#
|
746
|
+
# action: "JsonValue", # required
|
750
747
|
# tags: {
|
751
748
|
# "String" => "String",
|
752
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
|
+
# ],
|
753
757
|
# })
|
754
758
|
#
|
755
759
|
# @example Response structure
|
@@ -785,12 +789,12 @@ module Aws::Braket
|
|
785
789
|
# @return [Types::GetDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
786
790
|
#
|
787
791
|
# * {Types::GetDeviceResponse#device_arn #device_arn} => String
|
788
|
-
# * {Types::GetDeviceResponse#device_capabilities #device_capabilities} => String
|
789
792
|
# * {Types::GetDeviceResponse#device_name #device_name} => String
|
790
|
-
# * {Types::GetDeviceResponse#device_queue_info #device_queue_info} => Array<Types::DeviceQueueInfo>
|
791
|
-
# * {Types::GetDeviceResponse#device_status #device_status} => String
|
792
|
-
# * {Types::GetDeviceResponse#device_type #device_type} => String
|
793
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>
|
794
798
|
#
|
795
799
|
# @example Request syntax with placeholder values
|
796
800
|
#
|
@@ -801,15 +805,15 @@ module Aws::Braket
|
|
801
805
|
# @example Response structure
|
802
806
|
#
|
803
807
|
# resp.device_arn #=> String
|
804
|
-
# resp.device_capabilities #=> String
|
805
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
|
806
813
|
# resp.device_queue_info #=> Array
|
807
814
|
# resp.device_queue_info[0].queue #=> String, one of "QUANTUM_TASKS_QUEUE", "JOBS_QUEUE"
|
808
|
-
# resp.device_queue_info[0].queue_priority #=> String, one of "Normal", "Priority"
|
809
815
|
# resp.device_queue_info[0].queue_size #=> String
|
810
|
-
# resp.
|
811
|
-
# resp.device_type #=> String, one of "QPU", "SIMULATOR"
|
812
|
-
# resp.provider_name #=> String
|
816
|
+
# resp.device_queue_info[0].queue_priority #=> String, one of "Normal", "Priority"
|
813
817
|
#
|
814
818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetDevice AWS API Documentation
|
815
819
|
#
|
@@ -820,87 +824,88 @@ module Aws::Braket
|
|
820
824
|
req.send_request(options)
|
821
825
|
end
|
822
826
|
|
823
|
-
# Retrieves the specified Amazon Braket job.
|
824
|
-
#
|
825
|
-
# @option params [Array<String>] :additional_attribute_names
|
826
|
-
# A list of attributes to return information for.
|
827
|
+
# Retrieves the specified Amazon Braket hybrid job.
|
827
828
|
#
|
828
829
|
# @option params [required, String] :job_arn
|
829
|
-
# 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.
|
830
835
|
#
|
831
836
|
# @return [Types::GetJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
832
837
|
#
|
833
|
-
# * {Types::GetJobResponse#
|
834
|
-
# * {Types::GetJobResponse#
|
835
|
-
# * {Types::GetJobResponse#
|
836
|
-
# * {Types::GetJobResponse#checkpoint_config #checkpoint_config} => Types::JobCheckpointConfig
|
837
|
-
# * {Types::GetJobResponse#created_at #created_at} => Time
|
838
|
-
# * {Types::GetJobResponse#device_config #device_config} => Types::DeviceConfig
|
839
|
-
# * {Types::GetJobResponse#ended_at #ended_at} => Time
|
840
|
-
# * {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
|
841
841
|
# * {Types::GetJobResponse#failure_reason #failure_reason} => String
|
842
|
+
# * {Types::GetJobResponse#job_name #job_name} => String
|
842
843
|
# * {Types::GetJobResponse#hyper_parameters #hyper_parameters} => Hash<String,String>
|
843
844
|
# * {Types::GetJobResponse#input_data_config #input_data_config} => Array<Types::InputFileConfig>
|
844
|
-
# * {Types::GetJobResponse#instance_config #instance_config} => Types::InstanceConfig
|
845
|
-
# * {Types::GetJobResponse#job_arn #job_arn} => String
|
846
|
-
# * {Types::GetJobResponse#job_name #job_name} => String
|
847
845
|
# * {Types::GetJobResponse#output_data_config #output_data_config} => Types::JobOutputDataConfig
|
848
|
-
# * {Types::GetJobResponse#queue_info #queue_info} => Types::HybridJobQueueInfo
|
849
|
-
# * {Types::GetJobResponse#role_arn #role_arn} => String
|
850
|
-
# * {Types::GetJobResponse#started_at #started_at} => Time
|
851
|
-
# * {Types::GetJobResponse#status #status} => String
|
852
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>
|
853
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>
|
854
859
|
#
|
855
860
|
# @example Request syntax with placeholder values
|
856
861
|
#
|
857
862
|
# resp = client.get_job({
|
858
|
-
# additional_attribute_names: ["QueueInfo"], # accepts QueueInfo
|
859
863
|
# job_arn: "JobArn", # required
|
864
|
+
# additional_attribute_names: ["QueueInfo"], # accepts QueueInfo
|
860
865
|
# })
|
861
866
|
#
|
862
867
|
# @example Response structure
|
863
868
|
#
|
864
|
-
# resp.
|
865
|
-
# resp.
|
866
|
-
# resp.
|
867
|
-
# resp.algorithm_specification.script_mode_config.s3_uri #=> String
|
868
|
-
# resp.associations #=> Array
|
869
|
-
# resp.associations[0].arn #=> String
|
870
|
-
# resp.associations[0].type #=> String, one of "RESERVATION_TIME_WINDOW_ARN"
|
871
|
-
# resp.billable_duration #=> Integer
|
872
|
-
# resp.checkpoint_config.local_path #=> String
|
873
|
-
# resp.checkpoint_config.s3_uri #=> String
|
874
|
-
# resp.created_at #=> Time
|
875
|
-
# resp.device_config.device #=> String
|
876
|
-
# resp.ended_at #=> Time
|
877
|
-
# resp.events #=> Array
|
878
|
-
# 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"
|
879
|
-
# resp.events[0].message #=> String
|
880
|
-
# 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
|
881
872
|
# resp.failure_reason #=> String
|
873
|
+
# resp.job_name #=> String
|
882
874
|
# resp.hyper_parameters #=> Hash
|
883
875
|
# resp.hyper_parameters["String256"] #=> String
|
884
876
|
# resp.input_data_config #=> Array
|
885
877
|
# resp.input_data_config[0].channel_name #=> String
|
886
878
|
# resp.input_data_config[0].content_type #=> String
|
887
879
|
# resp.input_data_config[0].data_source.s3_data_source.s3_uri #=> String
|
888
|
-
# resp.instance_config.instance_count #=> Integer
|
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.job_arn #=> String
|
892
|
-
# resp.job_name #=> String
|
893
880
|
# resp.output_data_config.kms_key_id #=> String
|
894
881
|
# resp.output_data_config.s3_path #=> String
|
895
|
-
# resp.queue_info.message #=> String
|
896
|
-
# resp.queue_info.position #=> String
|
897
|
-
# resp.queue_info.queue #=> String, one of "QUANTUM_TASKS_QUEUE", "JOBS_QUEUE"
|
898
|
-
# resp.role_arn #=> String
|
899
|
-
# resp.started_at #=> Time
|
900
|
-
# resp.status #=> String, one of "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
901
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
|
902
901
|
# resp.tags #=> Hash
|
903
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"
|
904
909
|
#
|
905
910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetJob AWS API Documentation
|
906
911
|
#
|
@@ -913,58 +918,65 @@ module Aws::Braket
|
|
913
918
|
|
914
919
|
# Retrieves the specified quantum task.
|
915
920
|
#
|
916
|
-
# @option params [Array<String>] :additional_attribute_names
|
917
|
-
# A list of attributes to return information for.
|
918
|
-
#
|
919
921
|
# @option params [required, String] :quantum_task_arn
|
920
|
-
# 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.
|
921
927
|
#
|
922
928
|
# @return [Types::GetQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
923
929
|
#
|
924
|
-
# * {Types::GetQuantumTaskResponse#
|
925
|
-
# * {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
|
926
933
|
# * {Types::GetQuantumTaskResponse#device_arn #device_arn} => String
|
927
934
|
# * {Types::GetQuantumTaskResponse#device_parameters #device_parameters} => String
|
928
|
-
# * {Types::GetQuantumTaskResponse#
|
929
|
-
# * {Types::GetQuantumTaskResponse#failure_reason #failure_reason} => String
|
930
|
-
# * {Types::GetQuantumTaskResponse#job_arn #job_arn} => String
|
935
|
+
# * {Types::GetQuantumTaskResponse#shots #shots} => Integer
|
931
936
|
# * {Types::GetQuantumTaskResponse#output_s3_bucket #output_s3_bucket} => String
|
932
937
|
# * {Types::GetQuantumTaskResponse#output_s3_directory #output_s3_directory} => String
|
933
|
-
# * {Types::GetQuantumTaskResponse#
|
934
|
-
# * {Types::GetQuantumTaskResponse#
|
935
|
-
# * {Types::GetQuantumTaskResponse#shots #shots} => Integer
|
936
|
-
# * {Types::GetQuantumTaskResponse#status #status} => String
|
938
|
+
# * {Types::GetQuantumTaskResponse#created_at #created_at} => Time
|
939
|
+
# * {Types::GetQuantumTaskResponse#ended_at #ended_at} => Time
|
937
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
|
938
946
|
#
|
939
947
|
# @example Request syntax with placeholder values
|
940
948
|
#
|
941
949
|
# resp = client.get_quantum_task({
|
942
|
-
# additional_attribute_names: ["QueueInfo"], # accepts QueueInfo
|
943
950
|
# quantum_task_arn: "QuantumTaskArn", # required
|
951
|
+
# additional_attribute_names: ["QueueInfo"], # accepts QueueInfo
|
944
952
|
# })
|
945
953
|
#
|
946
954
|
# @example Response structure
|
947
955
|
#
|
948
|
-
# resp.
|
949
|
-
# resp.
|
950
|
-
# resp.
|
951
|
-
# 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
|
952
959
|
# resp.device_arn #=> String
|
953
960
|
# resp.device_parameters #=> String
|
954
|
-
# resp.
|
955
|
-
# resp.failure_reason #=> String
|
956
|
-
# resp.job_arn #=> String
|
961
|
+
# resp.shots #=> Integer
|
957
962
|
# resp.output_s3_bucket #=> String
|
958
963
|
# resp.output_s3_directory #=> String
|
959
|
-
# resp.
|
960
|
-
# resp.
|
961
|
-
# resp.queue_info.position #=> String
|
962
|
-
# resp.queue_info.queue #=> String, one of "QUANTUM_TASKS_QUEUE", "JOBS_QUEUE"
|
963
|
-
# resp.queue_info.queue_priority #=> String, one of "Normal", "Priority"
|
964
|
-
# resp.shots #=> Integer
|
965
|
-
# resp.status #=> String, one of "CREATED", "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
964
|
+
# resp.created_at #=> Time
|
965
|
+
# resp.ended_at #=> Time
|
966
966
|
# resp.tags #=> Hash
|
967
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
|
968
980
|
#
|
969
981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTask AWS API Documentation
|
970
982
|
#
|
@@ -1006,16 +1018,17 @@ module Aws::Braket
|
|
1006
1018
|
|
1007
1019
|
# Searches for devices using the specified filters.
|
1008
1020
|
#
|
1009
|
-
# @option params [
|
1010
|
-
#
|
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.
|
1011
1025
|
#
|
1012
1026
|
# @option params [Integer] :max_results
|
1013
1027
|
# The maximum number of results to return in the response.
|
1014
1028
|
#
|
1015
|
-
# @option params [
|
1016
|
-
#
|
1017
|
-
#
|
1018
|
-
# the previous request ended.
|
1029
|
+
# @option params [required, Array<Types::SearchDevicesFilter>] :filters
|
1030
|
+
# Array of SearchDevicesFilter objects to use when searching for
|
1031
|
+
# devices.
|
1019
1032
|
#
|
1020
1033
|
# @return [Types::SearchDevicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1021
1034
|
#
|
@@ -1027,14 +1040,14 @@ module Aws::Braket
|
|
1027
1040
|
# @example Request syntax with placeholder values
|
1028
1041
|
#
|
1029
1042
|
# resp = client.search_devices({
|
1043
|
+
# next_token: "String",
|
1044
|
+
# max_results: 1,
|
1030
1045
|
# filters: [ # required
|
1031
1046
|
# {
|
1032
1047
|
# name: "SearchDevicesFilterNameString", # required
|
1033
1048
|
# values: ["String256"], # required
|
1034
1049
|
# },
|
1035
1050
|
# ],
|
1036
|
-
# max_results: 1,
|
1037
|
-
# next_token: "String",
|
1038
1051
|
# })
|
1039
1052
|
#
|
1040
1053
|
# @example Response structure
|
@@ -1042,9 +1055,9 @@ module Aws::Braket
|
|
1042
1055
|
# resp.devices #=> Array
|
1043
1056
|
# resp.devices[0].device_arn #=> String
|
1044
1057
|
# resp.devices[0].device_name #=> String
|
1045
|
-
# resp.devices[0].device_status #=> String, one of "ONLINE", "OFFLINE", "RETIRED"
|
1046
|
-
# resp.devices[0].device_type #=> String, one of "QPU", "SIMULATOR"
|
1047
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"
|
1048
1061
|
# resp.next_token #=> String
|
1049
1062
|
#
|
1050
1063
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchDevices AWS API Documentation
|
@@ -1056,19 +1069,20 @@ module Aws::Braket
|
|
1056
1069
|
req.send_request(options)
|
1057
1070
|
end
|
1058
1071
|
|
1059
|
-
# Searches for Amazon Braket jobs that match the specified filter
|
1072
|
+
# Searches for Amazon Braket hybrid jobs that match the specified filter
|
1060
1073
|
# values.
|
1061
1074
|
#
|
1062
|
-
# @option params [
|
1063
|
-
#
|
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.
|
1064
1079
|
#
|
1065
1080
|
# @option params [Integer] :max_results
|
1066
1081
|
# The maximum number of results to return in the response.
|
1067
1082
|
#
|
1068
|
-
# @option params [
|
1069
|
-
#
|
1070
|
-
#
|
1071
|
-
# 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.
|
1072
1086
|
#
|
1073
1087
|
# @return [Types::SearchJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1074
1088
|
#
|
@@ -1080,27 +1094,27 @@ module Aws::Braket
|
|
1080
1094
|
# @example Request syntax with placeholder values
|
1081
1095
|
#
|
1082
1096
|
# resp = client.search_jobs({
|
1097
|
+
# next_token: "String",
|
1098
|
+
# max_results: 1,
|
1083
1099
|
# filters: [ # required
|
1084
1100
|
# {
|
1085
1101
|
# name: "String64", # required
|
1086
|
-
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN, CONTAINS
|
1087
1102
|
# values: ["String256"], # required
|
1103
|
+
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN, CONTAINS
|
1088
1104
|
# },
|
1089
1105
|
# ],
|
1090
|
-
# max_results: 1,
|
1091
|
-
# next_token: "String",
|
1092
1106
|
# })
|
1093
1107
|
#
|
1094
1108
|
# @example Response structure
|
1095
1109
|
#
|
1096
1110
|
# resp.jobs #=> Array
|
1097
|
-
# resp.jobs[0].
|
1098
|
-
# resp.jobs[0].device #=> String
|
1099
|
-
# resp.jobs[0].ended_at #=> Time
|
1111
|
+
# resp.jobs[0].status #=> String, one of "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
1100
1112
|
# resp.jobs[0].job_arn #=> String
|
1101
1113
|
# resp.jobs[0].job_name #=> String
|
1114
|
+
# resp.jobs[0].device #=> String
|
1115
|
+
# resp.jobs[0].created_at #=> Time
|
1102
1116
|
# resp.jobs[0].started_at #=> Time
|
1103
|
-
# resp.jobs[0].
|
1117
|
+
# resp.jobs[0].ended_at #=> Time
|
1104
1118
|
# resp.jobs[0].tags #=> Hash
|
1105
1119
|
# resp.jobs[0].tags["String"] #=> String
|
1106
1120
|
# resp.next_token #=> String
|
@@ -1116,52 +1130,53 @@ module Aws::Braket
|
|
1116
1130
|
|
1117
1131
|
# Searches for tasks that match the specified filter values.
|
1118
1132
|
#
|
1119
|
-
# @option params [
|
1120
|
-
#
|
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.
|
1121
1137
|
#
|
1122
1138
|
# @option params [Integer] :max_results
|
1123
1139
|
# Maximum number of results to return in the response.
|
1124
1140
|
#
|
1125
|
-
# @option params [
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
# 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.
|
1129
1144
|
#
|
1130
1145
|
# @return [Types::SearchQuantumTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1131
1146
|
#
|
1132
|
-
# * {Types::SearchQuantumTasksResponse#next_token #next_token} => String
|
1133
1147
|
# * {Types::SearchQuantumTasksResponse#quantum_tasks #quantum_tasks} => Array<Types::QuantumTaskSummary>
|
1148
|
+
# * {Types::SearchQuantumTasksResponse#next_token #next_token} => String
|
1134
1149
|
#
|
1135
1150
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1136
1151
|
#
|
1137
1152
|
# @example Request syntax with placeholder values
|
1138
1153
|
#
|
1139
1154
|
# resp = client.search_quantum_tasks({
|
1155
|
+
# next_token: "String",
|
1156
|
+
# max_results: 1,
|
1140
1157
|
# filters: [ # required
|
1141
1158
|
# {
|
1142
1159
|
# name: "String64", # required
|
1143
|
-
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
|
1144
1160
|
# values: ["String256"], # required
|
1161
|
+
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
|
1145
1162
|
# },
|
1146
1163
|
# ],
|
1147
|
-
# max_results: 1,
|
1148
|
-
# next_token: "String",
|
1149
1164
|
# })
|
1150
1165
|
#
|
1151
1166
|
# @example Response structure
|
1152
1167
|
#
|
1153
|
-
# resp.next_token #=> String
|
1154
1168
|
# resp.quantum_tasks #=> Array
|
1155
|
-
# 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"
|
1156
1171
|
# resp.quantum_tasks[0].device_arn #=> String
|
1157
|
-
# resp.quantum_tasks[0].
|
1172
|
+
# resp.quantum_tasks[0].shots #=> Integer
|
1158
1173
|
# resp.quantum_tasks[0].output_s3_bucket #=> String
|
1159
1174
|
# resp.quantum_tasks[0].output_s3_directory #=> String
|
1160
|
-
# resp.quantum_tasks[0].
|
1161
|
-
# resp.quantum_tasks[0].
|
1162
|
-
# 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
|
1163
1177
|
# resp.quantum_tasks[0].tags #=> Hash
|
1164
1178
|
# resp.quantum_tasks[0].tags["String"] #=> String
|
1179
|
+
# resp.next_token #=> String
|
1165
1180
|
#
|
1166
1181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasks AWS API Documentation
|
1167
1182
|
#
|
@@ -1179,7 +1194,8 @@ module Aws::Braket
|
|
1179
1194
|
# added.
|
1180
1195
|
#
|
1181
1196
|
# @option params [required, Hash<String,String>] :tags
|
1182
|
-
# 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.
|
1183
1199
|
#
|
1184
1200
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1185
1201
|
#
|
@@ -1246,7 +1262,7 @@ module Aws::Braket
|
|
1246
1262
|
tracer: tracer
|
1247
1263
|
)
|
1248
1264
|
context[:gem_name] = 'aws-sdk-braket'
|
1249
|
-
context[:gem_version] = '1.
|
1265
|
+
context[:gem_version] = '1.57.0'
|
1250
1266
|
Seahorse::Client::Request.new(handlers, context)
|
1251
1267
|
end
|
1252
1268
|
|