aws-sdk-bedrock 1.50.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +191 -1
- data/lib/aws-sdk-bedrock/client_api.rb +207 -0
- data/lib/aws-sdk-bedrock/types.rb +446 -4
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +80 -4
- data/sig/types.rbs +134 -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
|
@@ -3941,6 +4096,60 @@ module Aws::Bedrock
|
|
3941
4096
|
include Aws::Structure
|
3942
4097
|
end
|
3943
4098
|
|
4099
|
+
# The tier that your guardrail uses for content filters.
|
4100
|
+
#
|
4101
|
+
# @!attribute [rw] tier_name
|
4102
|
+
# The tier that your guardrail uses for content filters. Valid values
|
4103
|
+
# include:
|
4104
|
+
#
|
4105
|
+
# * `CLASSIC` tier – Provides established guardrails functionality
|
4106
|
+
# supporting English, French, and Spanish languages.
|
4107
|
+
#
|
4108
|
+
# * `STANDARD` tier – Provides a more robust solution than the
|
4109
|
+
# `CLASSIC` tier and has more comprehensive language support. This
|
4110
|
+
# tier requires that your guardrail use [cross-Region inference][1].
|
4111
|
+
#
|
4112
|
+
#
|
4113
|
+
#
|
4114
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
|
4115
|
+
# @return [String]
|
4116
|
+
#
|
4117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentFiltersTier AWS API Documentation
|
4118
|
+
#
|
4119
|
+
class GuardrailContentFiltersTier < Struct.new(
|
4120
|
+
:tier_name)
|
4121
|
+
SENSITIVE = [:tier_name]
|
4122
|
+
include Aws::Structure
|
4123
|
+
end
|
4124
|
+
|
4125
|
+
# The tier that your guardrail uses for content filters. Consider using
|
4126
|
+
# a tier that balances performance, accuracy, and compatibility with
|
4127
|
+
# your existing generative AI workflows.
|
4128
|
+
#
|
4129
|
+
# @!attribute [rw] tier_name
|
4130
|
+
# The tier that your guardrail uses for content filters. Valid values
|
4131
|
+
# include:
|
4132
|
+
#
|
4133
|
+
# * `CLASSIC` tier – Provides established guardrails functionality
|
4134
|
+
# supporting English, French, and Spanish languages.
|
4135
|
+
#
|
4136
|
+
# * `STANDARD` tier – Provides a more robust solution than the
|
4137
|
+
# `CLASSIC` tier and has more comprehensive language support. This
|
4138
|
+
# tier requires that your guardrail use [cross-Region inference][1].
|
4139
|
+
#
|
4140
|
+
#
|
4141
|
+
#
|
4142
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
|
4143
|
+
# @return [String]
|
4144
|
+
#
|
4145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentFiltersTierConfig AWS API Documentation
|
4146
|
+
#
|
4147
|
+
class GuardrailContentFiltersTierConfig < Struct.new(
|
4148
|
+
:tier_name)
|
4149
|
+
SENSITIVE = [:tier_name]
|
4150
|
+
include Aws::Structure
|
4151
|
+
end
|
4152
|
+
|
3944
4153
|
# Contains details about how to handle harmful content.
|
3945
4154
|
#
|
3946
4155
|
# This data type is used in the following API operations:
|
@@ -3958,10 +4167,15 @@ module Aws::Bedrock
|
|
3958
4167
|
# apply to prompts and model responses.
|
3959
4168
|
# @return [Array<Types::GuardrailContentFilter>]
|
3960
4169
|
#
|
4170
|
+
# @!attribute [rw] tier
|
4171
|
+
# The tier that your guardrail uses for content filters.
|
4172
|
+
# @return [Types::GuardrailContentFiltersTier]
|
4173
|
+
#
|
3961
4174
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentPolicy AWS API Documentation
|
3962
4175
|
#
|
3963
4176
|
class GuardrailContentPolicy < Struct.new(
|
3964
|
-
:filters
|
4177
|
+
:filters,
|
4178
|
+
:tier)
|
3965
4179
|
SENSITIVE = []
|
3966
4180
|
include Aws::Structure
|
3967
4181
|
end
|
@@ -3973,10 +4187,15 @@ module Aws::Bedrock
|
|
3973
4187
|
# apply to prompts and model responses.
|
3974
4188
|
# @return [Array<Types::GuardrailContentFilterConfig>]
|
3975
4189
|
#
|
4190
|
+
# @!attribute [rw] tier_config
|
4191
|
+
# The tier that your guardrail uses for content filters.
|
4192
|
+
# @return [Types::GuardrailContentFiltersTierConfig]
|
4193
|
+
#
|
3976
4194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentPolicyConfig AWS API Documentation
|
3977
4195
|
#
|
3978
4196
|
class GuardrailContentPolicyConfig < Struct.new(
|
3979
|
-
:filters_config
|
4197
|
+
:filters_config,
|
4198
|
+
:tier_config)
|
3980
4199
|
SENSITIVE = []
|
3981
4200
|
include Aws::Structure
|
3982
4201
|
end
|
@@ -4994,10 +5213,15 @@ module Aws::Bedrock
|
|
4994
5213
|
# A list of policies related to topics that the guardrail should deny.
|
4995
5214
|
# @return [Array<Types::GuardrailTopic>]
|
4996
5215
|
#
|
5216
|
+
# @!attribute [rw] tier
|
5217
|
+
# The tier that your guardrail uses for denied topic filters.
|
5218
|
+
# @return [Types::GuardrailTopicsTier]
|
5219
|
+
#
|
4997
5220
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailTopicPolicy AWS API Documentation
|
4998
5221
|
#
|
4999
5222
|
class GuardrailTopicPolicy < Struct.new(
|
5000
|
-
:topics
|
5223
|
+
:topics,
|
5224
|
+
:tier)
|
5001
5225
|
SENSITIVE = []
|
5002
5226
|
include Aws::Structure
|
5003
5227
|
end
|
@@ -5009,14 +5233,73 @@ module Aws::Bedrock
|
|
5009
5233
|
# A list of policies related to topics that the guardrail should deny.
|
5010
5234
|
# @return [Array<Types::GuardrailTopicConfig>]
|
5011
5235
|
#
|
5236
|
+
# @!attribute [rw] tier_config
|
5237
|
+
# The tier that your guardrail uses for denied topic filters.
|
5238
|
+
# @return [Types::GuardrailTopicsTierConfig]
|
5239
|
+
#
|
5012
5240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailTopicPolicyConfig AWS API Documentation
|
5013
5241
|
#
|
5014
5242
|
class GuardrailTopicPolicyConfig < Struct.new(
|
5015
|
-
:topics_config
|
5243
|
+
:topics_config,
|
5244
|
+
:tier_config)
|
5016
5245
|
SENSITIVE = []
|
5017
5246
|
include Aws::Structure
|
5018
5247
|
end
|
5019
5248
|
|
5249
|
+
# The tier that your guardrail uses for denied topic filters.
|
5250
|
+
#
|
5251
|
+
# @!attribute [rw] tier_name
|
5252
|
+
# The tier that your guardrail uses for denied topic filters. Valid
|
5253
|
+
# values include:
|
5254
|
+
#
|
5255
|
+
# * `CLASSIC` tier – Provides established guardrails functionality
|
5256
|
+
# supporting English, French, and Spanish languages.
|
5257
|
+
#
|
5258
|
+
# * `STANDARD` tier – Provides a more robust solution than the
|
5259
|
+
# `CLASSIC` tier and has more comprehensive language support. This
|
5260
|
+
# tier requires that your guardrail use [cross-Region inference][1].
|
5261
|
+
#
|
5262
|
+
#
|
5263
|
+
#
|
5264
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
|
5265
|
+
# @return [String]
|
5266
|
+
#
|
5267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailTopicsTier AWS API Documentation
|
5268
|
+
#
|
5269
|
+
class GuardrailTopicsTier < Struct.new(
|
5270
|
+
:tier_name)
|
5271
|
+
SENSITIVE = [:tier_name]
|
5272
|
+
include Aws::Structure
|
5273
|
+
end
|
5274
|
+
|
5275
|
+
# The tier that your guardrail uses for denied topic filters. Consider
|
5276
|
+
# using a tier that balances performance, accuracy, and compatibility
|
5277
|
+
# with your existing generative AI workflows.
|
5278
|
+
#
|
5279
|
+
# @!attribute [rw] tier_name
|
5280
|
+
# The tier that your guardrail uses for denied topic filters. Valid
|
5281
|
+
# values include:
|
5282
|
+
#
|
5283
|
+
# * `CLASSIC` tier – Provides established guardrails functionality
|
5284
|
+
# supporting English, French, and Spanish languages.
|
5285
|
+
#
|
5286
|
+
# * `STANDARD` tier – Provides a more robust solution than the
|
5287
|
+
# `CLASSIC` tier and has more comprehensive language support. This
|
5288
|
+
# tier requires that your guardrail use [cross-Region inference][1].
|
5289
|
+
#
|
5290
|
+
#
|
5291
|
+
#
|
5292
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
|
5293
|
+
# @return [String]
|
5294
|
+
#
|
5295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailTopicsTierConfig AWS API Documentation
|
5296
|
+
#
|
5297
|
+
class GuardrailTopicsTierConfig < Struct.new(
|
5298
|
+
:tier_name)
|
5299
|
+
SENSITIVE = [:tier_name]
|
5300
|
+
include Aws::Structure
|
5301
|
+
end
|
5302
|
+
|
5020
5303
|
# A word configured for the guardrail.
|
5021
5304
|
#
|
5022
5305
|
# @!attribute [rw] text
|
@@ -5587,6 +5870,20 @@ module Aws::Bedrock
|
|
5587
5870
|
include Aws::Structure
|
5588
5871
|
end
|
5589
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
|
+
|
5590
5887
|
# @!attribute [rw] creation_time_before
|
5591
5888
|
# Return custom models created before the specified time.
|
5592
5889
|
# @return [Time]
|
@@ -5767,6 +6064,40 @@ module Aws::Bedrock
|
|
5767
6064
|
include Aws::Structure
|
5768
6065
|
end
|
5769
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
|
+
|
5770
6101
|
# @!attribute [rw] by_provider
|
5771
6102
|
# Return models belonging to the model provider that you specify.
|
5772
6103
|
# @return [String]
|
@@ -7161,6 +7492,30 @@ module Aws::Bedrock
|
|
7161
7492
|
include Aws::Structure
|
7162
7493
|
end
|
7163
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
|
+
|
7164
7519
|
# The configuration details for the model to process the prompt prior to
|
7165
7520
|
# retrieval and response generation.
|
7166
7521
|
#
|
@@ -7205,6 +7560,20 @@ module Aws::Bedrock
|
|
7205
7560
|
include Aws::Structure
|
7206
7561
|
end
|
7207
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
|
+
|
7208
7577
|
# Details about a prompt router.
|
7209
7578
|
#
|
7210
7579
|
# @!attribute [rw] prompt_router_name
|
@@ -7408,6 +7777,22 @@ module Aws::Bedrock
|
|
7408
7777
|
#
|
7409
7778
|
class PutModelInvocationLoggingConfigurationResponse < Aws::EmptyStructure; end
|
7410
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
|
+
|
7411
7796
|
# The configuration details for transforming the prompt.
|
7412
7797
|
#
|
7413
7798
|
# @!attribute [rw] type
|
@@ -8054,6 +8439,20 @@ module Aws::Bedrock
|
|
8054
8439
|
#
|
8055
8440
|
class StopModelInvocationJobResponse < Aws::EmptyStructure; end
|
8056
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
|
+
|
8057
8456
|
# Definition of the key/value pair for a tag.
|
8058
8457
|
#
|
8059
8458
|
# @!attribute [rw] key
|
@@ -8114,6 +8513,35 @@ module Aws::Bedrock
|
|
8114
8513
|
include Aws::Structure
|
8115
8514
|
end
|
8116
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
|
+
|
8117
8545
|
# The configuration details for text generation using a language model
|
8118
8546
|
# via the `RetrieveAndGenerate` function.
|
8119
8547
|
#
|
@@ -8536,6 +8964,20 @@ module Aws::Bedrock
|
|
8536
8964
|
include Aws::Structure
|
8537
8965
|
end
|
8538
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
|
+
|
8539
8981
|
# The configuration of a virtual private cloud (VPC). For more
|
8540
8982
|
# information, see [Protect your data using Amazon Virtual Private Cloud
|
8541
8983
|
# and Amazon Web Services PrivateLink][1].
|