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.
data/sig/types.rbs CHANGED
@@ -13,6 +13,12 @@ module Aws::Bedrock
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class AgreementAvailability
17
+ attr_accessor status: ("AVAILABLE" | "PENDING" | "NOT_AVAILABLE" | "ERROR")
18
+ attr_accessor error_message: ::String
19
+ SENSITIVE: []
20
+ end
21
+
16
22
  class AutomatedEvaluationConfig
17
23
  attr_accessor dataset_metric_configs: ::Array[Types::EvaluationDatasetMetricConfig]
18
24
  attr_accessor evaluator_model_config: Types::EvaluatorModelConfig
@@ -119,6 +125,17 @@ module Aws::Bedrock
119
125
  SENSITIVE: []
120
126
  end
121
127
 
128
+ class CreateFoundationModelAgreementRequest
129
+ attr_accessor offer_token: ::String
130
+ attr_accessor model_id: ::String
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class CreateFoundationModelAgreementResponse
135
+ attr_accessor model_id: ::String
136
+ SENSITIVE: []
137
+ end
138
+
122
139
  class CreateGuardrailRequest
123
140
  attr_accessor name: ::String
124
141
  attr_accessor description: ::String
@@ -353,6 +370,14 @@ module Aws::Bedrock
353
370
  class DeleteCustomModelResponse < Aws::EmptyStructure
354
371
  end
355
372
 
373
+ class DeleteFoundationModelAgreementRequest
374
+ attr_accessor model_id: ::String
375
+ SENSITIVE: []
376
+ end
377
+
378
+ class DeleteFoundationModelAgreementResponse < Aws::EmptyStructure
379
+ end
380
+
356
381
  class DeleteGuardrailRequest
357
382
  attr_accessor guardrail_identifier: ::String
358
383
  attr_accessor guardrail_version: ::String
@@ -416,6 +441,14 @@ module Aws::Bedrock
416
441
  class DeregisterMarketplaceModelEndpointResponse < Aws::EmptyStructure
417
442
  end
418
443
 
444
+ class DimensionalPriceRate
445
+ attr_accessor dimension: ::String
446
+ attr_accessor price: ::String
447
+ attr_accessor description: ::String
448
+ attr_accessor unit: ::String
449
+ SENSITIVE: []
450
+ end
451
+
419
452
  class DistillationConfig
420
453
  attr_accessor teacher_model_config: Types::TeacherModelConfig
421
454
  SENSITIVE: []
@@ -702,6 +735,20 @@ module Aws::Bedrock
702
735
  SENSITIVE: [:job_description]
703
736
  end
704
737
 
738
+ class GetFoundationModelAvailabilityRequest
739
+ attr_accessor model_id: ::String
740
+ SENSITIVE: []
741
+ end
742
+
743
+ class GetFoundationModelAvailabilityResponse
744
+ attr_accessor model_id: ::String
745
+ attr_accessor agreement_availability: Types::AgreementAvailability
746
+ attr_accessor authorization_status: ("AUTHORIZED" | "NOT_AUTHORIZED")
747
+ attr_accessor entitlement_availability: ("AVAILABLE" | "NOT_AVAILABLE")
748
+ attr_accessor region_availability: ("AVAILABLE" | "NOT_AVAILABLE")
749
+ SENSITIVE: []
750
+ end
751
+
705
752
  class GetFoundationModelRequest
706
753
  attr_accessor model_identifier: ::String
707
754
  SENSITIVE: []
@@ -935,6 +982,14 @@ module Aws::Bedrock
935
982
  SENSITIVE: []
936
983
  end
937
984
 
985
+ class GetUseCaseForModelAccessRequest < Aws::EmptyStructure
986
+ end
987
+
988
+ class GetUseCaseForModelAccessResponse
989
+ attr_accessor form_data: ::String
990
+ SENSITIVE: []
991
+ end
992
+
938
993
  class GuardrailConfiguration
939
994
  attr_accessor guardrail_id: ::String
940
995
  attr_accessor guardrail_version: ::String
@@ -1310,6 +1365,11 @@ module Aws::Bedrock
1310
1365
  SENSITIVE: [:filter]
1311
1366
  end
1312
1367
 
1368
+ class LegalTerm
1369
+ attr_accessor url: ::String
1370
+ SENSITIVE: []
1371
+ end
1372
+
1313
1373
  class ListCustomModelsRequest
1314
1374
  attr_accessor creation_time_before: ::Time
1315
1375
  attr_accessor creation_time_after: ::Time
@@ -1350,6 +1410,18 @@ module Aws::Bedrock
1350
1410
  SENSITIVE: []
1351
1411
  end
1352
1412
 
1413
+ class ListFoundationModelAgreementOffersRequest
1414
+ attr_accessor model_id: ::String
1415
+ attr_accessor offer_type: ("ALL" | "PUBLIC")
1416
+ SENSITIVE: []
1417
+ end
1418
+
1419
+ class ListFoundationModelAgreementOffersResponse
1420
+ attr_accessor model_id: ::String
1421
+ attr_accessor offers: ::Array[Types::Offer]
1422
+ SENSITIVE: []
1423
+ end
1424
+
1353
1425
  class ListFoundationModelsRequest
1354
1426
  attr_accessor by_provider: ::String
1355
1427
  attr_accessor by_customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
@@ -1676,6 +1748,13 @@ module Aws::Bedrock
1676
1748
  SENSITIVE: [:message]
1677
1749
  end
1678
1750
 
1751
+ class Offer
1752
+ attr_accessor offer_id: ::String
1753
+ attr_accessor offer_token: ::String
1754
+ attr_accessor term_details: Types::TermDetails
1755
+ SENSITIVE: []
1756
+ end
1757
+
1679
1758
  class OrchestrationConfiguration
1680
1759
  attr_accessor query_transformation_configuration: Types::QueryTransformationConfiguration
1681
1760
  SENSITIVE: []
@@ -1691,6 +1770,11 @@ module Aws::Bedrock
1691
1770
  SENSITIVE: []
1692
1771
  end
1693
1772
 
1773
+ class PricingTerm
1774
+ attr_accessor rate_card: ::Array[Types::DimensionalPriceRate]
1775
+ SENSITIVE: []
1776
+ end
1777
+
1694
1778
  class PromptRouterSummary
1695
1779
  attr_accessor prompt_router_name: ::String
1696
1780
  attr_accessor routing_criteria: Types::RoutingCriteria
@@ -1739,6 +1823,14 @@ module Aws::Bedrock
1739
1823
  class PutModelInvocationLoggingConfigurationResponse < Aws::EmptyStructure
1740
1824
  end
1741
1825
 
1826
+ class PutUseCaseForModelAccessRequest
1827
+ attr_accessor form_data: ::String
1828
+ SENSITIVE: []
1829
+ end
1830
+
1831
+ class PutUseCaseForModelAccessResponse < Aws::EmptyStructure
1832
+ end
1833
+
1742
1834
  class QueryTransformationConfiguration
1743
1835
  attr_accessor type: ("QUERY_DECOMPOSITION")
1744
1836
  SENSITIVE: []
@@ -1951,6 +2043,11 @@ module Aws::Bedrock
1951
2043
  class StopModelInvocationJobResponse < Aws::EmptyStructure
1952
2044
  end
1953
2045
 
2046
+ class SupportTerm
2047
+ attr_accessor refund_policy_description: ::String
2048
+ SENSITIVE: []
2049
+ end
2050
+
1954
2051
  class Tag
1955
2052
  attr_accessor key: ::String
1956
2053
  attr_accessor value: ::String
@@ -1972,6 +2069,14 @@ module Aws::Bedrock
1972
2069
  SENSITIVE: []
1973
2070
  end
1974
2071
 
2072
+ class TermDetails
2073
+ attr_accessor usage_based_pricing_term: Types::PricingTerm
2074
+ attr_accessor legal_term: Types::LegalTerm
2075
+ attr_accessor support_term: Types::SupportTerm
2076
+ attr_accessor validity_term: Types::ValidityTerm
2077
+ SENSITIVE: []
2078
+ end
2079
+
1975
2080
  class TextInferenceConfig
1976
2081
  attr_accessor temperature: ::Float
1977
2082
  attr_accessor top_p: ::Float
@@ -2091,6 +2196,11 @@ module Aws::Bedrock
2091
2196
  SENSITIVE: []
2092
2197
  end
2093
2198
 
2199
+ class ValidityTerm
2200
+ attr_accessor agreement_duration: ::String
2201
+ SENSITIVE: []
2202
+ end
2203
+
2094
2204
  class VpcConfig
2095
2205
  attr_accessor subnet_ids: ::Array[::String]
2096
2206
  attr_accessor security_group_ids: ::Array[::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.51.0
4
+ version: 1.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services