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.
@@ -162,6 +162,108 @@ module Aws::BedrockAgentCoreControl
162
162
  include Aws::Structure
163
163
  end
164
164
 
165
+ # The configuration for an Amazon API Gateway target.
166
+ #
167
+ # @!attribute [rw] rest_api_id
168
+ # The ID of the API Gateway REST API.
169
+ # @return [String]
170
+ #
171
+ # @!attribute [rw] stage
172
+ # The ID of the stage of the REST API to add as a target.
173
+ # @return [String]
174
+ #
175
+ # @!attribute [rw] api_gateway_tool_configuration
176
+ # The configuration for defining REST API tool filters and overrides
177
+ # for the gateway target.
178
+ # @return [Types::ApiGatewayToolConfiguration]
179
+ #
180
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ApiGatewayTargetConfiguration AWS API Documentation
181
+ #
182
+ class ApiGatewayTargetConfiguration < Struct.new(
183
+ :rest_api_id,
184
+ :stage,
185
+ :api_gateway_tool_configuration)
186
+ SENSITIVE = []
187
+ include Aws::Structure
188
+ end
189
+
190
+ # The configuration for defining REST API tool filters and overrides for
191
+ # the gateway target.
192
+ #
193
+ # @!attribute [rw] tool_overrides
194
+ # A list of explicit tool definitions with optional custom names and
195
+ # descriptions.
196
+ # @return [Array<Types::ApiGatewayToolOverride>]
197
+ #
198
+ # @!attribute [rw] tool_filters
199
+ # A list of path and method patterns to expose as tools using metadata
200
+ # from the REST API's OpenAPI specification.
201
+ # @return [Array<Types::ApiGatewayToolFilter>]
202
+ #
203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ApiGatewayToolConfiguration AWS API Documentation
204
+ #
205
+ class ApiGatewayToolConfiguration < Struct.new(
206
+ :tool_overrides,
207
+ :tool_filters)
208
+ SENSITIVE = []
209
+ include Aws::Structure
210
+ end
211
+
212
+ # Specifies which operations from an API Gateway REST API are exposed as
213
+ # tools. Tool names and descriptions are derived from the operationId
214
+ # and description fields in the API's exported OpenAPI specification.
215
+ #
216
+ # @!attribute [rw] filter_path
217
+ # Resource path to match in the REST API. Supports exact paths (for
218
+ # example, `/pets`) or wildcard paths (for example, `/pets/*` to match
219
+ # all paths under `/pets`). Must match existing paths in the REST API.
220
+ # @return [String]
221
+ #
222
+ # @!attribute [rw] methods
223
+ # The methods to filter for.
224
+ # @return [Array<String>]
225
+ #
226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ApiGatewayToolFilter AWS API Documentation
227
+ #
228
+ class ApiGatewayToolFilter < Struct.new(
229
+ :filter_path,
230
+ :methods)
231
+ SENSITIVE = []
232
+ include Aws::Structure
233
+ end
234
+
235
+ # Settings to override configurations for a tool.
236
+ #
237
+ # @!attribute [rw] name
238
+ # The name of tool. Identifies the tool in the Model Context Protocol.
239
+ # @return [String]
240
+ #
241
+ # @!attribute [rw] description
242
+ # The description of the tool. Provides information about the purpose
243
+ # and usage of the tool. If not provided, uses the description from
244
+ # the API's OpenAPI specification.
245
+ # @return [String]
246
+ #
247
+ # @!attribute [rw] path
248
+ # Resource path in the REST API (e.g., `/pets`). Must explicitly match
249
+ # an existing path in the REST API.
250
+ # @return [String]
251
+ #
252
+ # @!attribute [rw] method
253
+ # The HTTP method to expose for the specified path.
254
+ # @return [String]
255
+ #
256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ApiGatewayToolOverride AWS API Documentation
257
+ #
258
+ class ApiGatewayToolOverride < Struct.new(
259
+ :name,
260
+ :description,
261
+ :path,
262
+ :method)
263
+ SENSITIVE = []
264
+ include Aws::Structure
265
+ end
266
+
165
267
  # An API key credential provider for gateway authentication. This
166
268
  # structure contains the configuration for authenticating with the
167
269
  # target endpoint using an API key.
@@ -325,6 +427,56 @@ module Aws::BedrockAgentCoreControl
325
427
  class Unknown < AuthorizerConfiguration; end
326
428
  end
327
429
 
430
+ # Defines the value or values to match for and the relationship of the
431
+ # match.
432
+ #
433
+ # @!attribute [rw] claim_match_value
434
+ # The value or values to match for.
435
+ # @return [Types::ClaimMatchValueType]
436
+ #
437
+ # @!attribute [rw] claim_match_operator
438
+ # Defines the relationship between the claim field value and the value
439
+ # or values you're matching for.
440
+ # @return [String]
441
+ #
442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/AuthorizingClaimMatchValueType AWS API Documentation
443
+ #
444
+ class AuthorizingClaimMatchValueType < Struct.new(
445
+ :claim_match_value,
446
+ :claim_match_operator)
447
+ SENSITIVE = []
448
+ include Aws::Structure
449
+ end
450
+
451
+ # The configuration for using Amazon Bedrock models in evaluator
452
+ # assessments, including model selection and inference parameters.
453
+ #
454
+ # @!attribute [rw] model_id
455
+ # The identifier of the Amazon Bedrock model to use for evaluation.
456
+ # Must be a supported foundation model available in your region.
457
+ # @return [String]
458
+ #
459
+ # @!attribute [rw] inference_config
460
+ # The inference configuration parameters that control model behavior
461
+ # during evaluation, including temperature, token limits, and sampling
462
+ # settings.
463
+ # @return [Types::InferenceConfiguration]
464
+ #
465
+ # @!attribute [rw] additional_model_request_fields
466
+ # Additional model-specific request fields to customize model behavior
467
+ # beyond the standard inference configuration.
468
+ # @return [Hash,Array,String,Numeric,Boolean]
469
+ #
470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/BedrockEvaluatorModelConfig AWS API Documentation
471
+ #
472
+ class BedrockEvaluatorModelConfig < Struct.new(
473
+ :model_id,
474
+ :inference_config,
475
+ :additional_model_request_fields)
476
+ SENSITIVE = []
477
+ include Aws::Structure
478
+ end
479
+
328
480
  # The network configuration for a browser. This structure defines how
329
481
  # the browser connects to the network.
330
482
  #
@@ -426,6 +578,125 @@ module Aws::BedrockAgentCoreControl
426
578
  include Aws::Structure
427
579
  end
428
580
 
581
+ # The definition of a categorical rating scale option that provides a
582
+ # named category with its description for evaluation scoring.
583
+ #
584
+ # @!attribute [rw] definition
585
+ # The description that explains what this categorical rating
586
+ # represents and when it should be used.
587
+ # @return [String]
588
+ #
589
+ # @!attribute [rw] label
590
+ # The label or name of this categorical rating option.
591
+ # @return [String]
592
+ #
593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CategoricalScaleDefinition AWS API Documentation
594
+ #
595
+ class CategoricalScaleDefinition < Struct.new(
596
+ :definition,
597
+ :label)
598
+ SENSITIVE = []
599
+ include Aws::Structure
600
+ end
601
+
602
+ # Represents a Cedar policy statement within the AgentCore Policy
603
+ # system. Cedar is a policy language designed for authorization that
604
+ # provides human-readable, analyzable, and high-performance policy
605
+ # evaluation for controlling agent behavior and access decisions.
606
+ #
607
+ # @!attribute [rw] statement
608
+ # The Cedar policy statement that defines the authorization logic.
609
+ # This statement follows Cedar syntax and specifies principals,
610
+ # actions, resources, and conditions that determine when access should
611
+ # be allowed or denied.
612
+ # @return [String]
613
+ #
614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CedarPolicy AWS API Documentation
615
+ #
616
+ class CedarPolicy < Struct.new(
617
+ :statement)
618
+ SENSITIVE = []
619
+ include Aws::Structure
620
+ end
621
+
622
+ # The value or values to match for.
623
+ #
624
+ # * Include a `matchValueString` with the `EQUALS` operator to specify a
625
+ # string that matches the claim field value.
626
+ #
627
+ # * Include a `matchValueArray` to specify an array of string values.
628
+ # You can use the following operators:
629
+ #
630
+ # * Use `CONTAINS` to yield a match if the claim field value is in the
631
+ # array.
632
+ #
633
+ # * Use `CONTAINS_ANY` to yield a match if the claim field value
634
+ # contains any of the strings in the array.
635
+ #
636
+ # @note ClaimMatchValueType is a union - when making an API calls you must set exactly one of the members.
637
+ #
638
+ # @note ClaimMatchValueType is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ClaimMatchValueType corresponding to the set member.
639
+ #
640
+ # @!attribute [rw] match_value_string
641
+ # The string value to match for.
642
+ # @return [String]
643
+ #
644
+ # @!attribute [rw] match_value_string_list
645
+ # An array of strings to check for a match.
646
+ # @return [Array<String>]
647
+ #
648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ClaimMatchValueType AWS API Documentation
649
+ #
650
+ class ClaimMatchValueType < Struct.new(
651
+ :match_value_string,
652
+ :match_value_string_list,
653
+ :unknown)
654
+ SENSITIVE = []
655
+ include Aws::Structure
656
+ include Aws::Structure::Union
657
+
658
+ class MatchValueString < ClaimMatchValueType; end
659
+ class MatchValueStringList < ClaimMatchValueType; end
660
+ class Unknown < ClaimMatchValueType; end
661
+ end
662
+
663
+ # The configuration for reading agent traces from CloudWatch logs as
664
+ # input for online evaluation.
665
+ #
666
+ # @!attribute [rw] log_group_names
667
+ # The list of CloudWatch log group names to monitor for agent traces.
668
+ # @return [Array<String>]
669
+ #
670
+ # @!attribute [rw] service_names
671
+ # The list of service names to filter traces within the specified log
672
+ # groups. Used to identify relevant agent sessions.
673
+ # @return [Array<String>]
674
+ #
675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CloudWatchLogsInputConfig AWS API Documentation
676
+ #
677
+ class CloudWatchLogsInputConfig < Struct.new(
678
+ :log_group_names,
679
+ :service_names)
680
+ SENSITIVE = []
681
+ include Aws::Structure
682
+ end
683
+
684
+ # The configuration for writing evaluation results to CloudWatch logs
685
+ # with embedded metric format (EMF) for monitoring.
686
+ #
687
+ # @!attribute [rw] log_group_name
688
+ # The name of the CloudWatch log group where evaluation results will
689
+ # be written. The log group will be created if it doesn't exist.
690
+ # @return [String]
691
+ #
692
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CloudWatchOutputConfig AWS API Documentation
693
+ #
694
+ class CloudWatchOutputConfig < Struct.new(
695
+ :log_group_name)
696
+ SENSITIVE = []
697
+ include Aws::Structure
698
+ end
699
+
429
700
  # The source code configuration that specifies the location and details
430
701
  # of the code to be executed.
431
702
  #
@@ -609,6 +880,33 @@ module Aws::BedrockAgentCoreControl
609
880
  include Aws::Structure
610
881
  end
611
882
 
883
+ # Represents content input for policy generation operations. This
884
+ # structure encapsulates the natural language descriptions or other
885
+ # content formats that are used as input for AI-powered policy
886
+ # generation.
887
+ #
888
+ # @note Content is a union - when making an API calls you must set exactly one of the members.
889
+ #
890
+ # @!attribute [rw] raw_text
891
+ # The raw text content containing natural language descriptions of
892
+ # desired policy behavior. This text is processed by AI to generate
893
+ # corresponding Cedar policy statements that match the described
894
+ # intent.
895
+ # @return [String]
896
+ #
897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Content AWS API Documentation
898
+ #
899
+ class Content < Struct.new(
900
+ :raw_text,
901
+ :unknown)
902
+ SENSITIVE = []
903
+ include Aws::Structure
904
+ include Aws::Structure::Union
905
+
906
+ class RawText < Content; end
907
+ class Unknown < Content; end
908
+ end
909
+
612
910
  # @!attribute [rw] agent_runtime_id
613
911
  # The unique identifier of the AgentCore Runtime to create an endpoint
614
912
  # for.
@@ -1022,6 +1320,82 @@ module Aws::BedrockAgentCoreControl
1022
1320
  include Aws::Structure
1023
1321
  end
1024
1322
 
1323
+ # @!attribute [rw] client_token
1324
+ # A unique, case-sensitive identifier to ensure that the API request
1325
+ # completes no more than one time. If you don't specify this field, a
1326
+ # value is randomly generated for you. If this token matches a
1327
+ # previous request, the service ignores the request, but doesn't
1328
+ # return an error. For more information, see [Ensuring
1329
+ # idempotency][1].
1330
+ #
1331
+ # **A suitable default value is auto-generated.** You should normally
1332
+ # not need to pass this option.
1333
+ #
1334
+ #
1335
+ #
1336
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1337
+ # @return [String]
1338
+ #
1339
+ # @!attribute [rw] evaluator_name
1340
+ # The name of the evaluator. Must be unique within your account.
1341
+ # @return [String]
1342
+ #
1343
+ # @!attribute [rw] description
1344
+ # The description of the evaluator that explains its purpose and
1345
+ # evaluation criteria.
1346
+ # @return [String]
1347
+ #
1348
+ # @!attribute [rw] evaluator_config
1349
+ # The configuration for the evaluator, including LLM-as-a-Judge
1350
+ # settings with instructions, rating scale, and model configuration.
1351
+ # @return [Types::EvaluatorConfig]
1352
+ #
1353
+ # @!attribute [rw] level
1354
+ # The evaluation level that determines the scope of evaluation. Valid
1355
+ # values are `TOOL_CALL` for individual tool invocations, `TRACE` for
1356
+ # single request-response interactions, or `SESSION` for entire
1357
+ # conversation sessions.
1358
+ # @return [String]
1359
+ #
1360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateEvaluatorRequest AWS API Documentation
1361
+ #
1362
+ class CreateEvaluatorRequest < Struct.new(
1363
+ :client_token,
1364
+ :evaluator_name,
1365
+ :description,
1366
+ :evaluator_config,
1367
+ :level)
1368
+ SENSITIVE = [:description]
1369
+ include Aws::Structure
1370
+ end
1371
+
1372
+ # @!attribute [rw] evaluator_arn
1373
+ # The Amazon Resource Name (ARN) of the created evaluator.
1374
+ # @return [String]
1375
+ #
1376
+ # @!attribute [rw] evaluator_id
1377
+ # The unique identifier of the created evaluator.
1378
+ # @return [String]
1379
+ #
1380
+ # @!attribute [rw] created_at
1381
+ # The timestamp when the evaluator was created.
1382
+ # @return [Time]
1383
+ #
1384
+ # @!attribute [rw] status
1385
+ # The status of the evaluator creation operation.
1386
+ # @return [String]
1387
+ #
1388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateEvaluatorResponse AWS API Documentation
1389
+ #
1390
+ class CreateEvaluatorResponse < Struct.new(
1391
+ :evaluator_arn,
1392
+ :evaluator_id,
1393
+ :created_at,
1394
+ :status)
1395
+ SENSITIVE = []
1396
+ include Aws::Structure
1397
+ end
1398
+
1025
1399
  # @!attribute [rw] name
1026
1400
  # The name of the gateway. The name must be unique within your
1027
1401
  # account.
@@ -1088,6 +1462,14 @@ module Aws::BedrockAgentCoreControl
1088
1462
  # invocations.
1089
1463
  # @return [Array<Types::GatewayInterceptorConfiguration>]
1090
1464
  #
1465
+ # @!attribute [rw] policy_engine_configuration
1466
+ # The policy engine configuration for the gateway. A policy engine is
1467
+ # a collection of policies that evaluates and authorizes agent tool
1468
+ # calls. When associated with a gateway, the policy engine intercepts
1469
+ # all agent requests and determines whether to allow or deny each
1470
+ # action based on the defined policies.
1471
+ # @return [Types::GatewayPolicyEngineConfiguration]
1472
+ #
1091
1473
  # @!attribute [rw] exception_level
1092
1474
  # The level of detail in error messages returned when invoking the
1093
1475
  # gateway.
@@ -1117,6 +1499,7 @@ module Aws::BedrockAgentCoreControl
1117
1499
  :authorizer_configuration,
1118
1500
  :kms_key_arn,
1119
1501
  :interceptor_configurations,
1502
+ :policy_engine_configuration,
1120
1503
  :exception_level,
1121
1504
  :tags)
1122
1505
  SENSITIVE = [:name, :description]
@@ -1189,6 +1572,10 @@ module Aws::BedrockAgentCoreControl
1189
1572
  # The list of interceptor configurations for the created gateway.
1190
1573
  # @return [Array<Types::GatewayInterceptorConfiguration>]
1191
1574
  #
1575
+ # @!attribute [rw] policy_engine_configuration
1576
+ # The policy engine configuration for the created gateway.
1577
+ # @return [Types::GatewayPolicyEngineConfiguration]
1578
+ #
1192
1579
  # @!attribute [rw] workload_identity_details
1193
1580
  # The workload identity details for the created gateway.
1194
1581
  # @return [Types::WorkloadIdentityDetails]
@@ -1223,6 +1610,7 @@ module Aws::BedrockAgentCoreControl
1223
1610
  :authorizer_configuration,
1224
1611
  :kms_key_arn,
1225
1612
  :interceptor_configurations,
1613
+ :policy_engine_configuration,
1226
1614
  :workload_identity_details,
1227
1615
  :exception_level)
1228
1616
  SENSITIVE = [:name, :description]
@@ -1483,51 +1871,404 @@ module Aws::BedrockAgentCoreControl
1483
1871
  include Aws::Structure
1484
1872
  end
1485
1873
 
1486
- # @!attribute [rw] name
1487
- # The name of the workload identity. The name must be unique within
1488
- # your account.
1874
+ # @!attribute [rw] client_token
1875
+ # A unique, case-sensitive identifier to ensure that the API request
1876
+ # completes no more than one time. If you don't specify this field, a
1877
+ # value is randomly generated for you. If this token matches a
1878
+ # previous request, the service ignores the request, but doesn't
1879
+ # return an error. For more information, see [Ensuring
1880
+ # idempotency][1].
1881
+ #
1882
+ # **A suitable default value is auto-generated.** You should normally
1883
+ # not need to pass this option.
1884
+ #
1885
+ #
1886
+ #
1887
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1489
1888
  # @return [String]
1490
1889
  #
1491
- # @!attribute [rw] allowed_resource_oauth_2_return_urls
1492
- # The list of allowed OAuth2 return URLs for resources associated with
1493
- # this workload identity.
1494
- # @return [Array<String>]
1890
+ # @!attribute [rw] online_evaluation_config_name
1891
+ # The name of the online evaluation configuration. Must be unique
1892
+ # within your account.
1893
+ # @return [String]
1495
1894
  #
1496
- # @!attribute [rw] tags
1497
- # A map of tag keys and values to assign to the workload identity.
1498
- # Tags enable you to categorize your resources in different ways, for
1499
- # example, by purpose, owner, or environment.
1500
- # @return [Hash<String,String>]
1895
+ # @!attribute [rw] description
1896
+ # The description of the online evaluation configuration that explains
1897
+ # its monitoring purpose and scope.
1898
+ # @return [String]
1501
1899
  #
1502
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateWorkloadIdentityRequest AWS API Documentation
1900
+ # @!attribute [rw] rule
1901
+ # The evaluation rule that defines sampling configuration, filters,
1902
+ # and session detection settings for the online evaluation.
1903
+ # @return [Types::Rule]
1503
1904
  #
1504
- class CreateWorkloadIdentityRequest < Struct.new(
1505
- :name,
1506
- :allowed_resource_oauth_2_return_urls,
1507
- :tags)
1508
- SENSITIVE = []
1905
+ # @!attribute [rw] data_source_config
1906
+ # The data source configuration that specifies CloudWatch log groups
1907
+ # and service names to monitor for agent traces.
1908
+ # @return [Types::DataSourceConfig]
1909
+ #
1910
+ # @!attribute [rw] evaluators
1911
+ # The list of evaluators to apply during online evaluation. Can
1912
+ # include both built-in evaluators and custom evaluators created with
1913
+ # `CreateEvaluator`.
1914
+ # @return [Array<Types::EvaluatorReference>]
1915
+ #
1916
+ # @!attribute [rw] evaluation_execution_role_arn
1917
+ # The Amazon Resource Name (ARN) of the IAM role that grants
1918
+ # permissions to read from CloudWatch logs, write evaluation results,
1919
+ # and invoke Amazon Bedrock models for evaluation.
1920
+ # @return [String]
1921
+ #
1922
+ # @!attribute [rw] enable_on_create
1923
+ # Whether to enable the online evaluation configuration immediately
1924
+ # upon creation. If true, evaluation begins automatically.
1925
+ # @return [Boolean]
1926
+ #
1927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateOnlineEvaluationConfigRequest AWS API Documentation
1928
+ #
1929
+ class CreateOnlineEvaluationConfigRequest < Struct.new(
1930
+ :client_token,
1931
+ :online_evaluation_config_name,
1932
+ :description,
1933
+ :rule,
1934
+ :data_source_config,
1935
+ :evaluators,
1936
+ :evaluation_execution_role_arn,
1937
+ :enable_on_create)
1938
+ SENSITIVE = [:description]
1509
1939
  include Aws::Structure
1510
1940
  end
1511
1941
 
1512
- # @!attribute [rw] name
1513
- # The name of the workload identity.
1942
+ # @!attribute [rw] online_evaluation_config_arn
1943
+ # The Amazon Resource Name (ARN) of the created online evaluation
1944
+ # configuration.
1514
1945
  # @return [String]
1515
1946
  #
1516
- # @!attribute [rw] workload_identity_arn
1517
- # The Amazon Resource Name (ARN) of the workload identity.
1947
+ # @!attribute [rw] online_evaluation_config_id
1948
+ # The unique identifier of the created online evaluation
1949
+ # configuration.
1518
1950
  # @return [String]
1519
1951
  #
1520
- # @!attribute [rw] allowed_resource_oauth_2_return_urls
1521
- # The list of allowed OAuth2 return URLs for resources associated with
1522
- # this workload identity.
1523
- # @return [Array<String>]
1952
+ # @!attribute [rw] created_at
1953
+ # The timestamp when the online evaluation configuration was created.
1954
+ # @return [Time]
1524
1955
  #
1525
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateWorkloadIdentityResponse AWS API Documentation
1956
+ # @!attribute [rw] output_config
1957
+ # The configuration that specifies where evaluation results should be
1958
+ # written for monitoring and analysis.
1959
+ # @return [Types::OutputConfig]
1526
1960
  #
1527
- class CreateWorkloadIdentityResponse < Struct.new(
1528
- :name,
1529
- :workload_identity_arn,
1530
- :allowed_resource_oauth_2_return_urls)
1961
+ # @!attribute [rw] status
1962
+ # The status of the online evaluation configuration.
1963
+ # @return [String]
1964
+ #
1965
+ # @!attribute [rw] execution_status
1966
+ # The execution status indicating whether the online evaluation is
1967
+ # currently running.
1968
+ # @return [String]
1969
+ #
1970
+ # @!attribute [rw] failure_reason
1971
+ # The reason for failure if the online evaluation configuration
1972
+ # creation or execution failed.
1973
+ # @return [String]
1974
+ #
1975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateOnlineEvaluationConfigResponse AWS API Documentation
1976
+ #
1977
+ class CreateOnlineEvaluationConfigResponse < Struct.new(
1978
+ :online_evaluation_config_arn,
1979
+ :online_evaluation_config_id,
1980
+ :created_at,
1981
+ :output_config,
1982
+ :status,
1983
+ :execution_status,
1984
+ :failure_reason)
1985
+ SENSITIVE = []
1986
+ include Aws::Structure
1987
+ end
1988
+
1989
+ # @!attribute [rw] name
1990
+ # The customer-assigned immutable name for the policy engine. This
1991
+ # name identifies the policy engine and cannot be changed after
1992
+ # creation.
1993
+ # @return [String]
1994
+ #
1995
+ # @!attribute [rw] description
1996
+ # A human-readable description of the policy engine's purpose and
1997
+ # scope (1-4,096 characters). This helps administrators understand the
1998
+ # policy engine's role in the overall governance strategy. Document
1999
+ # which Gateway this engine will be associated with, what types of
2000
+ # tools or workflows it governs, and the team or service responsible
2001
+ # for maintaining it. Clear descriptions are essential when managing
2002
+ # multiple policy engines across different services or environments.
2003
+ # @return [String]
2004
+ #
2005
+ # @!attribute [rw] client_token
2006
+ # A unique, case-sensitive identifier that you provide to ensure the
2007
+ # idempotency of the request. If you retry a request with the same
2008
+ # client token, the service returns the same response without creating
2009
+ # a duplicate policy engine.
2010
+ #
2011
+ # **A suitable default value is auto-generated.** You should normally
2012
+ # not need to pass this option.
2013
+ # @return [String]
2014
+ #
2015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePolicyEngineRequest AWS API Documentation
2016
+ #
2017
+ class CreatePolicyEngineRequest < Struct.new(
2018
+ :name,
2019
+ :description,
2020
+ :client_token)
2021
+ SENSITIVE = [:description]
2022
+ include Aws::Structure
2023
+ end
2024
+
2025
+ # @!attribute [rw] policy_engine_id
2026
+ # The unique identifier for the created policy engine. This
2027
+ # system-generated identifier consists of the user name plus a
2028
+ # 10-character generated suffix and is used for all subsequent policy
2029
+ # engine operations.
2030
+ # @return [String]
2031
+ #
2032
+ # @!attribute [rw] name
2033
+ # The customer-assigned name of the created policy engine. This
2034
+ # matches the name provided in the request and serves as the
2035
+ # human-readable identifier.
2036
+ # @return [String]
2037
+ #
2038
+ # @!attribute [rw] description
2039
+ # A human-readable description of the policy engine's purpose.
2040
+ # @return [String]
2041
+ #
2042
+ # @!attribute [rw] created_at
2043
+ # The timestamp when the policy engine was created. This is
2044
+ # automatically set by the service and used for auditing and lifecycle
2045
+ # management.
2046
+ # @return [Time]
2047
+ #
2048
+ # @!attribute [rw] updated_at
2049
+ # The timestamp when the policy engine was last updated. For newly
2050
+ # created policy engines, this matches the `createdAt` timestamp.
2051
+ # @return [Time]
2052
+ #
2053
+ # @!attribute [rw] policy_engine_arn
2054
+ # The Amazon Resource Name (ARN) of the created policy engine. This
2055
+ # globally unique identifier can be used for cross-service references
2056
+ # and IAM policy statements.
2057
+ # @return [String]
2058
+ #
2059
+ # @!attribute [rw] status
2060
+ # The current status of the policy engine. A status of `ACTIVE`
2061
+ # indicates the policy engine is ready for use.
2062
+ # @return [String]
2063
+ #
2064
+ # @!attribute [rw] status_reasons
2065
+ # Additional information about the policy engine status. This provides
2066
+ # details about any failures or the current state of the policy engine
2067
+ # creation process.
2068
+ # @return [Array<String>]
2069
+ #
2070
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePolicyEngineResponse AWS API Documentation
2071
+ #
2072
+ class CreatePolicyEngineResponse < Struct.new(
2073
+ :policy_engine_id,
2074
+ :name,
2075
+ :description,
2076
+ :created_at,
2077
+ :updated_at,
2078
+ :policy_engine_arn,
2079
+ :status,
2080
+ :status_reasons)
2081
+ SENSITIVE = [:description]
2082
+ include Aws::Structure
2083
+ end
2084
+
2085
+ # @!attribute [rw] name
2086
+ # The customer-assigned immutable name for the policy. Must be unique
2087
+ # within the account. This name is used for policy identification and
2088
+ # cannot be changed after creation.
2089
+ # @return [String]
2090
+ #
2091
+ # @!attribute [rw] definition
2092
+ # The Cedar policy statement that defines the access control rules.
2093
+ # This contains the actual policy logic written in Cedar policy
2094
+ # language, specifying effect (permit or forbid), principals, actions,
2095
+ # resources, and conditions for agent behavior control.
2096
+ # @return [Types::PolicyDefinition]
2097
+ #
2098
+ # @!attribute [rw] description
2099
+ # A human-readable description of the policy's purpose and
2100
+ # functionality (1-4,096 characters). This helps policy administrators
2101
+ # understand the policy's intent, business rules, and operational
2102
+ # scope. Use this field to document why the policy exists, what
2103
+ # business requirement it addresses, and any special considerations
2104
+ # for maintenance. Clear descriptions are essential for policy
2105
+ # governance, auditing, and troubleshooting.
2106
+ # @return [String]
2107
+ #
2108
+ # @!attribute [rw] validation_mode
2109
+ # The validation mode for the policy creation. Determines how Cedar
2110
+ # analyzer validation results are handled during policy creation.
2111
+ # FAIL\_ON\_ANY\_FINDINGS (default) runs the Cedar analyzer to
2112
+ # validate the policy against the Cedar schema and tool context,
2113
+ # failing creation if the analyzer detects any validation issues to
2114
+ # ensure strict conformance. IGNORE\_ALL\_FINDINGS runs the Cedar
2115
+ # analyzer but allows policy creation even if validation issues are
2116
+ # detected, useful for testing or when the policy schema is evolving.
2117
+ # Use FAIL\_ON\_ANY\_FINDINGS for production policies to ensure
2118
+ # correctness, and IGNORE\_ALL\_FINDINGS only when you understand and
2119
+ # accept the analyzer findings.
2120
+ # @return [String]
2121
+ #
2122
+ # @!attribute [rw] policy_engine_id
2123
+ # The identifier of the policy engine which contains this policy.
2124
+ # Policy engines group related policies and provide the execution
2125
+ # context for policy evaluation.
2126
+ # @return [String]
2127
+ #
2128
+ # @!attribute [rw] client_token
2129
+ # A unique, case-sensitive identifier to ensure the idempotency of the
2130
+ # request. The AWS SDK automatically generates this token, so you
2131
+ # don't need to provide it in most cases. If you retry a request with
2132
+ # the same client token, the service returns the same response without
2133
+ # creating a duplicate policy.
2134
+ #
2135
+ # **A suitable default value is auto-generated.** You should normally
2136
+ # not need to pass this option.
2137
+ # @return [String]
2138
+ #
2139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePolicyRequest AWS API Documentation
2140
+ #
2141
+ class CreatePolicyRequest < Struct.new(
2142
+ :name,
2143
+ :definition,
2144
+ :description,
2145
+ :validation_mode,
2146
+ :policy_engine_id,
2147
+ :client_token)
2148
+ SENSITIVE = [:description]
2149
+ include Aws::Structure
2150
+ end
2151
+
2152
+ # @!attribute [rw] policy_id
2153
+ # The unique identifier for the created policy. This is a
2154
+ # system-generated identifier consisting of the user name plus a
2155
+ # 10-character generated suffix, used for all subsequent policy
2156
+ # operations.
2157
+ # @return [String]
2158
+ #
2159
+ # @!attribute [rw] name
2160
+ # The customer-assigned name of the created policy. This matches the
2161
+ # name provided in the request and serves as the human-readable
2162
+ # identifier for the policy.
2163
+ # @return [String]
2164
+ #
2165
+ # @!attribute [rw] policy_engine_id
2166
+ # The identifier of the policy engine that manages this policy. This
2167
+ # confirms the policy engine assignment and is used for policy
2168
+ # evaluation routing.
2169
+ # @return [String]
2170
+ #
2171
+ # @!attribute [rw] definition
2172
+ # The Cedar policy statement that was created. This is the validated
2173
+ # policy definition that will be used for agent behavior control and
2174
+ # access decisions.
2175
+ # @return [Types::PolicyDefinition]
2176
+ #
2177
+ # @!attribute [rw] description
2178
+ # The human-readable description of the policy's purpose and
2179
+ # functionality. This helps administrators understand and manage the
2180
+ # policy.
2181
+ # @return [String]
2182
+ #
2183
+ # @!attribute [rw] created_at
2184
+ # The timestamp when the policy was created. This is automatically set
2185
+ # by the service and used for auditing and lifecycle management.
2186
+ # @return [Time]
2187
+ #
2188
+ # @!attribute [rw] updated_at
2189
+ # The timestamp when the policy was last updated. For newly created
2190
+ # policies, this matches the createdAt timestamp.
2191
+ # @return [Time]
2192
+ #
2193
+ # @!attribute [rw] policy_arn
2194
+ # The Amazon Resource Name (ARN) of the created policy. This globally
2195
+ # unique identifier can be used for cross-service references and IAM
2196
+ # policy statements.
2197
+ # @return [String]
2198
+ #
2199
+ # @!attribute [rw] status
2200
+ # The current status of the policy. A status of `ACTIVE` indicates the
2201
+ # policy is ready for use.
2202
+ # @return [String]
2203
+ #
2204
+ # @!attribute [rw] status_reasons
2205
+ # Additional information about the policy status. This provides
2206
+ # details about any failures or the current state of the policy
2207
+ # creation process.
2208
+ # @return [Array<String>]
2209
+ #
2210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePolicyResponse AWS API Documentation
2211
+ #
2212
+ class CreatePolicyResponse < Struct.new(
2213
+ :policy_id,
2214
+ :name,
2215
+ :policy_engine_id,
2216
+ :definition,
2217
+ :description,
2218
+ :created_at,
2219
+ :updated_at,
2220
+ :policy_arn,
2221
+ :status,
2222
+ :status_reasons)
2223
+ SENSITIVE = [:description]
2224
+ include Aws::Structure
2225
+ end
2226
+
2227
+ # @!attribute [rw] name
2228
+ # The name of the workload identity. The name must be unique within
2229
+ # your account.
2230
+ # @return [String]
2231
+ #
2232
+ # @!attribute [rw] allowed_resource_oauth_2_return_urls
2233
+ # The list of allowed OAuth2 return URLs for resources associated with
2234
+ # this workload identity.
2235
+ # @return [Array<String>]
2236
+ #
2237
+ # @!attribute [rw] tags
2238
+ # A map of tag keys and values to assign to the workload identity.
2239
+ # Tags enable you to categorize your resources in different ways, for
2240
+ # example, by purpose, owner, or environment.
2241
+ # @return [Hash<String,String>]
2242
+ #
2243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateWorkloadIdentityRequest AWS API Documentation
2244
+ #
2245
+ class CreateWorkloadIdentityRequest < Struct.new(
2246
+ :name,
2247
+ :allowed_resource_oauth_2_return_urls,
2248
+ :tags)
2249
+ SENSITIVE = []
2250
+ include Aws::Structure
2251
+ end
2252
+
2253
+ # @!attribute [rw] name
2254
+ # The name of the workload identity.
2255
+ # @return [String]
2256
+ #
2257
+ # @!attribute [rw] workload_identity_arn
2258
+ # The Amazon Resource Name (ARN) of the workload identity.
2259
+ # @return [String]
2260
+ #
2261
+ # @!attribute [rw] allowed_resource_oauth_2_return_urls
2262
+ # The list of allowed OAuth2 return URLs for resources associated with
2263
+ # this workload identity.
2264
+ # @return [Array<String>]
2265
+ #
2266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateWorkloadIdentityResponse AWS API Documentation
2267
+ #
2268
+ class CreateWorkloadIdentityResponse < Struct.new(
2269
+ :name,
2270
+ :workload_identity_arn,
2271
+ :allowed_resource_oauth_2_return_urls)
1531
2272
  SENSITIVE = []
1532
2273
  include Aws::Structure
1533
2274
  end
@@ -1587,6 +2328,38 @@ module Aws::BedrockAgentCoreControl
1587
2328
  include Aws::Structure
1588
2329
  end
1589
2330
 
2331
+ # Defines the name of a custom claim field and rules for finding matches
2332
+ # to authenticate its value.
2333
+ #
2334
+ # @!attribute [rw] inbound_token_claim_name
2335
+ # The name of the custom claim field to check.
2336
+ # @return [String]
2337
+ #
2338
+ # @!attribute [rw] inbound_token_claim_value_type
2339
+ # The data type of the claim value to check for.
2340
+ #
2341
+ # * Use `STRING` if you want to find an exact match to a string you
2342
+ # define.
2343
+ #
2344
+ # * Use `STRING_ARRAY` if you want to fnd a match to at least one
2345
+ # value in an array you define.
2346
+ # @return [String]
2347
+ #
2348
+ # @!attribute [rw] authorizing_claim_match_value
2349
+ # Defines the value or values to match for and the relationship of the
2350
+ # match.
2351
+ # @return [Types::AuthorizingClaimMatchValueType]
2352
+ #
2353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomClaimValidationType AWS API Documentation
2354
+ #
2355
+ class CustomClaimValidationType < Struct.new(
2356
+ :inbound_token_claim_name,
2357
+ :inbound_token_claim_value_type,
2358
+ :authorizing_claim_match_value)
2359
+ SENSITIVE = []
2360
+ include Aws::Structure
2361
+ end
2362
+
1590
2363
  # Input for custom configuration of a memory strategy.
1591
2364
  #
1592
2365
  # @note CustomConfigurationInput is a union - when making an API calls you must set exactly one of the members.
@@ -1604,6 +2377,11 @@ module Aws::BedrockAgentCoreControl
1604
2377
  # strategy.
1605
2378
  # @return [Types::UserPreferenceOverrideConfigurationInput]
1606
2379
  #
2380
+ # @!attribute [rw] episodic_override
2381
+ # The episodic memory strategy override configuration for a custom
2382
+ # memory strategy.
2383
+ # @return [Types::EpisodicOverrideConfigurationInput]
2384
+ #
1607
2385
  # @!attribute [rw] self_managed_configuration
1608
2386
  # The self managed configuration for a custom memory strategy.
1609
2387
  # @return [Types::SelfManagedConfigurationInput]
@@ -1614,6 +2392,7 @@ module Aws::BedrockAgentCoreControl
1614
2392
  :semantic_override,
1615
2393
  :summary_override,
1616
2394
  :user_preference_override,
2395
+ :episodic_override,
1617
2396
  :self_managed_configuration,
1618
2397
  :unknown)
1619
2398
  SENSITIVE = []
@@ -1623,6 +2402,7 @@ module Aws::BedrockAgentCoreControl
1623
2402
  class SemanticOverride < CustomConfigurationInput; end
1624
2403
  class SummaryOverride < CustomConfigurationInput; end
1625
2404
  class UserPreferenceOverride < CustomConfigurationInput; end
2405
+ class EpisodicOverride < CustomConfigurationInput; end
1626
2406
  class SelfManagedConfiguration < CustomConfigurationInput; end
1627
2407
  class Unknown < CustomConfigurationInput; end
1628
2408
  end
@@ -1643,12 +2423,18 @@ module Aws::BedrockAgentCoreControl
1643
2423
  # The user preference consolidation override configuration.
1644
2424
  # @return [Types::UserPreferenceConsolidationOverride]
1645
2425
  #
2426
+ # @!attribute [rw] episodic_consolidation_override
2427
+ # The configurations to override the default consolidation step for
2428
+ # the episodic memory strategy.
2429
+ # @return [Types::EpisodicConsolidationOverride]
2430
+ #
1646
2431
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomConsolidationConfiguration AWS API Documentation
1647
2432
  #
1648
2433
  class CustomConsolidationConfiguration < Struct.new(
1649
2434
  :semantic_consolidation_override,
1650
2435
  :summary_consolidation_override,
1651
2436
  :user_preference_consolidation_override,
2437
+ :episodic_consolidation_override,
1652
2438
  :unknown)
1653
2439
  SENSITIVE = []
1654
2440
  include Aws::Structure
@@ -1657,6 +2443,7 @@ module Aws::BedrockAgentCoreControl
1657
2443
  class SemanticConsolidationOverride < CustomConsolidationConfiguration; end
1658
2444
  class SummaryConsolidationOverride < CustomConsolidationConfiguration; end
1659
2445
  class UserPreferenceConsolidationOverride < CustomConsolidationConfiguration; end
2446
+ class EpisodicConsolidationOverride < CustomConsolidationConfiguration; end
1660
2447
  class Unknown < CustomConsolidationConfiguration; end
1661
2448
  end
1662
2449
 
@@ -1676,12 +2463,18 @@ module Aws::BedrockAgentCoreControl
1676
2463
  # The user preference consolidation override configuration input.
1677
2464
  # @return [Types::UserPreferenceOverrideConsolidationConfigurationInput]
1678
2465
  #
2466
+ # @!attribute [rw] episodic_consolidation_override
2467
+ # Configurations to override the consolidation step of the episodic
2468
+ # strategy.
2469
+ # @return [Types::EpisodicOverrideConsolidationConfigurationInput]
2470
+ #
1679
2471
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomConsolidationConfigurationInput AWS API Documentation
1680
2472
  #
1681
2473
  class CustomConsolidationConfigurationInput < Struct.new(
1682
2474
  :semantic_consolidation_override,
1683
2475
  :summary_consolidation_override,
1684
2476
  :user_preference_consolidation_override,
2477
+ :episodic_consolidation_override,
1685
2478
  :unknown)
1686
2479
  SENSITIVE = []
1687
2480
  include Aws::Structure
@@ -1690,6 +2483,7 @@ module Aws::BedrockAgentCoreControl
1690
2483
  class SemanticConsolidationOverride < CustomConsolidationConfigurationInput; end
1691
2484
  class SummaryConsolidationOverride < CustomConsolidationConfigurationInput; end
1692
2485
  class UserPreferenceConsolidationOverride < CustomConsolidationConfigurationInput; end
2486
+ class EpisodicConsolidationOverride < CustomConsolidationConfigurationInput; end
1693
2487
  class Unknown < CustomConsolidationConfigurationInput; end
1694
2488
  end
1695
2489
 
@@ -1705,11 +2499,17 @@ module Aws::BedrockAgentCoreControl
1705
2499
  # The user preference extraction override configuration.
1706
2500
  # @return [Types::UserPreferenceExtractionOverride]
1707
2501
  #
2502
+ # @!attribute [rw] episodic_extraction_override
2503
+ # The configurations to override the default extraction step for the
2504
+ # episodic memory strategy.
2505
+ # @return [Types::EpisodicExtractionOverride]
2506
+ #
1708
2507
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomExtractionConfiguration AWS API Documentation
1709
2508
  #
1710
2509
  class CustomExtractionConfiguration < Struct.new(
1711
2510
  :semantic_extraction_override,
1712
2511
  :user_preference_extraction_override,
2512
+ :episodic_extraction_override,
1713
2513
  :unknown)
1714
2514
  SENSITIVE = []
1715
2515
  include Aws::Structure
@@ -1717,6 +2517,7 @@ module Aws::BedrockAgentCoreControl
1717
2517
 
1718
2518
  class SemanticExtractionOverride < CustomExtractionConfiguration; end
1719
2519
  class UserPreferenceExtractionOverride < CustomExtractionConfiguration; end
2520
+ class EpisodicExtractionOverride < CustomExtractionConfiguration; end
1720
2521
  class Unknown < CustomExtractionConfiguration; end
1721
2522
  end
1722
2523
 
@@ -1732,11 +2533,17 @@ module Aws::BedrockAgentCoreControl
1732
2533
  # The user preference extraction override configuration input.
1733
2534
  # @return [Types::UserPreferenceOverrideExtractionConfigurationInput]
1734
2535
  #
2536
+ # @!attribute [rw] episodic_extraction_override
2537
+ # Configurations to override the extraction step of the episodic
2538
+ # strategy.
2539
+ # @return [Types::EpisodicOverrideExtractionConfigurationInput]
2540
+ #
1735
2541
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomExtractionConfigurationInput AWS API Documentation
1736
2542
  #
1737
2543
  class CustomExtractionConfigurationInput < Struct.new(
1738
2544
  :semantic_extraction_override,
1739
2545
  :user_preference_extraction_override,
2546
+ :episodic_extraction_override,
1740
2547
  :unknown)
1741
2548
  SENSITIVE = []
1742
2549
  include Aws::Structure
@@ -1744,6 +2551,7 @@ module Aws::BedrockAgentCoreControl
1744
2551
 
1745
2552
  class SemanticExtractionOverride < CustomExtractionConfigurationInput; end
1746
2553
  class UserPreferenceExtractionOverride < CustomExtractionConfigurationInput; end
2554
+ class EpisodicExtractionOverride < CustomExtractionConfigurationInput; end
1747
2555
  class Unknown < CustomExtractionConfigurationInput; end
1748
2556
  end
1749
2557
 
@@ -1765,12 +2573,23 @@ module Aws::BedrockAgentCoreControl
1765
2573
  # JWT token validation process.
1766
2574
  # @return [Array<String>]
1767
2575
  #
2576
+ # @!attribute [rw] allowed_scopes
2577
+ # An array of scopes that are allowed to access the token.
2578
+ # @return [Array<String>]
2579
+ #
2580
+ # @!attribute [rw] custom_claims
2581
+ # An array of objects that define a custom claim validation name,
2582
+ # value, and operation
2583
+ # @return [Array<Types::CustomClaimValidationType>]
2584
+ #
1768
2585
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomJWTAuthorizerConfiguration AWS API Documentation
1769
2586
  #
1770
2587
  class CustomJWTAuthorizerConfiguration < Struct.new(
1771
2588
  :discovery_url,
1772
2589
  :allowed_audience,
1773
- :allowed_clients)
2590
+ :allowed_clients,
2591
+ :allowed_scopes,
2592
+ :custom_claims)
1774
2593
  SENSITIVE = []
1775
2594
  include Aws::Structure
1776
2595
  end
@@ -1847,6 +2666,74 @@ module Aws::BedrockAgentCoreControl
1847
2666
  include Aws::Structure
1848
2667
  end
1849
2668
 
2669
+ # Contains configurations for a custom reflection strategy.
2670
+ #
2671
+ # @note CustomReflectionConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CustomReflectionConfiguration corresponding to the set member.
2672
+ #
2673
+ # @!attribute [rw] episodic_reflection_override
2674
+ # The configuration for a reflection strategy to override the default
2675
+ # one.
2676
+ # @return [Types::EpisodicReflectionOverride]
2677
+ #
2678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomReflectionConfiguration AWS API Documentation
2679
+ #
2680
+ class CustomReflectionConfiguration < Struct.new(
2681
+ :episodic_reflection_override,
2682
+ :unknown)
2683
+ SENSITIVE = []
2684
+ include Aws::Structure
2685
+ include Aws::Structure::Union
2686
+
2687
+ class EpisodicReflectionOverride < CustomReflectionConfiguration; end
2688
+ class Unknown < CustomReflectionConfiguration; end
2689
+ end
2690
+
2691
+ # Input for a custom reflection configuration.
2692
+ #
2693
+ # @note CustomReflectionConfigurationInput is a union - when making an API calls you must set exactly one of the members.
2694
+ #
2695
+ # @!attribute [rw] episodic_reflection_override
2696
+ # The reflection override configuration input.
2697
+ # @return [Types::EpisodicOverrideReflectionConfigurationInput]
2698
+ #
2699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomReflectionConfigurationInput AWS API Documentation
2700
+ #
2701
+ class CustomReflectionConfigurationInput < Struct.new(
2702
+ :episodic_reflection_override,
2703
+ :unknown)
2704
+ SENSITIVE = []
2705
+ include Aws::Structure
2706
+ include Aws::Structure::Union
2707
+
2708
+ class EpisodicReflectionOverride < CustomReflectionConfigurationInput; end
2709
+ class Unknown < CustomReflectionConfigurationInput; end
2710
+ end
2711
+
2712
+ # The configuration that specifies where to read agent traces for online
2713
+ # evaluation.
2714
+ #
2715
+ # @note DataSourceConfig is a union - when making an API calls you must set exactly one of the members.
2716
+ #
2717
+ # @note DataSourceConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DataSourceConfig corresponding to the set member.
2718
+ #
2719
+ # @!attribute [rw] cloud_watch_logs
2720
+ # The CloudWatch logs configuration for reading agent traces from log
2721
+ # groups.
2722
+ # @return [Types::CloudWatchLogsInputConfig]
2723
+ #
2724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DataSourceConfig AWS API Documentation
2725
+ #
2726
+ class DataSourceConfig < Struct.new(
2727
+ :cloud_watch_logs,
2728
+ :unknown)
2729
+ SENSITIVE = []
2730
+ include Aws::Structure
2731
+ include Aws::Structure::Union
2732
+
2733
+ class CloudWatchLogs < DataSourceConfig; end
2734
+ class Unknown < DataSourceConfig; end
2735
+ end
2736
+
1850
2737
  # Exception thrown when decryption of a secret fails.
1851
2738
  #
1852
2739
  # @!attribute [rw] message
@@ -2051,6 +2938,40 @@ module Aws::BedrockAgentCoreControl
2051
2938
  include Aws::Structure
2052
2939
  end
2053
2940
 
2941
+ # @!attribute [rw] evaluator_id
2942
+ # The unique identifier of the evaluator to delete.
2943
+ # @return [String]
2944
+ #
2945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteEvaluatorRequest AWS API Documentation
2946
+ #
2947
+ class DeleteEvaluatorRequest < Struct.new(
2948
+ :evaluator_id)
2949
+ SENSITIVE = []
2950
+ include Aws::Structure
2951
+ end
2952
+
2953
+ # @!attribute [rw] evaluator_arn
2954
+ # The Amazon Resource Name (ARN) of the deleted evaluator.
2955
+ # @return [String]
2956
+ #
2957
+ # @!attribute [rw] evaluator_id
2958
+ # The unique identifier of the deleted evaluator.
2959
+ # @return [String]
2960
+ #
2961
+ # @!attribute [rw] status
2962
+ # The status of the evaluator deletion operation.
2963
+ # @return [String]
2964
+ #
2965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteEvaluatorResponse AWS API Documentation
2966
+ #
2967
+ class DeleteEvaluatorResponse < Struct.new(
2968
+ :evaluator_arn,
2969
+ :evaluator_id,
2970
+ :status)
2971
+ SENSITIVE = []
2972
+ include Aws::Structure
2973
+ end
2974
+
2054
2975
  # @!attribute [rw] gateway_identifier
2055
2976
  # The identifier of the gateway to delete.
2056
2977
  # @return [String]
@@ -2198,38 +3119,624 @@ module Aws::BedrockAgentCoreControl
2198
3119
  #
2199
3120
  class DeleteOauth2CredentialProviderResponse < Aws::EmptyStructure; end
2200
3121
 
2201
- # @!attribute [rw] name
2202
- # The name of the workload identity to delete.
3122
+ # @!attribute [rw] online_evaluation_config_id
3123
+ # The unique identifier of the online evaluation configuration to
3124
+ # delete.
2203
3125
  # @return [String]
2204
3126
  #
2205
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteWorkloadIdentityRequest AWS API Documentation
3127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteOnlineEvaluationConfigRequest AWS API Documentation
2206
3128
  #
2207
- class DeleteWorkloadIdentityRequest < Struct.new(
2208
- :name)
3129
+ class DeleteOnlineEvaluationConfigRequest < Struct.new(
3130
+ :online_evaluation_config_id)
2209
3131
  SENSITIVE = []
2210
3132
  include Aws::Structure
2211
3133
  end
2212
3134
 
2213
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteWorkloadIdentityResponse AWS API Documentation
3135
+ # @!attribute [rw] online_evaluation_config_arn
3136
+ # The Amazon Resource Name (ARN) of the deleted online evaluation
3137
+ # configuration.
3138
+ # @return [String]
2214
3139
  #
2215
- class DeleteWorkloadIdentityResponse < Aws::EmptyStructure; end
2216
-
2217
- # Exception thrown when encryption of a secret fails.
3140
+ # @!attribute [rw] online_evaluation_config_id
3141
+ # The unique identifier of the deleted online evaluation
3142
+ # configuration.
3143
+ # @return [String]
2218
3144
  #
2219
- # @!attribute [rw] message
3145
+ # @!attribute [rw] status
3146
+ # The status of the online evaluation configuration deletion
3147
+ # operation.
2220
3148
  # @return [String]
2221
3149
  #
2222
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EncryptionFailure AWS API Documentation
3150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteOnlineEvaluationConfigResponse AWS API Documentation
2223
3151
  #
2224
- class EncryptionFailure < Struct.new(
2225
- :message)
3152
+ class DeleteOnlineEvaluationConfigResponse < Struct.new(
3153
+ :online_evaluation_config_arn,
3154
+ :online_evaluation_config_id,
3155
+ :status)
2226
3156
  SENSITIVE = []
2227
3157
  include Aws::Structure
2228
3158
  end
2229
3159
 
2230
- # Contains extraction configuration information for a memory strategy.
3160
+ # @!attribute [rw] policy_engine_id
3161
+ # The unique identifier of the policy engine to be deleted. This must
3162
+ # be a valid policy engine ID that exists within the account.
3163
+ # @return [String]
2231
3164
  #
2232
- # @note ExtractionConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ExtractionConfiguration corresponding to the set member.
3165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeletePolicyEngineRequest AWS API Documentation
3166
+ #
3167
+ class DeletePolicyEngineRequest < Struct.new(
3168
+ :policy_engine_id)
3169
+ SENSITIVE = []
3170
+ include Aws::Structure
3171
+ end
3172
+
3173
+ # @!attribute [rw] policy_engine_id
3174
+ # The unique identifier of the policy engine being deleted. This
3175
+ # confirms which policy engine the deletion operation targets.
3176
+ # @return [String]
3177
+ #
3178
+ # @!attribute [rw] name
3179
+ # The customer-assigned name of the deleted policy engine.
3180
+ # @return [String]
3181
+ #
3182
+ # @!attribute [rw] description
3183
+ # The human-readable description of the deleted policy engine.
3184
+ # @return [String]
3185
+ #
3186
+ # @!attribute [rw] created_at
3187
+ # The timestamp when the deleted policy engine was originally created.
3188
+ # @return [Time]
3189
+ #
3190
+ # @!attribute [rw] updated_at
3191
+ # The timestamp when the deleted policy engine was last modified
3192
+ # before deletion. This tracks the final state of the policy engine
3193
+ # before it was removed from the system.
3194
+ # @return [Time]
3195
+ #
3196
+ # @!attribute [rw] policy_engine_arn
3197
+ # The Amazon Resource Name (ARN) of the deleted policy engine. This
3198
+ # globally unique identifier confirms which policy engine resource was
3199
+ # successfully removed.
3200
+ # @return [String]
3201
+ #
3202
+ # @!attribute [rw] status
3203
+ # The status of the policy engine deletion operation. This provides
3204
+ # status about any issues that occurred during the deletion process.
3205
+ # @return [String]
3206
+ #
3207
+ # @!attribute [rw] status_reasons
3208
+ # Additional information about the deletion status. This provides
3209
+ # details about the deletion process or any issues that may have
3210
+ # occurred.
3211
+ # @return [Array<String>]
3212
+ #
3213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeletePolicyEngineResponse AWS API Documentation
3214
+ #
3215
+ class DeletePolicyEngineResponse < Struct.new(
3216
+ :policy_engine_id,
3217
+ :name,
3218
+ :description,
3219
+ :created_at,
3220
+ :updated_at,
3221
+ :policy_engine_arn,
3222
+ :status,
3223
+ :status_reasons)
3224
+ SENSITIVE = [:description]
3225
+ include Aws::Structure
3226
+ end
3227
+
3228
+ # @!attribute [rw] policy_engine_id
3229
+ # The identifier of the policy engine that manages the policy to be
3230
+ # deleted. This ensures the policy is deleted from the correct policy
3231
+ # engine context.
3232
+ # @return [String]
3233
+ #
3234
+ # @!attribute [rw] policy_id
3235
+ # The unique identifier of the policy to be deleted. This must be a
3236
+ # valid policy ID that exists within the specified policy engine.
3237
+ # @return [String]
3238
+ #
3239
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeletePolicyRequest AWS API Documentation
3240
+ #
3241
+ class DeletePolicyRequest < Struct.new(
3242
+ :policy_engine_id,
3243
+ :policy_id)
3244
+ SENSITIVE = []
3245
+ include Aws::Structure
3246
+ end
3247
+
3248
+ # @!attribute [rw] policy_id
3249
+ # The unique identifier of the policy being deleted. This confirms
3250
+ # which policy the deletion operation targets.
3251
+ # @return [String]
3252
+ #
3253
+ # @!attribute [rw] name
3254
+ # The customer-assigned name of the deleted policy. This confirms
3255
+ # which policy was successfully removed from the system and matches
3256
+ # the name that was originally assigned during policy creation.
3257
+ # @return [String]
3258
+ #
3259
+ # @!attribute [rw] policy_engine_id
3260
+ # The identifier of the policy engine from which the policy was
3261
+ # deleted. This confirms the policy engine context for the deletion
3262
+ # operation.
3263
+ # @return [String]
3264
+ #
3265
+ # @!attribute [rw] definition
3266
+ # Represents the definition structure for policies within the
3267
+ # AgentCore Policy system. This structure encapsulates different
3268
+ # policy formats and languages that can be used to define access
3269
+ # control rules.
3270
+ # @return [Types::PolicyDefinition]
3271
+ #
3272
+ # @!attribute [rw] description
3273
+ # The human-readable description of the deleted policy.
3274
+ # @return [String]
3275
+ #
3276
+ # @!attribute [rw] created_at
3277
+ # The timestamp when the deleted policy was originally created.
3278
+ # @return [Time]
3279
+ #
3280
+ # @!attribute [rw] updated_at
3281
+ # The timestamp when the deleted policy was last modified before
3282
+ # deletion. This tracks the final state of the policy before it was
3283
+ # removed from the system.
3284
+ # @return [Time]
3285
+ #
3286
+ # @!attribute [rw] policy_arn
3287
+ # The Amazon Resource Name (ARN) of the deleted policy. This globally
3288
+ # unique identifier confirms which policy resource was successfully
3289
+ # removed.
3290
+ # @return [String]
3291
+ #
3292
+ # @!attribute [rw] status
3293
+ # The status of the policy deletion operation. This provides
3294
+ # information about any issues that occurred during the deletion
3295
+ # process.
3296
+ # @return [String]
3297
+ #
3298
+ # @!attribute [rw] status_reasons
3299
+ # Additional information about the deletion status. This provides
3300
+ # details about the deletion process or any issues that may have
3301
+ # occurred.
3302
+ # @return [Array<String>]
3303
+ #
3304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeletePolicyResponse AWS API Documentation
3305
+ #
3306
+ class DeletePolicyResponse < Struct.new(
3307
+ :policy_id,
3308
+ :name,
3309
+ :policy_engine_id,
3310
+ :definition,
3311
+ :description,
3312
+ :created_at,
3313
+ :updated_at,
3314
+ :policy_arn,
3315
+ :status,
3316
+ :status_reasons)
3317
+ SENSITIVE = [:description]
3318
+ include Aws::Structure
3319
+ end
3320
+
3321
+ # @!attribute [rw] resource_arn
3322
+ # The Amazon Resource Name (ARN) of the resource for which to delete
3323
+ # the resource policy.
3324
+ # @return [String]
3325
+ #
3326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteResourcePolicyRequest AWS API Documentation
3327
+ #
3328
+ class DeleteResourcePolicyRequest < Struct.new(
3329
+ :resource_arn)
3330
+ SENSITIVE = []
3331
+ include Aws::Structure
3332
+ end
3333
+
3334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteResourcePolicyResponse AWS API Documentation
3335
+ #
3336
+ class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
3337
+
3338
+ # @!attribute [rw] name
3339
+ # The name of the workload identity to delete.
3340
+ # @return [String]
3341
+ #
3342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteWorkloadIdentityRequest AWS API Documentation
3343
+ #
3344
+ class DeleteWorkloadIdentityRequest < Struct.new(
3345
+ :name)
3346
+ SENSITIVE = []
3347
+ include Aws::Structure
3348
+ end
3349
+
3350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteWorkloadIdentityResponse AWS API Documentation
3351
+ #
3352
+ class DeleteWorkloadIdentityResponse < Aws::EmptyStructure; end
3353
+
3354
+ # Exception thrown when encryption of a secret fails.
3355
+ #
3356
+ # @!attribute [rw] message
3357
+ # @return [String]
3358
+ #
3359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EncryptionFailure AWS API Documentation
3360
+ #
3361
+ class EncryptionFailure < Struct.new(
3362
+ :message)
3363
+ SENSITIVE = []
3364
+ include Aws::Structure
3365
+ end
3366
+
3367
+ # Contains configurations to override the default consolidation step for
3368
+ # the episodic memory strategy.
3369
+ #
3370
+ # @!attribute [rw] append_to_prompt
3371
+ # The text appended to the prompt for the consolidation step of the
3372
+ # episodic memory strategy.
3373
+ # @return [String]
3374
+ #
3375
+ # @!attribute [rw] model_id
3376
+ # The model ID used for the consolidation step of the episodic memory
3377
+ # strategy.
3378
+ # @return [String]
3379
+ #
3380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicConsolidationOverride AWS API Documentation
3381
+ #
3382
+ class EpisodicConsolidationOverride < Struct.new(
3383
+ :append_to_prompt,
3384
+ :model_id)
3385
+ SENSITIVE = [:append_to_prompt]
3386
+ include Aws::Structure
3387
+ end
3388
+
3389
+ # Contains configurations to override the default extraction step for
3390
+ # the episodic memory strategy.
3391
+ #
3392
+ # @!attribute [rw] append_to_prompt
3393
+ # The text appended to the prompt for the extraction step of the
3394
+ # episodic memory strategy.
3395
+ # @return [String]
3396
+ #
3397
+ # @!attribute [rw] model_id
3398
+ # The model ID used for the extraction step of the episodic memory
3399
+ # strategy.
3400
+ # @return [String]
3401
+ #
3402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicExtractionOverride AWS API Documentation
3403
+ #
3404
+ class EpisodicExtractionOverride < Struct.new(
3405
+ :append_to_prompt,
3406
+ :model_id)
3407
+ SENSITIVE = [:append_to_prompt]
3408
+ include Aws::Structure
3409
+ end
3410
+
3411
+ # Input for creating an episodic memory strategy.
3412
+ #
3413
+ # @!attribute [rw] name
3414
+ # The name of the episodic memory strategy.
3415
+ # @return [String]
3416
+ #
3417
+ # @!attribute [rw] description
3418
+ # The description of the episodic memory strategy.
3419
+ # @return [String]
3420
+ #
3421
+ # @!attribute [rw] namespaces
3422
+ # The namespaces for which to create episodes.
3423
+ # @return [Array<String>]
3424
+ #
3425
+ # @!attribute [rw] reflection_configuration
3426
+ # The configuration for the reflections created with the episodic
3427
+ # memory strategy.
3428
+ # @return [Types::EpisodicReflectionConfigurationInput]
3429
+ #
3430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicMemoryStrategyInput AWS API Documentation
3431
+ #
3432
+ class EpisodicMemoryStrategyInput < Struct.new(
3433
+ :name,
3434
+ :description,
3435
+ :namespaces,
3436
+ :reflection_configuration)
3437
+ SENSITIVE = [:description]
3438
+ include Aws::Structure
3439
+ end
3440
+
3441
+ # Input for the configuration to override the episodic memory strategy.
3442
+ #
3443
+ # @!attribute [rw] extraction
3444
+ # Contains configurations for overriding the extraction step of the
3445
+ # episodic memory strategy.
3446
+ # @return [Types::EpisodicOverrideExtractionConfigurationInput]
3447
+ #
3448
+ # @!attribute [rw] consolidation
3449
+ # Contains configurations for overriding the consolidation step of the
3450
+ # episodic memory strategy.
3451
+ # @return [Types::EpisodicOverrideConsolidationConfigurationInput]
3452
+ #
3453
+ # @!attribute [rw] reflection
3454
+ # Contains configurations for overriding the reflection step of the
3455
+ # episodic memory strategy.
3456
+ # @return [Types::EpisodicOverrideReflectionConfigurationInput]
3457
+ #
3458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicOverrideConfigurationInput AWS API Documentation
3459
+ #
3460
+ class EpisodicOverrideConfigurationInput < Struct.new(
3461
+ :extraction,
3462
+ :consolidation,
3463
+ :reflection)
3464
+ SENSITIVE = []
3465
+ include Aws::Structure
3466
+ end
3467
+
3468
+ # Configurations for overriding the consolidation step of the episodic
3469
+ # memory strategy.
3470
+ #
3471
+ # @!attribute [rw] append_to_prompt
3472
+ # The text to append to the prompt for the consolidation step of the
3473
+ # episodic memory strategy.
3474
+ # @return [String]
3475
+ #
3476
+ # @!attribute [rw] model_id
3477
+ # The model ID to use for the consolidation step of the episodic
3478
+ # memory strategy.
3479
+ # @return [String]
3480
+ #
3481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicOverrideConsolidationConfigurationInput AWS API Documentation
3482
+ #
3483
+ class EpisodicOverrideConsolidationConfigurationInput < Struct.new(
3484
+ :append_to_prompt,
3485
+ :model_id)
3486
+ SENSITIVE = [:append_to_prompt]
3487
+ include Aws::Structure
3488
+ end
3489
+
3490
+ # Configurations for overriding the extraction step of the episodic
3491
+ # memory strategy.
3492
+ #
3493
+ # @!attribute [rw] append_to_prompt
3494
+ # The text to append to the prompt for the extraction step of the
3495
+ # episodic memory strategy.
3496
+ # @return [String]
3497
+ #
3498
+ # @!attribute [rw] model_id
3499
+ # The model ID to use for the extraction step of the episodic memory
3500
+ # strategy.
3501
+ # @return [String]
3502
+ #
3503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicOverrideExtractionConfigurationInput AWS API Documentation
3504
+ #
3505
+ class EpisodicOverrideExtractionConfigurationInput < Struct.new(
3506
+ :append_to_prompt,
3507
+ :model_id)
3508
+ SENSITIVE = [:append_to_prompt]
3509
+ include Aws::Structure
3510
+ end
3511
+
3512
+ # Configurations for overriding the reflection step of the episodic
3513
+ # memory strategy.
3514
+ #
3515
+ # @!attribute [rw] append_to_prompt
3516
+ # The text to append to the prompt for reflection step of the episodic
3517
+ # memory strategy.
3518
+ # @return [String]
3519
+ #
3520
+ # @!attribute [rw] model_id
3521
+ # The model ID to use for the reflection step of the episodic memory
3522
+ # strategy.
3523
+ # @return [String]
3524
+ #
3525
+ # @!attribute [rw] namespaces
3526
+ # The namespaces to use for episodic reflection. Can be less nested
3527
+ # than the episodic namespaces.
3528
+ # @return [Array<String>]
3529
+ #
3530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicOverrideReflectionConfigurationInput AWS API Documentation
3531
+ #
3532
+ class EpisodicOverrideReflectionConfigurationInput < Struct.new(
3533
+ :append_to_prompt,
3534
+ :model_id,
3535
+ :namespaces)
3536
+ SENSITIVE = [:append_to_prompt]
3537
+ include Aws::Structure
3538
+ end
3539
+
3540
+ # The configuration for the reflections created with the episodic memory
3541
+ # strategy.
3542
+ #
3543
+ # @!attribute [rw] namespaces
3544
+ # The namespaces for which to create reflections. Can be less nested
3545
+ # than the episodic namespaces.
3546
+ # @return [Array<String>]
3547
+ #
3548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicReflectionConfiguration AWS API Documentation
3549
+ #
3550
+ class EpisodicReflectionConfiguration < Struct.new(
3551
+ :namespaces)
3552
+ SENSITIVE = []
3553
+ include Aws::Structure
3554
+ end
3555
+
3556
+ # An episodic reflection configuration input.
3557
+ #
3558
+ # @!attribute [rw] namespaces
3559
+ # The namespaces over which to create reflections. Can be less nested
3560
+ # than episode namespaces.
3561
+ # @return [Array<String>]
3562
+ #
3563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicReflectionConfigurationInput AWS API Documentation
3564
+ #
3565
+ class EpisodicReflectionConfigurationInput < Struct.new(
3566
+ :namespaces)
3567
+ SENSITIVE = []
3568
+ include Aws::Structure
3569
+ end
3570
+
3571
+ # Contains configurations to override the default reflection step for
3572
+ # the episodic memory strategy.
3573
+ #
3574
+ # @!attribute [rw] append_to_prompt
3575
+ # The text appended to the prompt for the reflection step of the
3576
+ # episodic memory strategy.
3577
+ # @return [String]
3578
+ #
3579
+ # @!attribute [rw] model_id
3580
+ # The model ID used for the reflection step of the episodic memory
3581
+ # strategy.
3582
+ # @return [String]
3583
+ #
3584
+ # @!attribute [rw] namespaces
3585
+ # The namespaces over which reflections were created. Can be less
3586
+ # nested than the episodic namespaces.
3587
+ # @return [Array<String>]
3588
+ #
3589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EpisodicReflectionOverride AWS API Documentation
3590
+ #
3591
+ class EpisodicReflectionOverride < Struct.new(
3592
+ :append_to_prompt,
3593
+ :model_id,
3594
+ :namespaces)
3595
+ SENSITIVE = [:append_to_prompt]
3596
+ include Aws::Structure
3597
+ end
3598
+
3599
+ # The configuration that defines how an evaluator assesses agent
3600
+ # performance, including the evaluation method and parameters.
3601
+ #
3602
+ # @note EvaluatorConfig is a union - when making an API calls you must set exactly one of the members.
3603
+ #
3604
+ # @note EvaluatorConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluatorConfig corresponding to the set member.
3605
+ #
3606
+ # @!attribute [rw] llm_as_a_judge
3607
+ # The LLM-as-a-Judge configuration that uses a language model to
3608
+ # evaluate agent performance based on custom instructions and rating
3609
+ # scales.
3610
+ # @return [Types::LlmAsAJudgeEvaluatorConfig]
3611
+ #
3612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluatorConfig AWS API Documentation
3613
+ #
3614
+ class EvaluatorConfig < Struct.new(
3615
+ :llm_as_a_judge,
3616
+ :unknown)
3617
+ SENSITIVE = []
3618
+ include Aws::Structure
3619
+ include Aws::Structure::Union
3620
+
3621
+ class LlmAsAJudge < EvaluatorConfig; end
3622
+ class Unknown < EvaluatorConfig; end
3623
+ end
3624
+
3625
+ # The model configuration that specifies which foundation model to use
3626
+ # for evaluation and how to configure it.
3627
+ #
3628
+ # @note EvaluatorModelConfig is a union - when making an API calls you must set exactly one of the members.
3629
+ #
3630
+ # @note EvaluatorModelConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluatorModelConfig corresponding to the set member.
3631
+ #
3632
+ # @!attribute [rw] bedrock_evaluator_model_config
3633
+ # The Amazon Bedrock model configuration for evaluation.
3634
+ # @return [Types::BedrockEvaluatorModelConfig]
3635
+ #
3636
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluatorModelConfig AWS API Documentation
3637
+ #
3638
+ class EvaluatorModelConfig < Struct.new(
3639
+ :bedrock_evaluator_model_config,
3640
+ :unknown)
3641
+ SENSITIVE = []
3642
+ include Aws::Structure
3643
+ include Aws::Structure::Union
3644
+
3645
+ class BedrockEvaluatorModelConfig < EvaluatorModelConfig; end
3646
+ class Unknown < EvaluatorModelConfig; end
3647
+ end
3648
+
3649
+ # The reference to an evaluator used in online evaluation
3650
+ # configurations, containing the evaluator identifier.
3651
+ #
3652
+ # @note EvaluatorReference is a union - when making an API calls you must set exactly one of the members.
3653
+ #
3654
+ # @note EvaluatorReference is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluatorReference corresponding to the set member.
3655
+ #
3656
+ # @!attribute [rw] evaluator_id
3657
+ # The unique identifier of the evaluator. Can reference builtin
3658
+ # evaluators (e.g., Builtin.Helpfulness) or custom evaluators.
3659
+ # @return [String]
3660
+ #
3661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluatorReference AWS API Documentation
3662
+ #
3663
+ class EvaluatorReference < Struct.new(
3664
+ :evaluator_id,
3665
+ :unknown)
3666
+ SENSITIVE = []
3667
+ include Aws::Structure
3668
+ include Aws::Structure::Union
3669
+
3670
+ class EvaluatorId < EvaluatorReference; end
3671
+ class Unknown < EvaluatorReference; end
3672
+ end
3673
+
3674
+ # The summary information about an evaluator, including basic metadata
3675
+ # and status information.
3676
+ #
3677
+ # @!attribute [rw] evaluator_arn
3678
+ # The Amazon Resource Name (ARN) of the evaluator.
3679
+ # @return [String]
3680
+ #
3681
+ # @!attribute [rw] evaluator_id
3682
+ # The unique identifier of the evaluator.
3683
+ # @return [String]
3684
+ #
3685
+ # @!attribute [rw] evaluator_name
3686
+ # The name of the evaluator.
3687
+ # @return [String]
3688
+ #
3689
+ # @!attribute [rw] description
3690
+ # The description of the evaluator.
3691
+ # @return [String]
3692
+ #
3693
+ # @!attribute [rw] evaluator_type
3694
+ # The type of evaluator, indicating whether it is a built-in evaluator
3695
+ # provided by the service or a custom evaluator created by the user.
3696
+ # @return [String]
3697
+ #
3698
+ # @!attribute [rw] level
3699
+ # The evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that
3700
+ # determines the scope of evaluation.
3701
+ # @return [String]
3702
+ #
3703
+ # @!attribute [rw] status
3704
+ # The current status of the evaluator.
3705
+ # @return [String]
3706
+ #
3707
+ # @!attribute [rw] created_at
3708
+ # The timestamp when the evaluator was created.
3709
+ # @return [Time]
3710
+ #
3711
+ # @!attribute [rw] updated_at
3712
+ # The timestamp when the evaluator was last updated.
3713
+ # @return [Time]
3714
+ #
3715
+ # @!attribute [rw] locked_for_modification
3716
+ # Whether the evaluator is locked for modification due to being
3717
+ # referenced by active online evaluation configurations.
3718
+ # @return [Boolean]
3719
+ #
3720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluatorSummary AWS API Documentation
3721
+ #
3722
+ class EvaluatorSummary < Struct.new(
3723
+ :evaluator_arn,
3724
+ :evaluator_id,
3725
+ :evaluator_name,
3726
+ :description,
3727
+ :evaluator_type,
3728
+ :level,
3729
+ :status,
3730
+ :created_at,
3731
+ :updated_at,
3732
+ :locked_for_modification)
3733
+ SENSITIVE = [:description]
3734
+ include Aws::Structure
3735
+ end
3736
+
3737
+ # Contains extraction configuration information for a memory strategy.
3738
+ #
3739
+ # @note ExtractionConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ExtractionConfiguration corresponding to the set member.
2233
3740
  #
2234
3741
  # @!attribute [rw] custom_extraction_configuration
2235
3742
  # The custom extraction configuration.
@@ -2242,10 +3749,105 @@ module Aws::BedrockAgentCoreControl
2242
3749
  :unknown)
2243
3750
  SENSITIVE = []
2244
3751
  include Aws::Structure
2245
- include Aws::Structure::Union
2246
-
2247
- class CustomExtractionConfiguration < ExtractionConfiguration; end
2248
- class Unknown < ExtractionConfiguration; end
3752
+ include Aws::Structure::Union
3753
+
3754
+ class CustomExtractionConfiguration < ExtractionConfiguration; end
3755
+ class Unknown < ExtractionConfiguration; end
3756
+ end
3757
+
3758
+ # The filter that applies conditions to agent traces during online
3759
+ # evaluation to determine which traces should be evaluated.
3760
+ #
3761
+ # @!attribute [rw] key
3762
+ # The key or field name to filter on within the agent trace data.
3763
+ # @return [String]
3764
+ #
3765
+ # @!attribute [rw] operator
3766
+ # The comparison operator to use for filtering.
3767
+ # @return [String]
3768
+ #
3769
+ # @!attribute [rw] value
3770
+ # The value to compare against using the specified operator.
3771
+ # @return [Types::FilterValue]
3772
+ #
3773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Filter AWS API Documentation
3774
+ #
3775
+ class Filter < Struct.new(
3776
+ :key,
3777
+ :operator,
3778
+ :value)
3779
+ SENSITIVE = []
3780
+ include Aws::Structure
3781
+ end
3782
+
3783
+ # The value used in filter comparisons, supporting different data types
3784
+ # for flexible filtering criteria.
3785
+ #
3786
+ # @note FilterValue is a union - when making an API calls you must set exactly one of the members.
3787
+ #
3788
+ # @note FilterValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FilterValue corresponding to the set member.
3789
+ #
3790
+ # @!attribute [rw] string_value
3791
+ # The string value for text-based filtering.
3792
+ # @return [String]
3793
+ #
3794
+ # @!attribute [rw] double_value
3795
+ # The numeric value for numerical filtering and comparisons.
3796
+ # @return [Float]
3797
+ #
3798
+ # @!attribute [rw] boolean_value
3799
+ # The boolean value for true/false filtering conditions.
3800
+ # @return [Boolean]
3801
+ #
3802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/FilterValue AWS API Documentation
3803
+ #
3804
+ class FilterValue < Struct.new(
3805
+ :string_value,
3806
+ :double_value,
3807
+ :boolean_value,
3808
+ :unknown)
3809
+ SENSITIVE = []
3810
+ include Aws::Structure
3811
+ include Aws::Structure::Union
3812
+
3813
+ class StringValue < FilterValue; end
3814
+ class DoubleValue < FilterValue; end
3815
+ class BooleanValue < FilterValue; end
3816
+ class Unknown < FilterValue; end
3817
+ end
3818
+
3819
+ # Represents a finding or issue discovered during policy generation or
3820
+ # validation. Findings provide insights about potential problems,
3821
+ # recommendations, or validation results from policy analysis
3822
+ # operations. Finding types include: VALID (policy is ready to use),
3823
+ # INVALID (policy has validation errors that must be fixed),
3824
+ # NOT\_TRANSLATABLE (input couldn't be converted to policy), ALLOW\_ALL
3825
+ # (policy would allow all actions, potential security risk), ALLOW\_NONE
3826
+ # (policy would allow no actions, unusable), DENY\_ALL (policy would
3827
+ # deny all actions, may be too restrictive), and DENY\_NONE (policy
3828
+ # would deny no actions, ineffective). Review all findings before
3829
+ # creating policies from generated assets to ensure they match your
3830
+ # security requirements.
3831
+ #
3832
+ # @!attribute [rw] type
3833
+ # The type or category of the finding. This classifies the finding as
3834
+ # an error, warning, recommendation, or informational message to help
3835
+ # users understand the severity and nature of the issue.
3836
+ # @return [String]
3837
+ #
3838
+ # @!attribute [rw] description
3839
+ # A human-readable description of the finding. This provides detailed
3840
+ # information about the issue, recommendation, or validation result to
3841
+ # help users understand and address the finding.
3842
+ # @return [String]
3843
+ #
3844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Finding AWS API Documentation
3845
+ #
3846
+ class Finding < Struct.new(
3847
+ :type,
3848
+ :description)
3849
+ SENSITIVE = []
3850
+ include Aws::Structure
2249
3851
  end
2250
3852
 
2251
3853
  # The configuration for an interceptor on a gateway. This structure
@@ -2277,6 +3879,43 @@ module Aws::BedrockAgentCoreControl
2277
3879
  include Aws::Structure
2278
3880
  end
2279
3881
 
3882
+ # The configuration for a policy engine associated with a gateway. A
3883
+ # policy engine is a collection of policies that evaluates and
3884
+ # authorizes agent tool calls. When associated with a gateway, the
3885
+ # policy engine intercepts all agent requests and determines whether to
3886
+ # allow or deny each action based on the defined policies.
3887
+ #
3888
+ # @!attribute [rw] arn
3889
+ # The ARN of the policy engine. The policy engine contains Cedar
3890
+ # policies that define fine-grained authorization rules specifying who
3891
+ # can perform what actions on which resources as agents interact
3892
+ # through the gateway.
3893
+ # @return [String]
3894
+ #
3895
+ # @!attribute [rw] mode
3896
+ # The enforcement mode for the policy engine. Valid values include:
3897
+ #
3898
+ # * `LOG_ONLY` - The policy engine evaluates each action against your
3899
+ # policies and adds traces on whether tool calls would be allowed or
3900
+ # denied, but does not enforce the decision. Use this mode to test
3901
+ # and validate policies before enabling enforcement.
3902
+ #
3903
+ # * `ENFORCE` - The policy engine evaluates actions against your
3904
+ # policies and enforces decisions by allowing or denying agent
3905
+ # operations. Test and validate policies in `LOG_ONLY` mode before
3906
+ # enabling enforcement to avoid unintended denials or adversely
3907
+ # affecting production traffic.
3908
+ # @return [String]
3909
+ #
3910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GatewayPolicyEngineConfiguration AWS API Documentation
3911
+ #
3912
+ class GatewayPolicyEngineConfiguration < Struct.new(
3913
+ :arn,
3914
+ :mode)
3915
+ SENSITIVE = []
3916
+ include Aws::Structure
3917
+ end
3918
+
2280
3919
  # The configuration for a gateway protocol. This structure defines how
2281
3920
  # the gateway communicates with external services.
2282
3921
  #
@@ -2557,6 +4196,11 @@ module Aws::BedrockAgentCoreControl
2557
4196
  # The life cycle configuration for the AgentCore Runtime.
2558
4197
  # @return [Types::LifecycleConfiguration]
2559
4198
  #
4199
+ # @!attribute [rw] failure_reason
4200
+ # The reason for failure if the AgentCore Runtime is in a failed
4201
+ # state.
4202
+ # @return [String]
4203
+ #
2560
4204
  # @!attribute [rw] description
2561
4205
  # The description of the AgentCore Runtime.
2562
4206
  # @return [String]
@@ -2600,6 +4244,7 @@ module Aws::BedrockAgentCoreControl
2600
4244
  :network_configuration,
2601
4245
  :status,
2602
4246
  :lifecycle_configuration,
4247
+ :failure_reason,
2603
4248
  :description,
2604
4249
  :workload_identity_details,
2605
4250
  :agent_runtime_artifact,
@@ -2808,6 +4453,80 @@ module Aws::BedrockAgentCoreControl
2808
4453
  include Aws::Structure
2809
4454
  end
2810
4455
 
4456
+ # @!attribute [rw] evaluator_id
4457
+ # The unique identifier of the evaluator to retrieve. Can be a
4458
+ # built-in evaluator ID (e.g., Builtin.Helpfulness) or a custom
4459
+ # evaluator ID.
4460
+ # @return [String]
4461
+ #
4462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetEvaluatorRequest AWS API Documentation
4463
+ #
4464
+ class GetEvaluatorRequest < Struct.new(
4465
+ :evaluator_id)
4466
+ SENSITIVE = []
4467
+ include Aws::Structure
4468
+ end
4469
+
4470
+ # @!attribute [rw] evaluator_arn
4471
+ # The Amazon Resource Name (ARN) of the evaluator.
4472
+ # @return [String]
4473
+ #
4474
+ # @!attribute [rw] evaluator_id
4475
+ # The unique identifier of the evaluator.
4476
+ # @return [String]
4477
+ #
4478
+ # @!attribute [rw] evaluator_name
4479
+ # The name of the evaluator.
4480
+ # @return [String]
4481
+ #
4482
+ # @!attribute [rw] description
4483
+ # The description of the evaluator.
4484
+ # @return [String]
4485
+ #
4486
+ # @!attribute [rw] evaluator_config
4487
+ # The configuration of the evaluator, including LLM-as-a-Judge
4488
+ # settings for custom evaluators.
4489
+ # @return [Types::EvaluatorConfig]
4490
+ #
4491
+ # @!attribute [rw] level
4492
+ # The evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that
4493
+ # determines the scope of evaluation.
4494
+ # @return [String]
4495
+ #
4496
+ # @!attribute [rw] status
4497
+ # The current status of the evaluator.
4498
+ # @return [String]
4499
+ #
4500
+ # @!attribute [rw] created_at
4501
+ # The timestamp when the evaluator was created.
4502
+ # @return [Time]
4503
+ #
4504
+ # @!attribute [rw] updated_at
4505
+ # The timestamp when the evaluator was last updated.
4506
+ # @return [Time]
4507
+ #
4508
+ # @!attribute [rw] locked_for_modification
4509
+ # Whether the evaluator is locked for modification due to being
4510
+ # referenced by active online evaluation configurations.
4511
+ # @return [Boolean]
4512
+ #
4513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetEvaluatorResponse AWS API Documentation
4514
+ #
4515
+ class GetEvaluatorResponse < Struct.new(
4516
+ :evaluator_arn,
4517
+ :evaluator_id,
4518
+ :evaluator_name,
4519
+ :description,
4520
+ :evaluator_config,
4521
+ :level,
4522
+ :status,
4523
+ :created_at,
4524
+ :updated_at,
4525
+ :locked_for_modification)
4526
+ SENSITIVE = [:description]
4527
+ include Aws::Structure
4528
+ end
4529
+
2811
4530
  # @!attribute [rw] gateway_identifier
2812
4531
  # The identifier of the gateway to retrieve.
2813
4532
  # @return [String]
@@ -2886,6 +4605,10 @@ module Aws::BedrockAgentCoreControl
2886
4605
  # The interceptors configured on the gateway.
2887
4606
  # @return [Array<Types::GatewayInterceptorConfiguration>]
2888
4607
  #
4608
+ # @!attribute [rw] policy_engine_configuration
4609
+ # The policy engine configuration for the gateway.
4610
+ # @return [Types::GatewayPolicyEngineConfiguration]
4611
+ #
2889
4612
  # @!attribute [rw] workload_identity_details
2890
4613
  # The workload identity details for the gateway.
2891
4614
  # @return [Types::WorkloadIdentityDetails]
@@ -2920,6 +4643,7 @@ module Aws::BedrockAgentCoreControl
2920
4643
  :authorizer_configuration,
2921
4644
  :kms_key_arn,
2922
4645
  :interceptor_configurations,
4646
+ :policy_engine_configuration,
2923
4647
  :workload_identity_details,
2924
4648
  :exception_level)
2925
4649
  SENSITIVE = [:name, :description]
@@ -3034,60 +4758,444 @@ module Aws::BedrockAgentCoreControl
3034
4758
  # The name of the OAuth2 credential provider to retrieve.
3035
4759
  # @return [String]
3036
4760
  #
3037
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetOauth2CredentialProviderRequest AWS API Documentation
4761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetOauth2CredentialProviderRequest AWS API Documentation
4762
+ #
4763
+ class GetOauth2CredentialProviderRequest < Struct.new(
4764
+ :name)
4765
+ SENSITIVE = []
4766
+ include Aws::Structure
4767
+ end
4768
+
4769
+ # @!attribute [rw] client_secret_arn
4770
+ # The Amazon Resource Name (ARN) of the client secret in AWS Secrets
4771
+ # Manager.
4772
+ # @return [Types::Secret]
4773
+ #
4774
+ # @!attribute [rw] name
4775
+ # The name of the OAuth2 credential provider.
4776
+ # @return [String]
4777
+ #
4778
+ # @!attribute [rw] credential_provider_arn
4779
+ # ARN of the credential provider requested.
4780
+ # @return [String]
4781
+ #
4782
+ # @!attribute [rw] credential_provider_vendor
4783
+ # The vendor of the OAuth2 credential provider.
4784
+ # @return [String]
4785
+ #
4786
+ # @!attribute [rw] callback_url
4787
+ # Callback URL to register on the OAuth2 credential provider as an
4788
+ # allowed callback URL. This URL is where the OAuth2 authorization
4789
+ # server redirects users after they complete the authorization flow.
4790
+ # @return [String]
4791
+ #
4792
+ # @!attribute [rw] oauth2_provider_config_output
4793
+ # The configuration output for the OAuth2 provider.
4794
+ # @return [Types::Oauth2ProviderConfigOutput]
4795
+ #
4796
+ # @!attribute [rw] created_time
4797
+ # The timestamp when the OAuth2 credential provider was created.
4798
+ # @return [Time]
4799
+ #
4800
+ # @!attribute [rw] last_updated_time
4801
+ # The timestamp when the OAuth2 credential provider was last updated.
4802
+ # @return [Time]
4803
+ #
4804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetOauth2CredentialProviderResponse AWS API Documentation
4805
+ #
4806
+ class GetOauth2CredentialProviderResponse < Struct.new(
4807
+ :client_secret_arn,
4808
+ :name,
4809
+ :credential_provider_arn,
4810
+ :credential_provider_vendor,
4811
+ :callback_url,
4812
+ :oauth2_provider_config_output,
4813
+ :created_time,
4814
+ :last_updated_time)
4815
+ SENSITIVE = []
4816
+ include Aws::Structure
4817
+ end
4818
+
4819
+ # @!attribute [rw] online_evaluation_config_id
4820
+ # The unique identifier of the online evaluation configuration to
4821
+ # retrieve.
4822
+ # @return [String]
4823
+ #
4824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetOnlineEvaluationConfigRequest AWS API Documentation
4825
+ #
4826
+ class GetOnlineEvaluationConfigRequest < Struct.new(
4827
+ :online_evaluation_config_id)
4828
+ SENSITIVE = []
4829
+ include Aws::Structure
4830
+ end
4831
+
4832
+ # @!attribute [rw] online_evaluation_config_arn
4833
+ # The Amazon Resource Name (ARN) of the online evaluation
4834
+ # configuration.
4835
+ # @return [String]
4836
+ #
4837
+ # @!attribute [rw] online_evaluation_config_id
4838
+ # The unique identifier of the online evaluation configuration.
4839
+ # @return [String]
4840
+ #
4841
+ # @!attribute [rw] online_evaluation_config_name
4842
+ # The name of the online evaluation configuration.
4843
+ # @return [String]
4844
+ #
4845
+ # @!attribute [rw] description
4846
+ # The description of the online evaluation configuration.
4847
+ # @return [String]
4848
+ #
4849
+ # @!attribute [rw] rule
4850
+ # The evaluation rule containing sampling configuration, filters, and
4851
+ # session settings.
4852
+ # @return [Types::Rule]
4853
+ #
4854
+ # @!attribute [rw] data_source_config
4855
+ # The data source configuration specifying CloudWatch log groups and
4856
+ # service names to monitor.
4857
+ # @return [Types::DataSourceConfig]
4858
+ #
4859
+ # @!attribute [rw] evaluators
4860
+ # The list of evaluators applied during online evaluation.
4861
+ # @return [Array<Types::EvaluatorReference>]
4862
+ #
4863
+ # @!attribute [rw] output_config
4864
+ # The output configuration specifying where evaluation results are
4865
+ # written.
4866
+ # @return [Types::OutputConfig]
4867
+ #
4868
+ # @!attribute [rw] evaluation_execution_role_arn
4869
+ # The Amazon Resource Name (ARN) of the IAM role used for evaluation
4870
+ # execution.
4871
+ # @return [String]
4872
+ #
4873
+ # @!attribute [rw] status
4874
+ # The status of the online evaluation configuration.
4875
+ # @return [String]
4876
+ #
4877
+ # @!attribute [rw] execution_status
4878
+ # The execution status indicating whether the online evaluation is
4879
+ # currently running.
4880
+ # @return [String]
4881
+ #
4882
+ # @!attribute [rw] created_at
4883
+ # The timestamp when the online evaluation configuration was created.
4884
+ # @return [Time]
4885
+ #
4886
+ # @!attribute [rw] updated_at
4887
+ # The timestamp when the online evaluation configuration was last
4888
+ # updated.
4889
+ # @return [Time]
4890
+ #
4891
+ # @!attribute [rw] failure_reason
4892
+ # The reason for failure if the online evaluation configuration
4893
+ # execution failed.
4894
+ # @return [String]
4895
+ #
4896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetOnlineEvaluationConfigResponse AWS API Documentation
4897
+ #
4898
+ class GetOnlineEvaluationConfigResponse < Struct.new(
4899
+ :online_evaluation_config_arn,
4900
+ :online_evaluation_config_id,
4901
+ :online_evaluation_config_name,
4902
+ :description,
4903
+ :rule,
4904
+ :data_source_config,
4905
+ :evaluators,
4906
+ :output_config,
4907
+ :evaluation_execution_role_arn,
4908
+ :status,
4909
+ :execution_status,
4910
+ :created_at,
4911
+ :updated_at,
4912
+ :failure_reason)
4913
+ SENSITIVE = [:description]
4914
+ include Aws::Structure
4915
+ end
4916
+
4917
+ # @!attribute [rw] policy_engine_id
4918
+ # The unique identifier of the policy engine to be retrieved. This
4919
+ # must be a valid policy engine ID that exists within the account.
4920
+ # @return [String]
4921
+ #
4922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPolicyEngineRequest AWS API Documentation
4923
+ #
4924
+ class GetPolicyEngineRequest < Struct.new(
4925
+ :policy_engine_id)
4926
+ SENSITIVE = []
4927
+ include Aws::Structure
4928
+ end
4929
+
4930
+ # @!attribute [rw] policy_engine_id
4931
+ # The unique identifier of the retrieved policy engine. This matches
4932
+ # the policy engine ID provided in the request and serves as the
4933
+ # system identifier.
4934
+ # @return [String]
4935
+ #
4936
+ # @!attribute [rw] name
4937
+ # The customer-assigned name of the policy engine. This is the
4938
+ # human-readable identifier that was specified when the policy engine
4939
+ # was created.
4940
+ # @return [String]
4941
+ #
4942
+ # @!attribute [rw] description
4943
+ # The human-readable description of the policy engine's purpose and
4944
+ # scope. This helps administrators understand the policy engine's
4945
+ # role in governance.
4946
+ # @return [String]
4947
+ #
4948
+ # @!attribute [rw] created_at
4949
+ # The timestamp when the policy engine was originally created.
4950
+ # @return [Time]
4951
+ #
4952
+ # @!attribute [rw] updated_at
4953
+ # The timestamp when the policy engine was last modified. This tracks
4954
+ # the most recent changes to the policy engine configuration.
4955
+ # @return [Time]
4956
+ #
4957
+ # @!attribute [rw] policy_engine_arn
4958
+ # The Amazon Resource Name (ARN) of the policy engine. This globally
4959
+ # unique identifier can be used for cross-service references and IAM
4960
+ # policy statements.
4961
+ # @return [String]
4962
+ #
4963
+ # @!attribute [rw] status
4964
+ # The current status of the policy engine.
4965
+ # @return [String]
4966
+ #
4967
+ # @!attribute [rw] status_reasons
4968
+ # Additional information about the policy engine status. This provides
4969
+ # details about any failures or the current state of the policy
4970
+ # engine.
4971
+ # @return [Array<String>]
4972
+ #
4973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPolicyEngineResponse AWS API Documentation
4974
+ #
4975
+ class GetPolicyEngineResponse < Struct.new(
4976
+ :policy_engine_id,
4977
+ :name,
4978
+ :description,
4979
+ :created_at,
4980
+ :updated_at,
4981
+ :policy_engine_arn,
4982
+ :status,
4983
+ :status_reasons)
4984
+ SENSITIVE = [:description]
4985
+ include Aws::Structure
4986
+ end
4987
+
4988
+ # @!attribute [rw] policy_generation_id
4989
+ # The unique identifier of the policy generation request to be
4990
+ # retrieved. This must be a valid generation ID from a previous
4991
+ # [StartPolicyGeneration][1] call.
4992
+ #
4993
+ #
4994
+ #
4995
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/API_StartPolicyGeneration.html
4996
+ # @return [String]
4997
+ #
4998
+ # @!attribute [rw] policy_engine_id
4999
+ # The identifier of the policy engine associated with the policy
5000
+ # generation request. This provides the context for the generation
5001
+ # operation and schema validation.
5002
+ # @return [String]
5003
+ #
5004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPolicyGenerationRequest AWS API Documentation
5005
+ #
5006
+ class GetPolicyGenerationRequest < Struct.new(
5007
+ :policy_generation_id,
5008
+ :policy_engine_id)
5009
+ SENSITIVE = []
5010
+ include Aws::Structure
5011
+ end
5012
+
5013
+ # @!attribute [rw] policy_engine_id
5014
+ # The identifier of the policy engine associated with this policy
5015
+ # generation. This confirms the policy engine context for the
5016
+ # generation operation.
5017
+ # @return [String]
5018
+ #
5019
+ # @!attribute [rw] policy_generation_id
5020
+ # The unique identifier of the policy generation request. This matches
5021
+ # the generation ID provided in the request and serves as the tracking
5022
+ # identifier.
5023
+ # @return [String]
5024
+ #
5025
+ # @!attribute [rw] name
5026
+ # The customer-assigned name for the policy generation request. This
5027
+ # helps identify and track generation operations across multiple
5028
+ # requests.
5029
+ # @return [String]
5030
+ #
5031
+ # @!attribute [rw] policy_generation_arn
5032
+ # The Amazon Resource Name (ARN) of the policy generation. This
5033
+ # globally unique identifier can be used for tracking, auditing, and
5034
+ # cross-service references.
5035
+ # @return [String]
5036
+ #
5037
+ # @!attribute [rw] resource
5038
+ # The resource information associated with the policy generation. This
5039
+ # provides context about the target resources for which the policies
5040
+ # are being generated.
5041
+ # @return [Types::Resource]
5042
+ #
5043
+ # @!attribute [rw] created_at
5044
+ # The timestamp when the policy generation request was created. This
5045
+ # is used for tracking and auditing generation operations and their
5046
+ # lifecycle.
5047
+ # @return [Time]
5048
+ #
5049
+ # @!attribute [rw] updated_at
5050
+ # The timestamp when the policy generation was last updated. This
5051
+ # tracks the progress of the generation process and any status
5052
+ # changes.
5053
+ # @return [Time]
5054
+ #
5055
+ # @!attribute [rw] status
5056
+ # The current status of the policy generation. This indicates whether
5057
+ # the generation is in progress, completed successfully, or failed
5058
+ # during processing.
5059
+ # @return [String]
5060
+ #
5061
+ # @!attribute [rw] status_reasons
5062
+ # Additional information about the generation status. This provides
5063
+ # details about any failures, warnings, or the current state of the
5064
+ # generation process.
5065
+ # @return [Array<String>]
5066
+ #
5067
+ # @!attribute [rw] findings
5068
+ # The findings and results from the policy generation process. This
5069
+ # includes any issues, recommendations, validation results, or
5070
+ # insights from the generated policies.
5071
+ # @return [String]
5072
+ #
5073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPolicyGenerationResponse AWS API Documentation
5074
+ #
5075
+ class GetPolicyGenerationResponse < Struct.new(
5076
+ :policy_engine_id,
5077
+ :policy_generation_id,
5078
+ :name,
5079
+ :policy_generation_arn,
5080
+ :resource,
5081
+ :created_at,
5082
+ :updated_at,
5083
+ :status,
5084
+ :status_reasons,
5085
+ :findings)
5086
+ SENSITIVE = []
5087
+ include Aws::Structure
5088
+ end
5089
+
5090
+ # @!attribute [rw] policy_engine_id
5091
+ # The identifier of the policy engine that manages the policy to be
5092
+ # retrieved.
5093
+ # @return [String]
5094
+ #
5095
+ # @!attribute [rw] policy_id
5096
+ # The unique identifier of the policy to be retrieved. This must be a
5097
+ # valid policy ID that exists within the specified policy engine.
5098
+ # @return [String]
3038
5099
  #
3039
- class GetOauth2CredentialProviderRequest < Struct.new(
3040
- :name)
5100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPolicyRequest AWS API Documentation
5101
+ #
5102
+ class GetPolicyRequest < Struct.new(
5103
+ :policy_engine_id,
5104
+ :policy_id)
3041
5105
  SENSITIVE = []
3042
5106
  include Aws::Structure
3043
5107
  end
3044
5108
 
3045
- # @!attribute [rw] client_secret_arn
3046
- # The Amazon Resource Name (ARN) of the client secret in AWS Secrets
3047
- # Manager.
3048
- # @return [Types::Secret]
5109
+ # @!attribute [rw] policy_id
5110
+ # The unique identifier of the retrieved policy. This matches the
5111
+ # policy ID provided in the request and serves as the system
5112
+ # identifier for the policy.
5113
+ # @return [String]
3049
5114
  #
3050
5115
  # @!attribute [rw] name
3051
- # The name of the OAuth2 credential provider.
5116
+ # The customer-assigned name of the policy. This is the human-readable
5117
+ # identifier that was specified when the policy was created.
3052
5118
  # @return [String]
3053
5119
  #
3054
- # @!attribute [rw] credential_provider_arn
3055
- # ARN of the credential provider requested.
5120
+ # @!attribute [rw] policy_engine_id
5121
+ # The identifier of the policy engine that manages this policy. This
5122
+ # confirms the policy engine context for the retrieved policy.
3056
5123
  # @return [String]
3057
5124
  #
3058
- # @!attribute [rw] credential_provider_vendor
3059
- # The vendor of the OAuth2 credential provider.
3060
- # @return [String]
5125
+ # @!attribute [rw] definition
5126
+ # The Cedar policy statement that defines the access control rules.
5127
+ # This contains the actual policy logic used for agent behavior
5128
+ # control and access decisions.
5129
+ # @return [Types::PolicyDefinition]
3061
5130
  #
3062
- # @!attribute [rw] callback_url
3063
- # Callback URL to register on the OAuth2 credential provider as an
3064
- # allowed callback URL. This URL is where the OAuth2 authorization
3065
- # server redirects users after they complete the authorization flow.
5131
+ # @!attribute [rw] description
5132
+ # The human-readable description of the policy's purpose and
5133
+ # functionality. This helps administrators understand and manage the
5134
+ # policy.
3066
5135
  # @return [String]
3067
5136
  #
3068
- # @!attribute [rw] oauth2_provider_config_output
3069
- # The configuration output for the OAuth2 provider.
3070
- # @return [Types::Oauth2ProviderConfigOutput]
3071
- #
3072
- # @!attribute [rw] created_time
3073
- # The timestamp when the OAuth2 credential provider was created.
5137
+ # @!attribute [rw] created_at
5138
+ # The timestamp when the policy was originally created.
3074
5139
  # @return [Time]
3075
5140
  #
3076
- # @!attribute [rw] last_updated_time
3077
- # The timestamp when the OAuth2 credential provider was last updated.
5141
+ # @!attribute [rw] updated_at
5142
+ # The timestamp when the policy was last modified. This tracks the
5143
+ # most recent changes to the policy configuration.
3078
5144
  # @return [Time]
3079
5145
  #
3080
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetOauth2CredentialProviderResponse AWS API Documentation
5146
+ # @!attribute [rw] policy_arn
5147
+ # The Amazon Resource Name (ARN) of the policy. This globally unique
5148
+ # identifier can be used for cross-service references and IAM policy
5149
+ # statements.
5150
+ # @return [String]
3081
5151
  #
3082
- class GetOauth2CredentialProviderResponse < Struct.new(
3083
- :client_secret_arn,
5152
+ # @!attribute [rw] status
5153
+ # The current status of the policy.
5154
+ # @return [String]
5155
+ #
5156
+ # @!attribute [rw] status_reasons
5157
+ # Additional information about the policy status. This provides
5158
+ # details about any failures or the current state of the policy.
5159
+ # @return [Array<String>]
5160
+ #
5161
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPolicyResponse AWS API Documentation
5162
+ #
5163
+ class GetPolicyResponse < Struct.new(
5164
+ :policy_id,
3084
5165
  :name,
3085
- :credential_provider_arn,
3086
- :credential_provider_vendor,
3087
- :callback_url,
3088
- :oauth2_provider_config_output,
3089
- :created_time,
3090
- :last_updated_time)
5166
+ :policy_engine_id,
5167
+ :definition,
5168
+ :description,
5169
+ :created_at,
5170
+ :updated_at,
5171
+ :policy_arn,
5172
+ :status,
5173
+ :status_reasons)
5174
+ SENSITIVE = [:description]
5175
+ include Aws::Structure
5176
+ end
5177
+
5178
+ # @!attribute [rw] resource_arn
5179
+ # The Amazon Resource Name (ARN) of the resource for which to retrieve
5180
+ # the resource policy.
5181
+ # @return [String]
5182
+ #
5183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetResourcePolicyRequest AWS API Documentation
5184
+ #
5185
+ class GetResourcePolicyRequest < Struct.new(
5186
+ :resource_arn)
5187
+ SENSITIVE = []
5188
+ include Aws::Structure
5189
+ end
5190
+
5191
+ # @!attribute [rw] policy
5192
+ # The resource policy associated with the specified resource.
5193
+ # @return [String]
5194
+ #
5195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetResourcePolicyResponse AWS API Documentation
5196
+ #
5197
+ class GetResourcePolicyResponse < Struct.new(
5198
+ :policy)
3091
5199
  SENSITIVE = []
3092
5200
  include Aws::Structure
3093
5201
  end
@@ -3311,6 +5419,41 @@ module Aws::BedrockAgentCoreControl
3311
5419
  include Aws::Structure
3312
5420
  end
3313
5421
 
5422
+ # The configuration parameters that control how the foundation model
5423
+ # behaves during evaluation, including response generation settings.
5424
+ #
5425
+ # @!attribute [rw] max_tokens
5426
+ # The maximum number of tokens to generate in the model response
5427
+ # during evaluation.
5428
+ # @return [Integer]
5429
+ #
5430
+ # @!attribute [rw] temperature
5431
+ # The temperature value that controls randomness in the model's
5432
+ # responses. Lower values produce more deterministic outputs.
5433
+ # @return [Float]
5434
+ #
5435
+ # @!attribute [rw] top_p
5436
+ # The top-p sampling parameter that controls the diversity of the
5437
+ # model's responses by limiting the cumulative probability of token
5438
+ # choices.
5439
+ # @return [Float]
5440
+ #
5441
+ # @!attribute [rw] stop_sequences
5442
+ # The list of sequences that will cause the model to stop generating
5443
+ # tokens when encountered.
5444
+ # @return [Array<String>]
5445
+ #
5446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/InferenceConfiguration AWS API Documentation
5447
+ #
5448
+ class InferenceConfiguration < Struct.new(
5449
+ :max_tokens,
5450
+ :temperature,
5451
+ :top_p,
5452
+ :stop_sequences)
5453
+ SENSITIVE = []
5454
+ include Aws::Structure
5455
+ end
5456
+
3314
5457
  # The interceptor configuration.
3315
5458
  #
3316
5459
  # @note InterceptorConfiguration is a union - when making an API calls you must set exactly one of the members.
@@ -3736,6 +5879,43 @@ module Aws::BedrockAgentCoreControl
3736
5879
  include Aws::Structure
3737
5880
  end
3738
5881
 
5882
+ # @!attribute [rw] next_token
5883
+ # The pagination token from a previous request to retrieve the next
5884
+ # page of results.
5885
+ # @return [String]
5886
+ #
5887
+ # @!attribute [rw] max_results
5888
+ # The maximum number of evaluators to return in a single response.
5889
+ # @return [Integer]
5890
+ #
5891
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListEvaluatorsRequest AWS API Documentation
5892
+ #
5893
+ class ListEvaluatorsRequest < Struct.new(
5894
+ :next_token,
5895
+ :max_results)
5896
+ SENSITIVE = []
5897
+ include Aws::Structure
5898
+ end
5899
+
5900
+ # @!attribute [rw] evaluators
5901
+ # The list of evaluator summaries containing basic information about
5902
+ # each evaluator.
5903
+ # @return [Array<Types::EvaluatorSummary>]
5904
+ #
5905
+ # @!attribute [rw] next_token
5906
+ # The pagination token to use in a subsequent request to retrieve the
5907
+ # next page of results.
5908
+ # @return [String]
5909
+ #
5910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListEvaluatorsResponse AWS API Documentation
5911
+ #
5912
+ class ListEvaluatorsResponse < Struct.new(
5913
+ :evaluators,
5914
+ :next_token)
5915
+ SENSITIVE = []
5916
+ include Aws::Structure
5917
+ end
5918
+
3739
5919
  # @!attribute [rw] gateway_identifier
3740
5920
  # The identifier of the gateway to list targets for.
3741
5921
  # @return [String]
@@ -3852,47 +6032,313 @@ module Aws::BedrockAgentCoreControl
3852
6032
  # @return [Array<Types::MemorySummary>]
3853
6033
  #
3854
6034
  # @!attribute [rw] next_token
3855
- # A token to retrieve the next page of results.
6035
+ # A token to retrieve the next page of results.
6036
+ # @return [String]
6037
+ #
6038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListMemoriesOutput AWS API Documentation
6039
+ #
6040
+ class ListMemoriesOutput < Struct.new(
6041
+ :memories,
6042
+ :next_token)
6043
+ SENSITIVE = []
6044
+ include Aws::Structure
6045
+ end
6046
+
6047
+ # @!attribute [rw] next_token
6048
+ # Pagination token.
6049
+ # @return [String]
6050
+ #
6051
+ # @!attribute [rw] max_results
6052
+ # Maximum number of results to return.
6053
+ # @return [Integer]
6054
+ #
6055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListOauth2CredentialProvidersRequest AWS API Documentation
6056
+ #
6057
+ class ListOauth2CredentialProvidersRequest < Struct.new(
6058
+ :next_token,
6059
+ :max_results)
6060
+ SENSITIVE = []
6061
+ include Aws::Structure
6062
+ end
6063
+
6064
+ # @!attribute [rw] credential_providers
6065
+ # The list of OAuth2 credential providers.
6066
+ # @return [Array<Types::Oauth2CredentialProviderItem>]
6067
+ #
6068
+ # @!attribute [rw] next_token
6069
+ # Pagination token for the next page of results.
6070
+ # @return [String]
6071
+ #
6072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListOauth2CredentialProvidersResponse AWS API Documentation
6073
+ #
6074
+ class ListOauth2CredentialProvidersResponse < Struct.new(
6075
+ :credential_providers,
6076
+ :next_token)
6077
+ SENSITIVE = []
6078
+ include Aws::Structure
6079
+ end
6080
+
6081
+ # @!attribute [rw] next_token
6082
+ # The pagination token from a previous request to retrieve the next
6083
+ # page of results.
6084
+ # @return [String]
6085
+ #
6086
+ # @!attribute [rw] max_results
6087
+ # The maximum number of online evaluation configurations to return in
6088
+ # a single response.
6089
+ # @return [Integer]
6090
+ #
6091
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListOnlineEvaluationConfigsRequest AWS API Documentation
6092
+ #
6093
+ class ListOnlineEvaluationConfigsRequest < Struct.new(
6094
+ :next_token,
6095
+ :max_results)
6096
+ SENSITIVE = []
6097
+ include Aws::Structure
6098
+ end
6099
+
6100
+ # @!attribute [rw] online_evaluation_configs
6101
+ # The list of online evaluation configuration summaries containing
6102
+ # basic information about each configuration.
6103
+ # @return [Array<Types::OnlineEvaluationConfigSummary>]
6104
+ #
6105
+ # @!attribute [rw] next_token
6106
+ # The pagination token to use in a subsequent request to retrieve the
6107
+ # next page of results.
6108
+ # @return [String]
6109
+ #
6110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListOnlineEvaluationConfigsResponse AWS API Documentation
6111
+ #
6112
+ class ListOnlineEvaluationConfigsResponse < Struct.new(
6113
+ :online_evaluation_configs,
6114
+ :next_token)
6115
+ SENSITIVE = []
6116
+ include Aws::Structure
6117
+ end
6118
+
6119
+ # @!attribute [rw] next_token
6120
+ # A pagination token returned from a previous [ListPolicies][1] call.
6121
+ # Use this token to retrieve the next page of results when the
6122
+ # response is paginated.
6123
+ #
6124
+ #
6125
+ #
6126
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/API_ListPolicies.html
6127
+ # @return [String]
6128
+ #
6129
+ # @!attribute [rw] max_results
6130
+ # The maximum number of policies to return in a single response. If
6131
+ # not specified, the default is 10 policies per page, with a maximum
6132
+ # of 100 per page.
6133
+ # @return [Integer]
6134
+ #
6135
+ # @!attribute [rw] policy_engine_id
6136
+ # The identifier of the policy engine whose policies to retrieve.
6137
+ # @return [String]
6138
+ #
6139
+ # @!attribute [rw] target_resource_scope
6140
+ # Optional filter to list policies that apply to a specific resource
6141
+ # scope or resource type. This helps narrow down policy results to
6142
+ # those relevant for particular Amazon Web Services resources, agent
6143
+ # tools, or operational contexts within the policy engine ecosystem.
6144
+ # @return [String]
6145
+ #
6146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPoliciesRequest AWS API Documentation
6147
+ #
6148
+ class ListPoliciesRequest < Struct.new(
6149
+ :next_token,
6150
+ :max_results,
6151
+ :policy_engine_id,
6152
+ :target_resource_scope)
6153
+ SENSITIVE = []
6154
+ include Aws::Structure
6155
+ end
6156
+
6157
+ # @!attribute [rw] policies
6158
+ # An array of policy objects that match the specified criteria. Each
6159
+ # policy object contains the policy metadata, status, and key
6160
+ # identifiers for further operations.
6161
+ # @return [Array<Types::Policy>]
6162
+ #
6163
+ # @!attribute [rw] next_token
6164
+ # A pagination token that can be used in subsequent ListPolicies calls
6165
+ # to retrieve additional results. This token is only present when
6166
+ # there are more results available.
6167
+ # @return [String]
6168
+ #
6169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPoliciesResponse AWS API Documentation
6170
+ #
6171
+ class ListPoliciesResponse < Struct.new(
6172
+ :policies,
6173
+ :next_token)
6174
+ SENSITIVE = []
6175
+ include Aws::Structure
6176
+ end
6177
+
6178
+ # @!attribute [rw] next_token
6179
+ # A pagination token returned from a previous [ListPolicyEngines][1]
6180
+ # call. Use this token to retrieve the next page of results when the
6181
+ # response is paginated.
6182
+ #
6183
+ #
6184
+ #
6185
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/API_ListPolicyEngines.html
6186
+ # @return [String]
6187
+ #
6188
+ # @!attribute [rw] max_results
6189
+ # The maximum number of policy engines to return in a single response.
6190
+ # If not specified, the default is 10 policy engines per page, with a
6191
+ # maximum of 100 per page.
6192
+ # @return [Integer]
6193
+ #
6194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPolicyEnginesRequest AWS API Documentation
6195
+ #
6196
+ class ListPolicyEnginesRequest < Struct.new(
6197
+ :next_token,
6198
+ :max_results)
6199
+ SENSITIVE = []
6200
+ include Aws::Structure
6201
+ end
6202
+
6203
+ # @!attribute [rw] policy_engines
6204
+ # An array of policy engine objects that exist in the account. Each
6205
+ # policy engine object contains the engine metadata, status, and key
6206
+ # identifiers for further operations.
6207
+ # @return [Array<Types::PolicyEngine>]
6208
+ #
6209
+ # @!attribute [rw] next_token
6210
+ # A pagination token that can be used in subsequent
6211
+ # [ListPolicyEngines][1] calls to retrieve additional results. This
6212
+ # token is only present when there are more results available.
6213
+ #
6214
+ #
6215
+ #
6216
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/API_ListPolicyEngines.html
6217
+ # @return [String]
6218
+ #
6219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPolicyEnginesResponse AWS API Documentation
6220
+ #
6221
+ class ListPolicyEnginesResponse < Struct.new(
6222
+ :policy_engines,
6223
+ :next_token)
6224
+ SENSITIVE = []
6225
+ include Aws::Structure
6226
+ end
6227
+
6228
+ # @!attribute [rw] policy_generation_id
6229
+ # The unique identifier of the policy generation request whose assets
6230
+ # are to be retrieved. This must be a valid generation ID from a
6231
+ # previous [StartPolicyGeneration][1] call that has completed
6232
+ # processing.
6233
+ #
6234
+ #
6235
+ #
6236
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/API_StartPolicyGeneration.html
6237
+ # @return [String]
6238
+ #
6239
+ # @!attribute [rw] policy_engine_id
6240
+ # The unique identifier of the policy engine associated with the
6241
+ # policy generation request. This provides the context for the
6242
+ # generation operation and ensures assets are retrieved from the
6243
+ # correct policy engine.
6244
+ # @return [String]
6245
+ #
6246
+ # @!attribute [rw] next_token
6247
+ # A pagination token returned from a previous
6248
+ # [ListPolicyGenerationAssets][1] call. Use this token to retrieve the
6249
+ # next page of assets when the response is paginated due to large
6250
+ # numbers of generated policy options.
6251
+ #
6252
+ #
6253
+ #
6254
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/API_ListPolicyGenerationAssets.html
6255
+ # @return [String]
6256
+ #
6257
+ # @!attribute [rw] max_results
6258
+ # The maximum number of policy generation assets to return in a single
6259
+ # response. If not specified, the default is 10 assets per page, with
6260
+ # a maximum of 100 per page. This helps control response size when
6261
+ # dealing with policy generations that produce many alternative policy
6262
+ # options.
6263
+ # @return [Integer]
6264
+ #
6265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPolicyGenerationAssetsRequest AWS API Documentation
6266
+ #
6267
+ class ListPolicyGenerationAssetsRequest < Struct.new(
6268
+ :policy_generation_id,
6269
+ :policy_engine_id,
6270
+ :next_token,
6271
+ :max_results)
6272
+ SENSITIVE = []
6273
+ include Aws::Structure
6274
+ end
6275
+
6276
+ # @!attribute [rw] policy_generation_assets
6277
+ # An array of generated policy assets including Cedar policies and
6278
+ # related artifacts from the AI-powered policy generation process.
6279
+ # Each asset represents a different policy option or variation
6280
+ # generated from the original natural language input.
6281
+ # @return [Array<Types::PolicyGenerationAsset>]
6282
+ #
6283
+ # @!attribute [rw] next_token
6284
+ # A pagination token that can be used in subsequent
6285
+ # [ListPolicyGenerationAssets][1] calls to retrieve additional assets.
6286
+ # This token is only present when there are more generated policy
6287
+ # assets available beyond the current response.
6288
+ #
6289
+ #
6290
+ #
6291
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/API_ListPolicyGenerationAssets.html
3856
6292
  # @return [String]
3857
6293
  #
3858
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListMemoriesOutput AWS API Documentation
6294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPolicyGenerationAssetsResponse AWS API Documentation
3859
6295
  #
3860
- class ListMemoriesOutput < Struct.new(
3861
- :memories,
6296
+ class ListPolicyGenerationAssetsResponse < Struct.new(
6297
+ :policy_generation_assets,
3862
6298
  :next_token)
3863
6299
  SENSITIVE = []
3864
6300
  include Aws::Structure
3865
6301
  end
3866
6302
 
3867
6303
  # @!attribute [rw] next_token
3868
- # Pagination token.
6304
+ # A pagination token for retrieving additional policy generations when
6305
+ # results are paginated.
3869
6306
  # @return [String]
3870
6307
  #
3871
6308
  # @!attribute [rw] max_results
3872
- # Maximum number of results to return.
6309
+ # The maximum number of policy generations to return in a single
6310
+ # response.
3873
6311
  # @return [Integer]
3874
6312
  #
3875
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListOauth2CredentialProvidersRequest AWS API Documentation
6313
+ # @!attribute [rw] policy_engine_id
6314
+ # The identifier of the policy engine whose policy generations to
6315
+ # retrieve.
6316
+ # @return [String]
3876
6317
  #
3877
- class ListOauth2CredentialProvidersRequest < Struct.new(
6318
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPolicyGenerationsRequest AWS API Documentation
6319
+ #
6320
+ class ListPolicyGenerationsRequest < Struct.new(
3878
6321
  :next_token,
3879
- :max_results)
6322
+ :max_results,
6323
+ :policy_engine_id)
3880
6324
  SENSITIVE = []
3881
6325
  include Aws::Structure
3882
6326
  end
3883
6327
 
3884
- # @!attribute [rw] credential_providers
3885
- # The list of OAuth2 credential providers.
3886
- # @return [Array<Types::Oauth2CredentialProviderItem>]
6328
+ # @!attribute [rw] policy_generations
6329
+ # An array of policy generation objects that match the specified
6330
+ # criteria.
6331
+ # @return [Array<Types::PolicyGeneration>]
3887
6332
  #
3888
6333
  # @!attribute [rw] next_token
3889
- # Pagination token for the next page of results.
6334
+ # A pagination token for retrieving additional policy generations if
6335
+ # more results are available.
3890
6336
  # @return [String]
3891
6337
  #
3892
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListOauth2CredentialProvidersResponse AWS API Documentation
6338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPolicyGenerationsResponse AWS API Documentation
3893
6339
  #
3894
- class ListOauth2CredentialProvidersResponse < Struct.new(
3895
- :credential_providers,
6340
+ class ListPolicyGenerationsResponse < Struct.new(
6341
+ :policy_generations,
3896
6342
  :next_token)
3897
6343
  SENSITIVE = []
3898
6344
  include Aws::Structure
@@ -3957,6 +6403,36 @@ module Aws::BedrockAgentCoreControl
3957
6403
  include Aws::Structure
3958
6404
  end
3959
6405
 
6406
+ # The configuration for LLM-as-a-Judge evaluation that uses a language
6407
+ # model to assess agent performance based on custom instructions and
6408
+ # rating scales.
6409
+ #
6410
+ # @!attribute [rw] instructions
6411
+ # The evaluation instructions that guide the language model in
6412
+ # assessing agent performance, including criteria and evaluation
6413
+ # guidelines.
6414
+ # @return [String]
6415
+ #
6416
+ # @!attribute [rw] rating_scale
6417
+ # The rating scale that defines how the evaluator should score agent
6418
+ # performance, either numerical or categorical.
6419
+ # @return [Types::RatingScale]
6420
+ #
6421
+ # @!attribute [rw] model_config
6422
+ # The model configuration that specifies which foundation model to use
6423
+ # and how to configure it for evaluation.
6424
+ # @return [Types::EvaluatorModelConfig]
6425
+ #
6426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/LlmAsAJudgeEvaluatorConfig AWS API Documentation
6427
+ #
6428
+ class LlmAsAJudgeEvaluatorConfig < Struct.new(
6429
+ :instructions,
6430
+ :rating_scale,
6431
+ :model_config)
6432
+ SENSITIVE = [:instructions]
6433
+ include Aws::Structure
6434
+ end
6435
+
3960
6436
  # The configuration for a Model Context Protocol (MCP) gateway. This
3961
6437
  # structure defines how the gateway implements the MCP protocol.
3962
6438
  #
@@ -4051,6 +6527,10 @@ module Aws::BedrockAgentCoreControl
4051
6527
  # The MCP server specified as the gateway target.
4052
6528
  # @return [Types::McpServerTargetConfiguration]
4053
6529
  #
6530
+ # @!attribute [rw] api_gateway
6531
+ # The configuration for an Amazon API Gateway target.
6532
+ # @return [Types::ApiGatewayTargetConfiguration]
6533
+ #
4054
6534
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/McpTargetConfiguration AWS API Documentation
4055
6535
  #
4056
6536
  class McpTargetConfiguration < Struct.new(
@@ -4058,6 +6538,7 @@ module Aws::BedrockAgentCoreControl
4058
6538
  :smithy_model,
4059
6539
  :lambda,
4060
6540
  :mcp_server,
6541
+ :api_gateway,
4061
6542
  :unknown)
4062
6543
  SENSITIVE = []
4063
6544
  include Aws::Structure
@@ -4067,6 +6548,7 @@ module Aws::BedrockAgentCoreControl
4067
6548
  class SmithyModel < McpTargetConfiguration; end
4068
6549
  class Lambda < McpTargetConfiguration; end
4069
6550
  class McpServer < McpTargetConfiguration; end
6551
+ class ApiGateway < McpTargetConfiguration; end
4070
6552
  class Unknown < McpTargetConfiguration; end
4071
6553
  end
4072
6554
 
@@ -4213,6 +6695,10 @@ module Aws::BedrockAgentCoreControl
4213
6695
  # Input for creating a custom memory strategy.
4214
6696
  # @return [Types::CustomMemoryStrategyInput]
4215
6697
  #
6698
+ # @!attribute [rw] episodic_memory_strategy
6699
+ # Input for creating an episodic memory strategy
6700
+ # @return [Types::EpisodicMemoryStrategyInput]
6701
+ #
4216
6702
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MemoryStrategyInput AWS API Documentation
4217
6703
  #
4218
6704
  class MemoryStrategyInput < Struct.new(
@@ -4220,6 +6706,7 @@ module Aws::BedrockAgentCoreControl
4220
6706
  :summary_memory_strategy,
4221
6707
  :user_preference_memory_strategy,
4222
6708
  :custom_memory_strategy,
6709
+ :episodic_memory_strategy,
4223
6710
  :unknown)
4224
6711
  SENSITIVE = []
4225
6712
  include Aws::Structure
@@ -4229,6 +6716,7 @@ module Aws::BedrockAgentCoreControl
4229
6716
  class SummaryMemoryStrategy < MemoryStrategyInput; end
4230
6717
  class UserPreferenceMemoryStrategy < MemoryStrategyInput; end
4231
6718
  class CustomMemoryStrategy < MemoryStrategyInput; end
6719
+ class EpisodicMemoryStrategy < MemoryStrategyInput; end
4232
6720
  class Unknown < MemoryStrategyInput; end
4233
6721
  end
4234
6722
 
@@ -4453,6 +6941,33 @@ module Aws::BedrockAgentCoreControl
4453
6941
  include Aws::Structure
4454
6942
  end
4455
6943
 
6944
+ # Contains information for modifying a reflection configuration.
6945
+ #
6946
+ # @note ModifyReflectionConfiguration is a union - when making an API calls you must set exactly one of the members.
6947
+ #
6948
+ # @!attribute [rw] episodic_reflection_configuration
6949
+ # The updated episodic reflection configuration.
6950
+ # @return [Types::EpisodicReflectionConfigurationInput]
6951
+ #
6952
+ # @!attribute [rw] custom_reflection_configuration
6953
+ # The updated custom reflection configuration.
6954
+ # @return [Types::CustomReflectionConfigurationInput]
6955
+ #
6956
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ModifyReflectionConfiguration AWS API Documentation
6957
+ #
6958
+ class ModifyReflectionConfiguration < Struct.new(
6959
+ :episodic_reflection_configuration,
6960
+ :custom_reflection_configuration,
6961
+ :unknown)
6962
+ SENSITIVE = []
6963
+ include Aws::Structure
6964
+ include Aws::Structure::Union
6965
+
6966
+ class EpisodicReflectionConfiguration < ModifyReflectionConfiguration; end
6967
+ class CustomReflectionConfiguration < ModifyReflectionConfiguration; end
6968
+ class Unknown < ModifyReflectionConfiguration; end
6969
+ end
6970
+
4456
6971
  # The configuration for updating the self-managed memory strategy.
4457
6972
  #
4458
6973
  # @!attribute [rw] trigger_conditions
@@ -4489,6 +7004,10 @@ module Aws::BedrockAgentCoreControl
4489
7004
  # The updated consolidation configuration.
4490
7005
  # @return [Types::ModifyConsolidationConfiguration]
4491
7006
  #
7007
+ # @!attribute [rw] reflection
7008
+ # The updated reflection configuration.
7009
+ # @return [Types::ModifyReflectionConfiguration]
7010
+ #
4492
7011
  # @!attribute [rw] self_managed_configuration
4493
7012
  # The updated self-managed configuration.
4494
7013
  # @return [Types::ModifySelfManagedConfiguration]
@@ -4498,6 +7017,7 @@ module Aws::BedrockAgentCoreControl
4498
7017
  class ModifyStrategyConfiguration < Struct.new(
4499
7018
  :extraction,
4500
7019
  :consolidation,
7020
+ :reflection,
4501
7021
  :self_managed_configuration)
4502
7022
  SENSITIVE = []
4503
7023
  include Aws::Structure
@@ -4522,6 +7042,32 @@ module Aws::BedrockAgentCoreControl
4522
7042
  include Aws::Structure
4523
7043
  end
4524
7044
 
7045
+ # The definition of a numerical rating scale option that provides a
7046
+ # numeric value with its description for evaluation scoring.
7047
+ #
7048
+ # @!attribute [rw] definition
7049
+ # The description that explains what this numerical rating represents
7050
+ # and when it should be used.
7051
+ # @return [String]
7052
+ #
7053
+ # @!attribute [rw] value
7054
+ # The numerical value for this rating scale option.
7055
+ # @return [Float]
7056
+ #
7057
+ # @!attribute [rw] label
7058
+ # The label or name that describes this numerical rating option.
7059
+ # @return [String]
7060
+ #
7061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/NumericalScaleDefinition AWS API Documentation
7062
+ #
7063
+ class NumericalScaleDefinition < Struct.new(
7064
+ :definition,
7065
+ :value,
7066
+ :label)
7067
+ SENSITIVE = []
7068
+ include Aws::Structure
7069
+ end
7070
+
4525
7071
  # An OAuth credential provider for gateway authentication. This
4526
7072
  # structure contains the configuration for authenticating with the
4527
7073
  # target endpoint using OAuth.
@@ -4542,12 +7088,29 @@ module Aws::BedrockAgentCoreControl
4542
7088
  # authentication process.
4543
7089
  # @return [Hash<String,String>]
4544
7090
  #
7091
+ # @!attribute [rw] grant_type
7092
+ # Specifies the kind of credentials to use for authorization:
7093
+ #
7094
+ # * `CLIENT_CREDENTIALS` - Authorization with a client ID and secret.
7095
+ #
7096
+ # * `AUTHORIZATION_CODE` - Authorization with a token that is specific
7097
+ # to an individual end user.
7098
+ # @return [String]
7099
+ #
7100
+ # @!attribute [rw] default_return_url
7101
+ # The URL where the end user's browser is redirected after obtaining
7102
+ # the authorization code. Generally points to the customer's
7103
+ # application.
7104
+ # @return [String]
7105
+ #
4545
7106
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OAuthCredentialProvider AWS API Documentation
4546
7107
  #
4547
7108
  class OAuthCredentialProvider < Struct.new(
4548
7109
  :provider_arn,
4549
7110
  :scopes,
4550
- :custom_parameters)
7111
+ :custom_parameters,
7112
+ :grant_type,
7113
+ :default_return_url)
4551
7114
  SENSITIVE = [:custom_parameters]
4552
7115
  include Aws::Structure
4553
7116
  end
@@ -4708,89 +7271,484 @@ module Aws::BedrockAgentCoreControl
4708
7271
  :unknown)
4709
7272
  SENSITIVE = []
4710
7273
  include Aws::Structure
4711
- include Aws::Structure::Union
4712
-
4713
- class CustomOauth2ProviderConfig < Oauth2ProviderConfigInput; end
4714
- class GoogleOauth2ProviderConfig < Oauth2ProviderConfigInput; end
4715
- class GithubOauth2ProviderConfig < Oauth2ProviderConfigInput; end
4716
- class SlackOauth2ProviderConfig < Oauth2ProviderConfigInput; end
4717
- class SalesforceOauth2ProviderConfig < Oauth2ProviderConfigInput; end
4718
- class MicrosoftOauth2ProviderConfig < Oauth2ProviderConfigInput; end
4719
- class AtlassianOauth2ProviderConfig < Oauth2ProviderConfigInput; end
4720
- class LinkedinOauth2ProviderConfig < Oauth2ProviderConfigInput; end
4721
- class IncludedOauth2ProviderConfig < Oauth2ProviderConfigInput; end
4722
- class Unknown < Oauth2ProviderConfigInput; end
7274
+ include Aws::Structure::Union
7275
+
7276
+ class CustomOauth2ProviderConfig < Oauth2ProviderConfigInput; end
7277
+ class GoogleOauth2ProviderConfig < Oauth2ProviderConfigInput; end
7278
+ class GithubOauth2ProviderConfig < Oauth2ProviderConfigInput; end
7279
+ class SlackOauth2ProviderConfig < Oauth2ProviderConfigInput; end
7280
+ class SalesforceOauth2ProviderConfig < Oauth2ProviderConfigInput; end
7281
+ class MicrosoftOauth2ProviderConfig < Oauth2ProviderConfigInput; end
7282
+ class AtlassianOauth2ProviderConfig < Oauth2ProviderConfigInput; end
7283
+ class LinkedinOauth2ProviderConfig < Oauth2ProviderConfigInput; end
7284
+ class IncludedOauth2ProviderConfig < Oauth2ProviderConfigInput; end
7285
+ class Unknown < Oauth2ProviderConfigInput; end
7286
+ end
7287
+
7288
+ # Contains the output configuration for an OAuth2 provider.
7289
+ #
7290
+ # @note Oauth2ProviderConfigOutput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Oauth2ProviderConfigOutput corresponding to the set member.
7291
+ #
7292
+ # @!attribute [rw] custom_oauth_2_provider_config
7293
+ # The output configuration for a custom OAuth2 provider.
7294
+ # @return [Types::CustomOauth2ProviderConfigOutput]
7295
+ #
7296
+ # @!attribute [rw] google_oauth_2_provider_config
7297
+ # The output configuration for a Google OAuth2 provider.
7298
+ # @return [Types::GoogleOauth2ProviderConfigOutput]
7299
+ #
7300
+ # @!attribute [rw] github_oauth_2_provider_config
7301
+ # The output configuration for a GitHub OAuth2 provider.
7302
+ # @return [Types::GithubOauth2ProviderConfigOutput]
7303
+ #
7304
+ # @!attribute [rw] slack_oauth_2_provider_config
7305
+ # The output configuration for a Slack OAuth2 provider.
7306
+ # @return [Types::SlackOauth2ProviderConfigOutput]
7307
+ #
7308
+ # @!attribute [rw] salesforce_oauth_2_provider_config
7309
+ # The output configuration for a Salesforce OAuth2 provider.
7310
+ # @return [Types::SalesforceOauth2ProviderConfigOutput]
7311
+ #
7312
+ # @!attribute [rw] microsoft_oauth_2_provider_config
7313
+ # The output configuration for a Microsoft OAuth2 provider.
7314
+ # @return [Types::MicrosoftOauth2ProviderConfigOutput]
7315
+ #
7316
+ # @!attribute [rw] atlassian_oauth_2_provider_config
7317
+ # The configuration details for the Atlassian OAuth2 provider.
7318
+ # @return [Types::AtlassianOauth2ProviderConfigOutput]
7319
+ #
7320
+ # @!attribute [rw] linkedin_oauth_2_provider_config
7321
+ # The configuration details for the LinkedIn OAuth2 provider.
7322
+ # @return [Types::LinkedinOauth2ProviderConfigOutput]
7323
+ #
7324
+ # @!attribute [rw] included_oauth_2_provider_config
7325
+ # The configuration for a non-custom OAuth2 provider. This includes
7326
+ # the configuration details for supported OAuth2 providers that have
7327
+ # built-in integration support.
7328
+ # @return [Types::IncludedOauth2ProviderConfigOutput]
7329
+ #
7330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Oauth2ProviderConfigOutput AWS API Documentation
7331
+ #
7332
+ class Oauth2ProviderConfigOutput < Struct.new(
7333
+ :custom_oauth_2_provider_config,
7334
+ :google_oauth_2_provider_config,
7335
+ :github_oauth_2_provider_config,
7336
+ :slack_oauth_2_provider_config,
7337
+ :salesforce_oauth_2_provider_config,
7338
+ :microsoft_oauth_2_provider_config,
7339
+ :atlassian_oauth_2_provider_config,
7340
+ :linkedin_oauth_2_provider_config,
7341
+ :included_oauth_2_provider_config,
7342
+ :unknown)
7343
+ SENSITIVE = []
7344
+ include Aws::Structure
7345
+ include Aws::Structure::Union
7346
+
7347
+ class CustomOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
7348
+ class GoogleOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
7349
+ class GithubOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
7350
+ class SlackOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
7351
+ class SalesforceOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
7352
+ class MicrosoftOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
7353
+ class AtlassianOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
7354
+ class LinkedinOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
7355
+ class IncludedOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
7356
+ class Unknown < Oauth2ProviderConfigOutput; end
7357
+ end
7358
+
7359
+ # The summary information about an online evaluation configuration,
7360
+ # including basic metadata and execution status.
7361
+ #
7362
+ # @!attribute [rw] online_evaluation_config_arn
7363
+ # The Amazon Resource Name (ARN) of the online evaluation
7364
+ # configuration.
7365
+ # @return [String]
7366
+ #
7367
+ # @!attribute [rw] online_evaluation_config_id
7368
+ # The unique identifier of the online evaluation configuration.
7369
+ # @return [String]
7370
+ #
7371
+ # @!attribute [rw] online_evaluation_config_name
7372
+ # The name of the online evaluation configuration.
7373
+ # @return [String]
7374
+ #
7375
+ # @!attribute [rw] description
7376
+ # The description of the online evaluation configuration.
7377
+ # @return [String]
7378
+ #
7379
+ # @!attribute [rw] status
7380
+ # The status of the online evaluation configuration.
7381
+ # @return [String]
7382
+ #
7383
+ # @!attribute [rw] execution_status
7384
+ # The execution status indicating whether the online evaluation is
7385
+ # currently running.
7386
+ # @return [String]
7387
+ #
7388
+ # @!attribute [rw] created_at
7389
+ # The timestamp when the online evaluation configuration was created.
7390
+ # @return [Time]
7391
+ #
7392
+ # @!attribute [rw] updated_at
7393
+ # The timestamp when the online evaluation configuration was last
7394
+ # updated.
7395
+ # @return [Time]
7396
+ #
7397
+ # @!attribute [rw] failure_reason
7398
+ # The reason for failure if the online evaluation configuration
7399
+ # execution failed.
7400
+ # @return [String]
7401
+ #
7402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OnlineEvaluationConfigSummary AWS API Documentation
7403
+ #
7404
+ class OnlineEvaluationConfigSummary < Struct.new(
7405
+ :online_evaluation_config_arn,
7406
+ :online_evaluation_config_id,
7407
+ :online_evaluation_config_name,
7408
+ :description,
7409
+ :status,
7410
+ :execution_status,
7411
+ :created_at,
7412
+ :updated_at,
7413
+ :failure_reason)
7414
+ SENSITIVE = [:description]
7415
+ include Aws::Structure
7416
+ end
7417
+
7418
+ # The configuration that specifies where evaluation results should be
7419
+ # written for monitoring and analysis.
7420
+ #
7421
+ # @!attribute [rw] cloud_watch_config
7422
+ # The CloudWatch configuration for writing evaluation results to
7423
+ # CloudWatch logs with embedded metric format.
7424
+ # @return [Types::CloudWatchOutputConfig]
7425
+ #
7426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OutputConfig AWS API Documentation
7427
+ #
7428
+ class OutputConfig < Struct.new(
7429
+ :cloud_watch_config)
7430
+ SENSITIVE = []
7431
+ include Aws::Structure
7432
+ end
7433
+
7434
+ # Represents a complete policy resource within the AgentCore Policy
7435
+ # system. Policies are ARN-able resources that contain Cedar policy
7436
+ # statements and associated metadata for controlling agent behavior and
7437
+ # access decisions. Each policy belongs to a policy engine and defines
7438
+ # fine-grained authorization rules that are evaluated in real-time as
7439
+ # agents interact with tools through Gateway. Policies use the Cedar
7440
+ # policy language to specify who (principals based on OAuth claims like
7441
+ # username, role, or scope) can perform what actions (tool calls) on
7442
+ # which resources (Gateways), with optional conditions for
7443
+ # attribute-based access control. Multiple policies can apply to a
7444
+ # single request, with Cedar's forbid-wins semantics ensuring that
7445
+ # security restrictions are never accidentally overridden.
7446
+ #
7447
+ # @!attribute [rw] policy_id
7448
+ # The unique identifier for the policy. This system-generated
7449
+ # identifier consists of the user name plus a 10-character generated
7450
+ # suffix and serves as the primary key for policy operations.
7451
+ # @return [String]
7452
+ #
7453
+ # @!attribute [rw] name
7454
+ # The customer-assigned immutable name for the policy. This
7455
+ # human-readable identifier must be unique within the account and
7456
+ # cannot exceed 48 characters.
7457
+ # @return [String]
7458
+ #
7459
+ # @!attribute [rw] policy_engine_id
7460
+ # The identifier of the policy engine that manages this policy. This
7461
+ # establishes the policy engine context for policy evaluation and
7462
+ # management.
7463
+ # @return [String]
7464
+ #
7465
+ # @!attribute [rw] definition
7466
+ # The Cedar policy statement that defines the access control rules.
7467
+ # This contains the actual policy logic used for agent behavior
7468
+ # control and access decisions.
7469
+ # @return [Types::PolicyDefinition]
7470
+ #
7471
+ # @!attribute [rw] description
7472
+ # A human-readable description of the policy's purpose and
7473
+ # functionality. Limited to 4,096 characters, this helps
7474
+ # administrators understand and manage the policy.
7475
+ # @return [String]
7476
+ #
7477
+ # @!attribute [rw] created_at
7478
+ # The timestamp when the policy was originally created. This is
7479
+ # automatically set by the service and used for auditing and lifecycle
7480
+ # management.
7481
+ # @return [Time]
7482
+ #
7483
+ # @!attribute [rw] updated_at
7484
+ # The timestamp when the policy was last modified. This tracks the
7485
+ # most recent changes to the policy configuration or metadata.
7486
+ # @return [Time]
7487
+ #
7488
+ # @!attribute [rw] policy_arn
7489
+ # The Amazon Resource Name (ARN) of the policy. This globally unique
7490
+ # identifier can be used for cross-service references and IAM policy
7491
+ # statements.
7492
+ # @return [String]
7493
+ #
7494
+ # @!attribute [rw] status
7495
+ # The current status of the policy.
7496
+ # @return [String]
7497
+ #
7498
+ # @!attribute [rw] status_reasons
7499
+ # Additional information about the policy status. This provides
7500
+ # details about any failures or the current state of the policy
7501
+ # lifecycle.
7502
+ # @return [Array<String>]
7503
+ #
7504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Policy AWS API Documentation
7505
+ #
7506
+ class Policy < Struct.new(
7507
+ :policy_id,
7508
+ :name,
7509
+ :policy_engine_id,
7510
+ :definition,
7511
+ :description,
7512
+ :created_at,
7513
+ :updated_at,
7514
+ :policy_arn,
7515
+ :status,
7516
+ :status_reasons)
7517
+ SENSITIVE = [:description]
7518
+ include Aws::Structure
7519
+ end
7520
+
7521
+ # Represents the definition structure for policies within the AgentCore
7522
+ # Policy system. This structure encapsulates different policy formats
7523
+ # and languages that can be used to define access control rules.
7524
+ #
7525
+ # @note PolicyDefinition is a union - when making an API calls you must set exactly one of the members.
7526
+ #
7527
+ # @note PolicyDefinition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PolicyDefinition corresponding to the set member.
7528
+ #
7529
+ # @!attribute [rw] cedar
7530
+ # The Cedar policy definition within the policy definition structure.
7531
+ # This contains the Cedar policy statement that defines the
7532
+ # authorization logic using Cedar's human-readable, analyzable policy
7533
+ # language. Cedar policies specify principals (who can access),
7534
+ # actions (what operations are allowed), resources (what can be
7535
+ # accessed), and optional conditions for fine-grained control. Cedar
7536
+ # provides a formal policy language designed for authorization with
7537
+ # deterministic evaluation, making policies testable, reviewable, and
7538
+ # auditable. All Cedar policies follow a default-deny model where
7539
+ # actions are denied unless explicitly permitted, and forbid policies
7540
+ # always override permit policies.
7541
+ # @return [Types::CedarPolicy]
7542
+ #
7543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PolicyDefinition AWS API Documentation
7544
+ #
7545
+ class PolicyDefinition < Struct.new(
7546
+ :cedar,
7547
+ :unknown)
7548
+ SENSITIVE = []
7549
+ include Aws::Structure
7550
+ include Aws::Structure::Union
7551
+
7552
+ class Cedar < PolicyDefinition; end
7553
+ class Unknown < PolicyDefinition; end
7554
+ end
7555
+
7556
+ # Represents a policy engine resource within the AgentCore Policy
7557
+ # system. Policy engines serve as containers for grouping related
7558
+ # policies and provide the execution context for policy evaluation and
7559
+ # management. Each policy engine can be associated with one Gateway (one
7560
+ # engine per Gateway), where it intercepts all agent tool calls and
7561
+ # evaluates them against the contained policies before allowing tools to
7562
+ # execute. The policy engine maintains the Cedar schema generated from
7563
+ # the Gateway's tool manifest, ensuring that policies are validated
7564
+ # against the actual tools and parameters available. Policy engines
7565
+ # support two enforcement modes that can be configured when associating
7566
+ # with a Gateway: log-only mode for testing (evaluates decisions without
7567
+ # blocking) and enforce mode for production (actively allows or denies
7568
+ # based on policy evaluation).
7569
+ #
7570
+ # @!attribute [rw] policy_engine_id
7571
+ # The unique identifier for the policy engine. This system-generated
7572
+ # identifier consists of the user name plus a 10-character generated
7573
+ # suffix and serves as the primary key for policy engine operations.
7574
+ # @return [String]
7575
+ #
7576
+ # @!attribute [rw] name
7577
+ # The customer-assigned immutable name for the policy engine. This
7578
+ # human-readable identifier must be unique within the account and
7579
+ # cannot exceed 48 characters.
7580
+ # @return [String]
7581
+ #
7582
+ # @!attribute [rw] description
7583
+ # A human-readable description of the policy engine's purpose and
7584
+ # scope. Limited to 4,096 characters, this helps administrators
7585
+ # understand the policy engine's role in the overall governance
7586
+ # strategy.
7587
+ # @return [String]
7588
+ #
7589
+ # @!attribute [rw] created_at
7590
+ # The timestamp when the policy engine was originally created. This is
7591
+ # automatically set by the service and used for auditing and lifecycle
7592
+ # management.
7593
+ # @return [Time]
7594
+ #
7595
+ # @!attribute [rw] updated_at
7596
+ # The timestamp when the policy engine was last modified. This tracks
7597
+ # the most recent changes to the policy engine configuration or
7598
+ # metadata.
7599
+ # @return [Time]
7600
+ #
7601
+ # @!attribute [rw] policy_engine_arn
7602
+ # The Amazon Resource Name (ARN) of the policy engine. This globally
7603
+ # unique identifier can be used for cross-service references and IAM
7604
+ # policy statements.
7605
+ # @return [String]
7606
+ #
7607
+ # @!attribute [rw] status
7608
+ # The current status of the policy engine.
7609
+ # @return [String]
7610
+ #
7611
+ # @!attribute [rw] status_reasons
7612
+ # Additional information about the policy engine status. This provides
7613
+ # details about any failures or the current state of the policy engine
7614
+ # lifecycle.
7615
+ # @return [Array<String>]
7616
+ #
7617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PolicyEngine AWS API Documentation
7618
+ #
7619
+ class PolicyEngine < Struct.new(
7620
+ :policy_engine_id,
7621
+ :name,
7622
+ :description,
7623
+ :created_at,
7624
+ :updated_at,
7625
+ :policy_engine_arn,
7626
+ :status,
7627
+ :status_reasons)
7628
+ SENSITIVE = [:description]
7629
+ include Aws::Structure
4723
7630
  end
4724
7631
 
4725
- # Contains the output configuration for an OAuth2 provider.
7632
+ # Represents a policy generation request within the AgentCore Policy
7633
+ # system. Tracks the AI-powered conversion of natural language
7634
+ # descriptions into Cedar policy statements, enabling users to author
7635
+ # policies by describing authorization requirements in plain English.
7636
+ # The generation process analyzes the natural language input along with
7637
+ # the Gateway's tool context and Cedar schema to produce one or more
7638
+ # validated policy options. Each generation request tracks the status of
7639
+ # the conversion process and maintains findings about the generated
7640
+ # policies, including validation results and potential issues. Generated
7641
+ # policy assets remain available for one week after successful
7642
+ # generation, allowing time to review and create policies from the
7643
+ # generated options.
4726
7644
  #
4727
- # @note Oauth2ProviderConfigOutput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Oauth2ProviderConfigOutput corresponding to the set member.
7645
+ # @!attribute [rw] policy_engine_id
7646
+ # The identifier of the policy engine associated with this generation
7647
+ # request.
7648
+ # @return [String]
4728
7649
  #
4729
- # @!attribute [rw] custom_oauth_2_provider_config
4730
- # The output configuration for a custom OAuth2 provider.
4731
- # @return [Types::CustomOauth2ProviderConfigOutput]
7650
+ # @!attribute [rw] policy_generation_id
7651
+ # The unique identifier for this policy generation request.
7652
+ # @return [String]
4732
7653
  #
4733
- # @!attribute [rw] google_oauth_2_provider_config
4734
- # The output configuration for a Google OAuth2 provider.
4735
- # @return [Types::GoogleOauth2ProviderConfigOutput]
7654
+ # @!attribute [rw] name
7655
+ # The customer-assigned name for this policy generation request.
7656
+ # @return [String]
4736
7657
  #
4737
- # @!attribute [rw] github_oauth_2_provider_config
4738
- # The output configuration for a GitHub OAuth2 provider.
4739
- # @return [Types::GithubOauth2ProviderConfigOutput]
7658
+ # @!attribute [rw] policy_generation_arn
7659
+ # The ARN of this policy generation request.
7660
+ # @return [String]
4740
7661
  #
4741
- # @!attribute [rw] slack_oauth_2_provider_config
4742
- # The output configuration for a Slack OAuth2 provider.
4743
- # @return [Types::SlackOauth2ProviderConfigOutput]
7662
+ # @!attribute [rw] resource
7663
+ # The resource information associated with this policy generation.
7664
+ # @return [Types::Resource]
4744
7665
  #
4745
- # @!attribute [rw] salesforce_oauth_2_provider_config
4746
- # The output configuration for a Salesforce OAuth2 provider.
4747
- # @return [Types::SalesforceOauth2ProviderConfigOutput]
7666
+ # @!attribute [rw] created_at
7667
+ # The timestamp when this policy generation request was created.
7668
+ # @return [Time]
4748
7669
  #
4749
- # @!attribute [rw] microsoft_oauth_2_provider_config
4750
- # The output configuration for a Microsoft OAuth2 provider.
4751
- # @return [Types::MicrosoftOauth2ProviderConfigOutput]
7670
+ # @!attribute [rw] updated_at
7671
+ # The timestamp when this policy generation was last updated.
7672
+ # @return [Time]
4752
7673
  #
4753
- # @!attribute [rw] atlassian_oauth_2_provider_config
4754
- # The configuration details for the Atlassian OAuth2 provider.
4755
- # @return [Types::AtlassianOauth2ProviderConfigOutput]
7674
+ # @!attribute [rw] status
7675
+ # The current status of this policy generation request.
7676
+ # @return [String]
4756
7677
  #
4757
- # @!attribute [rw] linkedin_oauth_2_provider_config
4758
- # The configuration details for the LinkedIn OAuth2 provider.
4759
- # @return [Types::LinkedinOauth2ProviderConfigOutput]
7678
+ # @!attribute [rw] status_reasons
7679
+ # Additional information about the generation status.
7680
+ # @return [Array<String>]
4760
7681
  #
4761
- # @!attribute [rw] included_oauth_2_provider_config
4762
- # The configuration for a non-custom OAuth2 provider. This includes
4763
- # the configuration details for supported OAuth2 providers that have
4764
- # built-in integration support.
4765
- # @return [Types::IncludedOauth2ProviderConfigOutput]
7682
+ # @!attribute [rw] findings
7683
+ # Findings and insights from this policy generation process.
7684
+ # @return [String]
4766
7685
  #
4767
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Oauth2ProviderConfigOutput AWS API Documentation
7686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PolicyGeneration AWS API Documentation
4768
7687
  #
4769
- class Oauth2ProviderConfigOutput < Struct.new(
4770
- :custom_oauth_2_provider_config,
4771
- :google_oauth_2_provider_config,
4772
- :github_oauth_2_provider_config,
4773
- :slack_oauth_2_provider_config,
4774
- :salesforce_oauth_2_provider_config,
4775
- :microsoft_oauth_2_provider_config,
4776
- :atlassian_oauth_2_provider_config,
4777
- :linkedin_oauth_2_provider_config,
4778
- :included_oauth_2_provider_config,
4779
- :unknown)
7688
+ class PolicyGeneration < Struct.new(
7689
+ :policy_engine_id,
7690
+ :policy_generation_id,
7691
+ :name,
7692
+ :policy_generation_arn,
7693
+ :resource,
7694
+ :created_at,
7695
+ :updated_at,
7696
+ :status,
7697
+ :status_reasons,
7698
+ :findings)
4780
7699
  SENSITIVE = []
4781
7700
  include Aws::Structure
4782
- include Aws::Structure::Union
7701
+ end
4783
7702
 
4784
- class CustomOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
4785
- class GoogleOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
4786
- class GithubOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
4787
- class SlackOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
4788
- class SalesforceOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
4789
- class MicrosoftOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
4790
- class AtlassianOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
4791
- class LinkedinOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
4792
- class IncludedOauth2ProviderConfig < Oauth2ProviderConfigOutput; end
4793
- class Unknown < Oauth2ProviderConfigOutput; end
7703
+ # Represents a generated policy asset from the AI-powered policy
7704
+ # generation process within the AgentCore Policy system. Each asset
7705
+ # contains a Cedar policy statement generated from natural language
7706
+ # input, along with associated metadata and analysis findings to help
7707
+ # users evaluate and select the most appropriate policy option.
7708
+ #
7709
+ # @!attribute [rw] policy_generation_asset_id
7710
+ # The unique identifier for this generated policy asset within the
7711
+ # policy generation request. This ID can be used to reference specific
7712
+ # generated policy options when creating actual policies from the
7713
+ # generation results.
7714
+ # @return [String]
7715
+ #
7716
+ # @!attribute [rw] definition
7717
+ # Represents the definition structure for policies within the
7718
+ # AgentCore Policy system. This structure encapsulates different
7719
+ # policy formats and languages that can be used to define access
7720
+ # control rules.
7721
+ # @return [Types::PolicyDefinition]
7722
+ #
7723
+ # @!attribute [rw] raw_text_fragment
7724
+ # The portion of the original natural language input that this
7725
+ # generated policy asset addresses. This helps users understand which
7726
+ # part of their policy description was translated into this specific
7727
+ # Cedar policy statement, enabling better policy selection and
7728
+ # refinement. When a single natural language input describes multiple
7729
+ # authorization requirements, the generation process creates separate
7730
+ # policy assets for each requirement, with each asset's
7731
+ # rawTextFragment showing which requirement it addresses. Use this
7732
+ # mapping to verify that all parts of your natural language input were
7733
+ # correctly translated into Cedar policies.
7734
+ # @return [String]
7735
+ #
7736
+ # @!attribute [rw] findings
7737
+ # Analysis findings and insights related to this specific generated
7738
+ # policy asset. These findings may include validation results,
7739
+ # potential issues, or recommendations for improvement to help users
7740
+ # evaluate the quality and appropriateness of the generated policy.
7741
+ # @return [Array<Types::Finding>]
7742
+ #
7743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PolicyGenerationAsset AWS API Documentation
7744
+ #
7745
+ class PolicyGenerationAsset < Struct.new(
7746
+ :policy_generation_asset_id,
7747
+ :definition,
7748
+ :raw_text_fragment,
7749
+ :findings)
7750
+ SENSITIVE = []
7751
+ include Aws::Structure
4794
7752
  end
4795
7753
 
4796
7754
  # The protocol configuration for an agent runtime. This structure
@@ -4809,6 +7767,68 @@ module Aws::BedrockAgentCoreControl
4809
7767
  include Aws::Structure
4810
7768
  end
4811
7769
 
7770
+ # @!attribute [rw] resource_arn
7771
+ # The Amazon Resource Name (ARN) of the resource for which to create
7772
+ # or update the resource policy.
7773
+ # @return [String]
7774
+ #
7775
+ # @!attribute [rw] policy
7776
+ # The resource policy to create or update.
7777
+ # @return [String]
7778
+ #
7779
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PutResourcePolicyRequest AWS API Documentation
7780
+ #
7781
+ class PutResourcePolicyRequest < Struct.new(
7782
+ :resource_arn,
7783
+ :policy)
7784
+ SENSITIVE = []
7785
+ include Aws::Structure
7786
+ end
7787
+
7788
+ # @!attribute [rw] policy
7789
+ # The resource policy that was created or updated.
7790
+ # @return [String]
7791
+ #
7792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PutResourcePolicyResponse AWS API Documentation
7793
+ #
7794
+ class PutResourcePolicyResponse < Struct.new(
7795
+ :policy)
7796
+ SENSITIVE = []
7797
+ include Aws::Structure
7798
+ end
7799
+
7800
+ # The rating scale that defines how evaluators should score agent
7801
+ # performance, supporting both numerical and categorical scales.
7802
+ #
7803
+ # @note RatingScale is a union - when making an API calls you must set exactly one of the members.
7804
+ #
7805
+ # @note RatingScale is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RatingScale corresponding to the set member.
7806
+ #
7807
+ # @!attribute [rw] numerical
7808
+ # The numerical rating scale with defined score values and
7809
+ # descriptions for quantitative evaluation.
7810
+ # @return [Array<Types::NumericalScaleDefinition>]
7811
+ #
7812
+ # @!attribute [rw] categorical
7813
+ # The categorical rating scale with named categories and definitions
7814
+ # for qualitative evaluation.
7815
+ # @return [Array<Types::CategoricalScaleDefinition>]
7816
+ #
7817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RatingScale AWS API Documentation
7818
+ #
7819
+ class RatingScale < Struct.new(
7820
+ :numerical,
7821
+ :categorical,
7822
+ :unknown)
7823
+ SENSITIVE = []
7824
+ include Aws::Structure
7825
+ include Aws::Structure::Union
7826
+
7827
+ class Numerical < RatingScale; end
7828
+ class Categorical < RatingScale; end
7829
+ class Unknown < RatingScale; end
7830
+ end
7831
+
4812
7832
  # The recording configuration for a browser. This structure defines how
4813
7833
  # browser sessions are recorded.
4814
7834
  #
@@ -4831,6 +7851,33 @@ module Aws::BedrockAgentCoreControl
4831
7851
  include Aws::Structure
4832
7852
  end
4833
7853
 
7854
+ # Contains reflection configuration information for a memory strategy.
7855
+ #
7856
+ # @note ReflectionConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ReflectionConfiguration corresponding to the set member.
7857
+ #
7858
+ # @!attribute [rw] custom_reflection_configuration
7859
+ # The configuration for a custom reflection strategy.
7860
+ # @return [Types::CustomReflectionConfiguration]
7861
+ #
7862
+ # @!attribute [rw] episodic_reflection_configuration
7863
+ # The configuration for the episodic reflection strategy.
7864
+ # @return [Types::EpisodicReflectionConfiguration]
7865
+ #
7866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ReflectionConfiguration AWS API Documentation
7867
+ #
7868
+ class ReflectionConfiguration < Struct.new(
7869
+ :custom_reflection_configuration,
7870
+ :episodic_reflection_configuration,
7871
+ :unknown)
7872
+ SENSITIVE = []
7873
+ include Aws::Structure
7874
+ include Aws::Structure::Union
7875
+
7876
+ class CustomReflectionConfiguration < ReflectionConfiguration; end
7877
+ class EpisodicReflectionConfiguration < ReflectionConfiguration; end
7878
+ class Unknown < ReflectionConfiguration; end
7879
+ end
7880
+
4834
7881
  # Configuration for HTTP request headers that will be passed through to
4835
7882
  # the runtime.
4836
7883
  #
@@ -4856,6 +7903,33 @@ module Aws::BedrockAgentCoreControl
4856
7903
  class Unknown < RequestHeaderConfiguration; end
4857
7904
  end
4858
7905
 
7906
+ # Represents a resource within the AgentCore Policy system. Resources
7907
+ # are the targets of policy evaluation. Currently, only AgentCore
7908
+ # Gateways are supported as resources for policy enforcement.
7909
+ #
7910
+ # @note Resource is a union - when making an API calls you must set exactly one of the members.
7911
+ #
7912
+ # @note Resource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Resource corresponding to the set member.
7913
+ #
7914
+ # @!attribute [rw] arn
7915
+ # The Amazon Resource Name (ARN) of the resource. This globally unique
7916
+ # identifier specifies the exact resource that policies will be
7917
+ # evaluated against for access control decisions.
7918
+ # @return [String]
7919
+ #
7920
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Resource AWS API Documentation
7921
+ #
7922
+ class Resource < Struct.new(
7923
+ :arn,
7924
+ :unknown)
7925
+ SENSITIVE = []
7926
+ include Aws::Structure
7927
+ include Aws::Structure::Union
7928
+
7929
+ class Arn < Resource; end
7930
+ class Unknown < Resource; end
7931
+ end
7932
+
4859
7933
  # Exception thrown when a resource limit is exceeded.
4860
7934
  #
4861
7935
  # @!attribute [rw] message
@@ -4883,6 +7957,34 @@ module Aws::BedrockAgentCoreControl
4883
7957
  include Aws::Structure
4884
7958
  end
4885
7959
 
7960
+ # The evaluation rule that defines sampling configuration, filtering
7961
+ # criteria, and session detection settings for online evaluation.
7962
+ #
7963
+ # @!attribute [rw] sampling_config
7964
+ # The sampling configuration that determines what percentage of agent
7965
+ # traces to evaluate.
7966
+ # @return [Types::SamplingConfig]
7967
+ #
7968
+ # @!attribute [rw] filters
7969
+ # The list of filters that determine which agent traces should be
7970
+ # included in the evaluation based on trace properties.
7971
+ # @return [Array<Types::Filter>]
7972
+ #
7973
+ # @!attribute [rw] session_config
7974
+ # The session configuration that defines timeout settings for
7975
+ # detecting when agent sessions are complete and ready for evaluation.
7976
+ # @return [Types::SessionConfig]
7977
+ #
7978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Rule AWS API Documentation
7979
+ #
7980
+ class Rule < Struct.new(
7981
+ :sampling_config,
7982
+ :filters,
7983
+ :session_config)
7984
+ SENSITIVE = []
7985
+ include Aws::Structure
7986
+ end
7987
+
4886
7988
  # The Amazon S3 configuration for a gateway. This structure defines how
4887
7989
  # the gateway accesses files in Amazon S3.
4888
7990
  #
@@ -4971,6 +8073,22 @@ module Aws::BedrockAgentCoreControl
4971
8073
  include Aws::Structure
4972
8074
  end
4973
8075
 
8076
+ # The configuration that controls what percentage of agent traces are
8077
+ # sampled for evaluation to manage evaluation volume and costs.
8078
+ #
8079
+ # @!attribute [rw] sampling_percentage
8080
+ # The percentage of agent traces to sample for evaluation, ranging
8081
+ # from 0.01% to 100%.
8082
+ # @return [Float]
8083
+ #
8084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SamplingConfig AWS API Documentation
8085
+ #
8086
+ class SamplingConfig < Struct.new(
8087
+ :sampling_percentage)
8088
+ SENSITIVE = []
8089
+ include Aws::Structure
8090
+ end
8091
+
4974
8092
  # A schema definition for a gateway target. This structure defines the
4975
8093
  # structure of the API that the target exposes.
4976
8094
  #
@@ -5222,6 +8340,22 @@ module Aws::BedrockAgentCoreControl
5222
8340
  include Aws::Structure
5223
8341
  end
5224
8342
 
8343
+ # The configuration that defines how agent sessions are detected and
8344
+ # when they are considered complete for evaluation.
8345
+ #
8346
+ # @!attribute [rw] session_timeout_minutes
8347
+ # The number of minutes of inactivity after which an agent session is
8348
+ # considered complete and ready for evaluation. Default is 15 minutes.
8349
+ # @return [Integer]
8350
+ #
8351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SessionConfig AWS API Documentation
8352
+ #
8353
+ class SessionConfig < Struct.new(
8354
+ :session_timeout_minutes)
8355
+ SENSITIVE = []
8356
+ include Aws::Structure
8357
+ end
8358
+
5225
8359
  # @!attribute [rw] token_vault_id
5226
8360
  # The unique identifier of the token vault to update.
5227
8361
  # @return [String]
@@ -5252,50 +8386,157 @@ module Aws::BedrockAgentCoreControl
5252
8386
  # The timestamp when the token vault was last modified.
5253
8387
  # @return [Time]
5254
8388
  #
5255
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SetTokenVaultCMKResponse AWS API Documentation
8389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SetTokenVaultCMKResponse AWS API Documentation
8390
+ #
8391
+ class SetTokenVaultCMKResponse < Struct.new(
8392
+ :token_vault_id,
8393
+ :kms_configuration,
8394
+ :last_modified_date)
8395
+ SENSITIVE = []
8396
+ include Aws::Structure
8397
+ end
8398
+
8399
+ # Input configuration for a Slack OAuth2 provider.
8400
+ #
8401
+ # @!attribute [rw] client_id
8402
+ # The client ID for the Slack OAuth2 provider.
8403
+ # @return [String]
8404
+ #
8405
+ # @!attribute [rw] client_secret
8406
+ # The client secret for the Slack OAuth2 provider.
8407
+ # @return [String]
8408
+ #
8409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SlackOauth2ProviderConfigInput AWS API Documentation
8410
+ #
8411
+ class SlackOauth2ProviderConfigInput < Struct.new(
8412
+ :client_id,
8413
+ :client_secret)
8414
+ SENSITIVE = [:client_secret]
8415
+ include Aws::Structure
8416
+ end
8417
+
8418
+ # Output configuration for a Slack OAuth2 provider.
8419
+ #
8420
+ # @!attribute [rw] oauth_discovery
8421
+ # The OAuth2 discovery information for the Slack provider.
8422
+ # @return [Types::Oauth2Discovery]
8423
+ #
8424
+ # @!attribute [rw] client_id
8425
+ # The client ID for the Slack OAuth2 provider.
8426
+ # @return [String]
8427
+ #
8428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SlackOauth2ProviderConfigOutput AWS API Documentation
8429
+ #
8430
+ class SlackOauth2ProviderConfigOutput < Struct.new(
8431
+ :oauth_discovery,
8432
+ :client_id)
8433
+ SENSITIVE = []
8434
+ include Aws::Structure
8435
+ end
8436
+
8437
+ # @!attribute [rw] policy_engine_id
8438
+ # The identifier of the policy engine that provides the context for
8439
+ # policy generation. This engine's schema and tool context are used
8440
+ # to ensure generated policies are valid and applicable.
8441
+ # @return [String]
8442
+ #
8443
+ # @!attribute [rw] resource
8444
+ # The resource information that provides context for policy
8445
+ # generation. This helps the AI understand the target resources and
8446
+ # generate appropriate access control rules.
8447
+ # @return [Types::Resource]
8448
+ #
8449
+ # @!attribute [rw] content
8450
+ # The natural language description of the desired policy behavior.
8451
+ # This content is processed by AI to generate corresponding Cedar
8452
+ # policy statements that match the described intent.
8453
+ # @return [Types::Content]
8454
+ #
8455
+ # @!attribute [rw] name
8456
+ # A customer-assigned name for the policy generation request. This
8457
+ # helps track and identify generation operations, especially when
8458
+ # running multiple generations simultaneously.
8459
+ # @return [String]
8460
+ #
8461
+ # @!attribute [rw] client_token
8462
+ # A unique, case-sensitive identifier to ensure the idempotency of the
8463
+ # request. The AWS SDK automatically generates this token, so you
8464
+ # don't need to provide it in most cases. If you retry a request with
8465
+ # the same client token, the service returns the same response without
8466
+ # starting a duplicate generation.
8467
+ #
8468
+ # **A suitable default value is auto-generated.** You should normally
8469
+ # not need to pass this option.
8470
+ # @return [String]
8471
+ #
8472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/StartPolicyGenerationRequest AWS API Documentation
5256
8473
  #
5257
- class SetTokenVaultCMKResponse < Struct.new(
5258
- :token_vault_id,
5259
- :kms_configuration,
5260
- :last_modified_date)
8474
+ class StartPolicyGenerationRequest < Struct.new(
8475
+ :policy_engine_id,
8476
+ :resource,
8477
+ :content,
8478
+ :name,
8479
+ :client_token)
5261
8480
  SENSITIVE = []
5262
8481
  include Aws::Structure
5263
8482
  end
5264
8483
 
5265
- # Input configuration for a Slack OAuth2 provider.
8484
+ # @!attribute [rw] policy_engine_id
8485
+ # The identifier of the policy engine associated with the started
8486
+ # policy generation.
8487
+ # @return [String]
5266
8488
  #
5267
- # @!attribute [rw] client_id
5268
- # The client ID for the Slack OAuth2 provider.
8489
+ # @!attribute [rw] policy_generation_id
8490
+ # The unique identifier assigned to the policy generation request for
8491
+ # tracking progress.
5269
8492
  # @return [String]
5270
8493
  #
5271
- # @!attribute [rw] client_secret
5272
- # The client secret for the Slack OAuth2 provider.
8494
+ # @!attribute [rw] name
8495
+ # The customer-assigned name for the policy generation request.
5273
8496
  # @return [String]
5274
8497
  #
5275
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SlackOauth2ProviderConfigInput AWS API Documentation
8498
+ # @!attribute [rw] policy_generation_arn
8499
+ # The ARN of the created policy generation request.
8500
+ # @return [String]
5276
8501
  #
5277
- class SlackOauth2ProviderConfigInput < Struct.new(
5278
- :client_id,
5279
- :client_secret)
5280
- SENSITIVE = [:client_secret]
5281
- include Aws::Structure
5282
- end
5283
-
5284
- # Output configuration for a Slack OAuth2 provider.
8502
+ # @!attribute [rw] resource
8503
+ # The resource information associated with the policy generation
8504
+ # request.
8505
+ # @return [Types::Resource]
5285
8506
  #
5286
- # @!attribute [rw] oauth_discovery
5287
- # The OAuth2 discovery information for the Slack provider.
5288
- # @return [Types::Oauth2Discovery]
8507
+ # @!attribute [rw] created_at
8508
+ # The timestamp when the policy generation request was created.
8509
+ # @return [Time]
5289
8510
  #
5290
- # @!attribute [rw] client_id
5291
- # The client ID for the Slack OAuth2 provider.
8511
+ # @!attribute [rw] updated_at
8512
+ # The timestamp when the policy generation was last updated.
8513
+ # @return [Time]
8514
+ #
8515
+ # @!attribute [rw] status
8516
+ # The initial status of the policy generation request.
5292
8517
  # @return [String]
5293
8518
  #
5294
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SlackOauth2ProviderConfigOutput AWS API Documentation
8519
+ # @!attribute [rw] status_reasons
8520
+ # Additional information about the generation status.
8521
+ # @return [Array<String>]
5295
8522
  #
5296
- class SlackOauth2ProviderConfigOutput < Struct.new(
5297
- :oauth_discovery,
5298
- :client_id)
8523
+ # @!attribute [rw] findings
8524
+ # Initial findings from the policy generation process.
8525
+ # @return [String]
8526
+ #
8527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/StartPolicyGenerationResponse AWS API Documentation
8528
+ #
8529
+ class StartPolicyGenerationResponse < Struct.new(
8530
+ :policy_engine_id,
8531
+ :policy_generation_id,
8532
+ :name,
8533
+ :policy_generation_arn,
8534
+ :resource,
8535
+ :created_at,
8536
+ :updated_at,
8537
+ :status,
8538
+ :status_reasons,
8539
+ :findings)
5299
8540
  SENSITIVE = []
5300
8541
  include Aws::Structure
5301
8542
  end
@@ -5314,6 +8555,10 @@ module Aws::BedrockAgentCoreControl
5314
8555
  # The consolidation configuration for the memory strategy.
5315
8556
  # @return [Types::ConsolidationConfiguration]
5316
8557
  #
8558
+ # @!attribute [rw] reflection
8559
+ # The reflection configuration for the memory strategy.
8560
+ # @return [Types::ReflectionConfiguration]
8561
+ #
5317
8562
  # @!attribute [rw] self_managed_configuration
5318
8563
  # Self-managed configuration settings.
5319
8564
  # @return [Types::SelfManagedConfiguration]
@@ -5324,6 +8569,7 @@ module Aws::BedrockAgentCoreControl
5324
8569
  :type,
5325
8570
  :extraction,
5326
8571
  :consolidation,
8572
+ :reflection,
5327
8573
  :self_managed_configuration)
5328
8574
  SENSITIVE = []
5329
8575
  include Aws::Structure
@@ -6015,6 +9261,80 @@ module Aws::BedrockAgentCoreControl
6015
9261
  include Aws::Structure
6016
9262
  end
6017
9263
 
9264
+ # @!attribute [rw] client_token
9265
+ # A unique, case-sensitive identifier to ensure that the API request
9266
+ # completes no more than one time. If you don't specify this field, a
9267
+ # value is randomly generated for you. If this token matches a
9268
+ # previous request, the service ignores the request, but doesn't
9269
+ # return an error. For more information, see [Ensuring
9270
+ # idempotency][1].
9271
+ #
9272
+ # **A suitable default value is auto-generated.** You should normally
9273
+ # not need to pass this option.
9274
+ #
9275
+ #
9276
+ #
9277
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
9278
+ # @return [String]
9279
+ #
9280
+ # @!attribute [rw] evaluator_id
9281
+ # The unique identifier of the evaluator to update.
9282
+ # @return [String]
9283
+ #
9284
+ # @!attribute [rw] description
9285
+ # The updated description of the evaluator.
9286
+ # @return [String]
9287
+ #
9288
+ # @!attribute [rw] evaluator_config
9289
+ # The updated configuration for the evaluator, including
9290
+ # LLM-as-a-Judge settings with instructions, rating scale, and model
9291
+ # configuration.
9292
+ # @return [Types::EvaluatorConfig]
9293
+ #
9294
+ # @!attribute [rw] level
9295
+ # The updated evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`)
9296
+ # that determines the scope of evaluation.
9297
+ # @return [String]
9298
+ #
9299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateEvaluatorRequest AWS API Documentation
9300
+ #
9301
+ class UpdateEvaluatorRequest < Struct.new(
9302
+ :client_token,
9303
+ :evaluator_id,
9304
+ :description,
9305
+ :evaluator_config,
9306
+ :level)
9307
+ SENSITIVE = [:description]
9308
+ include Aws::Structure
9309
+ end
9310
+
9311
+ # @!attribute [rw] evaluator_arn
9312
+ # The Amazon Resource Name (ARN) of the updated evaluator.
9313
+ # @return [String]
9314
+ #
9315
+ # @!attribute [rw] evaluator_id
9316
+ # The unique identifier of the updated evaluator.
9317
+ # @return [String]
9318
+ #
9319
+ # @!attribute [rw] updated_at
9320
+ # The timestamp when the evaluator was last updated.
9321
+ # @return [Time]
9322
+ #
9323
+ # @!attribute [rw] status
9324
+ # The status of the evaluator update operation.
9325
+ # @return [String]
9326
+ #
9327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateEvaluatorResponse AWS API Documentation
9328
+ #
9329
+ class UpdateEvaluatorResponse < Struct.new(
9330
+ :evaluator_arn,
9331
+ :evaluator_id,
9332
+ :updated_at,
9333
+ :status)
9334
+ SENSITIVE = []
9335
+ include Aws::Structure
9336
+ end
9337
+
6018
9338
  # @!attribute [rw] gateway_identifier
6019
9339
  # The identifier of the gateway to update.
6020
9340
  # @return [String]
@@ -6057,6 +9377,14 @@ module Aws::BedrockAgentCoreControl
6057
9377
  # The updated interceptor configurations for the gateway.
6058
9378
  # @return [Array<Types::GatewayInterceptorConfiguration>]
6059
9379
  #
9380
+ # @!attribute [rw] policy_engine_configuration
9381
+ # The updated policy engine configuration for the gateway. A policy
9382
+ # engine is a collection of policies that evaluates and authorizes
9383
+ # agent tool calls. When associated with a gateway, the policy engine
9384
+ # intercepts all agent requests and determines whether to allow or
9385
+ # deny each action based on the defined policies.
9386
+ # @return [Types::GatewayPolicyEngineConfiguration]
9387
+ #
6060
9388
  # @!attribute [rw] exception_level
6061
9389
  # The level of detail in error messages returned when invoking the
6062
9390
  # gateway.
@@ -6081,6 +9409,7 @@ module Aws::BedrockAgentCoreControl
6081
9409
  :authorizer_configuration,
6082
9410
  :kms_key_arn,
6083
9411
  :interceptor_configurations,
9412
+ :policy_engine_configuration,
6084
9413
  :exception_level)
6085
9414
  SENSITIVE = [:name, :description]
6086
9415
  include Aws::Structure
@@ -6151,6 +9480,10 @@ module Aws::BedrockAgentCoreControl
6151
9480
  # The updated interceptor configurations for the gateway.
6152
9481
  # @return [Array<Types::GatewayInterceptorConfiguration>]
6153
9482
  #
9483
+ # @!attribute [rw] policy_engine_configuration
9484
+ # The updated policy engine configuration for the gateway.
9485
+ # @return [Types::GatewayPolicyEngineConfiguration]
9486
+ #
6154
9487
  # @!attribute [rw] workload_identity_details
6155
9488
  # The workload identity details for the updated gateway.
6156
9489
  # @return [Types::WorkloadIdentityDetails]
@@ -6185,6 +9518,7 @@ module Aws::BedrockAgentCoreControl
6185
9518
  :authorizer_configuration,
6186
9519
  :kms_key_arn,
6187
9520
  :interceptor_configurations,
9521
+ :policy_engine_configuration,
6188
9522
  :workload_identity_details,
6189
9523
  :exception_level)
6190
9524
  SENSITIVE = [:name, :description]
@@ -6422,6 +9756,279 @@ module Aws::BedrockAgentCoreControl
6422
9756
  include Aws::Structure
6423
9757
  end
6424
9758
 
9759
+ # @!attribute [rw] client_token
9760
+ # A unique, case-sensitive identifier to ensure that the API request
9761
+ # completes no more than one time. If you don't specify this field, a
9762
+ # value is randomly generated for you. If this token matches a
9763
+ # previous request, the service ignores the request, but doesn't
9764
+ # return an error. For more information, see [Ensuring
9765
+ # idempotency][1].
9766
+ #
9767
+ # **A suitable default value is auto-generated.** You should normally
9768
+ # not need to pass this option.
9769
+ #
9770
+ #
9771
+ #
9772
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
9773
+ # @return [String]
9774
+ #
9775
+ # @!attribute [rw] online_evaluation_config_id
9776
+ # The unique identifier of the online evaluation configuration to
9777
+ # update.
9778
+ # @return [String]
9779
+ #
9780
+ # @!attribute [rw] description
9781
+ # The updated description of the online evaluation configuration.
9782
+ # @return [String]
9783
+ #
9784
+ # @!attribute [rw] rule
9785
+ # The updated evaluation rule containing sampling configuration,
9786
+ # filters, and session settings.
9787
+ # @return [Types::Rule]
9788
+ #
9789
+ # @!attribute [rw] data_source_config
9790
+ # The updated data source configuration specifying CloudWatch log
9791
+ # groups and service names to monitor.
9792
+ # @return [Types::DataSourceConfig]
9793
+ #
9794
+ # @!attribute [rw] evaluators
9795
+ # The updated list of evaluators to apply during online evaluation.
9796
+ # @return [Array<Types::EvaluatorReference>]
9797
+ #
9798
+ # @!attribute [rw] evaluation_execution_role_arn
9799
+ # The updated Amazon Resource Name (ARN) of the IAM role used for
9800
+ # evaluation execution.
9801
+ # @return [String]
9802
+ #
9803
+ # @!attribute [rw] execution_status
9804
+ # The updated execution status to enable or disable the online
9805
+ # evaluation.
9806
+ # @return [String]
9807
+ #
9808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateOnlineEvaluationConfigRequest AWS API Documentation
9809
+ #
9810
+ class UpdateOnlineEvaluationConfigRequest < Struct.new(
9811
+ :client_token,
9812
+ :online_evaluation_config_id,
9813
+ :description,
9814
+ :rule,
9815
+ :data_source_config,
9816
+ :evaluators,
9817
+ :evaluation_execution_role_arn,
9818
+ :execution_status)
9819
+ SENSITIVE = [:description]
9820
+ include Aws::Structure
9821
+ end
9822
+
9823
+ # @!attribute [rw] online_evaluation_config_arn
9824
+ # The Amazon Resource Name (ARN) of the updated online evaluation
9825
+ # configuration.
9826
+ # @return [String]
9827
+ #
9828
+ # @!attribute [rw] online_evaluation_config_id
9829
+ # The unique identifier of the updated online evaluation
9830
+ # configuration.
9831
+ # @return [String]
9832
+ #
9833
+ # @!attribute [rw] updated_at
9834
+ # The timestamp when the online evaluation configuration was last
9835
+ # updated.
9836
+ # @return [Time]
9837
+ #
9838
+ # @!attribute [rw] status
9839
+ # The status of the online evaluation configuration.
9840
+ # @return [String]
9841
+ #
9842
+ # @!attribute [rw] execution_status
9843
+ # The execution status indicating whether the online evaluation is
9844
+ # currently running.
9845
+ # @return [String]
9846
+ #
9847
+ # @!attribute [rw] failure_reason
9848
+ # The reason for failure if the online evaluation configuration update
9849
+ # or execution failed.
9850
+ # @return [String]
9851
+ #
9852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateOnlineEvaluationConfigResponse AWS API Documentation
9853
+ #
9854
+ class UpdateOnlineEvaluationConfigResponse < Struct.new(
9855
+ :online_evaluation_config_arn,
9856
+ :online_evaluation_config_id,
9857
+ :updated_at,
9858
+ :status,
9859
+ :execution_status,
9860
+ :failure_reason)
9861
+ SENSITIVE = []
9862
+ include Aws::Structure
9863
+ end
9864
+
9865
+ # @!attribute [rw] policy_engine_id
9866
+ # The unique identifier of the policy engine to be updated.
9867
+ # @return [String]
9868
+ #
9869
+ # @!attribute [rw] description
9870
+ # The new description for the policy engine.
9871
+ # @return [String]
9872
+ #
9873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePolicyEngineRequest AWS API Documentation
9874
+ #
9875
+ class UpdatePolicyEngineRequest < Struct.new(
9876
+ :policy_engine_id,
9877
+ :description)
9878
+ SENSITIVE = [:description]
9879
+ include Aws::Structure
9880
+ end
9881
+
9882
+ # @!attribute [rw] policy_engine_id
9883
+ # The unique identifier of the updated policy engine.
9884
+ # @return [String]
9885
+ #
9886
+ # @!attribute [rw] name
9887
+ # The name of the updated policy engine.
9888
+ # @return [String]
9889
+ #
9890
+ # @!attribute [rw] description
9891
+ # The updated description of the policy engine.
9892
+ # @return [String]
9893
+ #
9894
+ # @!attribute [rw] created_at
9895
+ # The original creation timestamp of the policy engine.
9896
+ # @return [Time]
9897
+ #
9898
+ # @!attribute [rw] updated_at
9899
+ # The timestamp when the policy engine was last updated.
9900
+ # @return [Time]
9901
+ #
9902
+ # @!attribute [rw] policy_engine_arn
9903
+ # The ARN of the updated policy engine.
9904
+ # @return [String]
9905
+ #
9906
+ # @!attribute [rw] status
9907
+ # The current status of the updated policy engine.
9908
+ # @return [String]
9909
+ #
9910
+ # @!attribute [rw] status_reasons
9911
+ # Additional information about the update status.
9912
+ # @return [Array<String>]
9913
+ #
9914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePolicyEngineResponse AWS API Documentation
9915
+ #
9916
+ class UpdatePolicyEngineResponse < Struct.new(
9917
+ :policy_engine_id,
9918
+ :name,
9919
+ :description,
9920
+ :created_at,
9921
+ :updated_at,
9922
+ :policy_engine_arn,
9923
+ :status,
9924
+ :status_reasons)
9925
+ SENSITIVE = [:description]
9926
+ include Aws::Structure
9927
+ end
9928
+
9929
+ # @!attribute [rw] policy_engine_id
9930
+ # The identifier of the policy engine that manages the policy to be
9931
+ # updated. This ensures the policy is updated within the correct
9932
+ # policy engine context.
9933
+ # @return [String]
9934
+ #
9935
+ # @!attribute [rw] policy_id
9936
+ # The unique identifier of the policy to be updated. This must be a
9937
+ # valid policy ID that exists within the specified policy engine.
9938
+ # @return [String]
9939
+ #
9940
+ # @!attribute [rw] description
9941
+ # The new human-readable description for the policy. This optional
9942
+ # field allows updating the policy's documentation while keeping the
9943
+ # same policy logic.
9944
+ # @return [String]
9945
+ #
9946
+ # @!attribute [rw] definition
9947
+ # The new Cedar policy statement that defines the access control
9948
+ # rules. This replaces the existing policy definition with new logic
9949
+ # while maintaining the policy's identity.
9950
+ # @return [Types::PolicyDefinition]
9951
+ #
9952
+ # @!attribute [rw] validation_mode
9953
+ # The validation mode for the policy update. Determines how Cedar
9954
+ # analyzer validation results are handled during policy updates.
9955
+ # FAIL\_ON\_ANY\_FINDINGS runs the Cedar analyzer and fails the update
9956
+ # if validation issues are detected, ensuring the policy conforms to
9957
+ # the Cedar schema and tool context. IGNORE\_ALL\_FINDINGS runs the
9958
+ # Cedar analyzer but allows updates despite validation warnings. Use
9959
+ # FAIL\_ON\_ANY\_FINDINGS to ensure policy correctness during updates,
9960
+ # especially when modifying policy logic or conditions.
9961
+ # @return [String]
9962
+ #
9963
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePolicyRequest AWS API Documentation
9964
+ #
9965
+ class UpdatePolicyRequest < Struct.new(
9966
+ :policy_engine_id,
9967
+ :policy_id,
9968
+ :description,
9969
+ :definition,
9970
+ :validation_mode)
9971
+ SENSITIVE = [:description]
9972
+ include Aws::Structure
9973
+ end
9974
+
9975
+ # @!attribute [rw] policy_id
9976
+ # The unique identifier of the updated policy.
9977
+ # @return [String]
9978
+ #
9979
+ # @!attribute [rw] name
9980
+ # The name of the updated policy.
9981
+ # @return [String]
9982
+ #
9983
+ # @!attribute [rw] policy_engine_id
9984
+ # The identifier of the policy engine managing the updated policy.
9985
+ # @return [String]
9986
+ #
9987
+ # @!attribute [rw] definition
9988
+ # The updated Cedar policy statement.
9989
+ # @return [Types::PolicyDefinition]
9990
+ #
9991
+ # @!attribute [rw] description
9992
+ # The updated description of the policy.
9993
+ # @return [String]
9994
+ #
9995
+ # @!attribute [rw] created_at
9996
+ # The original creation timestamp of the policy.
9997
+ # @return [Time]
9998
+ #
9999
+ # @!attribute [rw] updated_at
10000
+ # The timestamp when the policy was last updated.
10001
+ # @return [Time]
10002
+ #
10003
+ # @!attribute [rw] policy_arn
10004
+ # The ARN of the updated policy.
10005
+ # @return [String]
10006
+ #
10007
+ # @!attribute [rw] status
10008
+ # The current status of the updated policy.
10009
+ # @return [String]
10010
+ #
10011
+ # @!attribute [rw] status_reasons
10012
+ # Additional information about the update status.
10013
+ # @return [Array<String>]
10014
+ #
10015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePolicyResponse AWS API Documentation
10016
+ #
10017
+ class UpdatePolicyResponse < Struct.new(
10018
+ :policy_id,
10019
+ :name,
10020
+ :policy_engine_id,
10021
+ :definition,
10022
+ :description,
10023
+ :created_at,
10024
+ :updated_at,
10025
+ :policy_arn,
10026
+ :status,
10027
+ :status_reasons)
10028
+ SENSITIVE = [:description]
10029
+ include Aws::Structure
10030
+ end
10031
+
6425
10032
  # @!attribute [rw] name
6426
10033
  # The name of the workload identity to update.
6427
10034
  # @return [String]