aws-sdk-bedrockagentcorecontrol 1.15.0 → 1.16.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-bedrockagentcorecontrol/client.rb +2169 -52
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +1294 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +3803 -196
- data/lib/aws-sdk-bedrockagentcorecontrol/waiters.rb +279 -3
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +790 -6
- data/sig/types.rbs +956 -29
- data/sig/waiters.rbs +53 -0
- metadata +1 -1
data/sig/client.rbs
CHANGED
|
@@ -120,7 +120,21 @@ module Aws
|
|
|
120
120
|
custom_jwt_authorizer: {
|
|
121
121
|
discovery_url: ::String,
|
|
122
122
|
allowed_audience: Array[::String]?,
|
|
123
|
-
allowed_clients: Array[::String]
|
|
123
|
+
allowed_clients: Array[::String]?,
|
|
124
|
+
allowed_scopes: Array[::String]?,
|
|
125
|
+
custom_claims: Array[
|
|
126
|
+
{
|
|
127
|
+
inbound_token_claim_name: ::String,
|
|
128
|
+
inbound_token_claim_value_type: ("STRING" | "STRING_ARRAY"),
|
|
129
|
+
authorizing_claim_match_value: {
|
|
130
|
+
claim_match_value: {
|
|
131
|
+
match_value_string: ::String?,
|
|
132
|
+
match_value_string_list: Array[::String]?
|
|
133
|
+
},
|
|
134
|
+
claim_match_operator: ("EQUALS" | "CONTAINS" | "CONTAINS_ANY")
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
]?
|
|
124
138
|
}?
|
|
125
139
|
},
|
|
126
140
|
?request_header_configuration: {
|
|
@@ -232,6 +246,55 @@ module Aws
|
|
|
232
246
|
) -> _CreateCodeInterpreterResponseSuccess
|
|
233
247
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeInterpreterResponseSuccess
|
|
234
248
|
|
|
249
|
+
interface _CreateEvaluatorResponseSuccess
|
|
250
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEvaluatorResponse]
|
|
251
|
+
def evaluator_arn: () -> ::String
|
|
252
|
+
def evaluator_id: () -> ::String
|
|
253
|
+
def created_at: () -> ::Time
|
|
254
|
+
def status: () -> ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
255
|
+
end
|
|
256
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_evaluator-instance_method
|
|
257
|
+
def create_evaluator: (
|
|
258
|
+
?client_token: ::String,
|
|
259
|
+
evaluator_name: ::String,
|
|
260
|
+
?description: ::String,
|
|
261
|
+
evaluator_config: {
|
|
262
|
+
llm_as_a_judge: {
|
|
263
|
+
instructions: ::String,
|
|
264
|
+
rating_scale: {
|
|
265
|
+
numerical: Array[
|
|
266
|
+
{
|
|
267
|
+
definition: ::String,
|
|
268
|
+
value: ::Float,
|
|
269
|
+
label: ::String
|
|
270
|
+
},
|
|
271
|
+
]?,
|
|
272
|
+
categorical: Array[
|
|
273
|
+
{
|
|
274
|
+
definition: ::String,
|
|
275
|
+
label: ::String
|
|
276
|
+
},
|
|
277
|
+
]?
|
|
278
|
+
},
|
|
279
|
+
model_config: {
|
|
280
|
+
bedrock_evaluator_model_config: {
|
|
281
|
+
model_id: ::String,
|
|
282
|
+
inference_config: {
|
|
283
|
+
max_tokens: ::Integer?,
|
|
284
|
+
temperature: ::Float?,
|
|
285
|
+
top_p: ::Float?,
|
|
286
|
+
stop_sequences: Array[::String]?
|
|
287
|
+
}?,
|
|
288
|
+
additional_model_request_fields: {
|
|
289
|
+
}?
|
|
290
|
+
}?
|
|
291
|
+
}
|
|
292
|
+
}?
|
|
293
|
+
},
|
|
294
|
+
level: ("TOOL_CALL" | "TRACE" | "SESSION")
|
|
295
|
+
) -> _CreateEvaluatorResponseSuccess
|
|
296
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEvaluatorResponseSuccess
|
|
297
|
+
|
|
235
298
|
interface _CreateGatewayResponseSuccess
|
|
236
299
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGatewayResponse]
|
|
237
300
|
def gateway_arn: () -> ::String
|
|
@@ -250,6 +313,7 @@ module Aws
|
|
|
250
313
|
def authorizer_configuration: () -> Types::AuthorizerConfiguration
|
|
251
314
|
def kms_key_arn: () -> ::String
|
|
252
315
|
def interceptor_configurations: () -> ::Array[Types::GatewayInterceptorConfiguration]
|
|
316
|
+
def policy_engine_configuration: () -> Types::GatewayPolicyEngineConfiguration
|
|
253
317
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
254
318
|
def exception_level: () -> ("DEBUG")
|
|
255
319
|
end
|
|
@@ -272,7 +336,21 @@ module Aws
|
|
|
272
336
|
custom_jwt_authorizer: {
|
|
273
337
|
discovery_url: ::String,
|
|
274
338
|
allowed_audience: Array[::String]?,
|
|
275
|
-
allowed_clients: Array[::String]
|
|
339
|
+
allowed_clients: Array[::String]?,
|
|
340
|
+
allowed_scopes: Array[::String]?,
|
|
341
|
+
custom_claims: Array[
|
|
342
|
+
{
|
|
343
|
+
inbound_token_claim_name: ::String,
|
|
344
|
+
inbound_token_claim_value_type: ("STRING" | "STRING_ARRAY"),
|
|
345
|
+
authorizing_claim_match_value: {
|
|
346
|
+
claim_match_value: {
|
|
347
|
+
match_value_string: ::String?,
|
|
348
|
+
match_value_string_list: Array[::String]?
|
|
349
|
+
},
|
|
350
|
+
claim_match_operator: ("EQUALS" | "CONTAINS" | "CONTAINS_ANY")
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
]?
|
|
276
354
|
}?
|
|
277
355
|
},
|
|
278
356
|
?kms_key_arn: ::String,
|
|
@@ -289,6 +367,10 @@ module Aws
|
|
|
289
367
|
}?
|
|
290
368
|
},
|
|
291
369
|
],
|
|
370
|
+
?policy_engine_configuration: {
|
|
371
|
+
arn: ::String,
|
|
372
|
+
mode: ("LOG_ONLY" | "ENFORCE")
|
|
373
|
+
},
|
|
292
374
|
?exception_level: ("DEBUG"),
|
|
293
375
|
?tags: Hash[::String, ::String]
|
|
294
376
|
) -> _CreateGatewayResponseSuccess
|
|
@@ -361,6 +443,26 @@ module Aws
|
|
|
361
443
|
}?,
|
|
362
444
|
mcp_server: {
|
|
363
445
|
endpoint: ::String
|
|
446
|
+
}?,
|
|
447
|
+
api_gateway: {
|
|
448
|
+
rest_api_id: ::String,
|
|
449
|
+
stage: ::String,
|
|
450
|
+
api_gateway_tool_configuration: {
|
|
451
|
+
tool_overrides: Array[
|
|
452
|
+
{
|
|
453
|
+
name: ::String,
|
|
454
|
+
description: ::String?,
|
|
455
|
+
path: ::String,
|
|
456
|
+
method: ("GET" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | "PUT" | "POST")
|
|
457
|
+
},
|
|
458
|
+
]?,
|
|
459
|
+
tool_filters: Array[
|
|
460
|
+
{
|
|
461
|
+
filter_path: ::String,
|
|
462
|
+
methods: Array[("GET" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | "PUT" | "POST")]
|
|
463
|
+
},
|
|
464
|
+
]
|
|
465
|
+
}
|
|
364
466
|
}?
|
|
365
467
|
}?
|
|
366
468
|
},
|
|
@@ -371,7 +473,9 @@ module Aws
|
|
|
371
473
|
oauth_credential_provider: {
|
|
372
474
|
provider_arn: ::String,
|
|
373
475
|
scopes: Array[::String],
|
|
374
|
-
custom_parameters: Hash[::String, ::String]
|
|
476
|
+
custom_parameters: Hash[::String, ::String]?,
|
|
477
|
+
grant_type: ("CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE")?,
|
|
478
|
+
default_return_url: ::String?
|
|
375
479
|
}?,
|
|
376
480
|
api_key_credential_provider: {
|
|
377
481
|
provider_arn: ::String,
|
|
@@ -445,6 +549,21 @@ module Aws
|
|
|
445
549
|
model_id: ::String
|
|
446
550
|
}?
|
|
447
551
|
}?,
|
|
552
|
+
episodic_override: {
|
|
553
|
+
extraction: {
|
|
554
|
+
append_to_prompt: ::String,
|
|
555
|
+
model_id: ::String
|
|
556
|
+
}?,
|
|
557
|
+
consolidation: {
|
|
558
|
+
append_to_prompt: ::String,
|
|
559
|
+
model_id: ::String
|
|
560
|
+
}?,
|
|
561
|
+
reflection: {
|
|
562
|
+
append_to_prompt: ::String,
|
|
563
|
+
model_id: ::String,
|
|
564
|
+
namespaces: Array[::String]?
|
|
565
|
+
}?
|
|
566
|
+
}?,
|
|
448
567
|
self_managed_configuration: {
|
|
449
568
|
trigger_conditions: Array[
|
|
450
569
|
{
|
|
@@ -466,6 +585,14 @@ module Aws
|
|
|
466
585
|
historical_context_window_size: ::Integer?
|
|
467
586
|
}?
|
|
468
587
|
}?
|
|
588
|
+
}?,
|
|
589
|
+
episodic_memory_strategy: {
|
|
590
|
+
name: ::String,
|
|
591
|
+
description: ::String?,
|
|
592
|
+
namespaces: Array[::String]?,
|
|
593
|
+
reflection_configuration: {
|
|
594
|
+
namespaces: Array[::String]
|
|
595
|
+
}?
|
|
469
596
|
}?
|
|
470
597
|
},
|
|
471
598
|
],
|
|
@@ -541,6 +668,103 @@ module Aws
|
|
|
541
668
|
) -> _CreateOauth2CredentialProviderResponseSuccess
|
|
542
669
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOauth2CredentialProviderResponseSuccess
|
|
543
670
|
|
|
671
|
+
interface _CreateOnlineEvaluationConfigResponseSuccess
|
|
672
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateOnlineEvaluationConfigResponse]
|
|
673
|
+
def online_evaluation_config_arn: () -> ::String
|
|
674
|
+
def online_evaluation_config_id: () -> ::String
|
|
675
|
+
def created_at: () -> ::Time
|
|
676
|
+
def output_config: () -> Types::OutputConfig
|
|
677
|
+
def status: () -> ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
678
|
+
def execution_status: () -> ("ENABLED" | "DISABLED")
|
|
679
|
+
def failure_reason: () -> ::String
|
|
680
|
+
end
|
|
681
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_online_evaluation_config-instance_method
|
|
682
|
+
def create_online_evaluation_config: (
|
|
683
|
+
?client_token: ::String,
|
|
684
|
+
online_evaluation_config_name: ::String,
|
|
685
|
+
?description: ::String,
|
|
686
|
+
rule: {
|
|
687
|
+
sampling_config: {
|
|
688
|
+
sampling_percentage: ::Float
|
|
689
|
+
},
|
|
690
|
+
filters: Array[
|
|
691
|
+
{
|
|
692
|
+
key: ::String,
|
|
693
|
+
operator: ("Equals" | "NotEquals" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Contains" | "NotContains"),
|
|
694
|
+
value: {
|
|
695
|
+
string_value: ::String?,
|
|
696
|
+
double_value: ::Float?,
|
|
697
|
+
boolean_value: bool?
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
]?,
|
|
701
|
+
session_config: {
|
|
702
|
+
session_timeout_minutes: ::Integer
|
|
703
|
+
}?
|
|
704
|
+
},
|
|
705
|
+
data_source_config: {
|
|
706
|
+
cloud_watch_logs: {
|
|
707
|
+
log_group_names: Array[::String],
|
|
708
|
+
service_names: Array[::String]
|
|
709
|
+
}?
|
|
710
|
+
},
|
|
711
|
+
evaluators: Array[
|
|
712
|
+
{
|
|
713
|
+
evaluator_id: ::String?
|
|
714
|
+
},
|
|
715
|
+
],
|
|
716
|
+
evaluation_execution_role_arn: ::String,
|
|
717
|
+
enable_on_create: bool
|
|
718
|
+
) -> _CreateOnlineEvaluationConfigResponseSuccess
|
|
719
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOnlineEvaluationConfigResponseSuccess
|
|
720
|
+
|
|
721
|
+
interface _CreatePolicyResponseSuccess
|
|
722
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePolicyResponse]
|
|
723
|
+
def policy_id: () -> ::String
|
|
724
|
+
def name: () -> ::String
|
|
725
|
+
def policy_engine_id: () -> ::String
|
|
726
|
+
def definition: () -> Types::PolicyDefinition
|
|
727
|
+
def description: () -> ::String
|
|
728
|
+
def created_at: () -> ::Time
|
|
729
|
+
def updated_at: () -> ::Time
|
|
730
|
+
def policy_arn: () -> ::String
|
|
731
|
+
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
732
|
+
def status_reasons: () -> ::Array[::String]
|
|
733
|
+
end
|
|
734
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_policy-instance_method
|
|
735
|
+
def create_policy: (
|
|
736
|
+
name: ::String,
|
|
737
|
+
definition: {
|
|
738
|
+
cedar: {
|
|
739
|
+
statement: ::String
|
|
740
|
+
}?
|
|
741
|
+
},
|
|
742
|
+
?description: ::String,
|
|
743
|
+
?validation_mode: ("FAIL_ON_ANY_FINDINGS" | "IGNORE_ALL_FINDINGS"),
|
|
744
|
+
policy_engine_id: ::String,
|
|
745
|
+
?client_token: ::String
|
|
746
|
+
) -> _CreatePolicyResponseSuccess
|
|
747
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyResponseSuccess
|
|
748
|
+
|
|
749
|
+
interface _CreatePolicyEngineResponseSuccess
|
|
750
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePolicyEngineResponse]
|
|
751
|
+
def policy_engine_id: () -> ::String
|
|
752
|
+
def name: () -> ::String
|
|
753
|
+
def description: () -> ::String
|
|
754
|
+
def created_at: () -> ::Time
|
|
755
|
+
def updated_at: () -> ::Time
|
|
756
|
+
def policy_engine_arn: () -> ::String
|
|
757
|
+
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
758
|
+
def status_reasons: () -> ::Array[::String]
|
|
759
|
+
end
|
|
760
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_policy_engine-instance_method
|
|
761
|
+
def create_policy_engine: (
|
|
762
|
+
name: ::String,
|
|
763
|
+
?description: ::String,
|
|
764
|
+
?client_token: ::String
|
|
765
|
+
) -> _CreatePolicyEngineResponseSuccess
|
|
766
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyEngineResponseSuccess
|
|
767
|
+
|
|
544
768
|
interface _CreateWorkloadIdentityResponseSuccess
|
|
545
769
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkloadIdentityResponse]
|
|
546
770
|
def name: () -> ::String
|
|
@@ -616,6 +840,18 @@ module Aws
|
|
|
616
840
|
) -> _DeleteCodeInterpreterResponseSuccess
|
|
617
841
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCodeInterpreterResponseSuccess
|
|
618
842
|
|
|
843
|
+
interface _DeleteEvaluatorResponseSuccess
|
|
844
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEvaluatorResponse]
|
|
845
|
+
def evaluator_arn: () -> ::String
|
|
846
|
+
def evaluator_id: () -> ::String
|
|
847
|
+
def status: () -> ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
848
|
+
end
|
|
849
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#delete_evaluator-instance_method
|
|
850
|
+
def delete_evaluator: (
|
|
851
|
+
evaluator_id: ::String
|
|
852
|
+
) -> _DeleteEvaluatorResponseSuccess
|
|
853
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEvaluatorResponseSuccess
|
|
854
|
+
|
|
619
855
|
interface _DeleteGatewayResponseSuccess
|
|
620
856
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGatewayResponse]
|
|
621
857
|
def gateway_id: () -> ::String
|
|
@@ -663,6 +899,64 @@ module Aws
|
|
|
663
899
|
) -> _DeleteOauth2CredentialProviderResponseSuccess
|
|
664
900
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteOauth2CredentialProviderResponseSuccess
|
|
665
901
|
|
|
902
|
+
interface _DeleteOnlineEvaluationConfigResponseSuccess
|
|
903
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteOnlineEvaluationConfigResponse]
|
|
904
|
+
def online_evaluation_config_arn: () -> ::String
|
|
905
|
+
def online_evaluation_config_id: () -> ::String
|
|
906
|
+
def status: () -> ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
907
|
+
end
|
|
908
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#delete_online_evaluation_config-instance_method
|
|
909
|
+
def delete_online_evaluation_config: (
|
|
910
|
+
online_evaluation_config_id: ::String
|
|
911
|
+
) -> _DeleteOnlineEvaluationConfigResponseSuccess
|
|
912
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteOnlineEvaluationConfigResponseSuccess
|
|
913
|
+
|
|
914
|
+
interface _DeletePolicyResponseSuccess
|
|
915
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePolicyResponse]
|
|
916
|
+
def policy_id: () -> ::String
|
|
917
|
+
def name: () -> ::String
|
|
918
|
+
def policy_engine_id: () -> ::String
|
|
919
|
+
def definition: () -> Types::PolicyDefinition
|
|
920
|
+
def description: () -> ::String
|
|
921
|
+
def created_at: () -> ::Time
|
|
922
|
+
def updated_at: () -> ::Time
|
|
923
|
+
def policy_arn: () -> ::String
|
|
924
|
+
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
925
|
+
def status_reasons: () -> ::Array[::String]
|
|
926
|
+
end
|
|
927
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#delete_policy-instance_method
|
|
928
|
+
def delete_policy: (
|
|
929
|
+
policy_engine_id: ::String,
|
|
930
|
+
policy_id: ::String
|
|
931
|
+
) -> _DeletePolicyResponseSuccess
|
|
932
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePolicyResponseSuccess
|
|
933
|
+
|
|
934
|
+
interface _DeletePolicyEngineResponseSuccess
|
|
935
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePolicyEngineResponse]
|
|
936
|
+
def policy_engine_id: () -> ::String
|
|
937
|
+
def name: () -> ::String
|
|
938
|
+
def description: () -> ::String
|
|
939
|
+
def created_at: () -> ::Time
|
|
940
|
+
def updated_at: () -> ::Time
|
|
941
|
+
def policy_engine_arn: () -> ::String
|
|
942
|
+
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
943
|
+
def status_reasons: () -> ::Array[::String]
|
|
944
|
+
end
|
|
945
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#delete_policy_engine-instance_method
|
|
946
|
+
def delete_policy_engine: (
|
|
947
|
+
policy_engine_id: ::String
|
|
948
|
+
) -> _DeletePolicyEngineResponseSuccess
|
|
949
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePolicyEngineResponseSuccess
|
|
950
|
+
|
|
951
|
+
interface _DeleteResourcePolicyResponseSuccess
|
|
952
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
|
|
953
|
+
end
|
|
954
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#delete_resource_policy-instance_method
|
|
955
|
+
def delete_resource_policy: (
|
|
956
|
+
resource_arn: ::String
|
|
957
|
+
) -> _DeleteResourcePolicyResponseSuccess
|
|
958
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
|
959
|
+
|
|
666
960
|
interface _DeleteWorkloadIdentityResponseSuccess
|
|
667
961
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkloadIdentityResponse]
|
|
668
962
|
end
|
|
@@ -684,6 +978,7 @@ module Aws
|
|
|
684
978
|
def network_configuration: () -> Types::NetworkConfiguration
|
|
685
979
|
def status: () -> ("CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "READY" | "DELETING")
|
|
686
980
|
def lifecycle_configuration: () -> Types::LifecycleConfiguration
|
|
981
|
+
def failure_reason: () -> ::String
|
|
687
982
|
def description: () -> ::String
|
|
688
983
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
689
984
|
def agent_runtime_artifact: () -> Types::AgentRuntimeArtifact
|
|
@@ -774,6 +1069,25 @@ module Aws
|
|
|
774
1069
|
) -> _GetCodeInterpreterResponseSuccess
|
|
775
1070
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCodeInterpreterResponseSuccess
|
|
776
1071
|
|
|
1072
|
+
interface _GetEvaluatorResponseSuccess
|
|
1073
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetEvaluatorResponse]
|
|
1074
|
+
def evaluator_arn: () -> ::String
|
|
1075
|
+
def evaluator_id: () -> ::String
|
|
1076
|
+
def evaluator_name: () -> ::String
|
|
1077
|
+
def description: () -> ::String
|
|
1078
|
+
def evaluator_config: () -> Types::EvaluatorConfig
|
|
1079
|
+
def level: () -> ("TOOL_CALL" | "TRACE" | "SESSION")
|
|
1080
|
+
def status: () -> ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
1081
|
+
def created_at: () -> ::Time
|
|
1082
|
+
def updated_at: () -> ::Time
|
|
1083
|
+
def locked_for_modification: () -> bool
|
|
1084
|
+
end
|
|
1085
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_evaluator-instance_method
|
|
1086
|
+
def get_evaluator: (
|
|
1087
|
+
evaluator_id: ::String
|
|
1088
|
+
) -> _GetEvaluatorResponseSuccess
|
|
1089
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEvaluatorResponseSuccess
|
|
1090
|
+
|
|
777
1091
|
interface _GetGatewayResponseSuccess
|
|
778
1092
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetGatewayResponse]
|
|
779
1093
|
def gateway_arn: () -> ::String
|
|
@@ -792,6 +1106,7 @@ module Aws
|
|
|
792
1106
|
def authorizer_configuration: () -> Types::AuthorizerConfiguration
|
|
793
1107
|
def kms_key_arn: () -> ::String
|
|
794
1108
|
def interceptor_configurations: () -> ::Array[Types::GatewayInterceptorConfiguration]
|
|
1109
|
+
def policy_engine_configuration: () -> Types::GatewayPolicyEngineConfiguration
|
|
795
1110
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
796
1111
|
def exception_level: () -> ("DEBUG")
|
|
797
1112
|
end
|
|
@@ -849,6 +1164,96 @@ module Aws
|
|
|
849
1164
|
) -> _GetOauth2CredentialProviderResponseSuccess
|
|
850
1165
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOauth2CredentialProviderResponseSuccess
|
|
851
1166
|
|
|
1167
|
+
interface _GetOnlineEvaluationConfigResponseSuccess
|
|
1168
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetOnlineEvaluationConfigResponse]
|
|
1169
|
+
def online_evaluation_config_arn: () -> ::String
|
|
1170
|
+
def online_evaluation_config_id: () -> ::String
|
|
1171
|
+
def online_evaluation_config_name: () -> ::String
|
|
1172
|
+
def description: () -> ::String
|
|
1173
|
+
def rule: () -> Types::Rule
|
|
1174
|
+
def data_source_config: () -> Types::DataSourceConfig
|
|
1175
|
+
def evaluators: () -> ::Array[Types::EvaluatorReference]
|
|
1176
|
+
def output_config: () -> Types::OutputConfig
|
|
1177
|
+
def evaluation_execution_role_arn: () -> ::String
|
|
1178
|
+
def status: () -> ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
1179
|
+
def execution_status: () -> ("ENABLED" | "DISABLED")
|
|
1180
|
+
def created_at: () -> ::Time
|
|
1181
|
+
def updated_at: () -> ::Time
|
|
1182
|
+
def failure_reason: () -> ::String
|
|
1183
|
+
end
|
|
1184
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_online_evaluation_config-instance_method
|
|
1185
|
+
def get_online_evaluation_config: (
|
|
1186
|
+
online_evaluation_config_id: ::String
|
|
1187
|
+
) -> _GetOnlineEvaluationConfigResponseSuccess
|
|
1188
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOnlineEvaluationConfigResponseSuccess
|
|
1189
|
+
|
|
1190
|
+
interface _GetPolicyResponseSuccess
|
|
1191
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyResponse]
|
|
1192
|
+
def policy_id: () -> ::String
|
|
1193
|
+
def name: () -> ::String
|
|
1194
|
+
def policy_engine_id: () -> ::String
|
|
1195
|
+
def definition: () -> Types::PolicyDefinition
|
|
1196
|
+
def description: () -> ::String
|
|
1197
|
+
def created_at: () -> ::Time
|
|
1198
|
+
def updated_at: () -> ::Time
|
|
1199
|
+
def policy_arn: () -> ::String
|
|
1200
|
+
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
1201
|
+
def status_reasons: () -> ::Array[::String]
|
|
1202
|
+
end
|
|
1203
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_policy-instance_method
|
|
1204
|
+
def get_policy: (
|
|
1205
|
+
policy_engine_id: ::String,
|
|
1206
|
+
policy_id: ::String
|
|
1207
|
+
) -> _GetPolicyResponseSuccess
|
|
1208
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyResponseSuccess
|
|
1209
|
+
|
|
1210
|
+
interface _GetPolicyEngineResponseSuccess
|
|
1211
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyEngineResponse]
|
|
1212
|
+
def policy_engine_id: () -> ::String
|
|
1213
|
+
def name: () -> ::String
|
|
1214
|
+
def description: () -> ::String
|
|
1215
|
+
def created_at: () -> ::Time
|
|
1216
|
+
def updated_at: () -> ::Time
|
|
1217
|
+
def policy_engine_arn: () -> ::String
|
|
1218
|
+
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
1219
|
+
def status_reasons: () -> ::Array[::String]
|
|
1220
|
+
end
|
|
1221
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_policy_engine-instance_method
|
|
1222
|
+
def get_policy_engine: (
|
|
1223
|
+
policy_engine_id: ::String
|
|
1224
|
+
) -> _GetPolicyEngineResponseSuccess
|
|
1225
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyEngineResponseSuccess
|
|
1226
|
+
|
|
1227
|
+
interface _GetPolicyGenerationResponseSuccess
|
|
1228
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyGenerationResponse]
|
|
1229
|
+
def policy_engine_id: () -> ::String
|
|
1230
|
+
def policy_generation_id: () -> ::String
|
|
1231
|
+
def name: () -> ::String
|
|
1232
|
+
def policy_generation_arn: () -> ::String
|
|
1233
|
+
def resource: () -> Types::Resource
|
|
1234
|
+
def created_at: () -> ::Time
|
|
1235
|
+
def updated_at: () -> ::Time
|
|
1236
|
+
def status: () -> ("GENERATING" | "GENERATED" | "GENERATE_FAILED" | "DELETE_FAILED")
|
|
1237
|
+
def status_reasons: () -> ::Array[::String]
|
|
1238
|
+
def findings: () -> ::String
|
|
1239
|
+
end
|
|
1240
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_policy_generation-instance_method
|
|
1241
|
+
def get_policy_generation: (
|
|
1242
|
+
policy_generation_id: ::String,
|
|
1243
|
+
policy_engine_id: ::String
|
|
1244
|
+
) -> _GetPolicyGenerationResponseSuccess
|
|
1245
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyGenerationResponseSuccess
|
|
1246
|
+
|
|
1247
|
+
interface _GetResourcePolicyResponseSuccess
|
|
1248
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
|
|
1249
|
+
def policy: () -> ::String
|
|
1250
|
+
end
|
|
1251
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_resource_policy-instance_method
|
|
1252
|
+
def get_resource_policy: (
|
|
1253
|
+
resource_arn: ::String
|
|
1254
|
+
) -> _GetResourcePolicyResponseSuccess
|
|
1255
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
|
1256
|
+
|
|
852
1257
|
interface _GetTokenVaultResponseSuccess
|
|
853
1258
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTokenVaultResponse]
|
|
854
1259
|
def token_vault_id: () -> ::String
|
|
@@ -951,6 +1356,18 @@ module Aws
|
|
|
951
1356
|
) -> _ListCodeInterpretersResponseSuccess
|
|
952
1357
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeInterpretersResponseSuccess
|
|
953
1358
|
|
|
1359
|
+
interface _ListEvaluatorsResponseSuccess
|
|
1360
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEvaluatorsResponse]
|
|
1361
|
+
def evaluators: () -> ::Array[Types::EvaluatorSummary]
|
|
1362
|
+
def next_token: () -> ::String
|
|
1363
|
+
end
|
|
1364
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#list_evaluators-instance_method
|
|
1365
|
+
def list_evaluators: (
|
|
1366
|
+
?next_token: ::String,
|
|
1367
|
+
?max_results: ::Integer
|
|
1368
|
+
) -> _ListEvaluatorsResponseSuccess
|
|
1369
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEvaluatorsResponseSuccess
|
|
1370
|
+
|
|
954
1371
|
interface _ListGatewayTargetsResponseSuccess
|
|
955
1372
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListGatewayTargetsResponse]
|
|
956
1373
|
def items: () -> ::Array[Types::TargetSummary]
|
|
@@ -1000,6 +1417,71 @@ module Aws
|
|
|
1000
1417
|
) -> _ListOauth2CredentialProvidersResponseSuccess
|
|
1001
1418
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOauth2CredentialProvidersResponseSuccess
|
|
1002
1419
|
|
|
1420
|
+
interface _ListOnlineEvaluationConfigsResponseSuccess
|
|
1421
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOnlineEvaluationConfigsResponse]
|
|
1422
|
+
def online_evaluation_configs: () -> ::Array[Types::OnlineEvaluationConfigSummary]
|
|
1423
|
+
def next_token: () -> ::String
|
|
1424
|
+
end
|
|
1425
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#list_online_evaluation_configs-instance_method
|
|
1426
|
+
def list_online_evaluation_configs: (
|
|
1427
|
+
?next_token: ::String,
|
|
1428
|
+
?max_results: ::Integer
|
|
1429
|
+
) -> _ListOnlineEvaluationConfigsResponseSuccess
|
|
1430
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOnlineEvaluationConfigsResponseSuccess
|
|
1431
|
+
|
|
1432
|
+
interface _ListPoliciesResponseSuccess
|
|
1433
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPoliciesResponse]
|
|
1434
|
+
def policies: () -> ::Array[Types::Policy]
|
|
1435
|
+
def next_token: () -> ::String
|
|
1436
|
+
end
|
|
1437
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#list_policies-instance_method
|
|
1438
|
+
def list_policies: (
|
|
1439
|
+
?next_token: ::String,
|
|
1440
|
+
?max_results: ::Integer,
|
|
1441
|
+
policy_engine_id: ::String,
|
|
1442
|
+
?target_resource_scope: ::String
|
|
1443
|
+
) -> _ListPoliciesResponseSuccess
|
|
1444
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPoliciesResponseSuccess
|
|
1445
|
+
|
|
1446
|
+
interface _ListPolicyEnginesResponseSuccess
|
|
1447
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicyEnginesResponse]
|
|
1448
|
+
def policy_engines: () -> ::Array[Types::PolicyEngine]
|
|
1449
|
+
def next_token: () -> ::String
|
|
1450
|
+
end
|
|
1451
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#list_policy_engines-instance_method
|
|
1452
|
+
def list_policy_engines: (
|
|
1453
|
+
?next_token: ::String,
|
|
1454
|
+
?max_results: ::Integer
|
|
1455
|
+
) -> _ListPolicyEnginesResponseSuccess
|
|
1456
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyEnginesResponseSuccess
|
|
1457
|
+
|
|
1458
|
+
interface _ListPolicyGenerationAssetsResponseSuccess
|
|
1459
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicyGenerationAssetsResponse]
|
|
1460
|
+
def policy_generation_assets: () -> ::Array[Types::PolicyGenerationAsset]
|
|
1461
|
+
def next_token: () -> ::String
|
|
1462
|
+
end
|
|
1463
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#list_policy_generation_assets-instance_method
|
|
1464
|
+
def list_policy_generation_assets: (
|
|
1465
|
+
policy_generation_id: ::String,
|
|
1466
|
+
policy_engine_id: ::String,
|
|
1467
|
+
?next_token: ::String,
|
|
1468
|
+
?max_results: ::Integer
|
|
1469
|
+
) -> _ListPolicyGenerationAssetsResponseSuccess
|
|
1470
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyGenerationAssetsResponseSuccess
|
|
1471
|
+
|
|
1472
|
+
interface _ListPolicyGenerationsResponseSuccess
|
|
1473
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicyGenerationsResponse]
|
|
1474
|
+
def policy_generations: () -> ::Array[Types::PolicyGeneration]
|
|
1475
|
+
def next_token: () -> ::String
|
|
1476
|
+
end
|
|
1477
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#list_policy_generations-instance_method
|
|
1478
|
+
def list_policy_generations: (
|
|
1479
|
+
?next_token: ::String,
|
|
1480
|
+
?max_results: ::Integer,
|
|
1481
|
+
policy_engine_id: ::String
|
|
1482
|
+
) -> _ListPolicyGenerationsResponseSuccess
|
|
1483
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyGenerationsResponseSuccess
|
|
1484
|
+
|
|
1003
1485
|
interface _ListTagsForResourceResponseSuccess
|
|
1004
1486
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
1005
1487
|
def tags: () -> ::Hash[::String, ::String]
|
|
@@ -1022,6 +1504,17 @@ module Aws
|
|
|
1022
1504
|
) -> _ListWorkloadIdentitiesResponseSuccess
|
|
1023
1505
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkloadIdentitiesResponseSuccess
|
|
1024
1506
|
|
|
1507
|
+
interface _PutResourcePolicyResponseSuccess
|
|
1508
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
|
1509
|
+
def policy: () -> ::String
|
|
1510
|
+
end
|
|
1511
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#put_resource_policy-instance_method
|
|
1512
|
+
def put_resource_policy: (
|
|
1513
|
+
resource_arn: ::String,
|
|
1514
|
+
policy: ::String
|
|
1515
|
+
) -> _PutResourcePolicyResponseSuccess
|
|
1516
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
|
1517
|
+
|
|
1025
1518
|
interface _SetTokenVaultCMKResponseSuccess
|
|
1026
1519
|
include ::Seahorse::Client::_ResponseSuccess[Types::SetTokenVaultCMKResponse]
|
|
1027
1520
|
def token_vault_id: () -> ::String
|
|
@@ -1038,6 +1531,33 @@ module Aws
|
|
|
1038
1531
|
) -> _SetTokenVaultCMKResponseSuccess
|
|
1039
1532
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetTokenVaultCMKResponseSuccess
|
|
1040
1533
|
|
|
1534
|
+
interface _StartPolicyGenerationResponseSuccess
|
|
1535
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartPolicyGenerationResponse]
|
|
1536
|
+
def policy_engine_id: () -> ::String
|
|
1537
|
+
def policy_generation_id: () -> ::String
|
|
1538
|
+
def name: () -> ::String
|
|
1539
|
+
def policy_generation_arn: () -> ::String
|
|
1540
|
+
def resource: () -> Types::Resource
|
|
1541
|
+
def created_at: () -> ::Time
|
|
1542
|
+
def updated_at: () -> ::Time
|
|
1543
|
+
def status: () -> ("GENERATING" | "GENERATED" | "GENERATE_FAILED" | "DELETE_FAILED")
|
|
1544
|
+
def status_reasons: () -> ::Array[::String]
|
|
1545
|
+
def findings: () -> ::String
|
|
1546
|
+
end
|
|
1547
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#start_policy_generation-instance_method
|
|
1548
|
+
def start_policy_generation: (
|
|
1549
|
+
policy_engine_id: ::String,
|
|
1550
|
+
resource: {
|
|
1551
|
+
arn: ::String?
|
|
1552
|
+
},
|
|
1553
|
+
content: {
|
|
1554
|
+
raw_text: ::String?
|
|
1555
|
+
},
|
|
1556
|
+
name: ::String,
|
|
1557
|
+
?client_token: ::String
|
|
1558
|
+
) -> _StartPolicyGenerationResponseSuccess
|
|
1559
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPolicyGenerationResponseSuccess
|
|
1560
|
+
|
|
1041
1561
|
interface _SynchronizeGatewayTargetsResponseSuccess
|
|
1042
1562
|
include ::Seahorse::Client::_ResponseSuccess[Types::SynchronizeGatewayTargetsResponse]
|
|
1043
1563
|
def targets: () -> ::Array[Types::GatewayTarget]
|
|
@@ -1111,7 +1631,21 @@ module Aws
|
|
|
1111
1631
|
custom_jwt_authorizer: {
|
|
1112
1632
|
discovery_url: ::String,
|
|
1113
1633
|
allowed_audience: Array[::String]?,
|
|
1114
|
-
allowed_clients: Array[::String]
|
|
1634
|
+
allowed_clients: Array[::String]?,
|
|
1635
|
+
allowed_scopes: Array[::String]?,
|
|
1636
|
+
custom_claims: Array[
|
|
1637
|
+
{
|
|
1638
|
+
inbound_token_claim_name: ::String,
|
|
1639
|
+
inbound_token_claim_value_type: ("STRING" | "STRING_ARRAY"),
|
|
1640
|
+
authorizing_claim_match_value: {
|
|
1641
|
+
claim_match_value: {
|
|
1642
|
+
match_value_string: ::String?,
|
|
1643
|
+
match_value_string_list: Array[::String]?
|
|
1644
|
+
},
|
|
1645
|
+
claim_match_operator: ("EQUALS" | "CONTAINS" | "CONTAINS_ANY")
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
]?
|
|
1115
1649
|
}?
|
|
1116
1650
|
},
|
|
1117
1651
|
?request_header_configuration: {
|
|
@@ -1164,6 +1698,55 @@ module Aws
|
|
|
1164
1698
|
) -> _UpdateApiKeyCredentialProviderResponseSuccess
|
|
1165
1699
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApiKeyCredentialProviderResponseSuccess
|
|
1166
1700
|
|
|
1701
|
+
interface _UpdateEvaluatorResponseSuccess
|
|
1702
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEvaluatorResponse]
|
|
1703
|
+
def evaluator_arn: () -> ::String
|
|
1704
|
+
def evaluator_id: () -> ::String
|
|
1705
|
+
def updated_at: () -> ::Time
|
|
1706
|
+
def status: () -> ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
1707
|
+
end
|
|
1708
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_evaluator-instance_method
|
|
1709
|
+
def update_evaluator: (
|
|
1710
|
+
?client_token: ::String,
|
|
1711
|
+
evaluator_id: ::String,
|
|
1712
|
+
?description: ::String,
|
|
1713
|
+
?evaluator_config: {
|
|
1714
|
+
llm_as_a_judge: {
|
|
1715
|
+
instructions: ::String,
|
|
1716
|
+
rating_scale: {
|
|
1717
|
+
numerical: Array[
|
|
1718
|
+
{
|
|
1719
|
+
definition: ::String,
|
|
1720
|
+
value: ::Float,
|
|
1721
|
+
label: ::String
|
|
1722
|
+
},
|
|
1723
|
+
]?,
|
|
1724
|
+
categorical: Array[
|
|
1725
|
+
{
|
|
1726
|
+
definition: ::String,
|
|
1727
|
+
label: ::String
|
|
1728
|
+
},
|
|
1729
|
+
]?
|
|
1730
|
+
},
|
|
1731
|
+
model_config: {
|
|
1732
|
+
bedrock_evaluator_model_config: {
|
|
1733
|
+
model_id: ::String,
|
|
1734
|
+
inference_config: {
|
|
1735
|
+
max_tokens: ::Integer?,
|
|
1736
|
+
temperature: ::Float?,
|
|
1737
|
+
top_p: ::Float?,
|
|
1738
|
+
stop_sequences: Array[::String]?
|
|
1739
|
+
}?,
|
|
1740
|
+
additional_model_request_fields: {
|
|
1741
|
+
}?
|
|
1742
|
+
}?
|
|
1743
|
+
}
|
|
1744
|
+
}?
|
|
1745
|
+
},
|
|
1746
|
+
?level: ("TOOL_CALL" | "TRACE" | "SESSION")
|
|
1747
|
+
) -> _UpdateEvaluatorResponseSuccess
|
|
1748
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEvaluatorResponseSuccess
|
|
1749
|
+
|
|
1167
1750
|
interface _UpdateGatewayResponseSuccess
|
|
1168
1751
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGatewayResponse]
|
|
1169
1752
|
def gateway_arn: () -> ::String
|
|
@@ -1182,6 +1765,7 @@ module Aws
|
|
|
1182
1765
|
def authorizer_configuration: () -> Types::AuthorizerConfiguration
|
|
1183
1766
|
def kms_key_arn: () -> ::String
|
|
1184
1767
|
def interceptor_configurations: () -> ::Array[Types::GatewayInterceptorConfiguration]
|
|
1768
|
+
def policy_engine_configuration: () -> Types::GatewayPolicyEngineConfiguration
|
|
1185
1769
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
1186
1770
|
def exception_level: () -> ("DEBUG")
|
|
1187
1771
|
end
|
|
@@ -1204,7 +1788,21 @@ module Aws
|
|
|
1204
1788
|
custom_jwt_authorizer: {
|
|
1205
1789
|
discovery_url: ::String,
|
|
1206
1790
|
allowed_audience: Array[::String]?,
|
|
1207
|
-
allowed_clients: Array[::String]
|
|
1791
|
+
allowed_clients: Array[::String]?,
|
|
1792
|
+
allowed_scopes: Array[::String]?,
|
|
1793
|
+
custom_claims: Array[
|
|
1794
|
+
{
|
|
1795
|
+
inbound_token_claim_name: ::String,
|
|
1796
|
+
inbound_token_claim_value_type: ("STRING" | "STRING_ARRAY"),
|
|
1797
|
+
authorizing_claim_match_value: {
|
|
1798
|
+
claim_match_value: {
|
|
1799
|
+
match_value_string: ::String?,
|
|
1800
|
+
match_value_string_list: Array[::String]?
|
|
1801
|
+
},
|
|
1802
|
+
claim_match_operator: ("EQUALS" | "CONTAINS" | "CONTAINS_ANY")
|
|
1803
|
+
}
|
|
1804
|
+
},
|
|
1805
|
+
]?
|
|
1208
1806
|
}?
|
|
1209
1807
|
},
|
|
1210
1808
|
?kms_key_arn: ::String,
|
|
@@ -1221,6 +1819,10 @@ module Aws
|
|
|
1221
1819
|
}?
|
|
1222
1820
|
},
|
|
1223
1821
|
],
|
|
1822
|
+
?policy_engine_configuration: {
|
|
1823
|
+
arn: ::String,
|
|
1824
|
+
mode: ("LOG_ONLY" | "ENFORCE")
|
|
1825
|
+
},
|
|
1224
1826
|
?exception_level: ("DEBUG")
|
|
1225
1827
|
) -> _UpdateGatewayResponseSuccess
|
|
1226
1828
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGatewayResponseSuccess
|
|
@@ -1292,6 +1894,26 @@ module Aws
|
|
|
1292
1894
|
}?,
|
|
1293
1895
|
mcp_server: {
|
|
1294
1896
|
endpoint: ::String
|
|
1897
|
+
}?,
|
|
1898
|
+
api_gateway: {
|
|
1899
|
+
rest_api_id: ::String,
|
|
1900
|
+
stage: ::String,
|
|
1901
|
+
api_gateway_tool_configuration: {
|
|
1902
|
+
tool_overrides: Array[
|
|
1903
|
+
{
|
|
1904
|
+
name: ::String,
|
|
1905
|
+
description: ::String?,
|
|
1906
|
+
path: ::String,
|
|
1907
|
+
method: ("GET" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | "PUT" | "POST")
|
|
1908
|
+
},
|
|
1909
|
+
]?,
|
|
1910
|
+
tool_filters: Array[
|
|
1911
|
+
{
|
|
1912
|
+
filter_path: ::String,
|
|
1913
|
+
methods: Array[("GET" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | "PUT" | "POST")]
|
|
1914
|
+
},
|
|
1915
|
+
]
|
|
1916
|
+
}
|
|
1295
1917
|
}?
|
|
1296
1918
|
}?
|
|
1297
1919
|
},
|
|
@@ -1302,7 +1924,9 @@ module Aws
|
|
|
1302
1924
|
oauth_credential_provider: {
|
|
1303
1925
|
provider_arn: ::String,
|
|
1304
1926
|
scopes: Array[::String],
|
|
1305
|
-
custom_parameters: Hash[::String, ::String]
|
|
1927
|
+
custom_parameters: Hash[::String, ::String]?,
|
|
1928
|
+
grant_type: ("CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE")?,
|
|
1929
|
+
default_return_url: ::String?
|
|
1306
1930
|
}?,
|
|
1307
1931
|
api_key_credential_provider: {
|
|
1308
1932
|
provider_arn: ::String,
|
|
@@ -1376,6 +2000,21 @@ module Aws
|
|
|
1376
2000
|
model_id: ::String
|
|
1377
2001
|
}?
|
|
1378
2002
|
}?,
|
|
2003
|
+
episodic_override: {
|
|
2004
|
+
extraction: {
|
|
2005
|
+
append_to_prompt: ::String,
|
|
2006
|
+
model_id: ::String
|
|
2007
|
+
}?,
|
|
2008
|
+
consolidation: {
|
|
2009
|
+
append_to_prompt: ::String,
|
|
2010
|
+
model_id: ::String
|
|
2011
|
+
}?,
|
|
2012
|
+
reflection: {
|
|
2013
|
+
append_to_prompt: ::String,
|
|
2014
|
+
model_id: ::String,
|
|
2015
|
+
namespaces: Array[::String]?
|
|
2016
|
+
}?
|
|
2017
|
+
}?,
|
|
1379
2018
|
self_managed_configuration: {
|
|
1380
2019
|
trigger_conditions: Array[
|
|
1381
2020
|
{
|
|
@@ -1397,6 +2036,14 @@ module Aws
|
|
|
1397
2036
|
historical_context_window_size: ::Integer?
|
|
1398
2037
|
}?
|
|
1399
2038
|
}?
|
|
2039
|
+
}?,
|
|
2040
|
+
episodic_memory_strategy: {
|
|
2041
|
+
name: ::String,
|
|
2042
|
+
description: ::String?,
|
|
2043
|
+
namespaces: Array[::String]?,
|
|
2044
|
+
reflection_configuration: {
|
|
2045
|
+
namespaces: Array[::String]
|
|
2046
|
+
}?
|
|
1400
2047
|
}?
|
|
1401
2048
|
},
|
|
1402
2049
|
]?,
|
|
@@ -1415,6 +2062,10 @@ module Aws
|
|
|
1415
2062
|
user_preference_extraction_override: {
|
|
1416
2063
|
append_to_prompt: ::String,
|
|
1417
2064
|
model_id: ::String
|
|
2065
|
+
}?,
|
|
2066
|
+
episodic_extraction_override: {
|
|
2067
|
+
append_to_prompt: ::String,
|
|
2068
|
+
model_id: ::String
|
|
1418
2069
|
}?
|
|
1419
2070
|
}?
|
|
1420
2071
|
}?,
|
|
@@ -1431,6 +2082,22 @@ module Aws
|
|
|
1431
2082
|
user_preference_consolidation_override: {
|
|
1432
2083
|
append_to_prompt: ::String,
|
|
1433
2084
|
model_id: ::String
|
|
2085
|
+
}?,
|
|
2086
|
+
episodic_consolidation_override: {
|
|
2087
|
+
append_to_prompt: ::String,
|
|
2088
|
+
model_id: ::String
|
|
2089
|
+
}?
|
|
2090
|
+
}?
|
|
2091
|
+
}?,
|
|
2092
|
+
reflection: {
|
|
2093
|
+
episodic_reflection_configuration: {
|
|
2094
|
+
namespaces: Array[::String]
|
|
2095
|
+
}?,
|
|
2096
|
+
custom_reflection_configuration: {
|
|
2097
|
+
episodic_reflection_override: {
|
|
2098
|
+
append_to_prompt: ::String,
|
|
2099
|
+
model_id: ::String,
|
|
2100
|
+
namespaces: Array[::String]?
|
|
1434
2101
|
}?
|
|
1435
2102
|
}?
|
|
1436
2103
|
}?,
|
|
@@ -1536,6 +2203,100 @@ module Aws
|
|
|
1536
2203
|
) -> _UpdateOauth2CredentialProviderResponseSuccess
|
|
1537
2204
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOauth2CredentialProviderResponseSuccess
|
|
1538
2205
|
|
|
2206
|
+
interface _UpdateOnlineEvaluationConfigResponseSuccess
|
|
2207
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOnlineEvaluationConfigResponse]
|
|
2208
|
+
def online_evaluation_config_arn: () -> ::String
|
|
2209
|
+
def online_evaluation_config_id: () -> ::String
|
|
2210
|
+
def updated_at: () -> ::Time
|
|
2211
|
+
def status: () -> ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
2212
|
+
def execution_status: () -> ("ENABLED" | "DISABLED")
|
|
2213
|
+
def failure_reason: () -> ::String
|
|
2214
|
+
end
|
|
2215
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_online_evaluation_config-instance_method
|
|
2216
|
+
def update_online_evaluation_config: (
|
|
2217
|
+
?client_token: ::String,
|
|
2218
|
+
online_evaluation_config_id: ::String,
|
|
2219
|
+
?description: ::String,
|
|
2220
|
+
?rule: {
|
|
2221
|
+
sampling_config: {
|
|
2222
|
+
sampling_percentage: ::Float
|
|
2223
|
+
},
|
|
2224
|
+
filters: Array[
|
|
2225
|
+
{
|
|
2226
|
+
key: ::String,
|
|
2227
|
+
operator: ("Equals" | "NotEquals" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Contains" | "NotContains"),
|
|
2228
|
+
value: {
|
|
2229
|
+
string_value: ::String?,
|
|
2230
|
+
double_value: ::Float?,
|
|
2231
|
+
boolean_value: bool?
|
|
2232
|
+
}
|
|
2233
|
+
},
|
|
2234
|
+
]?,
|
|
2235
|
+
session_config: {
|
|
2236
|
+
session_timeout_minutes: ::Integer
|
|
2237
|
+
}?
|
|
2238
|
+
},
|
|
2239
|
+
?data_source_config: {
|
|
2240
|
+
cloud_watch_logs: {
|
|
2241
|
+
log_group_names: Array[::String],
|
|
2242
|
+
service_names: Array[::String]
|
|
2243
|
+
}?
|
|
2244
|
+
},
|
|
2245
|
+
?evaluators: Array[
|
|
2246
|
+
{
|
|
2247
|
+
evaluator_id: ::String?
|
|
2248
|
+
},
|
|
2249
|
+
],
|
|
2250
|
+
?evaluation_execution_role_arn: ::String,
|
|
2251
|
+
?execution_status: ("ENABLED" | "DISABLED")
|
|
2252
|
+
) -> _UpdateOnlineEvaluationConfigResponseSuccess
|
|
2253
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOnlineEvaluationConfigResponseSuccess
|
|
2254
|
+
|
|
2255
|
+
interface _UpdatePolicyResponseSuccess
|
|
2256
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePolicyResponse]
|
|
2257
|
+
def policy_id: () -> ::String
|
|
2258
|
+
def name: () -> ::String
|
|
2259
|
+
def policy_engine_id: () -> ::String
|
|
2260
|
+
def definition: () -> Types::PolicyDefinition
|
|
2261
|
+
def description: () -> ::String
|
|
2262
|
+
def created_at: () -> ::Time
|
|
2263
|
+
def updated_at: () -> ::Time
|
|
2264
|
+
def policy_arn: () -> ::String
|
|
2265
|
+
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
2266
|
+
def status_reasons: () -> ::Array[::String]
|
|
2267
|
+
end
|
|
2268
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_policy-instance_method
|
|
2269
|
+
def update_policy: (
|
|
2270
|
+
policy_engine_id: ::String,
|
|
2271
|
+
policy_id: ::String,
|
|
2272
|
+
?description: ::String,
|
|
2273
|
+
definition: {
|
|
2274
|
+
cedar: {
|
|
2275
|
+
statement: ::String
|
|
2276
|
+
}?
|
|
2277
|
+
},
|
|
2278
|
+
?validation_mode: ("FAIL_ON_ANY_FINDINGS" | "IGNORE_ALL_FINDINGS")
|
|
2279
|
+
) -> _UpdatePolicyResponseSuccess
|
|
2280
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyResponseSuccess
|
|
2281
|
+
|
|
2282
|
+
interface _UpdatePolicyEngineResponseSuccess
|
|
2283
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePolicyEngineResponse]
|
|
2284
|
+
def policy_engine_id: () -> ::String
|
|
2285
|
+
def name: () -> ::String
|
|
2286
|
+
def description: () -> ::String
|
|
2287
|
+
def created_at: () -> ::Time
|
|
2288
|
+
def updated_at: () -> ::Time
|
|
2289
|
+
def policy_engine_arn: () -> ::String
|
|
2290
|
+
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
2291
|
+
def status_reasons: () -> ::Array[::String]
|
|
2292
|
+
end
|
|
2293
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_policy_engine-instance_method
|
|
2294
|
+
def update_policy_engine: (
|
|
2295
|
+
policy_engine_id: ::String,
|
|
2296
|
+
?description: ::String
|
|
2297
|
+
) -> _UpdatePolicyEngineResponseSuccess
|
|
2298
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyEngineResponseSuccess
|
|
2299
|
+
|
|
1539
2300
|
interface _UpdateWorkloadIdentityResponseSuccess
|
|
1540
2301
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkloadIdentityResponse]
|
|
1541
2302
|
def name: () -> ::String
|
|
@@ -1556,6 +2317,29 @@ module Aws
|
|
|
1556
2317
|
memory_id: ::String
|
|
1557
2318
|
) -> Client::_GetMemoryResponseSuccess
|
|
1558
2319
|
| (:memory_created waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetMemoryResponseSuccess
|
|
2320
|
+
| (:policy_active waiter_name,
|
|
2321
|
+
policy_engine_id: ::String,
|
|
2322
|
+
policy_id: ::String
|
|
2323
|
+
) -> Client::_GetPolicyResponseSuccess
|
|
2324
|
+
| (:policy_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetPolicyResponseSuccess
|
|
2325
|
+
| (:policy_deleted waiter_name,
|
|
2326
|
+
policy_engine_id: ::String,
|
|
2327
|
+
policy_id: ::String
|
|
2328
|
+
) -> Client::_GetPolicyResponseSuccess
|
|
2329
|
+
| (:policy_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetPolicyResponseSuccess
|
|
2330
|
+
| (:policy_engine_active waiter_name,
|
|
2331
|
+
policy_engine_id: ::String
|
|
2332
|
+
) -> Client::_GetPolicyEngineResponseSuccess
|
|
2333
|
+
| (:policy_engine_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetPolicyEngineResponseSuccess
|
|
2334
|
+
| (:policy_engine_deleted waiter_name,
|
|
2335
|
+
policy_engine_id: ::String
|
|
2336
|
+
) -> Client::_GetPolicyEngineResponseSuccess
|
|
2337
|
+
| (:policy_engine_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetPolicyEngineResponseSuccess
|
|
2338
|
+
| (:policy_generation_completed waiter_name,
|
|
2339
|
+
policy_generation_id: ::String,
|
|
2340
|
+
policy_engine_id: ::String
|
|
2341
|
+
) -> Client::_GetPolicyGenerationResponseSuccess
|
|
2342
|
+
| (:policy_generation_completed waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetPolicyGenerationResponseSuccess
|
|
1559
2343
|
end
|
|
1560
2344
|
end
|
|
1561
2345
|
end
|