aws-sdk-bedrock 1.51.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +177 -1
- data/lib/aws-sdk-bedrock/client_api.rb +185 -0
- data/lib/aws-sdk-bedrock/types.rb +314 -0
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +64 -0
- data/sig/types.rbs +110 -0
- metadata +1 -1
@@ -23,6 +23,25 @@ module Aws::Bedrock
|
|
23
23
|
include Aws::Structure
|
24
24
|
end
|
25
25
|
|
26
|
+
# Information about the agreement availability
|
27
|
+
#
|
28
|
+
# @!attribute [rw] status
|
29
|
+
# Status of the agreement.
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
# @!attribute [rw] error_message
|
33
|
+
# Error message.
|
34
|
+
# @return [String]
|
35
|
+
#
|
36
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AgreementAvailability AWS API Documentation
|
37
|
+
#
|
38
|
+
class AgreementAvailability < Struct.new(
|
39
|
+
:status,
|
40
|
+
:error_message)
|
41
|
+
SENSITIVE = []
|
42
|
+
include Aws::Structure
|
43
|
+
end
|
44
|
+
|
26
45
|
# The configuration details of an automated evaluation job. The
|
27
46
|
# `EvaluationDatasetMetricConfig` object is used to specify the prompt
|
28
47
|
# datasets, task type, and metric names.
|
@@ -456,6 +475,35 @@ module Aws::Bedrock
|
|
456
475
|
include Aws::Structure
|
457
476
|
end
|
458
477
|
|
478
|
+
# @!attribute [rw] offer_token
|
479
|
+
# An offer token encapsulates the information for an offer.
|
480
|
+
# @return [String]
|
481
|
+
#
|
482
|
+
# @!attribute [rw] model_id
|
483
|
+
# Model Id of the model for the access request.
|
484
|
+
# @return [String]
|
485
|
+
#
|
486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateFoundationModelAgreementRequest AWS API Documentation
|
487
|
+
#
|
488
|
+
class CreateFoundationModelAgreementRequest < Struct.new(
|
489
|
+
:offer_token,
|
490
|
+
:model_id)
|
491
|
+
SENSITIVE = []
|
492
|
+
include Aws::Structure
|
493
|
+
end
|
494
|
+
|
495
|
+
# @!attribute [rw] model_id
|
496
|
+
# Model Id of the model for the access request.
|
497
|
+
# @return [String]
|
498
|
+
#
|
499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateFoundationModelAgreementResponse AWS API Documentation
|
500
|
+
#
|
501
|
+
class CreateFoundationModelAgreementResponse < Struct.new(
|
502
|
+
:model_id)
|
503
|
+
SENSITIVE = []
|
504
|
+
include Aws::Structure
|
505
|
+
end
|
506
|
+
|
459
507
|
# @!attribute [rw] name
|
460
508
|
# The name to give the guardrail.
|
461
509
|
# @return [String]
|
@@ -1511,6 +1559,22 @@ module Aws::Bedrock
|
|
1511
1559
|
#
|
1512
1560
|
class DeleteCustomModelResponse < Aws::EmptyStructure; end
|
1513
1561
|
|
1562
|
+
# @!attribute [rw] model_id
|
1563
|
+
# Model Id of the model access to delete.
|
1564
|
+
# @return [String]
|
1565
|
+
#
|
1566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteFoundationModelAgreementRequest AWS API Documentation
|
1567
|
+
#
|
1568
|
+
class DeleteFoundationModelAgreementRequest < Struct.new(
|
1569
|
+
:model_id)
|
1570
|
+
SENSITIVE = []
|
1571
|
+
include Aws::Structure
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteFoundationModelAgreementResponse AWS API Documentation
|
1575
|
+
#
|
1576
|
+
class DeleteFoundationModelAgreementResponse < Aws::EmptyStructure; end
|
1577
|
+
|
1514
1578
|
# @!attribute [rw] guardrail_identifier
|
1515
1579
|
# The unique identifier of the guardrail. This can be an ID or the
|
1516
1580
|
# ARN.
|
@@ -1642,6 +1706,35 @@ module Aws::Bedrock
|
|
1642
1706
|
#
|
1643
1707
|
class DeregisterMarketplaceModelEndpointResponse < Aws::EmptyStructure; end
|
1644
1708
|
|
1709
|
+
# Dimensional price rate.
|
1710
|
+
#
|
1711
|
+
# @!attribute [rw] dimension
|
1712
|
+
# Dimension for the price rate.
|
1713
|
+
# @return [String]
|
1714
|
+
#
|
1715
|
+
# @!attribute [rw] price
|
1716
|
+
# Single-dimensional rate information.
|
1717
|
+
# @return [String]
|
1718
|
+
#
|
1719
|
+
# @!attribute [rw] description
|
1720
|
+
# Description of the price rate.
|
1721
|
+
# @return [String]
|
1722
|
+
#
|
1723
|
+
# @!attribute [rw] unit
|
1724
|
+
# Unit associated with the price.
|
1725
|
+
# @return [String]
|
1726
|
+
#
|
1727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DimensionalPriceRate AWS API Documentation
|
1728
|
+
#
|
1729
|
+
class DimensionalPriceRate < Struct.new(
|
1730
|
+
:dimension,
|
1731
|
+
:price,
|
1732
|
+
:description,
|
1733
|
+
:unit)
|
1734
|
+
SENSITIVE = []
|
1735
|
+
include Aws::Structure
|
1736
|
+
end
|
1737
|
+
|
1645
1738
|
# Settings for distilling a foundation model into a smaller and more
|
1646
1739
|
# efficient model.
|
1647
1740
|
#
|
@@ -2708,6 +2801,50 @@ module Aws::Bedrock
|
|
2708
2801
|
include Aws::Structure
|
2709
2802
|
end
|
2710
2803
|
|
2804
|
+
# @!attribute [rw] model_id
|
2805
|
+
# The model Id of the foundation model.
|
2806
|
+
# @return [String]
|
2807
|
+
#
|
2808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetFoundationModelAvailabilityRequest AWS API Documentation
|
2809
|
+
#
|
2810
|
+
class GetFoundationModelAvailabilityRequest < Struct.new(
|
2811
|
+
:model_id)
|
2812
|
+
SENSITIVE = []
|
2813
|
+
include Aws::Structure
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
# @!attribute [rw] model_id
|
2817
|
+
# The model Id of the foundation model.
|
2818
|
+
# @return [String]
|
2819
|
+
#
|
2820
|
+
# @!attribute [rw] agreement_availability
|
2821
|
+
# Agreement availability.
|
2822
|
+
# @return [Types::AgreementAvailability]
|
2823
|
+
#
|
2824
|
+
# @!attribute [rw] authorization_status
|
2825
|
+
# Authorization status.
|
2826
|
+
# @return [String]
|
2827
|
+
#
|
2828
|
+
# @!attribute [rw] entitlement_availability
|
2829
|
+
# Entitlement availability.
|
2830
|
+
# @return [String]
|
2831
|
+
#
|
2832
|
+
# @!attribute [rw] region_availability
|
2833
|
+
# Region availability.
|
2834
|
+
# @return [String]
|
2835
|
+
#
|
2836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetFoundationModelAvailabilityResponse AWS API Documentation
|
2837
|
+
#
|
2838
|
+
class GetFoundationModelAvailabilityResponse < Struct.new(
|
2839
|
+
:model_id,
|
2840
|
+
:agreement_availability,
|
2841
|
+
:authorization_status,
|
2842
|
+
:entitlement_availability,
|
2843
|
+
:region_availability)
|
2844
|
+
SENSITIVE = []
|
2845
|
+
include Aws::Structure
|
2846
|
+
end
|
2847
|
+
|
2711
2848
|
# @!attribute [rw] model_identifier
|
2712
2849
|
# The model identifier.
|
2713
2850
|
# @return [String]
|
@@ -3687,6 +3824,24 @@ module Aws::Bedrock
|
|
3687
3824
|
include Aws::Structure
|
3688
3825
|
end
|
3689
3826
|
|
3827
|
+
# @api private
|
3828
|
+
#
|
3829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetUseCaseForModelAccessRequest AWS API Documentation
|
3830
|
+
#
|
3831
|
+
class GetUseCaseForModelAccessRequest < Aws::EmptyStructure; end
|
3832
|
+
|
3833
|
+
# @!attribute [rw] form_data
|
3834
|
+
# Get customer profile Response.
|
3835
|
+
# @return [String]
|
3836
|
+
#
|
3837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetUseCaseForModelAccessResponse AWS API Documentation
|
3838
|
+
#
|
3839
|
+
class GetUseCaseForModelAccessResponse < Struct.new(
|
3840
|
+
:form_data)
|
3841
|
+
SENSITIVE = []
|
3842
|
+
include Aws::Structure
|
3843
|
+
end
|
3844
|
+
|
3690
3845
|
# The configuration details for the guardrail.
|
3691
3846
|
#
|
3692
3847
|
# @!attribute [rw] guardrail_id
|
@@ -5715,6 +5870,20 @@ module Aws::Bedrock
|
|
5715
5870
|
include Aws::Structure
|
5716
5871
|
end
|
5717
5872
|
|
5873
|
+
# The legal term of the agreement.
|
5874
|
+
#
|
5875
|
+
# @!attribute [rw] url
|
5876
|
+
# URL to the legal term document.
|
5877
|
+
# @return [String]
|
5878
|
+
#
|
5879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/LegalTerm AWS API Documentation
|
5880
|
+
#
|
5881
|
+
class LegalTerm < Struct.new(
|
5882
|
+
:url)
|
5883
|
+
SENSITIVE = []
|
5884
|
+
include Aws::Structure
|
5885
|
+
end
|
5886
|
+
|
5718
5887
|
# @!attribute [rw] creation_time_before
|
5719
5888
|
# Return custom models created before the specified time.
|
5720
5889
|
# @return [Time]
|
@@ -5895,6 +6064,40 @@ module Aws::Bedrock
|
|
5895
6064
|
include Aws::Structure
|
5896
6065
|
end
|
5897
6066
|
|
6067
|
+
# @!attribute [rw] model_id
|
6068
|
+
# Model Id of the foundation model.
|
6069
|
+
# @return [String]
|
6070
|
+
#
|
6071
|
+
# @!attribute [rw] offer_type
|
6072
|
+
# Type of offer associated with the model.
|
6073
|
+
# @return [String]
|
6074
|
+
#
|
6075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListFoundationModelAgreementOffersRequest AWS API Documentation
|
6076
|
+
#
|
6077
|
+
class ListFoundationModelAgreementOffersRequest < Struct.new(
|
6078
|
+
:model_id,
|
6079
|
+
:offer_type)
|
6080
|
+
SENSITIVE = []
|
6081
|
+
include Aws::Structure
|
6082
|
+
end
|
6083
|
+
|
6084
|
+
# @!attribute [rw] model_id
|
6085
|
+
# Model Id of the foundation model.
|
6086
|
+
# @return [String]
|
6087
|
+
#
|
6088
|
+
# @!attribute [rw] offers
|
6089
|
+
# List of the offers associated with the specified model.
|
6090
|
+
# @return [Array<Types::Offer>]
|
6091
|
+
#
|
6092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListFoundationModelAgreementOffersResponse AWS API Documentation
|
6093
|
+
#
|
6094
|
+
class ListFoundationModelAgreementOffersResponse < Struct.new(
|
6095
|
+
:model_id,
|
6096
|
+
:offers)
|
6097
|
+
SENSITIVE = []
|
6098
|
+
include Aws::Structure
|
6099
|
+
end
|
6100
|
+
|
5898
6101
|
# @!attribute [rw] by_provider
|
5899
6102
|
# Return models belonging to the model provider that you specify.
|
5900
6103
|
# @return [String]
|
@@ -7289,6 +7492,30 @@ module Aws::Bedrock
|
|
7289
7492
|
include Aws::Structure
|
7290
7493
|
end
|
7291
7494
|
|
7495
|
+
# An offer dictates usage terms for the model.
|
7496
|
+
#
|
7497
|
+
# @!attribute [rw] offer_id
|
7498
|
+
# Offer Id for a model offer.
|
7499
|
+
# @return [String]
|
7500
|
+
#
|
7501
|
+
# @!attribute [rw] offer_token
|
7502
|
+
# Offer token.
|
7503
|
+
# @return [String]
|
7504
|
+
#
|
7505
|
+
# @!attribute [rw] term_details
|
7506
|
+
# Details about the terms of the offer.
|
7507
|
+
# @return [Types::TermDetails]
|
7508
|
+
#
|
7509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/Offer AWS API Documentation
|
7510
|
+
#
|
7511
|
+
class Offer < Struct.new(
|
7512
|
+
:offer_id,
|
7513
|
+
:offer_token,
|
7514
|
+
:term_details)
|
7515
|
+
SENSITIVE = []
|
7516
|
+
include Aws::Structure
|
7517
|
+
end
|
7518
|
+
|
7292
7519
|
# The configuration details for the model to process the prompt prior to
|
7293
7520
|
# retrieval and response generation.
|
7294
7521
|
#
|
@@ -7333,6 +7560,20 @@ module Aws::Bedrock
|
|
7333
7560
|
include Aws::Structure
|
7334
7561
|
end
|
7335
7562
|
|
7563
|
+
# Describes the usage-based pricing term.
|
7564
|
+
#
|
7565
|
+
# @!attribute [rw] rate_card
|
7566
|
+
# Describes a usage price for each dimension.
|
7567
|
+
# @return [Array<Types::DimensionalPriceRate>]
|
7568
|
+
#
|
7569
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PricingTerm AWS API Documentation
|
7570
|
+
#
|
7571
|
+
class PricingTerm < Struct.new(
|
7572
|
+
:rate_card)
|
7573
|
+
SENSITIVE = []
|
7574
|
+
include Aws::Structure
|
7575
|
+
end
|
7576
|
+
|
7336
7577
|
# Details about a prompt router.
|
7337
7578
|
#
|
7338
7579
|
# @!attribute [rw] prompt_router_name
|
@@ -7536,6 +7777,22 @@ module Aws::Bedrock
|
|
7536
7777
|
#
|
7537
7778
|
class PutModelInvocationLoggingConfigurationResponse < Aws::EmptyStructure; end
|
7538
7779
|
|
7780
|
+
# @!attribute [rw] form_data
|
7781
|
+
# Put customer profile Request.
|
7782
|
+
# @return [String]
|
7783
|
+
#
|
7784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutUseCaseForModelAccessRequest AWS API Documentation
|
7785
|
+
#
|
7786
|
+
class PutUseCaseForModelAccessRequest < Struct.new(
|
7787
|
+
:form_data)
|
7788
|
+
SENSITIVE = []
|
7789
|
+
include Aws::Structure
|
7790
|
+
end
|
7791
|
+
|
7792
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutUseCaseForModelAccessResponse AWS API Documentation
|
7793
|
+
#
|
7794
|
+
class PutUseCaseForModelAccessResponse < Aws::EmptyStructure; end
|
7795
|
+
|
7539
7796
|
# The configuration details for transforming the prompt.
|
7540
7797
|
#
|
7541
7798
|
# @!attribute [rw] type
|
@@ -8182,6 +8439,20 @@ module Aws::Bedrock
|
|
8182
8439
|
#
|
8183
8440
|
class StopModelInvocationJobResponse < Aws::EmptyStructure; end
|
8184
8441
|
|
8442
|
+
# Describes a support term.
|
8443
|
+
#
|
8444
|
+
# @!attribute [rw] refund_policy_description
|
8445
|
+
# Describes the refund policy.
|
8446
|
+
# @return [String]
|
8447
|
+
#
|
8448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/SupportTerm AWS API Documentation
|
8449
|
+
#
|
8450
|
+
class SupportTerm < Struct.new(
|
8451
|
+
:refund_policy_description)
|
8452
|
+
SENSITIVE = []
|
8453
|
+
include Aws::Structure
|
8454
|
+
end
|
8455
|
+
|
8185
8456
|
# Definition of the key/value pair for a tag.
|
8186
8457
|
#
|
8187
8458
|
# @!attribute [rw] key
|
@@ -8242,6 +8513,35 @@ module Aws::Bedrock
|
|
8242
8513
|
include Aws::Structure
|
8243
8514
|
end
|
8244
8515
|
|
8516
|
+
# Describes the usage terms of an offer.
|
8517
|
+
#
|
8518
|
+
# @!attribute [rw] usage_based_pricing_term
|
8519
|
+
# Describes the usage-based pricing term.
|
8520
|
+
# @return [Types::PricingTerm]
|
8521
|
+
#
|
8522
|
+
# @!attribute [rw] legal_term
|
8523
|
+
# Describes the legal terms.
|
8524
|
+
# @return [Types::LegalTerm]
|
8525
|
+
#
|
8526
|
+
# @!attribute [rw] support_term
|
8527
|
+
# Describes the support terms.
|
8528
|
+
# @return [Types::SupportTerm]
|
8529
|
+
#
|
8530
|
+
# @!attribute [rw] validity_term
|
8531
|
+
# Describes the validity terms.
|
8532
|
+
# @return [Types::ValidityTerm]
|
8533
|
+
#
|
8534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/TermDetails AWS API Documentation
|
8535
|
+
#
|
8536
|
+
class TermDetails < Struct.new(
|
8537
|
+
:usage_based_pricing_term,
|
8538
|
+
:legal_term,
|
8539
|
+
:support_term,
|
8540
|
+
:validity_term)
|
8541
|
+
SENSITIVE = []
|
8542
|
+
include Aws::Structure
|
8543
|
+
end
|
8544
|
+
|
8245
8545
|
# The configuration details for text generation using a language model
|
8246
8546
|
# via the `RetrieveAndGenerate` function.
|
8247
8547
|
#
|
@@ -8664,6 +8964,20 @@ module Aws::Bedrock
|
|
8664
8964
|
include Aws::Structure
|
8665
8965
|
end
|
8666
8966
|
|
8967
|
+
# Describes the validity terms.
|
8968
|
+
#
|
8969
|
+
# @!attribute [rw] agreement_duration
|
8970
|
+
# Describes the agreement duration.
|
8971
|
+
# @return [String]
|
8972
|
+
#
|
8973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ValidityTerm AWS API Documentation
|
8974
|
+
#
|
8975
|
+
class ValidityTerm < Struct.new(
|
8976
|
+
:agreement_duration)
|
8977
|
+
SENSITIVE = []
|
8978
|
+
include Aws::Structure
|
8979
|
+
end
|
8980
|
+
|
8667
8981
|
# The configuration of a virtual private cloud (VPC). For more
|
8668
8982
|
# information, see [Protect your data using Amazon Virtual Private Cloud
|
8669
8983
|
# and Amazon Web Services PrivateLink][1].
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -447,6 +447,17 @@ module Aws
|
|
447
447
|
) -> _CreateEvaluationJobResponseSuccess
|
448
448
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEvaluationJobResponseSuccess
|
449
449
|
|
450
|
+
interface _CreateFoundationModelAgreementResponseSuccess
|
451
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFoundationModelAgreementResponse]
|
452
|
+
def model_id: () -> ::String
|
453
|
+
end
|
454
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_foundation_model_agreement-instance_method
|
455
|
+
def create_foundation_model_agreement: (
|
456
|
+
offer_token: ::String,
|
457
|
+
model_id: ::String
|
458
|
+
) -> _CreateFoundationModelAgreementResponseSuccess
|
459
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFoundationModelAgreementResponseSuccess
|
460
|
+
|
450
461
|
interface _CreateGuardrailResponseSuccess
|
451
462
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGuardrailResponse]
|
452
463
|
def guardrail_id: () -> ::String
|
@@ -855,6 +866,15 @@ module Aws
|
|
855
866
|
) -> _DeleteCustomModelResponseSuccess
|
856
867
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomModelResponseSuccess
|
857
868
|
|
869
|
+
interface _DeleteFoundationModelAgreementResponseSuccess
|
870
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFoundationModelAgreementResponse]
|
871
|
+
end
|
872
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_foundation_model_agreement-instance_method
|
873
|
+
def delete_foundation_model_agreement: (
|
874
|
+
model_id: ::String
|
875
|
+
) -> _DeleteFoundationModelAgreementResponseSuccess
|
876
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFoundationModelAgreementResponseSuccess
|
877
|
+
|
858
878
|
interface _DeleteGuardrailResponseSuccess
|
859
879
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGuardrailResponse]
|
860
880
|
end
|
@@ -986,6 +1006,20 @@ module Aws
|
|
986
1006
|
) -> _GetFoundationModelResponseSuccess
|
987
1007
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFoundationModelResponseSuccess
|
988
1008
|
|
1009
|
+
interface _GetFoundationModelAvailabilityResponseSuccess
|
1010
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetFoundationModelAvailabilityResponse]
|
1011
|
+
def model_id: () -> ::String
|
1012
|
+
def agreement_availability: () -> Types::AgreementAvailability
|
1013
|
+
def authorization_status: () -> ("AUTHORIZED" | "NOT_AUTHORIZED")
|
1014
|
+
def entitlement_availability: () -> ("AVAILABLE" | "NOT_AVAILABLE")
|
1015
|
+
def region_availability: () -> ("AVAILABLE" | "NOT_AVAILABLE")
|
1016
|
+
end
|
1017
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_foundation_model_availability-instance_method
|
1018
|
+
def get_foundation_model_availability: (
|
1019
|
+
model_id: ::String
|
1020
|
+
) -> _GetFoundationModelAvailabilityResponseSuccess
|
1021
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFoundationModelAvailabilityResponseSuccess
|
1022
|
+
|
989
1023
|
interface _GetGuardrailResponseSuccess
|
990
1024
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetGuardrailResponse]
|
991
1025
|
def name: () -> ::String
|
@@ -1210,6 +1244,15 @@ module Aws
|
|
1210
1244
|
) -> _GetProvisionedModelThroughputResponseSuccess
|
1211
1245
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProvisionedModelThroughputResponseSuccess
|
1212
1246
|
|
1247
|
+
interface _GetUseCaseForModelAccessResponseSuccess
|
1248
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetUseCaseForModelAccessResponse]
|
1249
|
+
def form_data: () -> ::String
|
1250
|
+
end
|
1251
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_use_case_for_model_access-instance_method
|
1252
|
+
def get_use_case_for_model_access: (
|
1253
|
+
) -> _GetUseCaseForModelAccessResponseSuccess
|
1254
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUseCaseForModelAccessResponseSuccess
|
1255
|
+
|
1213
1256
|
interface _ListCustomModelsResponseSuccess
|
1214
1257
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomModelsResponse]
|
1215
1258
|
def next_token: () -> ::String
|
@@ -1250,6 +1293,18 @@ module Aws
|
|
1250
1293
|
) -> _ListEvaluationJobsResponseSuccess
|
1251
1294
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEvaluationJobsResponseSuccess
|
1252
1295
|
|
1296
|
+
interface _ListFoundationModelAgreementOffersResponseSuccess
|
1297
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFoundationModelAgreementOffersResponse]
|
1298
|
+
def model_id: () -> ::String
|
1299
|
+
def offers: () -> ::Array[Types::Offer]
|
1300
|
+
end
|
1301
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_foundation_model_agreement_offers-instance_method
|
1302
|
+
def list_foundation_model_agreement_offers: (
|
1303
|
+
model_id: ::String,
|
1304
|
+
?offer_type: ("ALL" | "PUBLIC")
|
1305
|
+
) -> _ListFoundationModelAgreementOffersResponseSuccess
|
1306
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFoundationModelAgreementOffersResponseSuccess
|
1307
|
+
|
1253
1308
|
interface _ListFoundationModelsResponseSuccess
|
1254
1309
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListFoundationModelsResponse]
|
1255
1310
|
def model_summaries: () -> ::Array[Types::FoundationModelSummary]
|
@@ -1461,6 +1516,15 @@ module Aws
|
|
1461
1516
|
) -> _PutModelInvocationLoggingConfigurationResponseSuccess
|
1462
1517
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutModelInvocationLoggingConfigurationResponseSuccess
|
1463
1518
|
|
1519
|
+
interface _PutUseCaseForModelAccessResponseSuccess
|
1520
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutUseCaseForModelAccessResponse]
|
1521
|
+
end
|
1522
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#put_use_case_for_model_access-instance_method
|
1523
|
+
def put_use_case_for_model_access: (
|
1524
|
+
form_data: ::String
|
1525
|
+
) -> _PutUseCaseForModelAccessResponseSuccess
|
1526
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutUseCaseForModelAccessResponseSuccess
|
1527
|
+
|
1464
1528
|
interface _RegisterMarketplaceModelEndpointResponseSuccess
|
1465
1529
|
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterMarketplaceModelEndpointResponse]
|
1466
1530
|
def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
|