aws-sdk-bedrockagentcorecontrol 1.14.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +2213 -42
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +1327 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +3913 -196
- data/lib/aws-sdk-bedrockagentcorecontrol/waiters.rb +279 -3
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +824 -11
- data/sig/types.rbs +991 -31
- data/sig/waiters.rbs +53 -0
- metadata +3 -3
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
|
|
@@ -246,9 +309,11 @@ module Aws
|
|
|
246
309
|
def role_arn: () -> ::String
|
|
247
310
|
def protocol_type: () -> ("MCP")
|
|
248
311
|
def protocol_configuration: () -> Types::GatewayProtocolConfiguration
|
|
249
|
-
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM")
|
|
312
|
+
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
250
313
|
def authorizer_configuration: () -> Types::AuthorizerConfiguration
|
|
251
314
|
def kms_key_arn: () -> ::String
|
|
315
|
+
def interceptor_configurations: () -> ::Array[Types::GatewayInterceptorConfiguration]
|
|
316
|
+
def policy_engine_configuration: () -> Types::GatewayPolicyEngineConfiguration
|
|
252
317
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
253
318
|
def exception_level: () -> ("DEBUG")
|
|
254
319
|
end
|
|
@@ -266,15 +331,46 @@ module Aws
|
|
|
266
331
|
search_type: ("SEMANTIC")?
|
|
267
332
|
}?
|
|
268
333
|
},
|
|
269
|
-
authorizer_type: ("CUSTOM_JWT" | "AWS_IAM"),
|
|
334
|
+
authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE"),
|
|
270
335
|
?authorizer_configuration: {
|
|
271
336
|
custom_jwt_authorizer: {
|
|
272
337
|
discovery_url: ::String,
|
|
273
338
|
allowed_audience: Array[::String]?,
|
|
274
|
-
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
|
+
]?
|
|
275
354
|
}?
|
|
276
355
|
},
|
|
277
356
|
?kms_key_arn: ::String,
|
|
357
|
+
?interceptor_configurations: Array[
|
|
358
|
+
{
|
|
359
|
+
interceptor: {
|
|
360
|
+
lambda: {
|
|
361
|
+
arn: ::String
|
|
362
|
+
}?
|
|
363
|
+
},
|
|
364
|
+
interception_points: Array[("REQUEST" | "RESPONSE")],
|
|
365
|
+
input_configuration: {
|
|
366
|
+
pass_request_headers: bool
|
|
367
|
+
}?
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
?policy_engine_configuration: {
|
|
371
|
+
arn: ::String,
|
|
372
|
+
mode: ("LOG_ONLY" | "ENFORCE")
|
|
373
|
+
},
|
|
278
374
|
?exception_level: ("DEBUG"),
|
|
279
375
|
?tags: Hash[::String, ::String]
|
|
280
376
|
) -> _CreateGatewayResponseSuccess
|
|
@@ -347,6 +443,26 @@ module Aws
|
|
|
347
443
|
}?,
|
|
348
444
|
mcp_server: {
|
|
349
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
|
+
}
|
|
350
466
|
}?
|
|
351
467
|
}?
|
|
352
468
|
},
|
|
@@ -357,7 +473,9 @@ module Aws
|
|
|
357
473
|
oauth_credential_provider: {
|
|
358
474
|
provider_arn: ::String,
|
|
359
475
|
scopes: Array[::String],
|
|
360
|
-
custom_parameters: Hash[::String, ::String]
|
|
476
|
+
custom_parameters: Hash[::String, ::String]?,
|
|
477
|
+
grant_type: ("CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE")?,
|
|
478
|
+
default_return_url: ::String?
|
|
361
479
|
}?,
|
|
362
480
|
api_key_credential_provider: {
|
|
363
481
|
provider_arn: ::String,
|
|
@@ -431,6 +549,21 @@ module Aws
|
|
|
431
549
|
model_id: ::String
|
|
432
550
|
}?
|
|
433
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
|
+
}?,
|
|
434
567
|
self_managed_configuration: {
|
|
435
568
|
trigger_conditions: Array[
|
|
436
569
|
{
|
|
@@ -452,6 +585,14 @@ module Aws
|
|
|
452
585
|
historical_context_window_size: ::Integer?
|
|
453
586
|
}?
|
|
454
587
|
}?
|
|
588
|
+
}?,
|
|
589
|
+
episodic_memory_strategy: {
|
|
590
|
+
name: ::String,
|
|
591
|
+
description: ::String?,
|
|
592
|
+
namespaces: Array[::String]?,
|
|
593
|
+
reflection_configuration: {
|
|
594
|
+
namespaces: Array[::String]
|
|
595
|
+
}?
|
|
455
596
|
}?
|
|
456
597
|
},
|
|
457
598
|
],
|
|
@@ -527,6 +668,103 @@ module Aws
|
|
|
527
668
|
) -> _CreateOauth2CredentialProviderResponseSuccess
|
|
528
669
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOauth2CredentialProviderResponseSuccess
|
|
529
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
|
+
|
|
530
768
|
interface _CreateWorkloadIdentityResponseSuccess
|
|
531
769
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkloadIdentityResponse]
|
|
532
770
|
def name: () -> ::String
|
|
@@ -602,6 +840,18 @@ module Aws
|
|
|
602
840
|
) -> _DeleteCodeInterpreterResponseSuccess
|
|
603
841
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCodeInterpreterResponseSuccess
|
|
604
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
|
+
|
|
605
855
|
interface _DeleteGatewayResponseSuccess
|
|
606
856
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGatewayResponse]
|
|
607
857
|
def gateway_id: () -> ::String
|
|
@@ -649,6 +899,64 @@ module Aws
|
|
|
649
899
|
) -> _DeleteOauth2CredentialProviderResponseSuccess
|
|
650
900
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteOauth2CredentialProviderResponseSuccess
|
|
651
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
|
+
|
|
652
960
|
interface _DeleteWorkloadIdentityResponseSuccess
|
|
653
961
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkloadIdentityResponse]
|
|
654
962
|
end
|
|
@@ -670,6 +978,7 @@ module Aws
|
|
|
670
978
|
def network_configuration: () -> Types::NetworkConfiguration
|
|
671
979
|
def status: () -> ("CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "READY" | "DELETING")
|
|
672
980
|
def lifecycle_configuration: () -> Types::LifecycleConfiguration
|
|
981
|
+
def failure_reason: () -> ::String
|
|
673
982
|
def description: () -> ::String
|
|
674
983
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
675
984
|
def agent_runtime_artifact: () -> Types::AgentRuntimeArtifact
|
|
@@ -760,6 +1069,25 @@ module Aws
|
|
|
760
1069
|
) -> _GetCodeInterpreterResponseSuccess
|
|
761
1070
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCodeInterpreterResponseSuccess
|
|
762
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
|
+
|
|
763
1091
|
interface _GetGatewayResponseSuccess
|
|
764
1092
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetGatewayResponse]
|
|
765
1093
|
def gateway_arn: () -> ::String
|
|
@@ -774,9 +1102,11 @@ module Aws
|
|
|
774
1102
|
def role_arn: () -> ::String
|
|
775
1103
|
def protocol_type: () -> ("MCP")
|
|
776
1104
|
def protocol_configuration: () -> Types::GatewayProtocolConfiguration
|
|
777
|
-
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM")
|
|
1105
|
+
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
778
1106
|
def authorizer_configuration: () -> Types::AuthorizerConfiguration
|
|
779
1107
|
def kms_key_arn: () -> ::String
|
|
1108
|
+
def interceptor_configurations: () -> ::Array[Types::GatewayInterceptorConfiguration]
|
|
1109
|
+
def policy_engine_configuration: () -> Types::GatewayPolicyEngineConfiguration
|
|
780
1110
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
781
1111
|
def exception_level: () -> ("DEBUG")
|
|
782
1112
|
end
|
|
@@ -834,6 +1164,96 @@ module Aws
|
|
|
834
1164
|
) -> _GetOauth2CredentialProviderResponseSuccess
|
|
835
1165
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOauth2CredentialProviderResponseSuccess
|
|
836
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
|
+
|
|
837
1257
|
interface _GetTokenVaultResponseSuccess
|
|
838
1258
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTokenVaultResponse]
|
|
839
1259
|
def token_vault_id: () -> ::String
|
|
@@ -936,6 +1356,18 @@ module Aws
|
|
|
936
1356
|
) -> _ListCodeInterpretersResponseSuccess
|
|
937
1357
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeInterpretersResponseSuccess
|
|
938
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
|
+
|
|
939
1371
|
interface _ListGatewayTargetsResponseSuccess
|
|
940
1372
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListGatewayTargetsResponse]
|
|
941
1373
|
def items: () -> ::Array[Types::TargetSummary]
|
|
@@ -985,6 +1417,71 @@ module Aws
|
|
|
985
1417
|
) -> _ListOauth2CredentialProvidersResponseSuccess
|
|
986
1418
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOauth2CredentialProvidersResponseSuccess
|
|
987
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
|
+
|
|
988
1485
|
interface _ListTagsForResourceResponseSuccess
|
|
989
1486
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
990
1487
|
def tags: () -> ::Hash[::String, ::String]
|
|
@@ -1007,6 +1504,17 @@ module Aws
|
|
|
1007
1504
|
) -> _ListWorkloadIdentitiesResponseSuccess
|
|
1008
1505
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkloadIdentitiesResponseSuccess
|
|
1009
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
|
+
|
|
1010
1518
|
interface _SetTokenVaultCMKResponseSuccess
|
|
1011
1519
|
include ::Seahorse::Client::_ResponseSuccess[Types::SetTokenVaultCMKResponse]
|
|
1012
1520
|
def token_vault_id: () -> ::String
|
|
@@ -1023,6 +1531,33 @@ module Aws
|
|
|
1023
1531
|
) -> _SetTokenVaultCMKResponseSuccess
|
|
1024
1532
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetTokenVaultCMKResponseSuccess
|
|
1025
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
|
+
|
|
1026
1561
|
interface _SynchronizeGatewayTargetsResponseSuccess
|
|
1027
1562
|
include ::Seahorse::Client::_ResponseSuccess[Types::SynchronizeGatewayTargetsResponse]
|
|
1028
1563
|
def targets: () -> ::Array[Types::GatewayTarget]
|
|
@@ -1096,7 +1631,21 @@ module Aws
|
|
|
1096
1631
|
custom_jwt_authorizer: {
|
|
1097
1632
|
discovery_url: ::String,
|
|
1098
1633
|
allowed_audience: Array[::String]?,
|
|
1099
|
-
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
|
+
]?
|
|
1100
1649
|
}?
|
|
1101
1650
|
},
|
|
1102
1651
|
?request_header_configuration: {
|
|
@@ -1149,6 +1698,55 @@ module Aws
|
|
|
1149
1698
|
) -> _UpdateApiKeyCredentialProviderResponseSuccess
|
|
1150
1699
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApiKeyCredentialProviderResponseSuccess
|
|
1151
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
|
+
|
|
1152
1750
|
interface _UpdateGatewayResponseSuccess
|
|
1153
1751
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGatewayResponse]
|
|
1154
1752
|
def gateway_arn: () -> ::String
|
|
@@ -1163,9 +1761,11 @@ module Aws
|
|
|
1163
1761
|
def role_arn: () -> ::String
|
|
1164
1762
|
def protocol_type: () -> ("MCP")
|
|
1165
1763
|
def protocol_configuration: () -> Types::GatewayProtocolConfiguration
|
|
1166
|
-
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM")
|
|
1764
|
+
def authorizer_type: () -> ("CUSTOM_JWT" | "AWS_IAM" | "NONE")
|
|
1167
1765
|
def authorizer_configuration: () -> Types::AuthorizerConfiguration
|
|
1168
1766
|
def kms_key_arn: () -> ::String
|
|
1767
|
+
def interceptor_configurations: () -> ::Array[Types::GatewayInterceptorConfiguration]
|
|
1768
|
+
def policy_engine_configuration: () -> Types::GatewayPolicyEngineConfiguration
|
|
1169
1769
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
1170
1770
|
def exception_level: () -> ("DEBUG")
|
|
1171
1771
|
end
|
|
@@ -1183,15 +1783,46 @@ module Aws
|
|
|
1183
1783
|
search_type: ("SEMANTIC")?
|
|
1184
1784
|
}?
|
|
1185
1785
|
},
|
|
1186
|
-
authorizer_type: ("CUSTOM_JWT" | "AWS_IAM"),
|
|
1786
|
+
authorizer_type: ("CUSTOM_JWT" | "AWS_IAM" | "NONE"),
|
|
1187
1787
|
?authorizer_configuration: {
|
|
1188
1788
|
custom_jwt_authorizer: {
|
|
1189
1789
|
discovery_url: ::String,
|
|
1190
1790
|
allowed_audience: Array[::String]?,
|
|
1191
|
-
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
|
+
]?
|
|
1192
1806
|
}?
|
|
1193
1807
|
},
|
|
1194
1808
|
?kms_key_arn: ::String,
|
|
1809
|
+
?interceptor_configurations: Array[
|
|
1810
|
+
{
|
|
1811
|
+
interceptor: {
|
|
1812
|
+
lambda: {
|
|
1813
|
+
arn: ::String
|
|
1814
|
+
}?
|
|
1815
|
+
},
|
|
1816
|
+
interception_points: Array[("REQUEST" | "RESPONSE")],
|
|
1817
|
+
input_configuration: {
|
|
1818
|
+
pass_request_headers: bool
|
|
1819
|
+
}?
|
|
1820
|
+
},
|
|
1821
|
+
],
|
|
1822
|
+
?policy_engine_configuration: {
|
|
1823
|
+
arn: ::String,
|
|
1824
|
+
mode: ("LOG_ONLY" | "ENFORCE")
|
|
1825
|
+
},
|
|
1195
1826
|
?exception_level: ("DEBUG")
|
|
1196
1827
|
) -> _UpdateGatewayResponseSuccess
|
|
1197
1828
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGatewayResponseSuccess
|
|
@@ -1263,6 +1894,26 @@ module Aws
|
|
|
1263
1894
|
}?,
|
|
1264
1895
|
mcp_server: {
|
|
1265
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
|
+
}
|
|
1266
1917
|
}?
|
|
1267
1918
|
}?
|
|
1268
1919
|
},
|
|
@@ -1273,7 +1924,9 @@ module Aws
|
|
|
1273
1924
|
oauth_credential_provider: {
|
|
1274
1925
|
provider_arn: ::String,
|
|
1275
1926
|
scopes: Array[::String],
|
|
1276
|
-
custom_parameters: Hash[::String, ::String]
|
|
1927
|
+
custom_parameters: Hash[::String, ::String]?,
|
|
1928
|
+
grant_type: ("CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE")?,
|
|
1929
|
+
default_return_url: ::String?
|
|
1277
1930
|
}?,
|
|
1278
1931
|
api_key_credential_provider: {
|
|
1279
1932
|
provider_arn: ::String,
|
|
@@ -1347,6 +2000,21 @@ module Aws
|
|
|
1347
2000
|
model_id: ::String
|
|
1348
2001
|
}?
|
|
1349
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
|
+
}?,
|
|
1350
2018
|
self_managed_configuration: {
|
|
1351
2019
|
trigger_conditions: Array[
|
|
1352
2020
|
{
|
|
@@ -1368,6 +2036,14 @@ module Aws
|
|
|
1368
2036
|
historical_context_window_size: ::Integer?
|
|
1369
2037
|
}?
|
|
1370
2038
|
}?
|
|
2039
|
+
}?,
|
|
2040
|
+
episodic_memory_strategy: {
|
|
2041
|
+
name: ::String,
|
|
2042
|
+
description: ::String?,
|
|
2043
|
+
namespaces: Array[::String]?,
|
|
2044
|
+
reflection_configuration: {
|
|
2045
|
+
namespaces: Array[::String]
|
|
2046
|
+
}?
|
|
1371
2047
|
}?
|
|
1372
2048
|
},
|
|
1373
2049
|
]?,
|
|
@@ -1386,6 +2062,10 @@ module Aws
|
|
|
1386
2062
|
user_preference_extraction_override: {
|
|
1387
2063
|
append_to_prompt: ::String,
|
|
1388
2064
|
model_id: ::String
|
|
2065
|
+
}?,
|
|
2066
|
+
episodic_extraction_override: {
|
|
2067
|
+
append_to_prompt: ::String,
|
|
2068
|
+
model_id: ::String
|
|
1389
2069
|
}?
|
|
1390
2070
|
}?
|
|
1391
2071
|
}?,
|
|
@@ -1402,6 +2082,22 @@ module Aws
|
|
|
1402
2082
|
user_preference_consolidation_override: {
|
|
1403
2083
|
append_to_prompt: ::String,
|
|
1404
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]?
|
|
1405
2101
|
}?
|
|
1406
2102
|
}?
|
|
1407
2103
|
}?,
|
|
@@ -1507,6 +2203,100 @@ module Aws
|
|
|
1507
2203
|
) -> _UpdateOauth2CredentialProviderResponseSuccess
|
|
1508
2204
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOauth2CredentialProviderResponseSuccess
|
|
1509
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
|
+
|
|
1510
2300
|
interface _UpdateWorkloadIdentityResponseSuccess
|
|
1511
2301
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkloadIdentityResponse]
|
|
1512
2302
|
def name: () -> ::String
|
|
@@ -1527,6 +2317,29 @@ module Aws
|
|
|
1527
2317
|
memory_id: ::String
|
|
1528
2318
|
) -> Client::_GetMemoryResponseSuccess
|
|
1529
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
|
|
1530
2343
|
end
|
|
1531
2344
|
end
|
|
1532
2345
|
end
|