aws-sdk-braket 1.15.0 → 1.29.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 +72 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-braket/client.rb +90 -4
- data/lib/aws-sdk-braket/client_api.rb +39 -0
- data/lib/aws-sdk-braket/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-braket/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-braket/endpoints.rb +198 -0
- data/lib/aws-sdk-braket/plugins/endpoints.rb +94 -0
- data/lib/aws-sdk-braket/types.rb +115 -296
- data/lib/aws-sdk-braket.rb +5 -1
- metadata +8 -4
    
        data/lib/aws-sdk-braket/types.rb
    CHANGED
    
    | @@ -27,20 +27,6 @@ module Aws::Braket | |
| 27 27 | 
             
                # image the job uses and the paths to the Python scripts used for entry
         | 
| 28 28 | 
             
                # and training.
         | 
| 29 29 | 
             
                #
         | 
| 30 | 
            -
                # @note When making an API call, you may pass AlgorithmSpecification
         | 
| 31 | 
            -
                #   data as a hash:
         | 
| 32 | 
            -
                #
         | 
| 33 | 
            -
                #       {
         | 
| 34 | 
            -
                #         container_image: {
         | 
| 35 | 
            -
                #           uri: "Uri", # required
         | 
| 36 | 
            -
                #         },
         | 
| 37 | 
            -
                #         script_mode_config: {
         | 
| 38 | 
            -
                #           compression_type: "NONE", # accepts NONE, GZIP
         | 
| 39 | 
            -
                #           entry_point: "String", # required
         | 
| 40 | 
            -
                #           s3_uri: "S3Path", # required
         | 
| 41 | 
            -
                #         },
         | 
| 42 | 
            -
                #       }
         | 
| 43 | 
            -
                #
         | 
| 44 30 | 
             
                # @!attribute [rw] container_image
         | 
| 45 31 | 
             
                #   The container image used to create an Amazon Braket job.
         | 
| 46 32 | 
             
                #   @return [Types::ContainerImage]
         | 
| @@ -59,13 +45,6 @@ module Aws::Braket | |
| 59 45 | 
             
                  include Aws::Structure
         | 
| 60 46 | 
             
                end
         | 
| 61 47 |  | 
| 62 | 
            -
                # @note When making an API call, you may pass CancelJobRequest
         | 
| 63 | 
            -
                #   data as a hash:
         | 
| 64 | 
            -
                #
         | 
| 65 | 
            -
                #       {
         | 
| 66 | 
            -
                #         job_arn: "JobArn", # required
         | 
| 67 | 
            -
                #       }
         | 
| 68 | 
            -
                #
         | 
| 69 48 | 
             
                # @!attribute [rw] job_arn
         | 
| 70 49 | 
             
                #   The ARN of the Amazon Braket job to cancel.
         | 
| 71 50 | 
             
                #   @return [String]
         | 
| @@ -95,14 +74,6 @@ module Aws::Braket | |
| 95 74 | 
             
                  include Aws::Structure
         | 
| 96 75 | 
             
                end
         | 
| 97 76 |  | 
| 98 | 
            -
                # @note When making an API call, you may pass CancelQuantumTaskRequest
         | 
| 99 | 
            -
                #   data as a hash:
         | 
| 100 | 
            -
                #
         | 
| 101 | 
            -
                #       {
         | 
| 102 | 
            -
                #         client_token: "String64", # required
         | 
| 103 | 
            -
                #         quantum_task_arn: "QuantumTaskArn", # required
         | 
| 104 | 
            -
                #       }
         | 
| 105 | 
            -
                #
         | 
| 106 77 | 
             
                # @!attribute [rw] client_token
         | 
| 107 78 | 
             
                #   The client token associated with the request.
         | 
| 108 79 | 
             
                #
         | 
| @@ -155,13 +126,6 @@ module Aws::Braket | |
| 155 126 |  | 
| 156 127 | 
             
                # The container image used to create an Amazon Braket job.
         | 
| 157 128 | 
             
                #
         | 
| 158 | 
            -
                # @note When making an API call, you may pass ContainerImage
         | 
| 159 | 
            -
                #   data as a hash:
         | 
| 160 | 
            -
                #
         | 
| 161 | 
            -
                #       {
         | 
| 162 | 
            -
                #         uri: "Uri", # required
         | 
| 163 | 
            -
                #       }
         | 
| 164 | 
            -
                #
         | 
| 165 129 | 
             
                # @!attribute [rw] uri
         | 
| 166 130 | 
             
                #   The URI locating the container image.
         | 
| 167 131 | 
             
                #   @return [String]
         | 
| @@ -174,60 +138,6 @@ module Aws::Braket | |
| 174 138 | 
             
                  include Aws::Structure
         | 
| 175 139 | 
             
                end
         | 
| 176 140 |  | 
| 177 | 
            -
                # @note When making an API call, you may pass CreateJobRequest
         | 
| 178 | 
            -
                #   data as a hash:
         | 
| 179 | 
            -
                #
         | 
| 180 | 
            -
                #       {
         | 
| 181 | 
            -
                #         algorithm_specification: { # required
         | 
| 182 | 
            -
                #           container_image: {
         | 
| 183 | 
            -
                #             uri: "Uri", # required
         | 
| 184 | 
            -
                #           },
         | 
| 185 | 
            -
                #           script_mode_config: {
         | 
| 186 | 
            -
                #             compression_type: "NONE", # accepts NONE, GZIP
         | 
| 187 | 
            -
                #             entry_point: "String", # required
         | 
| 188 | 
            -
                #             s3_uri: "S3Path", # required
         | 
| 189 | 
            -
                #           },
         | 
| 190 | 
            -
                #         },
         | 
| 191 | 
            -
                #         checkpoint_config: {
         | 
| 192 | 
            -
                #           local_path: "String4096",
         | 
| 193 | 
            -
                #           s3_uri: "S3Path", # required
         | 
| 194 | 
            -
                #         },
         | 
| 195 | 
            -
                #         client_token: "String64", # required
         | 
| 196 | 
            -
                #         device_config: { # required
         | 
| 197 | 
            -
                #           device: "String256", # required
         | 
| 198 | 
            -
                #         },
         | 
| 199 | 
            -
                #         hyper_parameters: {
         | 
| 200 | 
            -
                #           "String256" => "HyperParametersValueString",
         | 
| 201 | 
            -
                #         },
         | 
| 202 | 
            -
                #         input_data_config: [
         | 
| 203 | 
            -
                #           {
         | 
| 204 | 
            -
                #             channel_name: "InputFileConfigChannelNameString", # required
         | 
| 205 | 
            -
                #             content_type: "String256",
         | 
| 206 | 
            -
                #             data_source: { # required
         | 
| 207 | 
            -
                #               s3_data_source: { # required
         | 
| 208 | 
            -
                #                 s3_uri: "S3Path", # required
         | 
| 209 | 
            -
                #               },
         | 
| 210 | 
            -
                #             },
         | 
| 211 | 
            -
                #           },
         | 
| 212 | 
            -
                #         ],
         | 
| 213 | 
            -
                #         instance_config: { # required
         | 
| 214 | 
            -
                #           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
         | 
| 215 | 
            -
                #           volume_size_in_gb: 1, # required
         | 
| 216 | 
            -
                #         },
         | 
| 217 | 
            -
                #         job_name: "CreateJobRequestJobNameString", # required
         | 
| 218 | 
            -
                #         output_data_config: { # required
         | 
| 219 | 
            -
                #           kms_key_id: "String2048",
         | 
| 220 | 
            -
                #           s3_path: "S3Path", # required
         | 
| 221 | 
            -
                #         },
         | 
| 222 | 
            -
                #         role_arn: "RoleArn", # required
         | 
| 223 | 
            -
                #         stopping_condition: {
         | 
| 224 | 
            -
                #           max_runtime_in_seconds: 1,
         | 
| 225 | 
            -
                #         },
         | 
| 226 | 
            -
                #         tags: {
         | 
| 227 | 
            -
                #           "String" => "String",
         | 
| 228 | 
            -
                #         },
         | 
| 229 | 
            -
                #       }
         | 
| 230 | 
            -
                #
         | 
| 231 141 | 
             
                # @!attribute [rw] algorithm_specification
         | 
| 232 142 | 
             
                #   Definition of the Amazon Braket job to be created. Specifies the
         | 
| 233 143 | 
             
                #   container image the job uses and information about the Python
         | 
| @@ -324,23 +234,6 @@ module Aws::Braket | |
| 324 234 | 
             
                  include Aws::Structure
         | 
| 325 235 | 
             
                end
         | 
| 326 236 |  | 
| 327 | 
            -
                # @note When making an API call, you may pass CreateQuantumTaskRequest
         | 
| 328 | 
            -
                #   data as a hash:
         | 
| 329 | 
            -
                #
         | 
| 330 | 
            -
                #       {
         | 
| 331 | 
            -
                #         action: "JsonValue", # required
         | 
| 332 | 
            -
                #         client_token: "String64", # required
         | 
| 333 | 
            -
                #         device_arn: "DeviceArn", # required
         | 
| 334 | 
            -
                #         device_parameters: "CreateQuantumTaskRequestDeviceParametersString",
         | 
| 335 | 
            -
                #         job_token: "JobToken",
         | 
| 336 | 
            -
                #         output_s3_bucket: "CreateQuantumTaskRequestOutputS3BucketString", # required
         | 
| 337 | 
            -
                #         output_s3_key_prefix: "CreateQuantumTaskRequestOutputS3KeyPrefixString", # required
         | 
| 338 | 
            -
                #         shots: 1, # required
         | 
| 339 | 
            -
                #         tags: {
         | 
| 340 | 
            -
                #           "String" => "String",
         | 
| 341 | 
            -
                #         },
         | 
| 342 | 
            -
                #       }
         | 
| 343 | 
            -
                #
         | 
| 344 237 | 
             
                # @!attribute [rw] action
         | 
| 345 238 | 
             
                #   The action associated with the task.
         | 
| 346 239 | 
             
                #   @return [String]
         | 
| @@ -413,15 +306,6 @@ module Aws::Braket | |
| 413 306 | 
             
                # Information about the source of the data used by the Amazon Braket
         | 
| 414 307 | 
             
                # job.
         | 
| 415 308 | 
             
                #
         | 
| 416 | 
            -
                # @note When making an API call, you may pass DataSource
         | 
| 417 | 
            -
                #   data as a hash:
         | 
| 418 | 
            -
                #
         | 
| 419 | 
            -
                #       {
         | 
| 420 | 
            -
                #         s3_data_source: { # required
         | 
| 421 | 
            -
                #           s3_uri: "S3Path", # required
         | 
| 422 | 
            -
                #         },
         | 
| 423 | 
            -
                #       }
         | 
| 424 | 
            -
                #
         | 
| 425 309 | 
             
                # @!attribute [rw] s3_data_source
         | 
| 426 310 | 
             
                #   Information about the data stored in Amazon S3 used by the Amazon
         | 
| 427 311 | 
             
                #   Braket job.
         | 
| @@ -438,13 +322,6 @@ module Aws::Braket | |
| 438 322 | 
             
                # Configures the quantum processing units (QPUs) or simulator used to
         | 
| 439 323 | 
             
                # create and run an Amazon Braket job.
         | 
| 440 324 | 
             
                #
         | 
| 441 | 
            -
                # @note When making an API call, you may pass DeviceConfig
         | 
| 442 | 
            -
                #   data as a hash:
         | 
| 443 | 
            -
                #
         | 
| 444 | 
            -
                #       {
         | 
| 445 | 
            -
                #         device: "String256", # required
         | 
| 446 | 
            -
                #       }
         | 
| 447 | 
            -
                #
         | 
| 448 325 | 
             
                # @!attribute [rw] device
         | 
| 449 326 | 
             
                #   The primary quantum processing unit (QPU) or simulator used to
         | 
| 450 327 | 
             
                #   create and run an Amazon Braket job.
         | 
| @@ -471,6 +348,31 @@ module Aws::Braket | |
| 471 348 | 
             
                  include Aws::Structure
         | 
| 472 349 | 
             
                end
         | 
| 473 350 |  | 
| 351 | 
            +
                # Information about tasks and jobs queued on a device.
         | 
| 352 | 
            +
                #
         | 
| 353 | 
            +
                # @!attribute [rw] queue
         | 
| 354 | 
            +
                #   The name of the queue.
         | 
| 355 | 
            +
                #   @return [String]
         | 
| 356 | 
            +
                #
         | 
| 357 | 
            +
                # @!attribute [rw] queue_priority
         | 
| 358 | 
            +
                #   Optional. Specifies the priority of the queue. Tasks in a priority
         | 
| 359 | 
            +
                #   queue are processed before the tasks in a normal queue.
         | 
| 360 | 
            +
                #   @return [String]
         | 
| 361 | 
            +
                #
         | 
| 362 | 
            +
                # @!attribute [rw] queue_size
         | 
| 363 | 
            +
                #   The number of jobs or tasks in the queue for a given device.
         | 
| 364 | 
            +
                #   @return [String]
         | 
| 365 | 
            +
                #
         | 
| 366 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/DeviceQueueInfo AWS API Documentation
         | 
| 367 | 
            +
                #
         | 
| 368 | 
            +
                class DeviceQueueInfo < Struct.new(
         | 
| 369 | 
            +
                  :queue,
         | 
| 370 | 
            +
                  :queue_priority,
         | 
| 371 | 
            +
                  :queue_size)
         | 
| 372 | 
            +
                  SENSITIVE = []
         | 
| 373 | 
            +
                  include Aws::Structure
         | 
| 374 | 
            +
                end
         | 
| 375 | 
            +
             | 
| 474 376 | 
             
                # The specified device has been retired.
         | 
| 475 377 | 
             
                #
         | 
| 476 378 | 
             
                # @!attribute [rw] message
         | 
| @@ -518,13 +420,6 @@ module Aws::Braket | |
| 518 420 | 
             
                  include Aws::Structure
         | 
| 519 421 | 
             
                end
         | 
| 520 422 |  | 
| 521 | 
            -
                # @note When making an API call, you may pass GetDeviceRequest
         | 
| 522 | 
            -
                #   data as a hash:
         | 
| 523 | 
            -
                #
         | 
| 524 | 
            -
                #       {
         | 
| 525 | 
            -
                #         device_arn: "DeviceArn", # required
         | 
| 526 | 
            -
                #       }
         | 
| 527 | 
            -
                #
         | 
| 528 423 | 
             
                # @!attribute [rw] device_arn
         | 
| 529 424 | 
             
                #   The ARN of the device to retrieve.
         | 
| 530 425 | 
             
                #   @return [String]
         | 
| @@ -549,6 +444,10 @@ module Aws::Braket | |
| 549 444 | 
             
                #   The name of the device.
         | 
| 550 445 | 
             
                #   @return [String]
         | 
| 551 446 | 
             
                #
         | 
| 447 | 
            +
                # @!attribute [rw] device_queue_info
         | 
| 448 | 
            +
                #   List of information about tasks and jobs queued on a device.
         | 
| 449 | 
            +
                #   @return [Array<Types::DeviceQueueInfo>]
         | 
| 450 | 
            +
                #
         | 
| 552 451 | 
             
                # @!attribute [rw] device_status
         | 
| 553 452 | 
             
                #   The status of the device.
         | 
| 554 453 | 
             
                #   @return [String]
         | 
| @@ -567,6 +466,7 @@ module Aws::Braket | |
| 567 466 | 
             
                  :device_arn,
         | 
| 568 467 | 
             
                  :device_capabilities,
         | 
| 569 468 | 
             
                  :device_name,
         | 
| 469 | 
            +
                  :device_queue_info,
         | 
| 570 470 | 
             
                  :device_status,
         | 
| 571 471 | 
             
                  :device_type,
         | 
| 572 472 | 
             
                  :provider_name)
         | 
| @@ -574,12 +474,9 @@ module Aws::Braket | |
| 574 474 | 
             
                  include Aws::Structure
         | 
| 575 475 | 
             
                end
         | 
| 576 476 |  | 
| 577 | 
            -
                #  | 
| 578 | 
            -
                #    | 
| 579 | 
            -
                #
         | 
| 580 | 
            -
                #       {
         | 
| 581 | 
            -
                #         job_arn: "JobArn", # required
         | 
| 582 | 
            -
                #       }
         | 
| 477 | 
            +
                # @!attribute [rw] additional_attribute_names
         | 
| 478 | 
            +
                #   A list of attributes to return information for.
         | 
| 479 | 
            +
                #   @return [Array<String>]
         | 
| 583 480 | 
             
                #
         | 
| 584 481 | 
             
                # @!attribute [rw] job_arn
         | 
| 585 482 | 
             
                #   The ARN of the job to retrieve.
         | 
| @@ -588,6 +485,7 @@ module Aws::Braket | |
| 588 485 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetJobRequest AWS API Documentation
         | 
| 589 486 | 
             
                #
         | 
| 590 487 | 
             
                class GetJobRequest < Struct.new(
         | 
| 488 | 
            +
                  :additional_attribute_names,
         | 
| 591 489 | 
             
                  :job_arn)
         | 
| 592 490 | 
             
                  SENSITIVE = []
         | 
| 593 491 | 
             
                  include Aws::Structure
         | 
| @@ -661,6 +559,12 @@ module Aws::Braket | |
| 661 559 | 
             
                #   encryption key used to store them there.
         | 
| 662 560 | 
             
                #   @return [Types::JobOutputDataConfig]
         | 
| 663 561 | 
             
                #
         | 
| 562 | 
            +
                # @!attribute [rw] queue_info
         | 
| 563 | 
            +
                #   Queue information for the requested job. Only returned if
         | 
| 564 | 
            +
                #   `QueueInfo` is specified in the `additionalAttributeNames"` field in
         | 
| 565 | 
            +
                #   the `GetJob` API request.
         | 
| 566 | 
            +
                #   @return [Types::HybridJobQueueInfo]
         | 
| 567 | 
            +
                #
         | 
| 664 568 | 
             
                # @!attribute [rw] role_arn
         | 
| 665 569 | 
             
                #   The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can
         | 
| 666 570 | 
             
                #   assume to perform tasks on behalf of a user. It can access user
         | 
| @@ -702,6 +606,7 @@ module Aws::Braket | |
| 702 606 | 
             
                  :job_arn,
         | 
| 703 607 | 
             
                  :job_name,
         | 
| 704 608 | 
             
                  :output_data_config,
         | 
| 609 | 
            +
                  :queue_info,
         | 
| 705 610 | 
             
                  :role_arn,
         | 
| 706 611 | 
             
                  :started_at,
         | 
| 707 612 | 
             
                  :status,
         | 
| @@ -711,12 +616,9 @@ module Aws::Braket | |
| 711 616 | 
             
                  include Aws::Structure
         | 
| 712 617 | 
             
                end
         | 
| 713 618 |  | 
| 714 | 
            -
                #  | 
| 715 | 
            -
                #    | 
| 716 | 
            -
                #
         | 
| 717 | 
            -
                #       {
         | 
| 718 | 
            -
                #         quantum_task_arn: "QuantumTaskArn", # required
         | 
| 719 | 
            -
                #       }
         | 
| 619 | 
            +
                # @!attribute [rw] additional_attribute_names
         | 
| 620 | 
            +
                #   A list of attributes to return information for.
         | 
| 621 | 
            +
                #   @return [Array<String>]
         | 
| 720 622 | 
             
                #
         | 
| 721 623 | 
             
                # @!attribute [rw] quantum_task_arn
         | 
| 722 624 | 
             
                #   the ARN of the task to retrieve.
         | 
| @@ -725,6 +627,7 @@ module Aws::Braket | |
| 725 627 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTaskRequest AWS API Documentation
         | 
| 726 628 | 
             
                #
         | 
| 727 629 | 
             
                class GetQuantumTaskRequest < Struct.new(
         | 
| 630 | 
            +
                  :additional_attribute_names,
         | 
| 728 631 | 
             
                  :quantum_task_arn)
         | 
| 729 632 | 
             
                  SENSITIVE = []
         | 
| 730 633 | 
             
                  include Aws::Structure
         | 
| @@ -766,6 +669,12 @@ module Aws::Braket | |
| 766 669 | 
             
                #   The ARN of the task.
         | 
| 767 670 | 
             
                #   @return [String]
         | 
| 768 671 | 
             
                #
         | 
| 672 | 
            +
                # @!attribute [rw] queue_info
         | 
| 673 | 
            +
                #   Queue information for the requested quantum task. Only returned if
         | 
| 674 | 
            +
                #   `QueueInfo` is specified in the `additionalAttributeNames"` field in
         | 
| 675 | 
            +
                #   the `GetQuantumTask` API request.
         | 
| 676 | 
            +
                #   @return [Types::QuantumTaskQueueInfo]
         | 
| 677 | 
            +
                #
         | 
| 769 678 | 
             
                # @!attribute [rw] shots
         | 
| 770 679 | 
             
                #   The number of shots used in the task.
         | 
| 771 680 | 
             
                #   @return [Integer]
         | 
| @@ -790,6 +699,7 @@ module Aws::Braket | |
| 790 699 | 
             
                  :output_s3_bucket,
         | 
| 791 700 | 
             
                  :output_s3_directory,
         | 
| 792 701 | 
             
                  :quantum_task_arn,
         | 
| 702 | 
            +
                  :queue_info,
         | 
| 793 703 | 
             
                  :shots,
         | 
| 794 704 | 
             
                  :status,
         | 
| 795 705 | 
             
                  :tags)
         | 
| @@ -797,21 +707,34 @@ module Aws::Braket | |
| 797 707 | 
             
                  include Aws::Structure
         | 
| 798 708 | 
             
                end
         | 
| 799 709 |  | 
| 800 | 
            -
                #  | 
| 801 | 
            -
                # data, and where it is located.
         | 
| 710 | 
            +
                # Information about the queue for a specified job.
         | 
| 802 711 | 
             
                #
         | 
| 803 | 
            -
                #  | 
| 804 | 
            -
                #    | 
| 712 | 
            +
                # @!attribute [rw] message
         | 
| 713 | 
            +
                #   Optional. Provides more information about the queue position. For
         | 
| 714 | 
            +
                #   example, if the job is complete and no longer in the queue, the
         | 
| 715 | 
            +
                #   message field contains that information.
         | 
| 716 | 
            +
                #   @return [String]
         | 
| 717 | 
            +
                #
         | 
| 718 | 
            +
                # @!attribute [rw] position
         | 
| 719 | 
            +
                #   Current position of the job in the jobs queue.
         | 
| 720 | 
            +
                #   @return [String]
         | 
| 721 | 
            +
                #
         | 
| 722 | 
            +
                # @!attribute [rw] queue
         | 
| 723 | 
            +
                #   The name of the queue.
         | 
| 724 | 
            +
                #   @return [String]
         | 
| 805 725 | 
             
                #
         | 
| 806 | 
            -
                # | 
| 807 | 
            -
                # | 
| 808 | 
            -
                 | 
| 809 | 
            -
             | 
| 810 | 
            -
             | 
| 811 | 
            -
             | 
| 812 | 
            -
             | 
| 813 | 
            -
             | 
| 814 | 
            -
                 | 
| 726 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/HybridJobQueueInfo AWS API Documentation
         | 
| 727 | 
            +
                #
         | 
| 728 | 
            +
                class HybridJobQueueInfo < Struct.new(
         | 
| 729 | 
            +
                  :message,
         | 
| 730 | 
            +
                  :position,
         | 
| 731 | 
            +
                  :queue)
         | 
| 732 | 
            +
                  SENSITIVE = []
         | 
| 733 | 
            +
                  include Aws::Structure
         | 
| 734 | 
            +
                end
         | 
| 735 | 
            +
             | 
| 736 | 
            +
                # A list of parameters that specify the input channels, type of input
         | 
| 737 | 
            +
                # data, and where it is located.
         | 
| 815 738 | 
             
                #
         | 
| 816 739 | 
             
                # @!attribute [rw] channel_name
         | 
| 817 740 | 
             
                #   A named input source that an Amazon Braket job can consume.
         | 
| @@ -838,13 +761,10 @@ module Aws::Braket | |
| 838 761 | 
             
                # Configures the resource instances to use while running the Amazon
         | 
| 839 762 | 
             
                # Braket hybrid job on Amazon Braket.
         | 
| 840 763 | 
             
                #
         | 
| 841 | 
            -
                #  | 
| 842 | 
            -
                #    | 
| 843 | 
            -
                #
         | 
| 844 | 
            -
                # | 
| 845 | 
            -
                #         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
         | 
| 846 | 
            -
                #         volume_size_in_gb: 1, # required
         | 
| 847 | 
            -
                #       }
         | 
| 764 | 
            +
                # @!attribute [rw] instance_count
         | 
| 765 | 
            +
                #   Configures the number of resource instances to use while running an
         | 
| 766 | 
            +
                #   Amazon Braket job on Amazon Braket. The default value is 1.
         | 
| 767 | 
            +
                #   @return [Integer]
         | 
| 848 768 | 
             
                #
         | 
| 849 769 | 
             
                # @!attribute [rw] instance_type
         | 
| 850 770 | 
             
                #   Configures the type resource instances to use while running an
         | 
| @@ -858,6 +778,7 @@ module Aws::Braket | |
| 858 778 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/InstanceConfig AWS API Documentation
         | 
| 859 779 | 
             
                #
         | 
| 860 780 | 
             
                class InstanceConfig < Struct.new(
         | 
| 781 | 
            +
                  :instance_count,
         | 
| 861 782 | 
             
                  :instance_type,
         | 
| 862 783 | 
             
                  :volume_size_in_gb)
         | 
| 863 784 | 
             
                  SENSITIVE = []
         | 
| @@ -881,14 +802,6 @@ module Aws::Braket | |
| 881 802 | 
             
                # Contains information about the output locations for job checkpoint
         | 
| 882 803 | 
             
                # data.
         | 
| 883 804 | 
             
                #
         | 
| 884 | 
            -
                # @note When making an API call, you may pass JobCheckpointConfig
         | 
| 885 | 
            -
                #   data as a hash:
         | 
| 886 | 
            -
                #
         | 
| 887 | 
            -
                #       {
         | 
| 888 | 
            -
                #         local_path: "String4096",
         | 
| 889 | 
            -
                #         s3_uri: "S3Path", # required
         | 
| 890 | 
            -
                #       }
         | 
| 891 | 
            -
                #
         | 
| 892 805 | 
             
                # @!attribute [rw] local_path
         | 
| 893 806 | 
             
                #   (Optional) The local directory where checkpoints are written. The
         | 
| 894 807 | 
             
                #   default directory is `/opt/braket/checkpoints/`.
         | 
| @@ -937,14 +850,6 @@ module Aws::Braket | |
| 937 850 | 
             
                # Specifies the path to the S3 location where you want to store job
         | 
| 938 851 | 
             
                # artifacts and the encryption key used to store them.
         | 
| 939 852 | 
             
                #
         | 
| 940 | 
            -
                # @note When making an API call, you may pass JobOutputDataConfig
         | 
| 941 | 
            -
                #   data as a hash:
         | 
| 942 | 
            -
                #
         | 
| 943 | 
            -
                #       {
         | 
| 944 | 
            -
                #         kms_key_id: "String2048",
         | 
| 945 | 
            -
                #         s3_path: "S3Path", # required
         | 
| 946 | 
            -
                #       }
         | 
| 947 | 
            -
                #
         | 
| 948 853 | 
             
                # @!attribute [rw] kms_key_id
         | 
| 949 854 | 
             
                #   The AWS Key Management Service (AWS KMS) key that Amazon Braket uses
         | 
| 950 855 | 
             
                #   to encrypt the job training artifacts at rest using Amazon S3
         | 
| @@ -967,13 +872,6 @@ module Aws::Braket | |
| 967 872 |  | 
| 968 873 | 
             
                # Specifies limits for how long an Amazon Braket job can run.
         | 
| 969 874 | 
             
                #
         | 
| 970 | 
            -
                # @note When making an API call, you may pass JobStoppingCondition
         | 
| 971 | 
            -
                #   data as a hash:
         | 
| 972 | 
            -
                #
         | 
| 973 | 
            -
                #       {
         | 
| 974 | 
            -
                #         max_runtime_in_seconds: 1,
         | 
| 975 | 
            -
                #       }
         | 
| 976 | 
            -
                #
         | 
| 977 875 | 
             
                # @!attribute [rw] max_runtime_in_seconds
         | 
| 978 876 | 
             
                #   The maximum length of time, in seconds, that an Amazon Braket job
         | 
| 979 877 | 
             
                #   can run.
         | 
| @@ -1038,13 +936,6 @@ module Aws::Braket | |
| 1038 936 | 
             
                  include Aws::Structure
         | 
| 1039 937 | 
             
                end
         | 
| 1040 938 |  | 
| 1041 | 
            -
                # @note When making an API call, you may pass ListTagsForResourceRequest
         | 
| 1042 | 
            -
                #   data as a hash:
         | 
| 1043 | 
            -
                #
         | 
| 1044 | 
            -
                #       {
         | 
| 1045 | 
            -
                #         resource_arn: "String", # required
         | 
| 1046 | 
            -
                #       }
         | 
| 1047 | 
            -
                #
         | 
| 1048 939 | 
             
                # @!attribute [rw] resource_arn
         | 
| 1049 940 | 
             
                #   Specify the `resourceArn` for the resource whose tags to display.
         | 
| 1050 941 | 
             
                #   @return [String]
         | 
| @@ -1069,6 +960,38 @@ module Aws::Braket | |
| 1069 960 | 
             
                  include Aws::Structure
         | 
| 1070 961 | 
             
                end
         | 
| 1071 962 |  | 
| 963 | 
            +
                # Information about the queue for the specified quantum task.
         | 
| 964 | 
            +
                #
         | 
| 965 | 
            +
                # @!attribute [rw] message
         | 
| 966 | 
            +
                #   Optional. Provides more information about the queue position. For
         | 
| 967 | 
            +
                #   example, if the task is complete and no longer in the queue, the
         | 
| 968 | 
            +
                #   message field contains that information.
         | 
| 969 | 
            +
                #   @return [String]
         | 
| 970 | 
            +
                #
         | 
| 971 | 
            +
                # @!attribute [rw] position
         | 
| 972 | 
            +
                #   Current position of the task in the quantum tasks queue.
         | 
| 973 | 
            +
                #   @return [String]
         | 
| 974 | 
            +
                #
         | 
| 975 | 
            +
                # @!attribute [rw] queue
         | 
| 976 | 
            +
                #   The name of the queue.
         | 
| 977 | 
            +
                #   @return [String]
         | 
| 978 | 
            +
                #
         | 
| 979 | 
            +
                # @!attribute [rw] queue_priority
         | 
| 980 | 
            +
                #   Optional. Specifies the priority of the queue. Quantum tasks in a
         | 
| 981 | 
            +
                #   priority queue are processed before the tasks in a normal queue.
         | 
| 982 | 
            +
                #   @return [String]
         | 
| 983 | 
            +
                #
         | 
| 984 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/QuantumTaskQueueInfo AWS API Documentation
         | 
| 985 | 
            +
                #
         | 
| 986 | 
            +
                class QuantumTaskQueueInfo < Struct.new(
         | 
| 987 | 
            +
                  :message,
         | 
| 988 | 
            +
                  :position,
         | 
| 989 | 
            +
                  :queue,
         | 
| 990 | 
            +
                  :queue_priority)
         | 
| 991 | 
            +
                  SENSITIVE = []
         | 
| 992 | 
            +
                  include Aws::Structure
         | 
| 993 | 
            +
                end
         | 
| 994 | 
            +
             | 
| 1072 995 | 
             
                # Includes information about a quantum task.
         | 
| 1073 996 | 
             
                #
         | 
| 1074 997 | 
             
                # @!attribute [rw] created_at
         | 
| @@ -1140,13 +1063,6 @@ module Aws::Braket | |
| 1140 1063 | 
             
                # Information about the data stored in Amazon S3 used by the Amazon
         | 
| 1141 1064 | 
             
                # Braket job.
         | 
| 1142 1065 | 
             
                #
         | 
| 1143 | 
            -
                # @note When making an API call, you may pass S3DataSource
         | 
| 1144 | 
            -
                #   data as a hash:
         | 
| 1145 | 
            -
                #
         | 
| 1146 | 
            -
                #       {
         | 
| 1147 | 
            -
                #         s3_uri: "S3Path", # required
         | 
| 1148 | 
            -
                #       }
         | 
| 1149 | 
            -
                #
         | 
| 1150 1066 | 
             
                # @!attribute [rw] s3_uri
         | 
| 1151 1067 | 
             
                #   Depending on the value specified for the `S3DataType`, identifies
         | 
| 1152 1068 | 
             
                #   either a key name prefix or a manifest that locates the S3 data
         | 
| @@ -1164,15 +1080,6 @@ module Aws::Braket | |
| 1164 1080 | 
             
                # Contains information about the Python scripts used for entry and by an
         | 
| 1165 1081 | 
             
                # Amazon Braket job.
         | 
| 1166 1082 | 
             
                #
         | 
| 1167 | 
            -
                # @note When making an API call, you may pass ScriptModeConfig
         | 
| 1168 | 
            -
                #   data as a hash:
         | 
| 1169 | 
            -
                #
         | 
| 1170 | 
            -
                #       {
         | 
| 1171 | 
            -
                #         compression_type: "NONE", # accepts NONE, GZIP
         | 
| 1172 | 
            -
                #         entry_point: "String", # required
         | 
| 1173 | 
            -
                #         s3_uri: "S3Path", # required
         | 
| 1174 | 
            -
                #       }
         | 
| 1175 | 
            -
                #
         | 
| 1176 1083 | 
             
                # @!attribute [rw] compression_type
         | 
| 1177 1084 | 
             
                #   The type of compression used by the Python scripts for an Amazon
         | 
| 1178 1085 | 
             
                #   Braket job.
         | 
| @@ -1200,14 +1107,6 @@ module Aws::Braket | |
| 1200 1107 |  | 
| 1201 1108 | 
             
                # The filter to use for searching devices.
         | 
| 1202 1109 | 
             
                #
         | 
| 1203 | 
            -
                # @note When making an API call, you may pass SearchDevicesFilter
         | 
| 1204 | 
            -
                #   data as a hash:
         | 
| 1205 | 
            -
                #
         | 
| 1206 | 
            -
                #       {
         | 
| 1207 | 
            -
                #         name: "SearchDevicesFilterNameString", # required
         | 
| 1208 | 
            -
                #         values: ["String256"], # required
         | 
| 1209 | 
            -
                #       }
         | 
| 1210 | 
            -
                #
         | 
| 1211 1110 | 
             
                # @!attribute [rw] name
         | 
| 1212 1111 | 
             
                #   The name to use to filter results.
         | 
| 1213 1112 | 
             
                #   @return [String]
         | 
| @@ -1225,20 +1124,6 @@ module Aws::Braket | |
| 1225 1124 | 
             
                  include Aws::Structure
         | 
| 1226 1125 | 
             
                end
         | 
| 1227 1126 |  | 
| 1228 | 
            -
                # @note When making an API call, you may pass SearchDevicesRequest
         | 
| 1229 | 
            -
                #   data as a hash:
         | 
| 1230 | 
            -
                #
         | 
| 1231 | 
            -
                #       {
         | 
| 1232 | 
            -
                #         filters: [ # required
         | 
| 1233 | 
            -
                #           {
         | 
| 1234 | 
            -
                #             name: "SearchDevicesFilterNameString", # required
         | 
| 1235 | 
            -
                #             values: ["String256"], # required
         | 
| 1236 | 
            -
                #           },
         | 
| 1237 | 
            -
                #         ],
         | 
| 1238 | 
            -
                #         max_results: 1,
         | 
| 1239 | 
            -
                #         next_token: "String",
         | 
| 1240 | 
            -
                #       }
         | 
| 1241 | 
            -
                #
         | 
| 1242 1127 | 
             
                # @!attribute [rw] filters
         | 
| 1243 1128 | 
             
                #   The filter values to use to search for a device.
         | 
| 1244 1129 | 
             
                #   @return [Array<Types::SearchDevicesFilter>]
         | 
| @@ -1285,15 +1170,6 @@ module Aws::Braket | |
| 1285 1170 |  | 
| 1286 1171 | 
             
                # A filter used to search for Amazon Braket jobs.
         | 
| 1287 1172 | 
             
                #
         | 
| 1288 | 
            -
                # @note When making an API call, you may pass SearchJobsFilter
         | 
| 1289 | 
            -
                #   data as a hash:
         | 
| 1290 | 
            -
                #
         | 
| 1291 | 
            -
                #       {
         | 
| 1292 | 
            -
                #         name: "String64", # required
         | 
| 1293 | 
            -
                #         operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN, CONTAINS
         | 
| 1294 | 
            -
                #         values: ["String256"], # required
         | 
| 1295 | 
            -
                #       }
         | 
| 1296 | 
            -
                #
         | 
| 1297 1173 | 
             
                # @!attribute [rw] name
         | 
| 1298 1174 | 
             
                #   The name to use for the jobs filter.
         | 
| 1299 1175 | 
             
                #   @return [String]
         | 
| @@ -1316,21 +1192,6 @@ module Aws::Braket | |
| 1316 1192 | 
             
                  include Aws::Structure
         | 
| 1317 1193 | 
             
                end
         | 
| 1318 1194 |  | 
| 1319 | 
            -
                # @note When making an API call, you may pass SearchJobsRequest
         | 
| 1320 | 
            -
                #   data as a hash:
         | 
| 1321 | 
            -
                #
         | 
| 1322 | 
            -
                #       {
         | 
| 1323 | 
            -
                #         filters: [ # required
         | 
| 1324 | 
            -
                #           {
         | 
| 1325 | 
            -
                #             name: "String64", # required
         | 
| 1326 | 
            -
                #             operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN, CONTAINS
         | 
| 1327 | 
            -
                #             values: ["String256"], # required
         | 
| 1328 | 
            -
                #           },
         | 
| 1329 | 
            -
                #         ],
         | 
| 1330 | 
            -
                #         max_results: 1,
         | 
| 1331 | 
            -
                #         next_token: "String",
         | 
| 1332 | 
            -
                #       }
         | 
| 1333 | 
            -
                #
         | 
| 1334 1195 | 
             
                # @!attribute [rw] filters
         | 
| 1335 1196 | 
             
                #   The filter values to use when searching for a job.
         | 
| 1336 1197 | 
             
                #   @return [Array<Types::SearchJobsFilter>]
         | 
| @@ -1377,15 +1238,6 @@ module Aws::Braket | |
| 1377 1238 |  | 
| 1378 1239 | 
             
                # A filter to use to search for tasks.
         | 
| 1379 1240 | 
             
                #
         | 
| 1380 | 
            -
                # @note When making an API call, you may pass SearchQuantumTasksFilter
         | 
| 1381 | 
            -
                #   data as a hash:
         | 
| 1382 | 
            -
                #
         | 
| 1383 | 
            -
                #       {
         | 
| 1384 | 
            -
                #         name: "String64", # required
         | 
| 1385 | 
            -
                #         operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
         | 
| 1386 | 
            -
                #         values: ["String256"], # required
         | 
| 1387 | 
            -
                #       }
         | 
| 1388 | 
            -
                #
         | 
| 1389 1241 | 
             
                # @!attribute [rw] name
         | 
| 1390 1242 | 
             
                #   The name of the device used for the task.
         | 
| 1391 1243 | 
             
                #   @return [String]
         | 
| @@ -1408,21 +1260,6 @@ module Aws::Braket | |
| 1408 1260 | 
             
                  include Aws::Structure
         | 
| 1409 1261 | 
             
                end
         | 
| 1410 1262 |  | 
| 1411 | 
            -
                # @note When making an API call, you may pass SearchQuantumTasksRequest
         | 
| 1412 | 
            -
                #   data as a hash:
         | 
| 1413 | 
            -
                #
         | 
| 1414 | 
            -
                #       {
         | 
| 1415 | 
            -
                #         filters: [ # required
         | 
| 1416 | 
            -
                #           {
         | 
| 1417 | 
            -
                #             name: "String64", # required
         | 
| 1418 | 
            -
                #             operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
         | 
| 1419 | 
            -
                #             values: ["String256"], # required
         | 
| 1420 | 
            -
                #           },
         | 
| 1421 | 
            -
                #         ],
         | 
| 1422 | 
            -
                #         max_results: 1,
         | 
| 1423 | 
            -
                #         next_token: "String",
         | 
| 1424 | 
            -
                #       }
         | 
| 1425 | 
            -
                #
         | 
| 1426 1263 | 
             
                # @!attribute [rw] filters
         | 
| 1427 1264 | 
             
                #   Array of `SearchQuantumTasksFilter` objects.
         | 
| 1428 1265 | 
             
                #   @return [Array<Types::SearchQuantumTasksFilter>]
         | 
| @@ -1480,16 +1317,6 @@ module Aws::Braket | |
| 1480 1317 | 
             
                  include Aws::Structure
         | 
| 1481 1318 | 
             
                end
         | 
| 1482 1319 |  | 
| 1483 | 
            -
                # @note When making an API call, you may pass TagResourceRequest
         | 
| 1484 | 
            -
                #   data as a hash:
         | 
| 1485 | 
            -
                #
         | 
| 1486 | 
            -
                #       {
         | 
| 1487 | 
            -
                #         resource_arn: "String", # required
         | 
| 1488 | 
            -
                #         tags: { # required
         | 
| 1489 | 
            -
                #           "String" => "String",
         | 
| 1490 | 
            -
                #         },
         | 
| 1491 | 
            -
                #       }
         | 
| 1492 | 
            -
                #
         | 
| 1493 1320 | 
             
                # @!attribute [rw] resource_arn
         | 
| 1494 1321 | 
             
                #   Specify the `resourceArn` of the resource to which a tag will be
         | 
| 1495 1322 | 
             
                #   added.
         | 
| @@ -1525,14 +1352,6 @@ module Aws::Braket | |
| 1525 1352 | 
             
                  include Aws::Structure
         | 
| 1526 1353 | 
             
                end
         | 
| 1527 1354 |  | 
| 1528 | 
            -
                # @note When making an API call, you may pass UntagResourceRequest
         | 
| 1529 | 
            -
                #   data as a hash:
         | 
| 1530 | 
            -
                #
         | 
| 1531 | 
            -
                #       {
         | 
| 1532 | 
            -
                #         resource_arn: "String", # required
         | 
| 1533 | 
            -
                #         tag_keys: ["String"], # required
         | 
| 1534 | 
            -
                #       }
         | 
| 1535 | 
            -
                #
         | 
| 1536 1355 | 
             
                # @!attribute [rw] resource_arn
         | 
| 1537 1356 | 
             
                #   Specify the `resourceArn` for the resource from which to remove the
         | 
| 1538 1357 | 
             
                #   tags.
         | 
    
        data/lib/aws-sdk-braket.rb
    CHANGED
    
    | @@ -13,9 +13,13 @@ require 'aws-sigv4' | |
| 13 13 |  | 
| 14 14 | 
             
            require_relative 'aws-sdk-braket/types'
         | 
| 15 15 | 
             
            require_relative 'aws-sdk-braket/client_api'
         | 
| 16 | 
            +
            require_relative 'aws-sdk-braket/plugins/endpoints.rb'
         | 
| 16 17 | 
             
            require_relative 'aws-sdk-braket/client'
         | 
| 17 18 | 
             
            require_relative 'aws-sdk-braket/errors'
         | 
| 18 19 | 
             
            require_relative 'aws-sdk-braket/resource'
         | 
| 20 | 
            +
            require_relative 'aws-sdk-braket/endpoint_parameters'
         | 
| 21 | 
            +
            require_relative 'aws-sdk-braket/endpoint_provider'
         | 
| 22 | 
            +
            require_relative 'aws-sdk-braket/endpoints'
         | 
| 19 23 | 
             
            require_relative 'aws-sdk-braket/customizations'
         | 
| 20 24 |  | 
| 21 25 | 
             
            # This module provides support for Braket. This module is available in the
         | 
| @@ -48,6 +52,6 @@ require_relative 'aws-sdk-braket/customizations' | |
| 48 52 | 
             
            # @!group service
         | 
| 49 53 | 
             
            module Aws::Braket
         | 
| 50 54 |  | 
| 51 | 
            -
              GEM_VERSION = '1. | 
| 55 | 
            +
              GEM_VERSION = '1.29.0'
         | 
| 52 56 |  | 
| 53 57 | 
             
            end
         |