aws-sdk-bedrock 1.31.0 → 1.33.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 +463 -1
- data/lib/aws-sdk-bedrock/client_api.rb +324 -0
- data/lib/aws-sdk-bedrock/errors.rb +16 -0
- data/lib/aws-sdk-bedrock/types.rb +655 -8
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +147 -3
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +190 -0
- metadata +2 -2
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -157,7 +157,10 @@ module Aws
|
|
157
157
|
{
|
158
158
|
bedrock_model: {
|
159
159
|
model_identifier: ::String,
|
160
|
-
inference_params: ::String
|
160
|
+
inference_params: ::String?,
|
161
|
+
performance_config: {
|
162
|
+
latency: ("standard" | "optimized")?
|
163
|
+
}?
|
161
164
|
}?
|
162
165
|
},
|
163
166
|
]?,
|
@@ -407,7 +410,9 @@ module Aws
|
|
407
410
|
{
|
408
411
|
type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK"),
|
409
412
|
input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
|
410
|
-
output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
413
|
+
output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
|
414
|
+
input_modalities: Array[("TEXT" | "IMAGE")]?,
|
415
|
+
output_modalities: Array[("TEXT" | "IMAGE")]?
|
411
416
|
},
|
412
417
|
]
|
413
418
|
},
|
@@ -495,6 +500,37 @@ module Aws
|
|
495
500
|
) -> _CreateInferenceProfileResponseSuccess
|
496
501
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInferenceProfileResponseSuccess
|
497
502
|
|
503
|
+
interface _CreateMarketplaceModelEndpointResponseSuccess
|
504
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMarketplaceModelEndpointResponse]
|
505
|
+
def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
|
506
|
+
end
|
507
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_marketplace_model_endpoint-instance_method
|
508
|
+
def create_marketplace_model_endpoint: (
|
509
|
+
model_source_identifier: ::String,
|
510
|
+
endpoint_config: {
|
511
|
+
sage_maker: {
|
512
|
+
initial_instance_count: ::Integer,
|
513
|
+
instance_type: ::String,
|
514
|
+
execution_role: ::String,
|
515
|
+
kms_encryption_key: ::String?,
|
516
|
+
vpc: {
|
517
|
+
subnet_ids: Array[::String],
|
518
|
+
security_group_ids: Array[::String]
|
519
|
+
}?
|
520
|
+
}?
|
521
|
+
},
|
522
|
+
?accept_eula: bool,
|
523
|
+
endpoint_name: ::String,
|
524
|
+
?client_request_token: ::String,
|
525
|
+
?tags: Array[
|
526
|
+
{
|
527
|
+
key: ::String,
|
528
|
+
value: ::String
|
529
|
+
},
|
530
|
+
]
|
531
|
+
) -> _CreateMarketplaceModelEndpointResponseSuccess
|
532
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMarketplaceModelEndpointResponseSuccess
|
533
|
+
|
498
534
|
interface _CreateModelCopyJobResponseSuccess
|
499
535
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelCopyJobResponse]
|
500
536
|
def job_arn: () -> ::String
|
@@ -720,6 +756,15 @@ module Aws
|
|
720
756
|
) -> _DeleteInferenceProfileResponseSuccess
|
721
757
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInferenceProfileResponseSuccess
|
722
758
|
|
759
|
+
interface _DeleteMarketplaceModelEndpointResponseSuccess
|
760
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMarketplaceModelEndpointResponse]
|
761
|
+
end
|
762
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_marketplace_model_endpoint-instance_method
|
763
|
+
def delete_marketplace_model_endpoint: (
|
764
|
+
endpoint_arn: ::String
|
765
|
+
) -> _DeleteMarketplaceModelEndpointResponseSuccess
|
766
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMarketplaceModelEndpointResponseSuccess
|
767
|
+
|
723
768
|
interface _DeleteModelInvocationLoggingConfigurationResponseSuccess
|
724
769
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteModelInvocationLoggingConfigurationResponse]
|
725
770
|
end
|
@@ -737,6 +782,15 @@ module Aws
|
|
737
782
|
) -> _DeleteProvisionedModelThroughputResponseSuccess
|
738
783
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProvisionedModelThroughputResponseSuccess
|
739
784
|
|
785
|
+
interface _DeregisterMarketplaceModelEndpointResponseSuccess
|
786
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterMarketplaceModelEndpointResponse]
|
787
|
+
end
|
788
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#deregister_marketplace_model_endpoint-instance_method
|
789
|
+
def deregister_marketplace_model_endpoint: (
|
790
|
+
endpoint_arn: ::String
|
791
|
+
) -> _DeregisterMarketplaceModelEndpointResponseSuccess
|
792
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterMarketplaceModelEndpointResponseSuccess
|
793
|
+
|
740
794
|
interface _GetCustomModelResponseSuccess
|
741
795
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetCustomModelResponse]
|
742
796
|
def model_arn: () -> ::String
|
@@ -858,6 +912,16 @@ module Aws
|
|
858
912
|
) -> _GetInferenceProfileResponseSuccess
|
859
913
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInferenceProfileResponseSuccess
|
860
914
|
|
915
|
+
interface _GetMarketplaceModelEndpointResponseSuccess
|
916
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMarketplaceModelEndpointResponse]
|
917
|
+
def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
|
918
|
+
end
|
919
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_marketplace_model_endpoint-instance_method
|
920
|
+
def get_marketplace_model_endpoint: (
|
921
|
+
endpoint_arn: ::String
|
922
|
+
) -> _GetMarketplaceModelEndpointResponseSuccess
|
923
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMarketplaceModelEndpointResponseSuccess
|
924
|
+
|
861
925
|
interface _GetModelCopyJobResponseSuccess
|
862
926
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCopyJobResponse]
|
863
927
|
def job_arn: () -> ::String
|
@@ -964,6 +1028,25 @@ module Aws
|
|
964
1028
|
) -> _GetModelInvocationLoggingConfigurationResponseSuccess
|
965
1029
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelInvocationLoggingConfigurationResponseSuccess
|
966
1030
|
|
1031
|
+
interface _GetPromptRouterResponseSuccess
|
1032
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPromptRouterResponse]
|
1033
|
+
def prompt_router_name: () -> ::String
|
1034
|
+
def routing_criteria: () -> Types::RoutingCriteria
|
1035
|
+
def description: () -> ::String
|
1036
|
+
def created_at: () -> ::Time
|
1037
|
+
def updated_at: () -> ::Time
|
1038
|
+
def prompt_router_arn: () -> ::String
|
1039
|
+
def models: () -> ::Array[Types::PromptRouterTargetModel]
|
1040
|
+
def fallback_model: () -> Types::PromptRouterTargetModel
|
1041
|
+
def status: () -> ("AVAILABLE")
|
1042
|
+
def type: () -> ("custom" | "default")
|
1043
|
+
end
|
1044
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_prompt_router-instance_method
|
1045
|
+
def get_prompt_router: (
|
1046
|
+
prompt_router_arn: ::String
|
1047
|
+
) -> _GetPromptRouterResponseSuccess
|
1048
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPromptRouterResponseSuccess
|
1049
|
+
|
967
1050
|
interface _GetProvisionedModelThroughputResponseSuccess
|
968
1051
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetProvisionedModelThroughputResponse]
|
969
1052
|
def model_units: () -> ::Integer
|
@@ -1081,6 +1164,19 @@ module Aws
|
|
1081
1164
|
) -> _ListInferenceProfilesResponseSuccess
|
1082
1165
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInferenceProfilesResponseSuccess
|
1083
1166
|
|
1167
|
+
interface _ListMarketplaceModelEndpointsResponseSuccess
|
1168
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMarketplaceModelEndpointsResponse]
|
1169
|
+
def marketplace_model_endpoints: () -> ::Array[Types::MarketplaceModelEndpointSummary]
|
1170
|
+
def next_token: () -> ::String
|
1171
|
+
end
|
1172
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_marketplace_model_endpoints-instance_method
|
1173
|
+
def list_marketplace_model_endpoints: (
|
1174
|
+
?max_results: ::Integer,
|
1175
|
+
?next_token: ::String,
|
1176
|
+
?model_source_equals: ::String
|
1177
|
+
) -> _ListMarketplaceModelEndpointsResponseSuccess
|
1178
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMarketplaceModelEndpointsResponseSuccess
|
1179
|
+
|
1084
1180
|
interface _ListModelCopyJobsResponseSuccess
|
1085
1181
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCopyJobsResponse]
|
1086
1182
|
def next_token: () -> ::String
|
@@ -1155,6 +1251,18 @@ module Aws
|
|
1155
1251
|
) -> _ListModelInvocationJobsResponseSuccess
|
1156
1252
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelInvocationJobsResponseSuccess
|
1157
1253
|
|
1254
|
+
interface _ListPromptRoutersResponseSuccess
|
1255
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPromptRoutersResponse]
|
1256
|
+
def prompt_router_summaries: () -> ::Array[Types::PromptRouterSummary]
|
1257
|
+
def next_token: () -> ::String
|
1258
|
+
end
|
1259
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_prompt_routers-instance_method
|
1260
|
+
def list_prompt_routers: (
|
1261
|
+
?max_results: ::Integer,
|
1262
|
+
?next_token: ::String
|
1263
|
+
) -> _ListPromptRoutersResponseSuccess
|
1264
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPromptRoutersResponseSuccess
|
1265
|
+
|
1158
1266
|
interface _ListProvisionedModelThroughputsResponseSuccess
|
1159
1267
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListProvisionedModelThroughputsResponse]
|
1160
1268
|
def next_token: () -> ::String
|
@@ -1210,6 +1318,17 @@ module Aws
|
|
1210
1318
|
) -> _PutModelInvocationLoggingConfigurationResponseSuccess
|
1211
1319
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutModelInvocationLoggingConfigurationResponseSuccess
|
1212
1320
|
|
1321
|
+
interface _RegisterMarketplaceModelEndpointResponseSuccess
|
1322
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterMarketplaceModelEndpointResponse]
|
1323
|
+
def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
|
1324
|
+
end
|
1325
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#register_marketplace_model_endpoint-instance_method
|
1326
|
+
def register_marketplace_model_endpoint: (
|
1327
|
+
endpoint_identifier: ::String,
|
1328
|
+
model_source_identifier: ::String
|
1329
|
+
) -> _RegisterMarketplaceModelEndpointResponseSuccess
|
1330
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterMarketplaceModelEndpointResponseSuccess
|
1331
|
+
|
1213
1332
|
interface _StopEvaluationJobResponseSuccess
|
1214
1333
|
include ::Seahorse::Client::_ResponseSuccess[Types::StopEvaluationJobResponse]
|
1215
1334
|
end
|
@@ -1289,7 +1408,9 @@ module Aws
|
|
1289
1408
|
{
|
1290
1409
|
type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK"),
|
1291
1410
|
input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
|
1292
|
-
output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
1411
|
+
output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
|
1412
|
+
input_modalities: Array[("TEXT" | "IMAGE")]?,
|
1413
|
+
output_modalities: Array[("TEXT" | "IMAGE")]?
|
1293
1414
|
},
|
1294
1415
|
]
|
1295
1416
|
},
|
@@ -1335,6 +1456,29 @@ module Aws
|
|
1335
1456
|
) -> _UpdateGuardrailResponseSuccess
|
1336
1457
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGuardrailResponseSuccess
|
1337
1458
|
|
1459
|
+
interface _UpdateMarketplaceModelEndpointResponseSuccess
|
1460
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMarketplaceModelEndpointResponse]
|
1461
|
+
def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
|
1462
|
+
end
|
1463
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#update_marketplace_model_endpoint-instance_method
|
1464
|
+
def update_marketplace_model_endpoint: (
|
1465
|
+
endpoint_arn: ::String,
|
1466
|
+
endpoint_config: {
|
1467
|
+
sage_maker: {
|
1468
|
+
initial_instance_count: ::Integer,
|
1469
|
+
instance_type: ::String,
|
1470
|
+
execution_role: ::String,
|
1471
|
+
kms_encryption_key: ::String?,
|
1472
|
+
vpc: {
|
1473
|
+
subnet_ids: Array[::String],
|
1474
|
+
security_group_ids: Array[::String]
|
1475
|
+
}?
|
1476
|
+
}?
|
1477
|
+
},
|
1478
|
+
?client_request_token: ::String
|
1479
|
+
) -> _UpdateMarketplaceModelEndpointResponseSuccess
|
1480
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMarketplaceModelEndpointResponseSuccess
|
1481
|
+
|
1338
1482
|
interface _UpdateProvisionedModelThroughputResponseSuccess
|
1339
1483
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProvisionedModelThroughputResponse]
|
1340
1484
|
end
|
data/sig/errors.rbs
CHANGED
@@ -26,6 +26,9 @@ module Aws
|
|
26
26
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
27
27
|
def message: () -> ::String
|
28
28
|
end
|
29
|
+
class ServiceUnavailableException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
29
32
|
class ThrottlingException < ::Aws::Errors::ServiceError
|
30
33
|
def message: () -> ::String
|
31
34
|
end
|
data/sig/types.rbs
CHANGED
@@ -138,6 +138,21 @@ module Aws::Bedrock
|
|
138
138
|
SENSITIVE: []
|
139
139
|
end
|
140
140
|
|
141
|
+
class CreateMarketplaceModelEndpointRequest
|
142
|
+
attr_accessor model_source_identifier: ::String
|
143
|
+
attr_accessor endpoint_config: Types::EndpointConfig
|
144
|
+
attr_accessor accept_eula: bool
|
145
|
+
attr_accessor endpoint_name: ::String
|
146
|
+
attr_accessor client_request_token: ::String
|
147
|
+
attr_accessor tags: ::Array[Types::Tag]
|
148
|
+
SENSITIVE: []
|
149
|
+
end
|
150
|
+
|
151
|
+
class CreateMarketplaceModelEndpointResponse
|
152
|
+
attr_accessor marketplace_model_endpoint: Types::MarketplaceModelEndpoint
|
153
|
+
SENSITIVE: []
|
154
|
+
end
|
155
|
+
|
141
156
|
class CreateModelCopyJobRequest
|
142
157
|
attr_accessor source_model_arn: ::String
|
143
158
|
attr_accessor target_model_name: ::String
|
@@ -282,6 +297,14 @@ module Aws::Bedrock
|
|
282
297
|
class DeleteInferenceProfileResponse < Aws::EmptyStructure
|
283
298
|
end
|
284
299
|
|
300
|
+
class DeleteMarketplaceModelEndpointRequest
|
301
|
+
attr_accessor endpoint_arn: ::String
|
302
|
+
SENSITIVE: []
|
303
|
+
end
|
304
|
+
|
305
|
+
class DeleteMarketplaceModelEndpointResponse < Aws::EmptyStructure
|
306
|
+
end
|
307
|
+
|
285
308
|
class DeleteModelInvocationLoggingConfigurationRequest < Aws::EmptyStructure
|
286
309
|
end
|
287
310
|
|
@@ -296,14 +319,34 @@ module Aws::Bedrock
|
|
296
319
|
class DeleteProvisionedModelThroughputResponse < Aws::EmptyStructure
|
297
320
|
end
|
298
321
|
|
322
|
+
class DeregisterMarketplaceModelEndpointRequest
|
323
|
+
attr_accessor endpoint_arn: ::String
|
324
|
+
SENSITIVE: []
|
325
|
+
end
|
326
|
+
|
327
|
+
class DeregisterMarketplaceModelEndpointResponse < Aws::EmptyStructure
|
328
|
+
end
|
329
|
+
|
299
330
|
class DistillationConfig
|
300
331
|
attr_accessor teacher_model_config: Types::TeacherModelConfig
|
301
332
|
SENSITIVE: []
|
302
333
|
end
|
303
334
|
|
335
|
+
class EndpointConfig
|
336
|
+
attr_accessor sage_maker: Types::SageMakerEndpoint
|
337
|
+
attr_accessor unknown: untyped
|
338
|
+
SENSITIVE: []
|
339
|
+
|
340
|
+
class SageMaker < EndpointConfig
|
341
|
+
end
|
342
|
+
class Unknown < EndpointConfig
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
304
346
|
class EvaluationBedrockModel
|
305
347
|
attr_accessor model_identifier: ::String
|
306
348
|
attr_accessor inference_params: ::String
|
349
|
+
attr_accessor performance_config: Types::PerformanceConfiguration
|
307
350
|
SENSITIVE: [:inference_params]
|
308
351
|
end
|
309
352
|
|
@@ -590,6 +633,16 @@ module Aws::Bedrock
|
|
590
633
|
SENSITIVE: [:description]
|
591
634
|
end
|
592
635
|
|
636
|
+
class GetMarketplaceModelEndpointRequest
|
637
|
+
attr_accessor endpoint_arn: ::String
|
638
|
+
SENSITIVE: []
|
639
|
+
end
|
640
|
+
|
641
|
+
class GetMarketplaceModelEndpointResponse
|
642
|
+
attr_accessor marketplace_model_endpoint: Types::MarketplaceModelEndpoint
|
643
|
+
SENSITIVE: []
|
644
|
+
end
|
645
|
+
|
593
646
|
class GetModelCopyJobRequest
|
594
647
|
attr_accessor job_arn: ::String
|
595
648
|
SENSITIVE: []
|
@@ -695,6 +748,25 @@ module Aws::Bedrock
|
|
695
748
|
SENSITIVE: []
|
696
749
|
end
|
697
750
|
|
751
|
+
class GetPromptRouterRequest
|
752
|
+
attr_accessor prompt_router_arn: ::String
|
753
|
+
SENSITIVE: []
|
754
|
+
end
|
755
|
+
|
756
|
+
class GetPromptRouterResponse
|
757
|
+
attr_accessor prompt_router_name: ::String
|
758
|
+
attr_accessor routing_criteria: Types::RoutingCriteria
|
759
|
+
attr_accessor description: ::String
|
760
|
+
attr_accessor created_at: ::Time
|
761
|
+
attr_accessor updated_at: ::Time
|
762
|
+
attr_accessor prompt_router_arn: ::String
|
763
|
+
attr_accessor models: ::Array[Types::PromptRouterTargetModel]
|
764
|
+
attr_accessor fallback_model: Types::PromptRouterTargetModel
|
765
|
+
attr_accessor status: ("AVAILABLE")
|
766
|
+
attr_accessor type: ("custom" | "default")
|
767
|
+
SENSITIVE: [:description]
|
768
|
+
end
|
769
|
+
|
698
770
|
class GetProvisionedModelThroughputRequest
|
699
771
|
attr_accessor provisioned_model_id: ::String
|
700
772
|
SENSITIVE: []
|
@@ -727,6 +799,8 @@ module Aws::Bedrock
|
|
727
799
|
attr_accessor type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK")
|
728
800
|
attr_accessor input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
729
801
|
attr_accessor output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
802
|
+
attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE")]
|
803
|
+
attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE")]
|
730
804
|
SENSITIVE: []
|
731
805
|
end
|
732
806
|
|
@@ -734,6 +808,8 @@ module Aws::Bedrock
|
|
734
808
|
attr_accessor type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK")
|
735
809
|
attr_accessor input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
736
810
|
attr_accessor output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
811
|
+
attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE")]
|
812
|
+
attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE")]
|
737
813
|
SENSITIVE: []
|
738
814
|
end
|
739
815
|
|
@@ -1095,6 +1171,19 @@ module Aws::Bedrock
|
|
1095
1171
|
SENSITIVE: []
|
1096
1172
|
end
|
1097
1173
|
|
1174
|
+
class ListMarketplaceModelEndpointsRequest
|
1175
|
+
attr_accessor max_results: ::Integer
|
1176
|
+
attr_accessor next_token: ::String
|
1177
|
+
attr_accessor model_source_equals: ::String
|
1178
|
+
SENSITIVE: []
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
class ListMarketplaceModelEndpointsResponse
|
1182
|
+
attr_accessor marketplace_model_endpoints: ::Array[Types::MarketplaceModelEndpointSummary]
|
1183
|
+
attr_accessor next_token: ::String
|
1184
|
+
SENSITIVE: []
|
1185
|
+
end
|
1186
|
+
|
1098
1187
|
class ListModelCopyJobsRequest
|
1099
1188
|
attr_accessor creation_time_after: ::Time
|
1100
1189
|
attr_accessor creation_time_before: ::Time
|
@@ -1169,6 +1258,18 @@ module Aws::Bedrock
|
|
1169
1258
|
SENSITIVE: []
|
1170
1259
|
end
|
1171
1260
|
|
1261
|
+
class ListPromptRoutersRequest
|
1262
|
+
attr_accessor max_results: ::Integer
|
1263
|
+
attr_accessor next_token: ::String
|
1264
|
+
SENSITIVE: []
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
class ListPromptRoutersResponse
|
1268
|
+
attr_accessor prompt_router_summaries: ::Array[Types::PromptRouterSummary]
|
1269
|
+
attr_accessor next_token: ::String
|
1270
|
+
SENSITIVE: []
|
1271
|
+
end
|
1272
|
+
|
1172
1273
|
class ListProvisionedModelThroughputsRequest
|
1173
1274
|
attr_accessor creation_time_after: ::Time
|
1174
1275
|
attr_accessor creation_time_before: ::Time
|
@@ -1208,6 +1309,29 @@ module Aws::Bedrock
|
|
1208
1309
|
SENSITIVE: []
|
1209
1310
|
end
|
1210
1311
|
|
1312
|
+
class MarketplaceModelEndpoint
|
1313
|
+
attr_accessor endpoint_arn: ::String
|
1314
|
+
attr_accessor model_source_identifier: ::String
|
1315
|
+
attr_accessor status: ("REGISTERED" | "INCOMPATIBLE_ENDPOINT")
|
1316
|
+
attr_accessor status_message: ::String
|
1317
|
+
attr_accessor created_at: ::Time
|
1318
|
+
attr_accessor updated_at: ::Time
|
1319
|
+
attr_accessor endpoint_config: Types::EndpointConfig
|
1320
|
+
attr_accessor endpoint_status: ::String
|
1321
|
+
attr_accessor endpoint_status_message: ::String
|
1322
|
+
SENSITIVE: []
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
class MarketplaceModelEndpointSummary
|
1326
|
+
attr_accessor endpoint_arn: ::String
|
1327
|
+
attr_accessor model_source_identifier: ::String
|
1328
|
+
attr_accessor status: ("REGISTERED" | "INCOMPATIBLE_ENDPOINT")
|
1329
|
+
attr_accessor status_message: ::String
|
1330
|
+
attr_accessor created_at: ::Time
|
1331
|
+
attr_accessor updated_at: ::Time
|
1332
|
+
SENSITIVE: []
|
1333
|
+
end
|
1334
|
+
|
1211
1335
|
class ModelCopyJobSummary
|
1212
1336
|
attr_accessor job_arn: ::String
|
1213
1337
|
attr_accessor status: ("InProgress" | "Completed" | "Failed")
|
@@ -1325,6 +1449,30 @@ module Aws::Bedrock
|
|
1325
1449
|
SENSITIVE: []
|
1326
1450
|
end
|
1327
1451
|
|
1452
|
+
class PerformanceConfiguration
|
1453
|
+
attr_accessor latency: ("standard" | "optimized")
|
1454
|
+
SENSITIVE: []
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
class PromptRouterSummary
|
1458
|
+
attr_accessor prompt_router_name: ::String
|
1459
|
+
attr_accessor routing_criteria: Types::RoutingCriteria
|
1460
|
+
attr_accessor description: ::String
|
1461
|
+
attr_accessor created_at: ::Time
|
1462
|
+
attr_accessor updated_at: ::Time
|
1463
|
+
attr_accessor prompt_router_arn: ::String
|
1464
|
+
attr_accessor models: ::Array[Types::PromptRouterTargetModel]
|
1465
|
+
attr_accessor fallback_model: Types::PromptRouterTargetModel
|
1466
|
+
attr_accessor status: ("AVAILABLE")
|
1467
|
+
attr_accessor type: ("custom" | "default")
|
1468
|
+
SENSITIVE: [:description]
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
class PromptRouterTargetModel
|
1472
|
+
attr_accessor model_arn: ::String
|
1473
|
+
SENSITIVE: []
|
1474
|
+
end
|
1475
|
+
|
1328
1476
|
class PromptTemplate
|
1329
1477
|
attr_accessor text_prompt_template: ::String
|
1330
1478
|
SENSITIVE: [:text_prompt_template]
|
@@ -1370,6 +1518,17 @@ module Aws::Bedrock
|
|
1370
1518
|
end
|
1371
1519
|
end
|
1372
1520
|
|
1521
|
+
class RegisterMarketplaceModelEndpointRequest
|
1522
|
+
attr_accessor endpoint_identifier: ::String
|
1523
|
+
attr_accessor model_source_identifier: ::String
|
1524
|
+
SENSITIVE: []
|
1525
|
+
end
|
1526
|
+
|
1527
|
+
class RegisterMarketplaceModelEndpointResponse
|
1528
|
+
attr_accessor marketplace_model_endpoint: Types::MarketplaceModelEndpoint
|
1529
|
+
SENSITIVE: []
|
1530
|
+
end
|
1531
|
+
|
1373
1532
|
class RequestMetadataBaseFilters
|
1374
1533
|
attr_accessor equals: ::Hash[::String, ::String]
|
1375
1534
|
attr_accessor not_equals: ::Hash[::String, ::String]
|
@@ -1461,6 +1620,11 @@ module Aws::Bedrock
|
|
1461
1620
|
SENSITIVE: []
|
1462
1621
|
end
|
1463
1622
|
|
1623
|
+
class RoutingCriteria
|
1624
|
+
attr_accessor response_quality_difference: ::Float
|
1625
|
+
SENSITIVE: []
|
1626
|
+
end
|
1627
|
+
|
1464
1628
|
class S3Config
|
1465
1629
|
attr_accessor bucket_name: ::String
|
1466
1630
|
attr_accessor key_prefix: ::String
|
@@ -1477,11 +1641,25 @@ module Aws::Bedrock
|
|
1477
1641
|
SENSITIVE: []
|
1478
1642
|
end
|
1479
1643
|
|
1644
|
+
class SageMakerEndpoint
|
1645
|
+
attr_accessor initial_instance_count: ::Integer
|
1646
|
+
attr_accessor instance_type: ::String
|
1647
|
+
attr_accessor execution_role: ::String
|
1648
|
+
attr_accessor kms_encryption_key: ::String
|
1649
|
+
attr_accessor vpc: Types::VpcConfig
|
1650
|
+
SENSITIVE: []
|
1651
|
+
end
|
1652
|
+
|
1480
1653
|
class ServiceQuotaExceededException
|
1481
1654
|
attr_accessor message: ::String
|
1482
1655
|
SENSITIVE: []
|
1483
1656
|
end
|
1484
1657
|
|
1658
|
+
class ServiceUnavailableException
|
1659
|
+
attr_accessor message: ::String
|
1660
|
+
SENSITIVE: []
|
1661
|
+
end
|
1662
|
+
|
1485
1663
|
class StopEvaluationJobRequest
|
1486
1664
|
attr_accessor job_identifier: ::String
|
1487
1665
|
SENSITIVE: [:job_identifier]
|
@@ -1589,6 +1767,18 @@ module Aws::Bedrock
|
|
1589
1767
|
SENSITIVE: []
|
1590
1768
|
end
|
1591
1769
|
|
1770
|
+
class UpdateMarketplaceModelEndpointRequest
|
1771
|
+
attr_accessor endpoint_arn: ::String
|
1772
|
+
attr_accessor endpoint_config: Types::EndpointConfig
|
1773
|
+
attr_accessor client_request_token: ::String
|
1774
|
+
SENSITIVE: []
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
class UpdateMarketplaceModelEndpointResponse
|
1778
|
+
attr_accessor marketplace_model_endpoint: Types::MarketplaceModelEndpoint
|
1779
|
+
SENSITIVE: []
|
1780
|
+
end
|
1781
|
+
|
1592
1782
|
class UpdateProvisionedModelThroughputRequest
|
1593
1783
|
attr_accessor provisioned_model_id: ::String
|
1594
1784
|
attr_accessor desired_provisioned_model_name: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.33.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|