aws-sdk-bedrock 1.12.0 → 1.14.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-bedrock/client.rb +306 -40
- data/lib/aws-sdk-bedrock/client_api.rb +116 -1
- data/lib/aws-sdk-bedrock/endpoints.rb +42 -0
- data/lib/aws-sdk-bedrock/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-bedrock/types.rb +355 -23
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +61 -1
- data/sig/types.rbs +71 -0
- metadata +4 -4
| @@ -325,6 +325,66 @@ module Aws::Bedrock | |
| 325 325 | 
             
                  include Aws::Structure
         | 
| 326 326 | 
             
                end
         | 
| 327 327 |  | 
| 328 | 
            +
                # @!attribute [rw] source_model_arn
         | 
| 329 | 
            +
                #   The Amazon Resource Name (ARN) of the model to be copied.
         | 
| 330 | 
            +
                #   @return [String]
         | 
| 331 | 
            +
                #
         | 
| 332 | 
            +
                # @!attribute [rw] target_model_name
         | 
| 333 | 
            +
                #   A name for the copied model.
         | 
| 334 | 
            +
                #   @return [String]
         | 
| 335 | 
            +
                #
         | 
| 336 | 
            +
                # @!attribute [rw] model_kms_key_id
         | 
| 337 | 
            +
                #   The ARN of the KMS key that you use to encrypt the model copy.
         | 
| 338 | 
            +
                #   @return [String]
         | 
| 339 | 
            +
                #
         | 
| 340 | 
            +
                # @!attribute [rw] target_model_tags
         | 
| 341 | 
            +
                #   Tags to associate with the target model. For more information, see
         | 
| 342 | 
            +
                #   [Tag resources][1] in the [Amazon Bedrock User Guide][2].
         | 
| 343 | 
            +
                #
         | 
| 344 | 
            +
                #
         | 
| 345 | 
            +
                #
         | 
| 346 | 
            +
                #   [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
         | 
| 347 | 
            +
                #   [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
         | 
| 348 | 
            +
                #   @return [Array<Types::Tag>]
         | 
| 349 | 
            +
                #
         | 
| 350 | 
            +
                # @!attribute [rw] client_request_token
         | 
| 351 | 
            +
                #   A unique, case-sensitive identifier to ensure that the API request
         | 
| 352 | 
            +
                #   completes no more than one time. If this token matches a previous
         | 
| 353 | 
            +
                #   request, Amazon Bedrock ignores the request, but does not return an
         | 
| 354 | 
            +
                #   error. For more information, see [Ensuring idempotency][1].
         | 
| 355 | 
            +
                #
         | 
| 356 | 
            +
                #   **A suitable default value is auto-generated.** You should normally
         | 
| 357 | 
            +
                #   not need to pass this option.
         | 
| 358 | 
            +
                #
         | 
| 359 | 
            +
                #
         | 
| 360 | 
            +
                #
         | 
| 361 | 
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
         | 
| 362 | 
            +
                #   @return [String]
         | 
| 363 | 
            +
                #
         | 
| 364 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelCopyJobRequest AWS API Documentation
         | 
| 365 | 
            +
                #
         | 
| 366 | 
            +
                class CreateModelCopyJobRequest < Struct.new(
         | 
| 367 | 
            +
                  :source_model_arn,
         | 
| 368 | 
            +
                  :target_model_name,
         | 
| 369 | 
            +
                  :model_kms_key_id,
         | 
| 370 | 
            +
                  :target_model_tags,
         | 
| 371 | 
            +
                  :client_request_token)
         | 
| 372 | 
            +
                  SENSITIVE = []
         | 
| 373 | 
            +
                  include Aws::Structure
         | 
| 374 | 
            +
                end
         | 
| 375 | 
            +
             | 
| 376 | 
            +
                # @!attribute [rw] job_arn
         | 
| 377 | 
            +
                #   The Amazon Resource Name (ARN) of the model copy job.
         | 
| 378 | 
            +
                #   @return [String]
         | 
| 379 | 
            +
                #
         | 
| 380 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelCopyJobResponse AWS API Documentation
         | 
| 381 | 
            +
                #
         | 
| 382 | 
            +
                class CreateModelCopyJobResponse < Struct.new(
         | 
| 383 | 
            +
                  :job_arn)
         | 
| 384 | 
            +
                  SENSITIVE = []
         | 
| 385 | 
            +
                  include Aws::Structure
         | 
| 386 | 
            +
                end
         | 
| 387 | 
            +
             | 
| 328 388 | 
             
                # @!attribute [rw] job_name
         | 
| 329 389 | 
             
                #   A name for the fine-tuning job.
         | 
| 330 390 | 
             
                #   @return [String]
         | 
| @@ -461,7 +521,7 @@ module Aws::Bedrock | |
| 461 521 | 
             
                #   Services support center][1] to request MUs.
         | 
| 462 522 | 
             
                #
         | 
| 463 523 | 
             
                #   For model unit quotas, see [Provisioned Throughput quotas][2] in the
         | 
| 464 | 
            -
                #   Amazon Bedrock User Guide.
         | 
| 524 | 
            +
                #   [Amazon Bedrock User Guide][3].
         | 
| 465 525 | 
             
                #
         | 
| 466 526 | 
             
                #   For more information about what an MU specifies, contact your Amazon
         | 
| 467 527 | 
             
                #   Web Services account manager.
         | 
| @@ -470,6 +530,7 @@ module Aws::Bedrock | |
| 470 530 | 
             
                #
         | 
| 471 531 | 
             
                #   [1]: https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase
         | 
| 472 532 | 
             
                #   [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html#prov-thru-quotas
         | 
| 533 | 
            +
                #   [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
         | 
| 473 534 | 
             
                #   @return [Integer]
         | 
| 474 535 | 
             
                #
         | 
| 475 536 | 
             
                # @!attribute [rw] provisioned_model_name
         | 
| @@ -480,12 +541,13 @@ module Aws::Bedrock | |
| 480 541 | 
             
                #   The Amazon Resource Name (ARN) or name of the model to associate
         | 
| 481 542 | 
             
                #   with this Provisioned Throughput. For a list of models for which you
         | 
| 482 543 | 
             
                #   can purchase Provisioned Throughput, see [Amazon Bedrock model IDs
         | 
| 483 | 
            -
                #   for purchasing Provisioned Throughput][1] in the Amazon Bedrock | 
| 484 | 
            -
                #   Guide.
         | 
| 544 | 
            +
                #   for purchasing Provisioned Throughput][1] in the [Amazon Bedrock
         | 
| 545 | 
            +
                #   User Guide][2].
         | 
| 485 546 | 
             
                #
         | 
| 486 547 | 
             
                #
         | 
| 487 548 | 
             
                #
         | 
| 488 549 | 
             
                #   [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#prov-throughput-models
         | 
| 550 | 
            +
                #   [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
         | 
| 489 551 | 
             
                #   @return [String]
         | 
| 490 552 | 
             
                #
         | 
| 491 553 | 
             
                # @!attribute [rw] commitment_duration
         | 
| @@ -495,11 +557,12 @@ module Aws::Bedrock | |
| 495 557 | 
             
                #
         | 
| 496 558 | 
             
                #   Custom models support all levels of commitment. To see which base
         | 
| 497 559 | 
             
                #   models support no commitment, see [Supported regions and models for
         | 
| 498 | 
            -
                #   Provisioned Throughput][1] in the Amazon Bedrock User Guide
         | 
| 560 | 
            +
                #   Provisioned Throughput][1] in the [Amazon Bedrock User Guide][2]
         | 
| 499 561 | 
             
                #
         | 
| 500 562 | 
             
                #
         | 
| 501 563 | 
             
                #
         | 
| 502 564 | 
             
                #   [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/pt-supported.html
         | 
| 565 | 
            +
                #   [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
         | 
| 503 566 | 
             
                #   @return [String]
         | 
| 504 567 | 
             
                #
         | 
| 505 568 | 
             
                # @!attribute [rw] tags
         | 
| @@ -563,6 +626,10 @@ module Aws::Bedrock | |
| 563 626 | 
             
                #   [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
         | 
| 564 627 | 
             
                #   @return [String]
         | 
| 565 628 | 
             
                #
         | 
| 629 | 
            +
                # @!attribute [rw] owner_account_id
         | 
| 630 | 
            +
                #   The unique identifier of the account that owns the model.
         | 
| 631 | 
            +
                #   @return [String]
         | 
| 632 | 
            +
                #
         | 
| 566 633 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomModelSummary AWS API Documentation
         | 
| 567 634 | 
             
                #
         | 
| 568 635 | 
             
                class CustomModelSummary < Struct.new(
         | 
| @@ -571,7 +638,8 @@ module Aws::Bedrock | |
| 571 638 | 
             
                  :creation_time,
         | 
| 572 639 | 
             
                  :base_model_arn,
         | 
| 573 640 | 
             
                  :base_model_name,
         | 
| 574 | 
            -
                  :customization_type | 
| 641 | 
            +
                  :customization_type,
         | 
| 642 | 
            +
                  :owner_account_id)
         | 
| 575 643 | 
             
                  SENSITIVE = []
         | 
| 576 644 | 
             
                  include Aws::Structure
         | 
| 577 645 | 
             
                end
         | 
| @@ -780,7 +848,7 @@ module Aws::Bedrock | |
| 780 848 | 
             
                  :task_type,
         | 
| 781 849 | 
             
                  :dataset,
         | 
| 782 850 | 
             
                  :metric_names)
         | 
| 783 | 
            -
                  SENSITIVE = []
         | 
| 851 | 
            +
                  SENSITIVE = [:metric_names]
         | 
| 784 852 | 
             
                  include Aws::Structure
         | 
| 785 853 | 
             
                end
         | 
| 786 854 |  | 
| @@ -1354,7 +1422,83 @@ module Aws::Bedrock | |
| 1354 1422 | 
             
                  :blocked_input_messaging,
         | 
| 1355 1423 | 
             
                  :blocked_outputs_messaging,
         | 
| 1356 1424 | 
             
                  :kms_key_arn)
         | 
| 1357 | 
            -
                  SENSITIVE = [:name, :description, :blocked_input_messaging, :blocked_outputs_messaging]
         | 
| 1425 | 
            +
                  SENSITIVE = [:name, :description, :status_reasons, :failure_recommendations, :blocked_input_messaging, :blocked_outputs_messaging]
         | 
| 1426 | 
            +
                  include Aws::Structure
         | 
| 1427 | 
            +
                end
         | 
| 1428 | 
            +
             | 
| 1429 | 
            +
                # @!attribute [rw] job_arn
         | 
| 1430 | 
            +
                #   The Amazon Resource Name (ARN) of the model copy job.
         | 
| 1431 | 
            +
                #   @return [String]
         | 
| 1432 | 
            +
                #
         | 
| 1433 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelCopyJobRequest AWS API Documentation
         | 
| 1434 | 
            +
                #
         | 
| 1435 | 
            +
                class GetModelCopyJobRequest < Struct.new(
         | 
| 1436 | 
            +
                  :job_arn)
         | 
| 1437 | 
            +
                  SENSITIVE = []
         | 
| 1438 | 
            +
                  include Aws::Structure
         | 
| 1439 | 
            +
                end
         | 
| 1440 | 
            +
             | 
| 1441 | 
            +
                # @!attribute [rw] job_arn
         | 
| 1442 | 
            +
                #   The Amazon Resource Name (ARN) of the model copy job.
         | 
| 1443 | 
            +
                #   @return [String]
         | 
| 1444 | 
            +
                #
         | 
| 1445 | 
            +
                # @!attribute [rw] status
         | 
| 1446 | 
            +
                #   The status of the model copy job.
         | 
| 1447 | 
            +
                #   @return [String]
         | 
| 1448 | 
            +
                #
         | 
| 1449 | 
            +
                # @!attribute [rw] creation_time
         | 
| 1450 | 
            +
                #   The time at which the model copy job was created.
         | 
| 1451 | 
            +
                #   @return [Time]
         | 
| 1452 | 
            +
                #
         | 
| 1453 | 
            +
                # @!attribute [rw] target_model_arn
         | 
| 1454 | 
            +
                #   The Amazon Resource Name (ARN) of the copied model.
         | 
| 1455 | 
            +
                #   @return [String]
         | 
| 1456 | 
            +
                #
         | 
| 1457 | 
            +
                # @!attribute [rw] target_model_name
         | 
| 1458 | 
            +
                #   The name of the copied model.
         | 
| 1459 | 
            +
                #   @return [String]
         | 
| 1460 | 
            +
                #
         | 
| 1461 | 
            +
                # @!attribute [rw] source_account_id
         | 
| 1462 | 
            +
                #   The unique identifier of the account that the model being copied
         | 
| 1463 | 
            +
                #   originated from.
         | 
| 1464 | 
            +
                #   @return [String]
         | 
| 1465 | 
            +
                #
         | 
| 1466 | 
            +
                # @!attribute [rw] source_model_arn
         | 
| 1467 | 
            +
                #   The Amazon Resource Name (ARN) of the original model being copied.
         | 
| 1468 | 
            +
                #   @return [String]
         | 
| 1469 | 
            +
                #
         | 
| 1470 | 
            +
                # @!attribute [rw] target_model_kms_key_arn
         | 
| 1471 | 
            +
                #   The Amazon Resource Name (ARN) of the KMS key encrypting the copied
         | 
| 1472 | 
            +
                #   model.
         | 
| 1473 | 
            +
                #   @return [String]
         | 
| 1474 | 
            +
                #
         | 
| 1475 | 
            +
                # @!attribute [rw] target_model_tags
         | 
| 1476 | 
            +
                #   The tags associated with the copied model.
         | 
| 1477 | 
            +
                #   @return [Array<Types::Tag>]
         | 
| 1478 | 
            +
                #
         | 
| 1479 | 
            +
                # @!attribute [rw] failure_message
         | 
| 1480 | 
            +
                #   An error message for why the model copy job failed.
         | 
| 1481 | 
            +
                #   @return [String]
         | 
| 1482 | 
            +
                #
         | 
| 1483 | 
            +
                # @!attribute [rw] source_model_name
         | 
| 1484 | 
            +
                #   The name of the original model being copied.
         | 
| 1485 | 
            +
                #   @return [String]
         | 
| 1486 | 
            +
                #
         | 
| 1487 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelCopyJobResponse AWS API Documentation
         | 
| 1488 | 
            +
                #
         | 
| 1489 | 
            +
                class GetModelCopyJobResponse < Struct.new(
         | 
| 1490 | 
            +
                  :job_arn,
         | 
| 1491 | 
            +
                  :status,
         | 
| 1492 | 
            +
                  :creation_time,
         | 
| 1493 | 
            +
                  :target_model_arn,
         | 
| 1494 | 
            +
                  :target_model_name,
         | 
| 1495 | 
            +
                  :source_account_id,
         | 
| 1496 | 
            +
                  :source_model_arn,
         | 
| 1497 | 
            +
                  :target_model_kms_key_arn,
         | 
| 1498 | 
            +
                  :target_model_tags,
         | 
| 1499 | 
            +
                  :failure_message,
         | 
| 1500 | 
            +
                  :source_model_name)
         | 
| 1501 | 
            +
                  SENSITIVE = []
         | 
| 1358 1502 | 
             
                  include Aws::Structure
         | 
| 1359 1503 | 
             
                end
         | 
| 1360 1504 |  | 
| @@ -1891,7 +2035,7 @@ module Aws::Bedrock | |
| 1891 2035 | 
             
                # The PII entity configured for the guardrail.
         | 
| 1892 2036 | 
             
                #
         | 
| 1893 2037 | 
             
                # @!attribute [rw] type
         | 
| 1894 | 
            -
                #   The type of PII entity. For  | 
| 2038 | 
            +
                #   The type of PII entity. For exampvle, Social Security Number.
         | 
| 1895 2039 | 
             
                #   @return [String]
         | 
| 1896 2040 | 
             
                #
         | 
| 1897 2041 | 
             
                # @!attribute [rw] action
         | 
| @@ -2346,7 +2490,7 @@ module Aws::Bedrock | |
| 2346 2490 | 
             
                  :definition,
         | 
| 2347 2491 | 
             
                  :examples,
         | 
| 2348 2492 | 
             
                  :type)
         | 
| 2349 | 
            -
                  SENSITIVE = [:name, :definition]
         | 
| 2493 | 
            +
                  SENSITIVE = [:name, :definition, :examples]
         | 
| 2350 2494 | 
             
                  include Aws::Structure
         | 
| 2351 2495 | 
             
                end
         | 
| 2352 2496 |  | 
| @@ -2376,7 +2520,7 @@ module Aws::Bedrock | |
| 2376 2520 | 
             
                  :definition,
         | 
| 2377 2521 | 
             
                  :examples,
         | 
| 2378 2522 | 
             
                  :type)
         | 
| 2379 | 
            -
                  SENSITIVE = [:name, :definition]
         | 
| 2523 | 
            +
                  SENSITIVE = [:name, :definition, :examples]
         | 
| 2380 2524 | 
             
                  include Aws::Structure
         | 
| 2381 2525 | 
             
                end
         | 
| 2382 2526 |  | 
| @@ -2619,12 +2763,17 @@ module Aws::Bedrock | |
| 2619 2763 | 
             
                #   @return [String]
         | 
| 2620 2764 | 
             
                #
         | 
| 2621 2765 | 
             
                # @!attribute [rw] max_results
         | 
| 2622 | 
            -
                #    | 
| 2766 | 
            +
                #   The maximum number of results to return in the response. If the
         | 
| 2767 | 
            +
                #   total number of results is greater than this value, use the token
         | 
| 2768 | 
            +
                #   returned in the response in the `nextToken` field when making
         | 
| 2769 | 
            +
                #   another request to return the next batch of results.
         | 
| 2623 2770 | 
             
                #   @return [Integer]
         | 
| 2624 2771 | 
             
                #
         | 
| 2625 2772 | 
             
                # @!attribute [rw] next_token
         | 
| 2626 | 
            -
                #    | 
| 2627 | 
            -
                #    | 
| 2773 | 
            +
                #   If the total number of results is greater than the `maxResults`
         | 
| 2774 | 
            +
                #   value provided in the request, enter the token returned in the
         | 
| 2775 | 
            +
                #   `nextToken` field in the response in this field to return the next
         | 
| 2776 | 
            +
                #   batch of results.
         | 
| 2628 2777 | 
             
                #   @return [String]
         | 
| 2629 2778 | 
             
                #
         | 
| 2630 2779 | 
             
                # @!attribute [rw] sort_by
         | 
| @@ -2635,6 +2784,11 @@ module Aws::Bedrock | |
| 2635 2784 | 
             
                #   The sort order of the results.
         | 
| 2636 2785 | 
             
                #   @return [String]
         | 
| 2637 2786 | 
             
                #
         | 
| 2787 | 
            +
                # @!attribute [rw] is_owned
         | 
| 2788 | 
            +
                #   Return custom models depending on if the current account owns them
         | 
| 2789 | 
            +
                #   (`true`) or if they were shared with the current account (`false`).
         | 
| 2790 | 
            +
                #   @return [Boolean]
         | 
| 2791 | 
            +
                #
         | 
| 2638 2792 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModelsRequest AWS API Documentation
         | 
| 2639 2793 | 
             
                #
         | 
| 2640 2794 | 
             
                class ListCustomModelsRequest < Struct.new(
         | 
| @@ -2646,13 +2800,16 @@ module Aws::Bedrock | |
| 2646 2800 | 
             
                  :max_results,
         | 
| 2647 2801 | 
             
                  :next_token,
         | 
| 2648 2802 | 
             
                  :sort_by,
         | 
| 2649 | 
            -
                  :sort_order | 
| 2803 | 
            +
                  :sort_order,
         | 
| 2804 | 
            +
                  :is_owned)
         | 
| 2650 2805 | 
             
                  SENSITIVE = []
         | 
| 2651 2806 | 
             
                  include Aws::Structure
         | 
| 2652 2807 | 
             
                end
         | 
| 2653 2808 |  | 
| 2654 2809 | 
             
                # @!attribute [rw] next_token
         | 
| 2655 | 
            -
                #    | 
| 2810 | 
            +
                #   If the total number of results is greater than the `maxResults`
         | 
| 2811 | 
            +
                #   value provided in the request, use this token when making another
         | 
| 2812 | 
            +
                #   request in the `nextToken` field to return the next batch of
         | 
| 2656 2813 | 
             
                #   results.
         | 
| 2657 2814 | 
             
                #   @return [String]
         | 
| 2658 2815 | 
             
                #
         | 
| @@ -2743,12 +2900,13 @@ module Aws::Bedrock | |
| 2743 2900 | 
             
                #
         | 
| 2744 2901 | 
             
                # @!attribute [rw] by_customization_type
         | 
| 2745 2902 | 
             
                #   Return models that support the customization type that you specify.
         | 
| 2746 | 
            -
                #   For more information, see [Custom models][1] in the Amazon Bedrock
         | 
| 2747 | 
            -
                #   User Guide.
         | 
| 2903 | 
            +
                #   For more information, see [Custom models][1] in the [Amazon Bedrock
         | 
| 2904 | 
            +
                #   User Guide][2].
         | 
| 2748 2905 | 
             
                #
         | 
| 2749 2906 | 
             
                #
         | 
| 2750 2907 | 
             
                #
         | 
| 2751 2908 | 
             
                #   [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
         | 
| 2909 | 
            +
                #   [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
         | 
| 2752 2910 | 
             
                #   @return [String]
         | 
| 2753 2911 | 
             
                #
         | 
| 2754 2912 | 
             
                # @!attribute [rw] by_output_modality
         | 
| @@ -2757,12 +2915,13 @@ module Aws::Bedrock | |
| 2757 2915 | 
             
                #
         | 
| 2758 2916 | 
             
                # @!attribute [rw] by_inference_type
         | 
| 2759 2917 | 
             
                #   Return models that support the inference type that you specify. For
         | 
| 2760 | 
            -
                #   more information, see [Provisioned Throughput][1] in the Amazon
         | 
| 2761 | 
            -
                #   Bedrock User Guide.
         | 
| 2918 | 
            +
                #   more information, see [Provisioned Throughput][1] in the [Amazon
         | 
| 2919 | 
            +
                #   Bedrock User Guide][2].
         | 
| 2762 2920 | 
             
                #
         | 
| 2763 2921 | 
             
                #
         | 
| 2764 2922 | 
             
                #
         | 
| 2765 2923 | 
             
                #   [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
         | 
| 2924 | 
            +
                #   [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
         | 
| 2766 2925 | 
             
                #   @return [String]
         | 
| 2767 2926 | 
             
                #
         | 
| 2768 2927 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListFoundationModelsRequest AWS API Documentation
         | 
| @@ -2832,6 +2991,94 @@ module Aws::Bedrock | |
| 2832 2991 | 
             
                  include Aws::Structure
         | 
| 2833 2992 | 
             
                end
         | 
| 2834 2993 |  | 
| 2994 | 
            +
                # @!attribute [rw] creation_time_after
         | 
| 2995 | 
            +
                #   Filters for model copy jobs created after the specified time.
         | 
| 2996 | 
            +
                #   @return [Time]
         | 
| 2997 | 
            +
                #
         | 
| 2998 | 
            +
                # @!attribute [rw] creation_time_before
         | 
| 2999 | 
            +
                #   Filters for model copy jobs created before the specified time.
         | 
| 3000 | 
            +
                #   @return [Time]
         | 
| 3001 | 
            +
                #
         | 
| 3002 | 
            +
                # @!attribute [rw] status_equals
         | 
| 3003 | 
            +
                #   Filters for model copy jobs whose status matches the value that you
         | 
| 3004 | 
            +
                #   specify.
         | 
| 3005 | 
            +
                #   @return [String]
         | 
| 3006 | 
            +
                #
         | 
| 3007 | 
            +
                # @!attribute [rw] source_account_equals
         | 
| 3008 | 
            +
                #   Filters for model copy jobs in which the account that the source
         | 
| 3009 | 
            +
                #   model belongs to is equal to the value that you specify.
         | 
| 3010 | 
            +
                #   @return [String]
         | 
| 3011 | 
            +
                #
         | 
| 3012 | 
            +
                # @!attribute [rw] source_model_arn_equals
         | 
| 3013 | 
            +
                #   Filters for model copy jobs in which the Amazon Resource Name (ARN)
         | 
| 3014 | 
            +
                #   of the source model to is equal to the value that you specify.
         | 
| 3015 | 
            +
                #   @return [String]
         | 
| 3016 | 
            +
                #
         | 
| 3017 | 
            +
                # @!attribute [rw] target_model_name_contains
         | 
| 3018 | 
            +
                #   Filters for model copy jobs in which the name of the copied model
         | 
| 3019 | 
            +
                #   contains the string that you specify.
         | 
| 3020 | 
            +
                #   @return [String]
         | 
| 3021 | 
            +
                #
         | 
| 3022 | 
            +
                # @!attribute [rw] max_results
         | 
| 3023 | 
            +
                #   The maximum number of results to return in the response. If the
         | 
| 3024 | 
            +
                #   total number of results is greater than this value, use the token
         | 
| 3025 | 
            +
                #   returned in the response in the `nextToken` field when making
         | 
| 3026 | 
            +
                #   another request to return the next batch of results.
         | 
| 3027 | 
            +
                #   @return [Integer]
         | 
| 3028 | 
            +
                #
         | 
| 3029 | 
            +
                # @!attribute [rw] next_token
         | 
| 3030 | 
            +
                #   If the total number of results is greater than the `maxResults`
         | 
| 3031 | 
            +
                #   value provided in the request, enter the token returned in the
         | 
| 3032 | 
            +
                #   `nextToken` field in the response in this field to return the next
         | 
| 3033 | 
            +
                #   batch of results.
         | 
| 3034 | 
            +
                #   @return [String]
         | 
| 3035 | 
            +
                #
         | 
| 3036 | 
            +
                # @!attribute [rw] sort_by
         | 
| 3037 | 
            +
                #   The field to sort by in the returned list of model copy jobs.
         | 
| 3038 | 
            +
                #   @return [String]
         | 
| 3039 | 
            +
                #
         | 
| 3040 | 
            +
                # @!attribute [rw] sort_order
         | 
| 3041 | 
            +
                #   Specifies whether to sort the results in ascending or descending
         | 
| 3042 | 
            +
                #   order.
         | 
| 3043 | 
            +
                #   @return [String]
         | 
| 3044 | 
            +
                #
         | 
| 3045 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCopyJobsRequest AWS API Documentation
         | 
| 3046 | 
            +
                #
         | 
| 3047 | 
            +
                class ListModelCopyJobsRequest < Struct.new(
         | 
| 3048 | 
            +
                  :creation_time_after,
         | 
| 3049 | 
            +
                  :creation_time_before,
         | 
| 3050 | 
            +
                  :status_equals,
         | 
| 3051 | 
            +
                  :source_account_equals,
         | 
| 3052 | 
            +
                  :source_model_arn_equals,
         | 
| 3053 | 
            +
                  :target_model_name_contains,
         | 
| 3054 | 
            +
                  :max_results,
         | 
| 3055 | 
            +
                  :next_token,
         | 
| 3056 | 
            +
                  :sort_by,
         | 
| 3057 | 
            +
                  :sort_order)
         | 
| 3058 | 
            +
                  SENSITIVE = []
         | 
| 3059 | 
            +
                  include Aws::Structure
         | 
| 3060 | 
            +
                end
         | 
| 3061 | 
            +
             | 
| 3062 | 
            +
                # @!attribute [rw] next_token
         | 
| 3063 | 
            +
                #   If the total number of results is greater than the `maxResults`
         | 
| 3064 | 
            +
                #   value provided in the request, use this token when making another
         | 
| 3065 | 
            +
                #   request in the `nextToken` field to return the next batch of
         | 
| 3066 | 
            +
                #   results.
         | 
| 3067 | 
            +
                #   @return [String]
         | 
| 3068 | 
            +
                #
         | 
| 3069 | 
            +
                # @!attribute [rw] model_copy_job_summaries
         | 
| 3070 | 
            +
                #   A list of information about each model copy job.
         | 
| 3071 | 
            +
                #   @return [Array<Types::ModelCopyJobSummary>]
         | 
| 3072 | 
            +
                #
         | 
| 3073 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCopyJobsResponse AWS API Documentation
         | 
| 3074 | 
            +
                #
         | 
| 3075 | 
            +
                class ListModelCopyJobsResponse < Struct.new(
         | 
| 3076 | 
            +
                  :next_token,
         | 
| 3077 | 
            +
                  :model_copy_job_summaries)
         | 
| 3078 | 
            +
                  SENSITIVE = []
         | 
| 3079 | 
            +
                  include Aws::Structure
         | 
| 3080 | 
            +
                end
         | 
| 3081 | 
            +
             | 
| 2835 3082 | 
             
                # @!attribute [rw] creation_time_after
         | 
| 2836 3083 | 
             
                #   Return customization jobs created after the specified time.
         | 
| 2837 3084 | 
             
                #   @return [Time]
         | 
| @@ -2850,12 +3097,17 @@ module Aws::Bedrock | |
| 2850 3097 | 
             
                #   @return [String]
         | 
| 2851 3098 | 
             
                #
         | 
| 2852 3099 | 
             
                # @!attribute [rw] max_results
         | 
| 2853 | 
            -
                #    | 
| 3100 | 
            +
                #   The maximum number of results to return in the response. If the
         | 
| 3101 | 
            +
                #   total number of results is greater than this value, use the token
         | 
| 3102 | 
            +
                #   returned in the response in the `nextToken` field when making
         | 
| 3103 | 
            +
                #   another request to return the next batch of results.
         | 
| 2854 3104 | 
             
                #   @return [Integer]
         | 
| 2855 3105 | 
             
                #
         | 
| 2856 3106 | 
             
                # @!attribute [rw] next_token
         | 
| 2857 | 
            -
                #    | 
| 2858 | 
            -
                #    | 
| 3107 | 
            +
                #   If the total number of results is greater than the `maxResults`
         | 
| 3108 | 
            +
                #   value provided in the request, enter the token returned in the
         | 
| 3109 | 
            +
                #   `nextToken` field in the response in this field to return the next
         | 
| 3110 | 
            +
                #   batch of results.
         | 
| 2859 3111 | 
             
                #   @return [String]
         | 
| 2860 3112 | 
             
                #
         | 
| 2861 3113 | 
             
                # @!attribute [rw] sort_by
         | 
| @@ -2882,7 +3134,10 @@ module Aws::Bedrock | |
| 2882 3134 | 
             
                end
         | 
| 2883 3135 |  | 
| 2884 3136 | 
             
                # @!attribute [rw] next_token
         | 
| 2885 | 
            -
                #    | 
| 3137 | 
            +
                #   If the total number of results is greater than the `maxResults`
         | 
| 3138 | 
            +
                #   value provided in the request, use this token when making another
         | 
| 3139 | 
            +
                #   request in the `nextToken` field to return the next batch of
         | 
| 3140 | 
            +
                #   results.
         | 
| 2886 3141 | 
             
                #   @return [String]
         | 
| 2887 3142 | 
             
                #
         | 
| 2888 3143 | 
             
                # @!attribute [rw] model_customization_job_summaries
         | 
| @@ -3041,6 +3296,83 @@ module Aws::Bedrock | |
| 3041 3296 | 
             
                  include Aws::Structure
         | 
| 3042 3297 | 
             
                end
         | 
| 3043 3298 |  | 
| 3299 | 
            +
                # Contains details about each model copy job.
         | 
| 3300 | 
            +
                #
         | 
| 3301 | 
            +
                # This data type is used in the following API operations:
         | 
| 3302 | 
            +
                #
         | 
| 3303 | 
            +
                # * [ListModelCopyJobs response][1]
         | 
| 3304 | 
            +
                #
         | 
| 3305 | 
            +
                # ^
         | 
| 3306 | 
            +
                #
         | 
| 3307 | 
            +
                #
         | 
| 3308 | 
            +
                #
         | 
| 3309 | 
            +
                # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListModelCopyJobs.html#API_ListModelCopyJobs_ResponseSyntax
         | 
| 3310 | 
            +
                #
         | 
| 3311 | 
            +
                # @!attribute [rw] job_arn
         | 
| 3312 | 
            +
                #   The Amazon Resoource Name (ARN) of the model copy job.
         | 
| 3313 | 
            +
                #   @return [String]
         | 
| 3314 | 
            +
                #
         | 
| 3315 | 
            +
                # @!attribute [rw] status
         | 
| 3316 | 
            +
                #   The status of the model copy job.
         | 
| 3317 | 
            +
                #   @return [String]
         | 
| 3318 | 
            +
                #
         | 
| 3319 | 
            +
                # @!attribute [rw] creation_time
         | 
| 3320 | 
            +
                #   The time that the model copy job was created.
         | 
| 3321 | 
            +
                #   @return [Time]
         | 
| 3322 | 
            +
                #
         | 
| 3323 | 
            +
                # @!attribute [rw] target_model_arn
         | 
| 3324 | 
            +
                #   The Amazon Resource Name (ARN) of the copied model.
         | 
| 3325 | 
            +
                #   @return [String]
         | 
| 3326 | 
            +
                #
         | 
| 3327 | 
            +
                # @!attribute [rw] target_model_name
         | 
| 3328 | 
            +
                #   The name of the copied model.
         | 
| 3329 | 
            +
                #   @return [String]
         | 
| 3330 | 
            +
                #
         | 
| 3331 | 
            +
                # @!attribute [rw] source_account_id
         | 
| 3332 | 
            +
                #   The unique identifier of the account that the model being copied
         | 
| 3333 | 
            +
                #   originated from.
         | 
| 3334 | 
            +
                #   @return [String]
         | 
| 3335 | 
            +
                #
         | 
| 3336 | 
            +
                # @!attribute [rw] source_model_arn
         | 
| 3337 | 
            +
                #   The Amazon Resource Name (ARN) of the original model being copied.
         | 
| 3338 | 
            +
                #   @return [String]
         | 
| 3339 | 
            +
                #
         | 
| 3340 | 
            +
                # @!attribute [rw] target_model_kms_key_arn
         | 
| 3341 | 
            +
                #   The Amazon Resource Name (ARN) of the KMS key used to encrypt the
         | 
| 3342 | 
            +
                #   copied model.
         | 
| 3343 | 
            +
                #   @return [String]
         | 
| 3344 | 
            +
                #
         | 
| 3345 | 
            +
                # @!attribute [rw] target_model_tags
         | 
| 3346 | 
            +
                #   Tags associated with the copied model.
         | 
| 3347 | 
            +
                #   @return [Array<Types::Tag>]
         | 
| 3348 | 
            +
                #
         | 
| 3349 | 
            +
                # @!attribute [rw] failure_message
         | 
| 3350 | 
            +
                #   If a model fails to be copied, a message describing why the job
         | 
| 3351 | 
            +
                #   failed is included here.
         | 
| 3352 | 
            +
                #   @return [String]
         | 
| 3353 | 
            +
                #
         | 
| 3354 | 
            +
                # @!attribute [rw] source_model_name
         | 
| 3355 | 
            +
                #   The name of the original model being copied.
         | 
| 3356 | 
            +
                #   @return [String]
         | 
| 3357 | 
            +
                #
         | 
| 3358 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelCopyJobSummary AWS API Documentation
         | 
| 3359 | 
            +
                #
         | 
| 3360 | 
            +
                class ModelCopyJobSummary < Struct.new(
         | 
| 3361 | 
            +
                  :job_arn,
         | 
| 3362 | 
            +
                  :status,
         | 
| 3363 | 
            +
                  :creation_time,
         | 
| 3364 | 
            +
                  :target_model_arn,
         | 
| 3365 | 
            +
                  :target_model_name,
         | 
| 3366 | 
            +
                  :source_account_id,
         | 
| 3367 | 
            +
                  :source_model_arn,
         | 
| 3368 | 
            +
                  :target_model_kms_key_arn,
         | 
| 3369 | 
            +
                  :target_model_tags,
         | 
| 3370 | 
            +
                  :failure_message,
         | 
| 3371 | 
            +
                  :source_model_name)
         | 
| 3372 | 
            +
                  SENSITIVE = []
         | 
| 3373 | 
            +
                  include Aws::Structure
         | 
| 3374 | 
            +
                end
         | 
| 3375 | 
            +
             | 
| 3044 3376 | 
             
                # Information about one customization job
         | 
| 3045 3377 | 
             
                #
         | 
| 3046 3378 | 
             
                # @!attribute [rw] job_arn
         | 
    
        data/lib/aws-sdk-bedrock.rb
    CHANGED
    
    
    
        data/sig/client.rbs
    CHANGED
    
    | @@ -239,6 +239,25 @@ module Aws | |
| 239 239 | 
             
                                                ) -> _CreateGuardrailVersionResponseSuccess
         | 
| 240 240 | 
             
                                              | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGuardrailVersionResponseSuccess
         | 
| 241 241 |  | 
| 242 | 
            +
                  interface _CreateModelCopyJobResponseSuccess
         | 
| 243 | 
            +
                    include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelCopyJobResponse]
         | 
| 244 | 
            +
                    def job_arn: () -> ::String
         | 
| 245 | 
            +
                  end
         | 
| 246 | 
            +
                  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_model_copy_job-instance_method
         | 
| 247 | 
            +
                  def create_model_copy_job: (
         | 
| 248 | 
            +
                                               source_model_arn: ::String,
         | 
| 249 | 
            +
                                               target_model_name: ::String,
         | 
| 250 | 
            +
                                               ?model_kms_key_id: ::String,
         | 
| 251 | 
            +
                                               ?target_model_tags: Array[
         | 
| 252 | 
            +
                                                 {
         | 
| 253 | 
            +
                                                   key: ::String,
         | 
| 254 | 
            +
                                                   value: ::String
         | 
| 255 | 
            +
                                                 },
         | 
| 256 | 
            +
                                               ],
         | 
| 257 | 
            +
                                               ?client_request_token: ::String
         | 
| 258 | 
            +
                                             ) -> _CreateModelCopyJobResponseSuccess
         | 
| 259 | 
            +
                                           | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelCopyJobResponseSuccess
         | 
| 260 | 
            +
             | 
| 242 261 | 
             
                  interface _CreateModelCustomizationJobResponseSuccess
         | 
| 243 262 | 
             
                    include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelCustomizationJobResponse]
         | 
| 244 263 | 
             
                    def job_arn: () -> ::String
         | 
| @@ -424,6 +443,26 @@ module Aws | |
| 424 443 | 
             
                                     ) -> _GetGuardrailResponseSuccess
         | 
| 425 444 | 
             
                                   | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGuardrailResponseSuccess
         | 
| 426 445 |  | 
| 446 | 
            +
                  interface _GetModelCopyJobResponseSuccess
         | 
| 447 | 
            +
                    include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCopyJobResponse]
         | 
| 448 | 
            +
                    def job_arn: () -> ::String
         | 
| 449 | 
            +
                    def status: () -> ("InProgress" | "Completed" | "Failed")
         | 
| 450 | 
            +
                    def creation_time: () -> ::Time
         | 
| 451 | 
            +
                    def target_model_arn: () -> ::String
         | 
| 452 | 
            +
                    def target_model_name: () -> ::String
         | 
| 453 | 
            +
                    def source_account_id: () -> ::String
         | 
| 454 | 
            +
                    def source_model_arn: () -> ::String
         | 
| 455 | 
            +
                    def target_model_kms_key_arn: () -> ::String
         | 
| 456 | 
            +
                    def target_model_tags: () -> ::Array[Types::Tag]
         | 
| 457 | 
            +
                    def failure_message: () -> ::String
         | 
| 458 | 
            +
                    def source_model_name: () -> ::String
         | 
| 459 | 
            +
                  end
         | 
| 460 | 
            +
                  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_copy_job-instance_method
         | 
| 461 | 
            +
                  def get_model_copy_job: (
         | 
| 462 | 
            +
                                            job_arn: ::String
         | 
| 463 | 
            +
                                          ) -> _GetModelCopyJobResponseSuccess
         | 
| 464 | 
            +
                                        | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelCopyJobResponseSuccess
         | 
| 465 | 
            +
             | 
| 427 466 | 
             
                  interface _GetModelCustomizationJobResponseSuccess
         | 
| 428 467 | 
             
                    include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCustomizationJobResponse]
         | 
| 429 468 | 
             
                    def job_arn: () -> ::String
         | 
| @@ -500,7 +539,8 @@ module Aws | |
| 500 539 | 
             
                                            ?max_results: ::Integer,
         | 
| 501 540 | 
             
                                            ?next_token: ::String,
         | 
| 502 541 | 
             
                                            ?sort_by: ("CreationTime"),
         | 
| 503 | 
            -
                                            ?sort_order: ("Ascending" | "Descending")
         | 
| 542 | 
            +
                                            ?sort_order: ("Ascending" | "Descending"),
         | 
| 543 | 
            +
                                            ?is_owned: bool
         | 
| 504 544 | 
             
                                          ) -> _ListCustomModelsResponseSuccess
         | 
| 505 545 | 
             
                                        | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomModelsResponseSuccess
         | 
| 506 546 |  | 
| @@ -548,6 +588,26 @@ module Aws | |
| 548 588 | 
             
                                       ) -> _ListGuardrailsResponseSuccess
         | 
| 549 589 | 
             
                                     | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGuardrailsResponseSuccess
         | 
| 550 590 |  | 
| 591 | 
            +
                  interface _ListModelCopyJobsResponseSuccess
         | 
| 592 | 
            +
                    include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCopyJobsResponse]
         | 
| 593 | 
            +
                    def next_token: () -> ::String
         | 
| 594 | 
            +
                    def model_copy_job_summaries: () -> ::Array[Types::ModelCopyJobSummary]
         | 
| 595 | 
            +
                  end
         | 
| 596 | 
            +
                  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_model_copy_jobs-instance_method
         | 
| 597 | 
            +
                  def list_model_copy_jobs: (
         | 
| 598 | 
            +
                                              ?creation_time_after: ::Time,
         | 
| 599 | 
            +
                                              ?creation_time_before: ::Time,
         | 
| 600 | 
            +
                                              ?status_equals: ("InProgress" | "Completed" | "Failed"),
         | 
| 601 | 
            +
                                              ?source_account_equals: ::String,
         | 
| 602 | 
            +
                                              ?source_model_arn_equals: ::String,
         | 
| 603 | 
            +
                                              ?target_model_name_contains: ::String,
         | 
| 604 | 
            +
                                              ?max_results: ::Integer,
         | 
| 605 | 
            +
                                              ?next_token: ::String,
         | 
| 606 | 
            +
                                              ?sort_by: ("CreationTime"),
         | 
| 607 | 
            +
                                              ?sort_order: ("Ascending" | "Descending")
         | 
| 608 | 
            +
                                            ) -> _ListModelCopyJobsResponseSuccess
         | 
| 609 | 
            +
                                          | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelCopyJobsResponseSuccess
         | 
| 610 | 
            +
             | 
| 551 611 | 
             
                  interface _ListModelCustomizationJobsResponseSuccess
         | 
| 552 612 | 
             
                    include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCustomizationJobsResponse]
         | 
| 553 613 | 
             
                    def next_token: () -> ::String
         |