aws-sdk-bedrockagentcorecontrol 1.14.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +2213 -42
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +1327 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +3913 -196
- data/lib/aws-sdk-bedrockagentcorecontrol/waiters.rb +279 -3
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +824 -11
- data/sig/types.rbs +991 -31
- data/sig/waiters.rbs +53 -0
- metadata +3 -3
|
@@ -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.
|
|
@@ -1068,6 +1442,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1068
1442
|
#
|
|
1069
1443
|
# * `AWS_IAM` - Authorize with your Amazon Web Services IAM
|
|
1070
1444
|
# credentials.
|
|
1445
|
+
#
|
|
1446
|
+
# * `NONE` - No authorization
|
|
1071
1447
|
# @return [String]
|
|
1072
1448
|
#
|
|
1073
1449
|
# @!attribute [rw] authorizer_configuration
|
|
@@ -1080,6 +1456,20 @@ module Aws::BedrockAgentCoreControl
|
|
|
1080
1456
|
# associated with the gateway.
|
|
1081
1457
|
# @return [String]
|
|
1082
1458
|
#
|
|
1459
|
+
# @!attribute [rw] interceptor_configurations
|
|
1460
|
+
# A list of configuration settings for a gateway interceptor. Gateway
|
|
1461
|
+
# interceptors allow custom code to be invoked during gateway
|
|
1462
|
+
# invocations.
|
|
1463
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
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
|
+
#
|
|
1083
1473
|
# @!attribute [rw] exception_level
|
|
1084
1474
|
# The level of detail in error messages returned when invoking the
|
|
1085
1475
|
# gateway.
|
|
@@ -1108,6 +1498,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1108
1498
|
:authorizer_type,
|
|
1109
1499
|
:authorizer_configuration,
|
|
1110
1500
|
:kms_key_arn,
|
|
1501
|
+
:interceptor_configurations,
|
|
1502
|
+
:policy_engine_configuration,
|
|
1111
1503
|
:exception_level,
|
|
1112
1504
|
:tags)
|
|
1113
1505
|
SENSITIVE = [:name, :description]
|
|
@@ -1176,6 +1568,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
1176
1568
|
# associated with the gateway.
|
|
1177
1569
|
# @return [String]
|
|
1178
1570
|
#
|
|
1571
|
+
# @!attribute [rw] interceptor_configurations
|
|
1572
|
+
# The list of interceptor configurations for the created gateway.
|
|
1573
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
1574
|
+
#
|
|
1575
|
+
# @!attribute [rw] policy_engine_configuration
|
|
1576
|
+
# The policy engine configuration for the created gateway.
|
|
1577
|
+
# @return [Types::GatewayPolicyEngineConfiguration]
|
|
1578
|
+
#
|
|
1179
1579
|
# @!attribute [rw] workload_identity_details
|
|
1180
1580
|
# The workload identity details for the created gateway.
|
|
1181
1581
|
# @return [Types::WorkloadIdentityDetails]
|
|
@@ -1209,6 +1609,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1209
1609
|
:authorizer_type,
|
|
1210
1610
|
:authorizer_configuration,
|
|
1211
1611
|
:kms_key_arn,
|
|
1612
|
+
:interceptor_configurations,
|
|
1613
|
+
:policy_engine_configuration,
|
|
1212
1614
|
:workload_identity_details,
|
|
1213
1615
|
:exception_level)
|
|
1214
1616
|
SENSITIVE = [:name, :description]
|
|
@@ -1469,64 +1871,417 @@ module Aws::BedrockAgentCoreControl
|
|
|
1469
1871
|
include Aws::Structure
|
|
1470
1872
|
end
|
|
1471
1873
|
|
|
1472
|
-
# @!attribute [rw]
|
|
1473
|
-
#
|
|
1474
|
-
#
|
|
1475
|
-
#
|
|
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].
|
|
1476
1881
|
#
|
|
1477
|
-
#
|
|
1478
|
-
#
|
|
1479
|
-
# this workload identity.
|
|
1480
|
-
# @return [Array<String>]
|
|
1882
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1883
|
+
# not need to pass this option.
|
|
1481
1884
|
#
|
|
1482
|
-
# @!attribute [rw] tags
|
|
1483
|
-
# A map of tag keys and values to assign to the workload identity.
|
|
1484
|
-
# Tags enable you to categorize your resources in different ways, for
|
|
1485
|
-
# example, by purpose, owner, or environment.
|
|
1486
|
-
# @return [Hash<String,String>]
|
|
1487
1885
|
#
|
|
1488
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateWorkloadIdentityRequest AWS API Documentation
|
|
1489
1886
|
#
|
|
1490
|
-
|
|
1491
|
-
:name,
|
|
1492
|
-
:allowed_resource_oauth_2_return_urls,
|
|
1493
|
-
:tags)
|
|
1494
|
-
SENSITIVE = []
|
|
1495
|
-
include Aws::Structure
|
|
1496
|
-
end
|
|
1497
|
-
|
|
1498
|
-
# @!attribute [rw] name
|
|
1499
|
-
# The name of the workload identity.
|
|
1887
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
1500
1888
|
# @return [String]
|
|
1501
1889
|
#
|
|
1502
|
-
# @!attribute [rw]
|
|
1503
|
-
# The
|
|
1890
|
+
# @!attribute [rw] online_evaluation_config_name
|
|
1891
|
+
# The name of the online evaluation configuration. Must be unique
|
|
1892
|
+
# within your account.
|
|
1504
1893
|
# @return [String]
|
|
1505
1894
|
#
|
|
1506
|
-
# @!attribute [rw]
|
|
1507
|
-
# The
|
|
1508
|
-
#
|
|
1509
|
-
# @return [
|
|
1895
|
+
# @!attribute [rw] description
|
|
1896
|
+
# The description of the online evaluation configuration that explains
|
|
1897
|
+
# its monitoring purpose and scope.
|
|
1898
|
+
# @return [String]
|
|
1510
1899
|
#
|
|
1511
|
-
#
|
|
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]
|
|
1512
1904
|
#
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
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]
|
|
1518
1939
|
include Aws::Structure
|
|
1519
1940
|
end
|
|
1520
1941
|
|
|
1521
|
-
#
|
|
1522
|
-
#
|
|
1523
|
-
#
|
|
1942
|
+
# @!attribute [rw] online_evaluation_config_arn
|
|
1943
|
+
# The Amazon Resource Name (ARN) of the created online evaluation
|
|
1944
|
+
# configuration.
|
|
1945
|
+
# @return [String]
|
|
1524
1946
|
#
|
|
1525
|
-
#
|
|
1947
|
+
# @!attribute [rw] online_evaluation_config_id
|
|
1948
|
+
# The unique identifier of the created online evaluation
|
|
1949
|
+
# configuration.
|
|
1950
|
+
# @return [String]
|
|
1526
1951
|
#
|
|
1527
|
-
#
|
|
1952
|
+
# @!attribute [rw] created_at
|
|
1953
|
+
# The timestamp when the online evaluation configuration was created.
|
|
1954
|
+
# @return [Time]
|
|
1528
1955
|
#
|
|
1529
|
-
# @!attribute [rw]
|
|
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]
|
|
1960
|
+
#
|
|
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)
|
|
2272
|
+
SENSITIVE = []
|
|
2273
|
+
include Aws::Structure
|
|
2274
|
+
end
|
|
2275
|
+
|
|
2276
|
+
# A credential provider for gateway authentication. This structure
|
|
2277
|
+
# contains the configuration for authenticating with the target
|
|
2278
|
+
# endpoint.
|
|
2279
|
+
#
|
|
2280
|
+
# @note CredentialProvider is a union - when making an API calls you must set exactly one of the members.
|
|
2281
|
+
#
|
|
2282
|
+
# @note CredentialProvider is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CredentialProvider corresponding to the set member.
|
|
2283
|
+
#
|
|
2284
|
+
# @!attribute [rw] oauth_credential_provider
|
|
1530
2285
|
# The OAuth credential provider. This provider uses OAuth
|
|
1531
2286
|
# authentication to access the target endpoint.
|
|
1532
2287
|
# @return [Types::OAuthCredentialProvider]
|
|
@@ -1573,6 +2328,38 @@ module Aws::BedrockAgentCoreControl
|
|
|
1573
2328
|
include Aws::Structure
|
|
1574
2329
|
end
|
|
1575
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
|
+
|
|
1576
2363
|
# Input for custom configuration of a memory strategy.
|
|
1577
2364
|
#
|
|
1578
2365
|
# @note CustomConfigurationInput is a union - when making an API calls you must set exactly one of the members.
|
|
@@ -1590,6 +2377,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
1590
2377
|
# strategy.
|
|
1591
2378
|
# @return [Types::UserPreferenceOverrideConfigurationInput]
|
|
1592
2379
|
#
|
|
2380
|
+
# @!attribute [rw] episodic_override
|
|
2381
|
+
# The episodic memory strategy override configuration for a custom
|
|
2382
|
+
# memory strategy.
|
|
2383
|
+
# @return [Types::EpisodicOverrideConfigurationInput]
|
|
2384
|
+
#
|
|
1593
2385
|
# @!attribute [rw] self_managed_configuration
|
|
1594
2386
|
# The self managed configuration for a custom memory strategy.
|
|
1595
2387
|
# @return [Types::SelfManagedConfigurationInput]
|
|
@@ -1600,6 +2392,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1600
2392
|
:semantic_override,
|
|
1601
2393
|
:summary_override,
|
|
1602
2394
|
:user_preference_override,
|
|
2395
|
+
:episodic_override,
|
|
1603
2396
|
:self_managed_configuration,
|
|
1604
2397
|
:unknown)
|
|
1605
2398
|
SENSITIVE = []
|
|
@@ -1609,6 +2402,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1609
2402
|
class SemanticOverride < CustomConfigurationInput; end
|
|
1610
2403
|
class SummaryOverride < CustomConfigurationInput; end
|
|
1611
2404
|
class UserPreferenceOverride < CustomConfigurationInput; end
|
|
2405
|
+
class EpisodicOverride < CustomConfigurationInput; end
|
|
1612
2406
|
class SelfManagedConfiguration < CustomConfigurationInput; end
|
|
1613
2407
|
class Unknown < CustomConfigurationInput; end
|
|
1614
2408
|
end
|
|
@@ -1629,12 +2423,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
1629
2423
|
# The user preference consolidation override configuration.
|
|
1630
2424
|
# @return [Types::UserPreferenceConsolidationOverride]
|
|
1631
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
|
+
#
|
|
1632
2431
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomConsolidationConfiguration AWS API Documentation
|
|
1633
2432
|
#
|
|
1634
2433
|
class CustomConsolidationConfiguration < Struct.new(
|
|
1635
2434
|
:semantic_consolidation_override,
|
|
1636
2435
|
:summary_consolidation_override,
|
|
1637
2436
|
:user_preference_consolidation_override,
|
|
2437
|
+
:episodic_consolidation_override,
|
|
1638
2438
|
:unknown)
|
|
1639
2439
|
SENSITIVE = []
|
|
1640
2440
|
include Aws::Structure
|
|
@@ -1643,6 +2443,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1643
2443
|
class SemanticConsolidationOverride < CustomConsolidationConfiguration; end
|
|
1644
2444
|
class SummaryConsolidationOverride < CustomConsolidationConfiguration; end
|
|
1645
2445
|
class UserPreferenceConsolidationOverride < CustomConsolidationConfiguration; end
|
|
2446
|
+
class EpisodicConsolidationOverride < CustomConsolidationConfiguration; end
|
|
1646
2447
|
class Unknown < CustomConsolidationConfiguration; end
|
|
1647
2448
|
end
|
|
1648
2449
|
|
|
@@ -1662,12 +2463,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
1662
2463
|
# The user preference consolidation override configuration input.
|
|
1663
2464
|
# @return [Types::UserPreferenceOverrideConsolidationConfigurationInput]
|
|
1664
2465
|
#
|
|
2466
|
+
# @!attribute [rw] episodic_consolidation_override
|
|
2467
|
+
# Configurations to override the consolidation step of the episodic
|
|
2468
|
+
# strategy.
|
|
2469
|
+
# @return [Types::EpisodicOverrideConsolidationConfigurationInput]
|
|
2470
|
+
#
|
|
1665
2471
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomConsolidationConfigurationInput AWS API Documentation
|
|
1666
2472
|
#
|
|
1667
2473
|
class CustomConsolidationConfigurationInput < Struct.new(
|
|
1668
2474
|
:semantic_consolidation_override,
|
|
1669
2475
|
:summary_consolidation_override,
|
|
1670
2476
|
:user_preference_consolidation_override,
|
|
2477
|
+
:episodic_consolidation_override,
|
|
1671
2478
|
:unknown)
|
|
1672
2479
|
SENSITIVE = []
|
|
1673
2480
|
include Aws::Structure
|
|
@@ -1676,6 +2483,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1676
2483
|
class SemanticConsolidationOverride < CustomConsolidationConfigurationInput; end
|
|
1677
2484
|
class SummaryConsolidationOverride < CustomConsolidationConfigurationInput; end
|
|
1678
2485
|
class UserPreferenceConsolidationOverride < CustomConsolidationConfigurationInput; end
|
|
2486
|
+
class EpisodicConsolidationOverride < CustomConsolidationConfigurationInput; end
|
|
1679
2487
|
class Unknown < CustomConsolidationConfigurationInput; end
|
|
1680
2488
|
end
|
|
1681
2489
|
|
|
@@ -1691,11 +2499,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
1691
2499
|
# The user preference extraction override configuration.
|
|
1692
2500
|
# @return [Types::UserPreferenceExtractionOverride]
|
|
1693
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
|
+
#
|
|
1694
2507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomExtractionConfiguration AWS API Documentation
|
|
1695
2508
|
#
|
|
1696
2509
|
class CustomExtractionConfiguration < Struct.new(
|
|
1697
2510
|
:semantic_extraction_override,
|
|
1698
2511
|
:user_preference_extraction_override,
|
|
2512
|
+
:episodic_extraction_override,
|
|
1699
2513
|
:unknown)
|
|
1700
2514
|
SENSITIVE = []
|
|
1701
2515
|
include Aws::Structure
|
|
@@ -1703,6 +2517,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1703
2517
|
|
|
1704
2518
|
class SemanticExtractionOverride < CustomExtractionConfiguration; end
|
|
1705
2519
|
class UserPreferenceExtractionOverride < CustomExtractionConfiguration; end
|
|
2520
|
+
class EpisodicExtractionOverride < CustomExtractionConfiguration; end
|
|
1706
2521
|
class Unknown < CustomExtractionConfiguration; end
|
|
1707
2522
|
end
|
|
1708
2523
|
|
|
@@ -1718,11 +2533,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
1718
2533
|
# The user preference extraction override configuration input.
|
|
1719
2534
|
# @return [Types::UserPreferenceOverrideExtractionConfigurationInput]
|
|
1720
2535
|
#
|
|
2536
|
+
# @!attribute [rw] episodic_extraction_override
|
|
2537
|
+
# Configurations to override the extraction step of the episodic
|
|
2538
|
+
# strategy.
|
|
2539
|
+
# @return [Types::EpisodicOverrideExtractionConfigurationInput]
|
|
2540
|
+
#
|
|
1721
2541
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomExtractionConfigurationInput AWS API Documentation
|
|
1722
2542
|
#
|
|
1723
2543
|
class CustomExtractionConfigurationInput < Struct.new(
|
|
1724
2544
|
:semantic_extraction_override,
|
|
1725
2545
|
:user_preference_extraction_override,
|
|
2546
|
+
:episodic_extraction_override,
|
|
1726
2547
|
:unknown)
|
|
1727
2548
|
SENSITIVE = []
|
|
1728
2549
|
include Aws::Structure
|
|
@@ -1730,6 +2551,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1730
2551
|
|
|
1731
2552
|
class SemanticExtractionOverride < CustomExtractionConfigurationInput; end
|
|
1732
2553
|
class UserPreferenceExtractionOverride < CustomExtractionConfigurationInput; end
|
|
2554
|
+
class EpisodicExtractionOverride < CustomExtractionConfigurationInput; end
|
|
1733
2555
|
class Unknown < CustomExtractionConfigurationInput; end
|
|
1734
2556
|
end
|
|
1735
2557
|
|
|
@@ -1751,12 +2573,23 @@ module Aws::BedrockAgentCoreControl
|
|
|
1751
2573
|
# JWT token validation process.
|
|
1752
2574
|
# @return [Array<String>]
|
|
1753
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
|
+
#
|
|
1754
2585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomJWTAuthorizerConfiguration AWS API Documentation
|
|
1755
2586
|
#
|
|
1756
2587
|
class CustomJWTAuthorizerConfiguration < Struct.new(
|
|
1757
2588
|
:discovery_url,
|
|
1758
2589
|
:allowed_audience,
|
|
1759
|
-
:allowed_clients
|
|
2590
|
+
:allowed_clients,
|
|
2591
|
+
:allowed_scopes,
|
|
2592
|
+
:custom_claims)
|
|
1760
2593
|
SENSITIVE = []
|
|
1761
2594
|
include Aws::Structure
|
|
1762
2595
|
end
|
|
@@ -1833,6 +2666,74 @@ module Aws::BedrockAgentCoreControl
|
|
|
1833
2666
|
include Aws::Structure
|
|
1834
2667
|
end
|
|
1835
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
|
+
|
|
1836
2737
|
# Exception thrown when decryption of a secret fails.
|
|
1837
2738
|
#
|
|
1838
2739
|
# @!attribute [rw] message
|
|
@@ -2037,31 +2938,65 @@ module Aws::BedrockAgentCoreControl
|
|
|
2037
2938
|
include Aws::Structure
|
|
2038
2939
|
end
|
|
2039
2940
|
|
|
2040
|
-
# @!attribute [rw]
|
|
2041
|
-
# The identifier of the
|
|
2941
|
+
# @!attribute [rw] evaluator_id
|
|
2942
|
+
# The unique identifier of the evaluator to delete.
|
|
2042
2943
|
# @return [String]
|
|
2043
2944
|
#
|
|
2044
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/
|
|
2945
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteEvaluatorRequest AWS API Documentation
|
|
2045
2946
|
#
|
|
2046
|
-
class
|
|
2047
|
-
:
|
|
2947
|
+
class DeleteEvaluatorRequest < Struct.new(
|
|
2948
|
+
:evaluator_id)
|
|
2048
2949
|
SENSITIVE = []
|
|
2049
2950
|
include Aws::Structure
|
|
2050
2951
|
end
|
|
2051
2952
|
|
|
2052
|
-
# @!attribute [rw]
|
|
2053
|
-
# The
|
|
2953
|
+
# @!attribute [rw] evaluator_arn
|
|
2954
|
+
# The Amazon Resource Name (ARN) of the deleted evaluator.
|
|
2054
2955
|
# @return [String]
|
|
2055
2956
|
#
|
|
2056
|
-
# @!attribute [rw]
|
|
2057
|
-
# The
|
|
2957
|
+
# @!attribute [rw] evaluator_id
|
|
2958
|
+
# The unique identifier of the deleted evaluator.
|
|
2058
2959
|
# @return [String]
|
|
2059
2960
|
#
|
|
2060
|
-
# @!attribute [rw]
|
|
2061
|
-
# The
|
|
2062
|
-
# @return [
|
|
2961
|
+
# @!attribute [rw] status
|
|
2962
|
+
# The status of the evaluator deletion operation.
|
|
2963
|
+
# @return [String]
|
|
2063
2964
|
#
|
|
2064
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/
|
|
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
|
+
|
|
2975
|
+
# @!attribute [rw] gateway_identifier
|
|
2976
|
+
# The identifier of the gateway to delete.
|
|
2977
|
+
# @return [String]
|
|
2978
|
+
#
|
|
2979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteGatewayRequest AWS API Documentation
|
|
2980
|
+
#
|
|
2981
|
+
class DeleteGatewayRequest < Struct.new(
|
|
2982
|
+
:gateway_identifier)
|
|
2983
|
+
SENSITIVE = []
|
|
2984
|
+
include Aws::Structure
|
|
2985
|
+
end
|
|
2986
|
+
|
|
2987
|
+
# @!attribute [rw] gateway_id
|
|
2988
|
+
# The unique identifier of the deleted gateway.
|
|
2989
|
+
# @return [String]
|
|
2990
|
+
#
|
|
2991
|
+
# @!attribute [rw] status
|
|
2992
|
+
# The current status of the gateway deletion.
|
|
2993
|
+
# @return [String]
|
|
2994
|
+
#
|
|
2995
|
+
# @!attribute [rw] status_reasons
|
|
2996
|
+
# The reasons for the current status of the gateway deletion.
|
|
2997
|
+
# @return [Array<String>]
|
|
2998
|
+
#
|
|
2999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteGatewayResponse AWS API Documentation
|
|
2065
3000
|
#
|
|
2066
3001
|
class DeleteGatewayResponse < Struct.new(
|
|
2067
3002
|
:gateway_id,
|
|
@@ -2184,6 +3119,222 @@ module Aws::BedrockAgentCoreControl
|
|
|
2184
3119
|
#
|
|
2185
3120
|
class DeleteOauth2CredentialProviderResponse < Aws::EmptyStructure; end
|
|
2186
3121
|
|
|
3122
|
+
# @!attribute [rw] online_evaluation_config_id
|
|
3123
|
+
# The unique identifier of the online evaluation configuration to
|
|
3124
|
+
# delete.
|
|
3125
|
+
# @return [String]
|
|
3126
|
+
#
|
|
3127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteOnlineEvaluationConfigRequest AWS API Documentation
|
|
3128
|
+
#
|
|
3129
|
+
class DeleteOnlineEvaluationConfigRequest < Struct.new(
|
|
3130
|
+
:online_evaluation_config_id)
|
|
3131
|
+
SENSITIVE = []
|
|
3132
|
+
include Aws::Structure
|
|
3133
|
+
end
|
|
3134
|
+
|
|
3135
|
+
# @!attribute [rw] online_evaluation_config_arn
|
|
3136
|
+
# The Amazon Resource Name (ARN) of the deleted online evaluation
|
|
3137
|
+
# configuration.
|
|
3138
|
+
# @return [String]
|
|
3139
|
+
#
|
|
3140
|
+
# @!attribute [rw] online_evaluation_config_id
|
|
3141
|
+
# The unique identifier of the deleted online evaluation
|
|
3142
|
+
# configuration.
|
|
3143
|
+
# @return [String]
|
|
3144
|
+
#
|
|
3145
|
+
# @!attribute [rw] status
|
|
3146
|
+
# The status of the online evaluation configuration deletion
|
|
3147
|
+
# operation.
|
|
3148
|
+
# @return [String]
|
|
3149
|
+
#
|
|
3150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteOnlineEvaluationConfigResponse AWS API Documentation
|
|
3151
|
+
#
|
|
3152
|
+
class DeleteOnlineEvaluationConfigResponse < Struct.new(
|
|
3153
|
+
:online_evaluation_config_arn,
|
|
3154
|
+
:online_evaluation_config_id,
|
|
3155
|
+
:status)
|
|
3156
|
+
SENSITIVE = []
|
|
3157
|
+
include Aws::Structure
|
|
3158
|
+
end
|
|
3159
|
+
|
|
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]
|
|
3164
|
+
#
|
|
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
|
+
|
|
2187
3338
|
# @!attribute [rw] name
|
|
2188
3339
|
# The name of the workload identity to delete.
|
|
2189
3340
|
# @return [String]
|
|
@@ -2213,6 +3364,376 @@ module Aws::BedrockAgentCoreControl
|
|
|
2213
3364
|
include Aws::Structure
|
|
2214
3365
|
end
|
|
2215
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
|
+
|
|
2216
3737
|
# Contains extraction configuration information for a memory strategy.
|
|
2217
3738
|
#
|
|
2218
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.
|
|
@@ -2234,6 +3755,167 @@ module Aws::BedrockAgentCoreControl
|
|
|
2234
3755
|
class Unknown < ExtractionConfiguration; end
|
|
2235
3756
|
end
|
|
2236
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
|
|
3851
|
+
end
|
|
3852
|
+
|
|
3853
|
+
# The configuration for an interceptor on a gateway. This structure
|
|
3854
|
+
# defines settings for an interceptor that will be invoked during the
|
|
3855
|
+
# invocation of the gateway.
|
|
3856
|
+
#
|
|
3857
|
+
# @!attribute [rw] interceptor
|
|
3858
|
+
# The infrastructure settings of an interceptor configuration. This
|
|
3859
|
+
# structure defines how the interceptor can be invoked.
|
|
3860
|
+
# @return [Types::InterceptorConfiguration]
|
|
3861
|
+
#
|
|
3862
|
+
# @!attribute [rw] interception_points
|
|
3863
|
+
# The supported points of interception. This field specifies which
|
|
3864
|
+
# points during the gateway invocation to invoke the interceptor
|
|
3865
|
+
# @return [Array<String>]
|
|
3866
|
+
#
|
|
3867
|
+
# @!attribute [rw] input_configuration
|
|
3868
|
+
# The configuration for the input of the interceptor. This field
|
|
3869
|
+
# specifies how the input to the interceptor is constructed
|
|
3870
|
+
# @return [Types::InterceptorInputConfiguration]
|
|
3871
|
+
#
|
|
3872
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GatewayInterceptorConfiguration AWS API Documentation
|
|
3873
|
+
#
|
|
3874
|
+
class GatewayInterceptorConfiguration < Struct.new(
|
|
3875
|
+
:interceptor,
|
|
3876
|
+
:interception_points,
|
|
3877
|
+
:input_configuration)
|
|
3878
|
+
SENSITIVE = []
|
|
3879
|
+
include Aws::Structure
|
|
3880
|
+
end
|
|
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
|
+
|
|
2237
3919
|
# The configuration for a gateway protocol. This structure defines how
|
|
2238
3920
|
# the gateway communicates with external services.
|
|
2239
3921
|
#
|
|
@@ -2514,6 +4196,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
2514
4196
|
# The life cycle configuration for the AgentCore Runtime.
|
|
2515
4197
|
# @return [Types::LifecycleConfiguration]
|
|
2516
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
|
+
#
|
|
2517
4204
|
# @!attribute [rw] description
|
|
2518
4205
|
# The description of the AgentCore Runtime.
|
|
2519
4206
|
# @return [String]
|
|
@@ -2557,6 +4244,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
2557
4244
|
:network_configuration,
|
|
2558
4245
|
:status,
|
|
2559
4246
|
:lifecycle_configuration,
|
|
4247
|
+
:failure_reason,
|
|
2560
4248
|
:description,
|
|
2561
4249
|
:workload_identity_details,
|
|
2562
4250
|
:agent_runtime_artifact,
|
|
@@ -2765,6 +4453,80 @@ module Aws::BedrockAgentCoreControl
|
|
|
2765
4453
|
include Aws::Structure
|
|
2766
4454
|
end
|
|
2767
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
|
+
|
|
2768
4530
|
# @!attribute [rw] gateway_identifier
|
|
2769
4531
|
# The identifier of the gateway to retrieve.
|
|
2770
4532
|
# @return [String]
|
|
@@ -2839,6 +4601,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
2839
4601
|
# gateway.
|
|
2840
4602
|
# @return [String]
|
|
2841
4603
|
#
|
|
4604
|
+
# @!attribute [rw] interceptor_configurations
|
|
4605
|
+
# The interceptors configured on the gateway.
|
|
4606
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
4607
|
+
#
|
|
4608
|
+
# @!attribute [rw] policy_engine_configuration
|
|
4609
|
+
# The policy engine configuration for the gateway.
|
|
4610
|
+
# @return [Types::GatewayPolicyEngineConfiguration]
|
|
4611
|
+
#
|
|
2842
4612
|
# @!attribute [rw] workload_identity_details
|
|
2843
4613
|
# The workload identity details for the gateway.
|
|
2844
4614
|
# @return [Types::WorkloadIdentityDetails]
|
|
@@ -2872,6 +4642,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
2872
4642
|
:authorizer_type,
|
|
2873
4643
|
:authorizer_configuration,
|
|
2874
4644
|
:kms_key_arn,
|
|
4645
|
+
:interceptor_configurations,
|
|
4646
|
+
:policy_engine_configuration,
|
|
2875
4647
|
:workload_identity_details,
|
|
2876
4648
|
:exception_level)
|
|
2877
4649
|
SENSITIVE = [:name, :description]
|
|
@@ -3007,39 +4779,423 @@ module Aws::BedrockAgentCoreControl
|
|
|
3007
4779
|
# ARN of the credential provider requested.
|
|
3008
4780
|
# @return [String]
|
|
3009
4781
|
#
|
|
3010
|
-
# @!attribute [rw] credential_provider_vendor
|
|
3011
|
-
# The vendor of the OAuth2 credential provider.
|
|
3012
|
-
# @return [String]
|
|
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]
|
|
5099
|
+
#
|
|
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)
|
|
5105
|
+
SENSITIVE = []
|
|
5106
|
+
include Aws::Structure
|
|
5107
|
+
end
|
|
5108
|
+
|
|
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]
|
|
5114
|
+
#
|
|
5115
|
+
# @!attribute [rw] name
|
|
5116
|
+
# The customer-assigned name of the policy. This is the human-readable
|
|
5117
|
+
# identifier that was specified when the policy was created.
|
|
5118
|
+
# @return [String]
|
|
5119
|
+
#
|
|
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.
|
|
5123
|
+
# @return [String]
|
|
5124
|
+
#
|
|
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]
|
|
5130
|
+
#
|
|
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.
|
|
5135
|
+
# @return [String]
|
|
5136
|
+
#
|
|
5137
|
+
# @!attribute [rw] created_at
|
|
5138
|
+
# The timestamp when the policy was originally created.
|
|
5139
|
+
# @return [Time]
|
|
5140
|
+
#
|
|
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.
|
|
5144
|
+
# @return [Time]
|
|
5145
|
+
#
|
|
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]
|
|
5151
|
+
#
|
|
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,
|
|
5165
|
+
:name,
|
|
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
|
|
3013
5184
|
#
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
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.
|
|
3018
5193
|
# @return [String]
|
|
3019
5194
|
#
|
|
3020
|
-
#
|
|
3021
|
-
# The configuration output for the OAuth2 provider.
|
|
3022
|
-
# @return [Types::Oauth2ProviderConfigOutput]
|
|
3023
|
-
#
|
|
3024
|
-
# @!attribute [rw] created_time
|
|
3025
|
-
# The timestamp when the OAuth2 credential provider was created.
|
|
3026
|
-
# @return [Time]
|
|
3027
|
-
#
|
|
3028
|
-
# @!attribute [rw] last_updated_time
|
|
3029
|
-
# The timestamp when the OAuth2 credential provider was last updated.
|
|
3030
|
-
# @return [Time]
|
|
3031
|
-
#
|
|
3032
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetOauth2CredentialProviderResponse AWS API Documentation
|
|
5195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetResourcePolicyResponse AWS API Documentation
|
|
3033
5196
|
#
|
|
3034
|
-
class
|
|
3035
|
-
:
|
|
3036
|
-
:name,
|
|
3037
|
-
:credential_provider_arn,
|
|
3038
|
-
:credential_provider_vendor,
|
|
3039
|
-
:callback_url,
|
|
3040
|
-
:oauth2_provider_config_output,
|
|
3041
|
-
:created_time,
|
|
3042
|
-
:last_updated_time)
|
|
5197
|
+
class GetResourcePolicyResponse < Struct.new(
|
|
5198
|
+
:policy)
|
|
3043
5199
|
SENSITIVE = []
|
|
3044
5200
|
include Aws::Structure
|
|
3045
5201
|
end
|
|
@@ -3263,6 +5419,79 @@ module Aws::BedrockAgentCoreControl
|
|
|
3263
5419
|
include Aws::Structure
|
|
3264
5420
|
end
|
|
3265
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
|
+
|
|
5457
|
+
# The interceptor configuration.
|
|
5458
|
+
#
|
|
5459
|
+
# @note InterceptorConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
5460
|
+
#
|
|
5461
|
+
# @note InterceptorConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of InterceptorConfiguration corresponding to the set member.
|
|
5462
|
+
#
|
|
5463
|
+
# @!attribute [rw] lambda
|
|
5464
|
+
# The details of the lambda function used for the interceptor.
|
|
5465
|
+
# @return [Types::LambdaInterceptorConfiguration]
|
|
5466
|
+
#
|
|
5467
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/InterceptorConfiguration AWS API Documentation
|
|
5468
|
+
#
|
|
5469
|
+
class InterceptorConfiguration < Struct.new(
|
|
5470
|
+
:lambda,
|
|
5471
|
+
:unknown)
|
|
5472
|
+
SENSITIVE = []
|
|
5473
|
+
include Aws::Structure
|
|
5474
|
+
include Aws::Structure::Union
|
|
5475
|
+
|
|
5476
|
+
class Lambda < InterceptorConfiguration; end
|
|
5477
|
+
class Unknown < InterceptorConfiguration; end
|
|
5478
|
+
end
|
|
5479
|
+
|
|
5480
|
+
# The input configuration of the interceptor.
|
|
5481
|
+
#
|
|
5482
|
+
# @!attribute [rw] pass_request_headers
|
|
5483
|
+
# Indicates whether to pass request headers as input into the
|
|
5484
|
+
# interceptor. When set to true, request headers will be passed.
|
|
5485
|
+
# @return [Boolean]
|
|
5486
|
+
#
|
|
5487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/InterceptorInputConfiguration AWS API Documentation
|
|
5488
|
+
#
|
|
5489
|
+
class InterceptorInputConfiguration < Struct.new(
|
|
5490
|
+
:pass_request_headers)
|
|
5491
|
+
SENSITIVE = []
|
|
5492
|
+
include Aws::Structure
|
|
5493
|
+
end
|
|
5494
|
+
|
|
3266
5495
|
# This exception is thrown if there was an unexpected error during
|
|
3267
5496
|
# processing of request
|
|
3268
5497
|
#
|
|
@@ -3336,6 +5565,20 @@ module Aws::BedrockAgentCoreControl
|
|
|
3336
5565
|
include Aws::Structure
|
|
3337
5566
|
end
|
|
3338
5567
|
|
|
5568
|
+
# The lambda configuration for the interceptor
|
|
5569
|
+
#
|
|
5570
|
+
# @!attribute [rw] arn
|
|
5571
|
+
# The arn of the lambda function to be invoked for the interceptor.
|
|
5572
|
+
# @return [String]
|
|
5573
|
+
#
|
|
5574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/LambdaInterceptorConfiguration AWS API Documentation
|
|
5575
|
+
#
|
|
5576
|
+
class LambdaInterceptorConfiguration < Struct.new(
|
|
5577
|
+
:arn)
|
|
5578
|
+
SENSITIVE = []
|
|
5579
|
+
include Aws::Structure
|
|
5580
|
+
end
|
|
5581
|
+
|
|
3339
5582
|
# LifecycleConfiguration lets you manage the lifecycle of runtime
|
|
3340
5583
|
# sessions and resources in AgentCore Runtime. This configuration helps
|
|
3341
5584
|
# optimize resource utilization by automatically cleaning up idle
|
|
@@ -3636,6 +5879,43 @@ module Aws::BedrockAgentCoreControl
|
|
|
3636
5879
|
include Aws::Structure
|
|
3637
5880
|
end
|
|
3638
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
|
+
|
|
3639
5919
|
# @!attribute [rw] gateway_identifier
|
|
3640
5920
|
# The identifier of the gateway to list targets for.
|
|
3641
5921
|
# @return [String]
|
|
@@ -3752,47 +6032,313 @@ module Aws::BedrockAgentCoreControl
|
|
|
3752
6032
|
# @return [Array<Types::MemorySummary>]
|
|
3753
6033
|
#
|
|
3754
6034
|
# @!attribute [rw] next_token
|
|
3755
|
-
# 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
|
|
3756
6292
|
# @return [String]
|
|
3757
6293
|
#
|
|
3758
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/
|
|
6294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPolicyGenerationAssetsResponse AWS API Documentation
|
|
3759
6295
|
#
|
|
3760
|
-
class
|
|
3761
|
-
:
|
|
6296
|
+
class ListPolicyGenerationAssetsResponse < Struct.new(
|
|
6297
|
+
:policy_generation_assets,
|
|
3762
6298
|
:next_token)
|
|
3763
6299
|
SENSITIVE = []
|
|
3764
6300
|
include Aws::Structure
|
|
3765
6301
|
end
|
|
3766
6302
|
|
|
3767
6303
|
# @!attribute [rw] next_token
|
|
3768
|
-
#
|
|
6304
|
+
# A pagination token for retrieving additional policy generations when
|
|
6305
|
+
# results are paginated.
|
|
3769
6306
|
# @return [String]
|
|
3770
6307
|
#
|
|
3771
6308
|
# @!attribute [rw] max_results
|
|
3772
|
-
#
|
|
6309
|
+
# The maximum number of policy generations to return in a single
|
|
6310
|
+
# response.
|
|
3773
6311
|
# @return [Integer]
|
|
3774
6312
|
#
|
|
3775
|
-
#
|
|
6313
|
+
# @!attribute [rw] policy_engine_id
|
|
6314
|
+
# The identifier of the policy engine whose policy generations to
|
|
6315
|
+
# retrieve.
|
|
6316
|
+
# @return [String]
|
|
3776
6317
|
#
|
|
3777
|
-
|
|
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(
|
|
3778
6321
|
:next_token,
|
|
3779
|
-
:max_results
|
|
6322
|
+
:max_results,
|
|
6323
|
+
:policy_engine_id)
|
|
3780
6324
|
SENSITIVE = []
|
|
3781
6325
|
include Aws::Structure
|
|
3782
6326
|
end
|
|
3783
6327
|
|
|
3784
|
-
# @!attribute [rw]
|
|
3785
|
-
#
|
|
3786
|
-
#
|
|
6328
|
+
# @!attribute [rw] policy_generations
|
|
6329
|
+
# An array of policy generation objects that match the specified
|
|
6330
|
+
# criteria.
|
|
6331
|
+
# @return [Array<Types::PolicyGeneration>]
|
|
3787
6332
|
#
|
|
3788
6333
|
# @!attribute [rw] next_token
|
|
3789
|
-
#
|
|
6334
|
+
# A pagination token for retrieving additional policy generations if
|
|
6335
|
+
# more results are available.
|
|
3790
6336
|
# @return [String]
|
|
3791
6337
|
#
|
|
3792
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/
|
|
6338
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPolicyGenerationsResponse AWS API Documentation
|
|
3793
6339
|
#
|
|
3794
|
-
class
|
|
3795
|
-
:
|
|
6340
|
+
class ListPolicyGenerationsResponse < Struct.new(
|
|
6341
|
+
:policy_generations,
|
|
3796
6342
|
:next_token)
|
|
3797
6343
|
SENSITIVE = []
|
|
3798
6344
|
include Aws::Structure
|
|
@@ -3857,6 +6403,36 @@ module Aws::BedrockAgentCoreControl
|
|
|
3857
6403
|
include Aws::Structure
|
|
3858
6404
|
end
|
|
3859
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
|
+
|
|
3860
6436
|
# The configuration for a Model Context Protocol (MCP) gateway. This
|
|
3861
6437
|
# structure defines how the gateway implements the MCP protocol.
|
|
3862
6438
|
#
|
|
@@ -3951,6 +6527,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
3951
6527
|
# The MCP server specified as the gateway target.
|
|
3952
6528
|
# @return [Types::McpServerTargetConfiguration]
|
|
3953
6529
|
#
|
|
6530
|
+
# @!attribute [rw] api_gateway
|
|
6531
|
+
# The configuration for an Amazon API Gateway target.
|
|
6532
|
+
# @return [Types::ApiGatewayTargetConfiguration]
|
|
6533
|
+
#
|
|
3954
6534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/McpTargetConfiguration AWS API Documentation
|
|
3955
6535
|
#
|
|
3956
6536
|
class McpTargetConfiguration < Struct.new(
|
|
@@ -3958,6 +6538,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3958
6538
|
:smithy_model,
|
|
3959
6539
|
:lambda,
|
|
3960
6540
|
:mcp_server,
|
|
6541
|
+
:api_gateway,
|
|
3961
6542
|
:unknown)
|
|
3962
6543
|
SENSITIVE = []
|
|
3963
6544
|
include Aws::Structure
|
|
@@ -3967,6 +6548,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3967
6548
|
class SmithyModel < McpTargetConfiguration; end
|
|
3968
6549
|
class Lambda < McpTargetConfiguration; end
|
|
3969
6550
|
class McpServer < McpTargetConfiguration; end
|
|
6551
|
+
class ApiGateway < McpTargetConfiguration; end
|
|
3970
6552
|
class Unknown < McpTargetConfiguration; end
|
|
3971
6553
|
end
|
|
3972
6554
|
|
|
@@ -4113,6 +6695,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
4113
6695
|
# Input for creating a custom memory strategy.
|
|
4114
6696
|
# @return [Types::CustomMemoryStrategyInput]
|
|
4115
6697
|
#
|
|
6698
|
+
# @!attribute [rw] episodic_memory_strategy
|
|
6699
|
+
# Input for creating an episodic memory strategy
|
|
6700
|
+
# @return [Types::EpisodicMemoryStrategyInput]
|
|
6701
|
+
#
|
|
4116
6702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MemoryStrategyInput AWS API Documentation
|
|
4117
6703
|
#
|
|
4118
6704
|
class MemoryStrategyInput < Struct.new(
|
|
@@ -4120,6 +6706,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4120
6706
|
:summary_memory_strategy,
|
|
4121
6707
|
:user_preference_memory_strategy,
|
|
4122
6708
|
:custom_memory_strategy,
|
|
6709
|
+
:episodic_memory_strategy,
|
|
4123
6710
|
:unknown)
|
|
4124
6711
|
SENSITIVE = []
|
|
4125
6712
|
include Aws::Structure
|
|
@@ -4129,6 +6716,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4129
6716
|
class SummaryMemoryStrategy < MemoryStrategyInput; end
|
|
4130
6717
|
class UserPreferenceMemoryStrategy < MemoryStrategyInput; end
|
|
4131
6718
|
class CustomMemoryStrategy < MemoryStrategyInput; end
|
|
6719
|
+
class EpisodicMemoryStrategy < MemoryStrategyInput; end
|
|
4132
6720
|
class Unknown < MemoryStrategyInput; end
|
|
4133
6721
|
end
|
|
4134
6722
|
|
|
@@ -4353,6 +6941,33 @@ module Aws::BedrockAgentCoreControl
|
|
|
4353
6941
|
include Aws::Structure
|
|
4354
6942
|
end
|
|
4355
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
|
+
|
|
4356
6971
|
# The configuration for updating the self-managed memory strategy.
|
|
4357
6972
|
#
|
|
4358
6973
|
# @!attribute [rw] trigger_conditions
|
|
@@ -4389,6 +7004,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
4389
7004
|
# The updated consolidation configuration.
|
|
4390
7005
|
# @return [Types::ModifyConsolidationConfiguration]
|
|
4391
7006
|
#
|
|
7007
|
+
# @!attribute [rw] reflection
|
|
7008
|
+
# The updated reflection configuration.
|
|
7009
|
+
# @return [Types::ModifyReflectionConfiguration]
|
|
7010
|
+
#
|
|
4392
7011
|
# @!attribute [rw] self_managed_configuration
|
|
4393
7012
|
# The updated self-managed configuration.
|
|
4394
7013
|
# @return [Types::ModifySelfManagedConfiguration]
|
|
@@ -4398,6 +7017,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4398
7017
|
class ModifyStrategyConfiguration < Struct.new(
|
|
4399
7018
|
:extraction,
|
|
4400
7019
|
:consolidation,
|
|
7020
|
+
:reflection,
|
|
4401
7021
|
:self_managed_configuration)
|
|
4402
7022
|
SENSITIVE = []
|
|
4403
7023
|
include Aws::Structure
|
|
@@ -4422,6 +7042,32 @@ module Aws::BedrockAgentCoreControl
|
|
|
4422
7042
|
include Aws::Structure
|
|
4423
7043
|
end
|
|
4424
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
|
+
|
|
4425
7071
|
# An OAuth credential provider for gateway authentication. This
|
|
4426
7072
|
# structure contains the configuration for authenticating with the
|
|
4427
7073
|
# target endpoint using OAuth.
|
|
@@ -4442,12 +7088,29 @@ module Aws::BedrockAgentCoreControl
|
|
|
4442
7088
|
# authentication process.
|
|
4443
7089
|
# @return [Hash<String,String>]
|
|
4444
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
|
+
#
|
|
4445
7106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OAuthCredentialProvider AWS API Documentation
|
|
4446
7107
|
#
|
|
4447
7108
|
class OAuthCredentialProvider < Struct.new(
|
|
4448
7109
|
:provider_arn,
|
|
4449
7110
|
:scopes,
|
|
4450
|
-
:custom_parameters
|
|
7111
|
+
:custom_parameters,
|
|
7112
|
+
:grant_type,
|
|
7113
|
+
:default_return_url)
|
|
4451
7114
|
SENSITIVE = [:custom_parameters]
|
|
4452
7115
|
include Aws::Structure
|
|
4453
7116
|
end
|
|
@@ -4608,89 +7271,484 @@ module Aws::BedrockAgentCoreControl
|
|
|
4608
7271
|
:unknown)
|
|
4609
7272
|
SENSITIVE = []
|
|
4610
7273
|
include Aws::Structure
|
|
4611
|
-
include Aws::Structure::Union
|
|
4612
|
-
|
|
4613
|
-
class CustomOauth2ProviderConfig < Oauth2ProviderConfigInput; end
|
|
4614
|
-
class GoogleOauth2ProviderConfig < Oauth2ProviderConfigInput; end
|
|
4615
|
-
class GithubOauth2ProviderConfig < Oauth2ProviderConfigInput; end
|
|
4616
|
-
class SlackOauth2ProviderConfig < Oauth2ProviderConfigInput; end
|
|
4617
|
-
class SalesforceOauth2ProviderConfig < Oauth2ProviderConfigInput; end
|
|
4618
|
-
class MicrosoftOauth2ProviderConfig < Oauth2ProviderConfigInput; end
|
|
4619
|
-
class AtlassianOauth2ProviderConfig < Oauth2ProviderConfigInput; end
|
|
4620
|
-
class LinkedinOauth2ProviderConfig < Oauth2ProviderConfigInput; end
|
|
4621
|
-
class IncludedOauth2ProviderConfig < Oauth2ProviderConfigInput; end
|
|
4622
|
-
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
|
|
4623
7630
|
end
|
|
4624
7631
|
|
|
4625
|
-
#
|
|
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.
|
|
4626
7644
|
#
|
|
4627
|
-
#
|
|
7645
|
+
# @!attribute [rw] policy_engine_id
|
|
7646
|
+
# The identifier of the policy engine associated with this generation
|
|
7647
|
+
# request.
|
|
7648
|
+
# @return [String]
|
|
4628
7649
|
#
|
|
4629
|
-
# @!attribute [rw]
|
|
4630
|
-
# The
|
|
4631
|
-
# @return [
|
|
7650
|
+
# @!attribute [rw] policy_generation_id
|
|
7651
|
+
# The unique identifier for this policy generation request.
|
|
7652
|
+
# @return [String]
|
|
4632
7653
|
#
|
|
4633
|
-
# @!attribute [rw]
|
|
4634
|
-
# The
|
|
4635
|
-
# @return [
|
|
7654
|
+
# @!attribute [rw] name
|
|
7655
|
+
# The customer-assigned name for this policy generation request.
|
|
7656
|
+
# @return [String]
|
|
4636
7657
|
#
|
|
4637
|
-
# @!attribute [rw]
|
|
4638
|
-
# The
|
|
4639
|
-
# @return [
|
|
7658
|
+
# @!attribute [rw] policy_generation_arn
|
|
7659
|
+
# The ARN of this policy generation request.
|
|
7660
|
+
# @return [String]
|
|
4640
7661
|
#
|
|
4641
|
-
# @!attribute [rw]
|
|
4642
|
-
# The
|
|
4643
|
-
# @return [Types::
|
|
7662
|
+
# @!attribute [rw] resource
|
|
7663
|
+
# The resource information associated with this policy generation.
|
|
7664
|
+
# @return [Types::Resource]
|
|
4644
7665
|
#
|
|
4645
|
-
# @!attribute [rw]
|
|
4646
|
-
# The
|
|
4647
|
-
# @return [
|
|
7666
|
+
# @!attribute [rw] created_at
|
|
7667
|
+
# The timestamp when this policy generation request was created.
|
|
7668
|
+
# @return [Time]
|
|
4648
7669
|
#
|
|
4649
|
-
# @!attribute [rw]
|
|
4650
|
-
# The
|
|
4651
|
-
# @return [
|
|
7670
|
+
# @!attribute [rw] updated_at
|
|
7671
|
+
# The timestamp when this policy generation was last updated.
|
|
7672
|
+
# @return [Time]
|
|
4652
7673
|
#
|
|
4653
|
-
# @!attribute [rw]
|
|
4654
|
-
# The
|
|
4655
|
-
# @return [
|
|
7674
|
+
# @!attribute [rw] status
|
|
7675
|
+
# The current status of this policy generation request.
|
|
7676
|
+
# @return [String]
|
|
4656
7677
|
#
|
|
4657
|
-
# @!attribute [rw]
|
|
4658
|
-
#
|
|
4659
|
-
# @return [
|
|
7678
|
+
# @!attribute [rw] status_reasons
|
|
7679
|
+
# Additional information about the generation status.
|
|
7680
|
+
# @return [Array<String>]
|
|
4660
7681
|
#
|
|
4661
|
-
# @!attribute [rw]
|
|
4662
|
-
#
|
|
4663
|
-
#
|
|
4664
|
-
# built-in integration support.
|
|
4665
|
-
# @return [Types::IncludedOauth2ProviderConfigOutput]
|
|
7682
|
+
# @!attribute [rw] findings
|
|
7683
|
+
# Findings and insights from this policy generation process.
|
|
7684
|
+
# @return [String]
|
|
4666
7685
|
#
|
|
4667
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/
|
|
7686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PolicyGeneration AWS API Documentation
|
|
4668
7687
|
#
|
|
4669
|
-
class
|
|
4670
|
-
:
|
|
4671
|
-
:
|
|
4672
|
-
:
|
|
4673
|
-
:
|
|
4674
|
-
:
|
|
4675
|
-
:
|
|
4676
|
-
:
|
|
4677
|
-
:
|
|
4678
|
-
:
|
|
4679
|
-
:
|
|
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)
|
|
4680
7699
|
SENSITIVE = []
|
|
4681
7700
|
include Aws::Structure
|
|
4682
|
-
|
|
7701
|
+
end
|
|
4683
7702
|
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
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
|
|
4694
7752
|
end
|
|
4695
7753
|
|
|
4696
7754
|
# The protocol configuration for an agent runtime. This structure
|
|
@@ -4709,6 +7767,68 @@ module Aws::BedrockAgentCoreControl
|
|
|
4709
7767
|
include Aws::Structure
|
|
4710
7768
|
end
|
|
4711
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
|
+
|
|
4712
7832
|
# The recording configuration for a browser. This structure defines how
|
|
4713
7833
|
# browser sessions are recorded.
|
|
4714
7834
|
#
|
|
@@ -4731,6 +7851,33 @@ module Aws::BedrockAgentCoreControl
|
|
|
4731
7851
|
include Aws::Structure
|
|
4732
7852
|
end
|
|
4733
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
|
+
|
|
4734
7881
|
# Configuration for HTTP request headers that will be passed through to
|
|
4735
7882
|
# the runtime.
|
|
4736
7883
|
#
|
|
@@ -4756,6 +7903,33 @@ module Aws::BedrockAgentCoreControl
|
|
|
4756
7903
|
class Unknown < RequestHeaderConfiguration; end
|
|
4757
7904
|
end
|
|
4758
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
|
+
|
|
4759
7933
|
# Exception thrown when a resource limit is exceeded.
|
|
4760
7934
|
#
|
|
4761
7935
|
# @!attribute [rw] message
|
|
@@ -4783,6 +7957,34 @@ module Aws::BedrockAgentCoreControl
|
|
|
4783
7957
|
include Aws::Structure
|
|
4784
7958
|
end
|
|
4785
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
|
+
|
|
4786
7988
|
# The Amazon S3 configuration for a gateway. This structure defines how
|
|
4787
7989
|
# the gateway accesses files in Amazon S3.
|
|
4788
7990
|
#
|
|
@@ -4871,6 +8073,22 @@ module Aws::BedrockAgentCoreControl
|
|
|
4871
8073
|
include Aws::Structure
|
|
4872
8074
|
end
|
|
4873
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
|
+
|
|
4874
8092
|
# A schema definition for a gateway target. This structure defines the
|
|
4875
8093
|
# structure of the API that the target exposes.
|
|
4876
8094
|
#
|
|
@@ -5122,6 +8340,22 @@ module Aws::BedrockAgentCoreControl
|
|
|
5122
8340
|
include Aws::Structure
|
|
5123
8341
|
end
|
|
5124
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
|
+
|
|
5125
8359
|
# @!attribute [rw] token_vault_id
|
|
5126
8360
|
# The unique identifier of the token vault to update.
|
|
5127
8361
|
# @return [String]
|
|
@@ -5152,50 +8386,157 @@ module Aws::BedrockAgentCoreControl
|
|
|
5152
8386
|
# The timestamp when the token vault was last modified.
|
|
5153
8387
|
# @return [Time]
|
|
5154
8388
|
#
|
|
5155
|
-
# @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
|
|
5156
8473
|
#
|
|
5157
|
-
class
|
|
5158
|
-
:
|
|
5159
|
-
:
|
|
5160
|
-
:
|
|
8474
|
+
class StartPolicyGenerationRequest < Struct.new(
|
|
8475
|
+
:policy_engine_id,
|
|
8476
|
+
:resource,
|
|
8477
|
+
:content,
|
|
8478
|
+
:name,
|
|
8479
|
+
:client_token)
|
|
5161
8480
|
SENSITIVE = []
|
|
5162
8481
|
include Aws::Structure
|
|
5163
8482
|
end
|
|
5164
8483
|
|
|
5165
|
-
#
|
|
8484
|
+
# @!attribute [rw] policy_engine_id
|
|
8485
|
+
# The identifier of the policy engine associated with the started
|
|
8486
|
+
# policy generation.
|
|
8487
|
+
# @return [String]
|
|
5166
8488
|
#
|
|
5167
|
-
# @!attribute [rw]
|
|
5168
|
-
# The
|
|
8489
|
+
# @!attribute [rw] policy_generation_id
|
|
8490
|
+
# The unique identifier assigned to the policy generation request for
|
|
8491
|
+
# tracking progress.
|
|
5169
8492
|
# @return [String]
|
|
5170
8493
|
#
|
|
5171
|
-
# @!attribute [rw]
|
|
5172
|
-
# The
|
|
8494
|
+
# @!attribute [rw] name
|
|
8495
|
+
# The customer-assigned name for the policy generation request.
|
|
5173
8496
|
# @return [String]
|
|
5174
8497
|
#
|
|
5175
|
-
#
|
|
8498
|
+
# @!attribute [rw] policy_generation_arn
|
|
8499
|
+
# The ARN of the created policy generation request.
|
|
8500
|
+
# @return [String]
|
|
5176
8501
|
#
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
include Aws::Structure
|
|
5182
|
-
end
|
|
5183
|
-
|
|
5184
|
-
# 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]
|
|
5185
8506
|
#
|
|
5186
|
-
# @!attribute [rw]
|
|
5187
|
-
# The
|
|
5188
|
-
# @return [
|
|
8507
|
+
# @!attribute [rw] created_at
|
|
8508
|
+
# The timestamp when the policy generation request was created.
|
|
8509
|
+
# @return [Time]
|
|
5189
8510
|
#
|
|
5190
|
-
# @!attribute [rw]
|
|
5191
|
-
# The
|
|
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.
|
|
5192
8517
|
# @return [String]
|
|
5193
8518
|
#
|
|
5194
|
-
#
|
|
8519
|
+
# @!attribute [rw] status_reasons
|
|
8520
|
+
# Additional information about the generation status.
|
|
8521
|
+
# @return [Array<String>]
|
|
5195
8522
|
#
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
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)
|
|
5199
8540
|
SENSITIVE = []
|
|
5200
8541
|
include Aws::Structure
|
|
5201
8542
|
end
|
|
@@ -5214,6 +8555,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
5214
8555
|
# The consolidation configuration for the memory strategy.
|
|
5215
8556
|
# @return [Types::ConsolidationConfiguration]
|
|
5216
8557
|
#
|
|
8558
|
+
# @!attribute [rw] reflection
|
|
8559
|
+
# The reflection configuration for the memory strategy.
|
|
8560
|
+
# @return [Types::ReflectionConfiguration]
|
|
8561
|
+
#
|
|
5217
8562
|
# @!attribute [rw] self_managed_configuration
|
|
5218
8563
|
# Self-managed configuration settings.
|
|
5219
8564
|
# @return [Types::SelfManagedConfiguration]
|
|
@@ -5224,6 +8569,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
5224
8569
|
:type,
|
|
5225
8570
|
:extraction,
|
|
5226
8571
|
:consolidation,
|
|
8572
|
+
:reflection,
|
|
5227
8573
|
:self_managed_configuration)
|
|
5228
8574
|
SENSITIVE = []
|
|
5229
8575
|
include Aws::Structure
|
|
@@ -5915,6 +9261,80 @@ module Aws::BedrockAgentCoreControl
|
|
|
5915
9261
|
include Aws::Structure
|
|
5916
9262
|
end
|
|
5917
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
|
+
|
|
5918
9338
|
# @!attribute [rw] gateway_identifier
|
|
5919
9339
|
# The identifier of the gateway to update.
|
|
5920
9340
|
# @return [String]
|
|
@@ -5953,6 +9373,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
5953
9373
|
# The updated ARN of the KMS key used to encrypt the gateway.
|
|
5954
9374
|
# @return [String]
|
|
5955
9375
|
#
|
|
9376
|
+
# @!attribute [rw] interceptor_configurations
|
|
9377
|
+
# The updated interceptor configurations for the gateway.
|
|
9378
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
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
|
+
#
|
|
5956
9388
|
# @!attribute [rw] exception_level
|
|
5957
9389
|
# The level of detail in error messages returned when invoking the
|
|
5958
9390
|
# gateway.
|
|
@@ -5976,6 +9408,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5976
9408
|
:authorizer_type,
|
|
5977
9409
|
:authorizer_configuration,
|
|
5978
9410
|
:kms_key_arn,
|
|
9411
|
+
:interceptor_configurations,
|
|
9412
|
+
:policy_engine_configuration,
|
|
5979
9413
|
:exception_level)
|
|
5980
9414
|
SENSITIVE = [:name, :description]
|
|
5981
9415
|
include Aws::Structure
|
|
@@ -6042,6 +9476,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
6042
9476
|
# The updated ARN of the KMS key used to encrypt the gateway.
|
|
6043
9477
|
# @return [String]
|
|
6044
9478
|
#
|
|
9479
|
+
# @!attribute [rw] interceptor_configurations
|
|
9480
|
+
# The updated interceptor configurations for the gateway.
|
|
9481
|
+
# @return [Array<Types::GatewayInterceptorConfiguration>]
|
|
9482
|
+
#
|
|
9483
|
+
# @!attribute [rw] policy_engine_configuration
|
|
9484
|
+
# The updated policy engine configuration for the gateway.
|
|
9485
|
+
# @return [Types::GatewayPolicyEngineConfiguration]
|
|
9486
|
+
#
|
|
6045
9487
|
# @!attribute [rw] workload_identity_details
|
|
6046
9488
|
# The workload identity details for the updated gateway.
|
|
6047
9489
|
# @return [Types::WorkloadIdentityDetails]
|
|
@@ -6075,6 +9517,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
6075
9517
|
:authorizer_type,
|
|
6076
9518
|
:authorizer_configuration,
|
|
6077
9519
|
:kms_key_arn,
|
|
9520
|
+
:interceptor_configurations,
|
|
9521
|
+
:policy_engine_configuration,
|
|
6078
9522
|
:workload_identity_details,
|
|
6079
9523
|
:exception_level)
|
|
6080
9524
|
SENSITIVE = [:name, :description]
|
|
@@ -6312,6 +9756,279 @@ module Aws::BedrockAgentCoreControl
|
|
|
6312
9756
|
include Aws::Structure
|
|
6313
9757
|
end
|
|
6314
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
|
+
|
|
6315
10032
|
# @!attribute [rw] name
|
|
6316
10033
|
# The name of the workload identity to update.
|
|
6317
10034
|
# @return [String]
|