aws-sdk-bedrockagentcorecontrol 1.40.0 → 1.41.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.
@@ -1046,6 +1046,98 @@ module Aws::BedrockAgentCoreControl
1046
1046
  req.send_request(options)
1047
1047
  end
1048
1048
 
1049
+ # Creates a new configuration bundle resource. A configuration bundle
1050
+ # stores versioned component configurations for agent evaluation
1051
+ # workflows.
1052
+ #
1053
+ # @option params [String] :client_token
1054
+ # A unique, case-sensitive identifier to ensure that the API request
1055
+ # completes no more than one time. If you don't specify this field, a
1056
+ # value is randomly generated for you. If this token matches a previous
1057
+ # request, the service ignores the request, but doesn't return an
1058
+ # error. For more information, see [Ensuring idempotency][1].
1059
+ #
1060
+ # **A suitable default value is auto-generated.** You should normally
1061
+ # not need to pass this option.**
1062
+ #
1063
+ #
1064
+ #
1065
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1066
+ #
1067
+ # @option params [required, String] :bundle_name
1068
+ # The name for the configuration bundle. Names must be unique within
1069
+ # your account.
1070
+ #
1071
+ # @option params [String] :description
1072
+ # The description for the configuration bundle.
1073
+ #
1074
+ # @option params [required, Hash<String,Types::ComponentConfiguration>] :components
1075
+ # A map of component identifiers to their configurations. Each component
1076
+ # represents a configurable element within the bundle.
1077
+ #
1078
+ # @option params [String] :branch_name
1079
+ # The branch name for version tracking. Defaults to `mainline` if not
1080
+ # specified.
1081
+ #
1082
+ # @option params [String] :commit_message
1083
+ # A commit message describing the initial version of the configuration
1084
+ # bundle.
1085
+ #
1086
+ # @option params [Types::VersionCreatedBySource] :created_by
1087
+ # The source that created this version, including the source name and
1088
+ # optional ARN.
1089
+ #
1090
+ # @option params [Hash<String,String>] :tags
1091
+ # A map of tag keys and values to assign to the configuration bundle.
1092
+ # Tags enable you to categorize your resources in different ways, for
1093
+ # example, by purpose, owner, or environment.
1094
+ #
1095
+ # @return [Types::CreateConfigurationBundleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1096
+ #
1097
+ # * {Types::CreateConfigurationBundleResponse#bundle_arn #bundle_arn} => String
1098
+ # * {Types::CreateConfigurationBundleResponse#bundle_id #bundle_id} => String
1099
+ # * {Types::CreateConfigurationBundleResponse#version_id #version_id} => String
1100
+ # * {Types::CreateConfigurationBundleResponse#created_at #created_at} => Time
1101
+ #
1102
+ # @example Request syntax with placeholder values
1103
+ #
1104
+ # resp = client.create_configuration_bundle({
1105
+ # client_token: "ClientToken",
1106
+ # bundle_name: "ConfigurationBundleName", # required
1107
+ # description: "ConfigurationBundleDescription",
1108
+ # components: { # required
1109
+ # "ComponentIdentifier" => {
1110
+ # configuration: { # required
1111
+ # },
1112
+ # },
1113
+ # },
1114
+ # branch_name: "BranchName",
1115
+ # commit_message: "CreateConfigurationBundleRequestCommitMessageString",
1116
+ # created_by: {
1117
+ # name: "String", # required
1118
+ # arn: "String",
1119
+ # },
1120
+ # tags: {
1121
+ # "TagKey" => "TagValue",
1122
+ # },
1123
+ # })
1124
+ #
1125
+ # @example Response structure
1126
+ #
1127
+ # resp.bundle_arn #=> String
1128
+ # resp.bundle_id #=> String
1129
+ # resp.version_id #=> String
1130
+ # resp.created_at #=> Time
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateConfigurationBundle AWS API Documentation
1133
+ #
1134
+ # @overload create_configuration_bundle(params = {})
1135
+ # @param [Hash] params ({})
1136
+ def create_configuration_bundle(params = {}, options = {})
1137
+ req = build_request(:create_configuration_bundle, params)
1138
+ req.send_request(options)
1139
+ end
1140
+
1049
1141
  # Creates a custom evaluator for agent quality assessment. Custom
1050
1142
  # evaluators can use either LLM-as-a-Judge configurations with
1051
1143
  # user-defined prompts, rating scales, and model settings, or code-based
@@ -1084,6 +1176,18 @@ module Aws::BedrockAgentCoreControl
1084
1176
  # single request-response interactions, or `SESSION` for entire
1085
1177
  # conversation sessions.
1086
1178
  #
1179
+ # @option params [String] :kms_key_arn
1180
+ # The Amazon Resource Name (ARN) of a customer managed KMS key to use
1181
+ # for encrypting sensitive evaluator data, including instructions and
1182
+ # rating scale. If you don't specify a KMS key, the evaluator data is
1183
+ # encrypted with an Amazon Web Services owned key. Only symmetric
1184
+ # encryption KMS keys are supported. For more information, see
1185
+ # [Encryption at rest for AgentCore Evaluations][1].
1186
+ #
1187
+ #
1188
+ #
1189
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html
1190
+ #
1087
1191
  # @option params [Hash<String,String>] :tags
1088
1192
  # A map of tag keys and values to assign to an AgentCore Evaluator. Tags
1089
1193
  # enable you to categorize your resources in different ways, for
@@ -1142,6 +1246,7 @@ module Aws::BedrockAgentCoreControl
1142
1246
  # },
1143
1247
  # },
1144
1248
  # level: "TOOL_CALL", # required, accepts TOOL_CALL, TRACE, SESSION
1249
+ # kms_key_arn: "KmsKeyArn",
1145
1250
  # tags: {
1146
1251
  # "TagKey" => "TagValue",
1147
1252
  # },
@@ -1193,7 +1298,7 @@ module Aws::BedrockAgentCoreControl
1193
1298
  # The Amazon Resource Name (ARN) of the IAM role that provides
1194
1299
  # permissions for the gateway to access Amazon Web Services services.
1195
1300
  #
1196
- # @option params [required, String] :protocol_type
1301
+ # @option params [String] :protocol_type
1197
1302
  # The protocol type for the gateway.
1198
1303
  #
1199
1304
  # @option params [Types::GatewayProtocolConfiguration] :protocol_configuration
@@ -1272,7 +1377,7 @@ module Aws::BedrockAgentCoreControl
1272
1377
  # description: "GatewayDescription",
1273
1378
  # client_token: "ClientToken",
1274
1379
  # role_arn: "RoleArn", # required
1275
- # protocol_type: "MCP", # required, accepts MCP
1380
+ # protocol_type: "MCP", # accepts MCP
1276
1381
  # protocol_configuration: {
1277
1382
  # mcp: {
1278
1383
  # supported_versions: ["McpVersion"],
@@ -1280,7 +1385,7 @@ module Aws::BedrockAgentCoreControl
1280
1385
  # search_type: "SEMANTIC", # accepts SEMANTIC
1281
1386
  # },
1282
1387
  # },
1283
- # authorizer_type: "CUSTOM_JWT", # required, accepts CUSTOM_JWT, AWS_IAM, NONE
1388
+ # authorizer_type: "CUSTOM_JWT", # required, accepts CUSTOM_JWT, AWS_IAM, NONE, AUTHENTICATE_ONLY
1284
1389
  # authorizer_configuration: {
1285
1390
  # custom_jwt_authorizer: {
1286
1391
  # discovery_url: "DiscoveryUrl", # required
@@ -1379,7 +1484,7 @@ module Aws::BedrockAgentCoreControl
1379
1484
  # resp.protocol_configuration.mcp.supported_versions[0] #=> String
1380
1485
  # resp.protocol_configuration.mcp.instructions #=> String
1381
1486
  # resp.protocol_configuration.mcp.search_type #=> String, one of "SEMANTIC"
1382
- # resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE"
1487
+ # resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE", "AUTHENTICATE_ONLY"
1383
1488
  # resp.authorizer_configuration.custom_jwt_authorizer.discovery_url #=> String
1384
1489
  # resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience #=> Array
1385
1490
  # resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience[0] #=> String
@@ -1436,6 +1541,168 @@ module Aws::BedrockAgentCoreControl
1436
1541
  req.send_request(options)
1437
1542
  end
1438
1543
 
1544
+ # Creates a rule for a gateway. Rules define conditions and actions that
1545
+ # control how requests are routed and processed through the gateway,
1546
+ # including principal-based access control and path-based routing.
1547
+ #
1548
+ # @option params [required, String] :gateway_identifier
1549
+ # The identifier of the gateway to create a rule for.
1550
+ #
1551
+ # @option params [String] :client_token
1552
+ # A unique, case-sensitive identifier to ensure that the API request
1553
+ # completes no more than one time. If you don't specify this field, a
1554
+ # value is randomly generated for you. If this token matches a previous
1555
+ # request, the service ignores the request, but doesn't return an
1556
+ # error. For more information, see [Ensuring idempotency][1].
1557
+ #
1558
+ # **A suitable default value is auto-generated.** You should normally
1559
+ # not need to pass this option.**
1560
+ #
1561
+ #
1562
+ #
1563
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1564
+ #
1565
+ # @option params [required, Integer] :priority
1566
+ # The priority of the rule. Rules are evaluated in order of priority,
1567
+ # with lower numbers evaluated first. Must be between 1 and 1,000,000.
1568
+ #
1569
+ # @option params [Array<Types::Condition>] :conditions
1570
+ # The conditions that must be met for the rule to apply. Conditions can
1571
+ # match on principals (IAM ARNs) or request paths.
1572
+ #
1573
+ # @option params [required, Array<Types::Action>] :actions
1574
+ # The actions to take when the rule conditions are met. Actions can
1575
+ # route to a specific target or apply a configuration bundle override.
1576
+ #
1577
+ # @option params [String] :description
1578
+ # The description of the gateway rule.
1579
+ #
1580
+ # @return [Types::CreateGatewayRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1581
+ #
1582
+ # * {Types::CreateGatewayRuleResponse#rule_id #rule_id} => String
1583
+ # * {Types::CreateGatewayRuleResponse#gateway_arn #gateway_arn} => String
1584
+ # * {Types::CreateGatewayRuleResponse#priority #priority} => Integer
1585
+ # * {Types::CreateGatewayRuleResponse#conditions #conditions} => Array&lt;Types::Condition&gt;
1586
+ # * {Types::CreateGatewayRuleResponse#actions #actions} => Array&lt;Types::Action&gt;
1587
+ # * {Types::CreateGatewayRuleResponse#description #description} => String
1588
+ # * {Types::CreateGatewayRuleResponse#created_at #created_at} => Time
1589
+ # * {Types::CreateGatewayRuleResponse#status #status} => String
1590
+ # * {Types::CreateGatewayRuleResponse#system #system} => Types::SystemManagedBlock
1591
+ #
1592
+ # @example Request syntax with placeholder values
1593
+ #
1594
+ # resp = client.create_gateway_rule({
1595
+ # gateway_identifier: "GatewayIdentifier", # required
1596
+ # client_token: "ClientToken",
1597
+ # priority: 1, # required
1598
+ # conditions: [
1599
+ # {
1600
+ # match_principals: {
1601
+ # any_of: [ # required
1602
+ # {
1603
+ # iam_principal: {
1604
+ # arn: "IamPrincipalArn", # required
1605
+ # operator: "StringEquals", # accepts StringEquals, StringLike
1606
+ # },
1607
+ # },
1608
+ # ],
1609
+ # },
1610
+ # match_paths: {
1611
+ # any_of: ["MatchPathPattern"], # required
1612
+ # },
1613
+ # },
1614
+ # ],
1615
+ # actions: [ # required
1616
+ # {
1617
+ # configuration_bundle: {
1618
+ # static_override: {
1619
+ # bundle_arn: "GatewayConfigurationBundleArn", # required
1620
+ # bundle_version: "StaticOverrideBundleVersionString", # required
1621
+ # },
1622
+ # weighted_override: {
1623
+ # traffic_split: [ # required
1624
+ # {
1625
+ # name: "TrafficSplitEntryNameString", # required
1626
+ # weight: 1, # required
1627
+ # configuration_bundle: { # required
1628
+ # bundle_arn: "GatewayConfigurationBundleArn", # required
1629
+ # bundle_version: "ConfigurationBundleReferenceBundleVersionString", # required
1630
+ # },
1631
+ # description: "TrafficSplitEntryDescriptionString",
1632
+ # metadata: {
1633
+ # "TrafficSplitMetadataKey" => "TrafficSplitMetadataValue",
1634
+ # },
1635
+ # },
1636
+ # ],
1637
+ # },
1638
+ # },
1639
+ # route_to_target: {
1640
+ # static_route: {
1641
+ # target_name: "TargetName", # required
1642
+ # },
1643
+ # weighted_route: {
1644
+ # traffic_split: [ # required
1645
+ # {
1646
+ # name: "TargetTrafficSplitEntryNameString", # required
1647
+ # weight: 1, # required
1648
+ # target_name: "TargetName", # required
1649
+ # description: "TargetTrafficSplitEntryDescriptionString",
1650
+ # metadata: {
1651
+ # "TrafficSplitMetadataKey" => "TrafficSplitMetadataValue",
1652
+ # },
1653
+ # },
1654
+ # ],
1655
+ # },
1656
+ # },
1657
+ # },
1658
+ # ],
1659
+ # description: "GatewayRuleDescription",
1660
+ # })
1661
+ #
1662
+ # @example Response structure
1663
+ #
1664
+ # resp.rule_id #=> String
1665
+ # resp.gateway_arn #=> String
1666
+ # resp.priority #=> Integer
1667
+ # resp.conditions #=> Array
1668
+ # resp.conditions[0].match_principals.any_of #=> Array
1669
+ # resp.conditions[0].match_principals.any_of[0].iam_principal.arn #=> String
1670
+ # resp.conditions[0].match_principals.any_of[0].iam_principal.operator #=> String, one of "StringEquals", "StringLike"
1671
+ # resp.conditions[0].match_paths.any_of #=> Array
1672
+ # resp.conditions[0].match_paths.any_of[0] #=> String
1673
+ # resp.actions #=> Array
1674
+ # resp.actions[0].configuration_bundle.static_override.bundle_arn #=> String
1675
+ # resp.actions[0].configuration_bundle.static_override.bundle_version #=> String
1676
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split #=> Array
1677
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].name #=> String
1678
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].weight #=> Integer
1679
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].configuration_bundle.bundle_arn #=> String
1680
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].configuration_bundle.bundle_version #=> String
1681
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].description #=> String
1682
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].metadata #=> Hash
1683
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].metadata["TrafficSplitMetadataKey"] #=> String
1684
+ # resp.actions[0].route_to_target.static_route.target_name #=> String
1685
+ # resp.actions[0].route_to_target.weighted_route.traffic_split #=> Array
1686
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].name #=> String
1687
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].weight #=> Integer
1688
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].target_name #=> String
1689
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].description #=> String
1690
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].metadata #=> Hash
1691
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].metadata["TrafficSplitMetadataKey"] #=> String
1692
+ # resp.description #=> String
1693
+ # resp.created_at #=> Time
1694
+ # resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
1695
+ # resp.system.managed_by #=> String
1696
+ #
1697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayRule AWS API Documentation
1698
+ #
1699
+ # @overload create_gateway_rule(params = {})
1700
+ # @param [Hash] params ({})
1701
+ def create_gateway_rule(params = {}, options = {})
1702
+ req = build_request(:create_gateway_rule, params)
1703
+ req.send_request(options)
1704
+ end
1705
+
1439
1706
  # Creates a target for a gateway. A target defines an endpoint that the
1440
1707
  # gateway can connect to.
1441
1708
  #
@@ -1497,6 +1764,7 @@ module Aws::BedrockAgentCoreControl
1497
1764
  # * {Types::CreateGatewayTargetResponse#private_endpoint #private_endpoint} => Types::PrivateEndpoint
1498
1765
  # * {Types::CreateGatewayTargetResponse#private_endpoint_managed_resources #private_endpoint_managed_resources} => Array&lt;Types::ManagedResourceDetails&gt;
1499
1766
  # * {Types::CreateGatewayTargetResponse#authorization_data #authorization_data} => Types::AuthorizationData
1767
+ # * {Types::CreateGatewayTargetResponse#protocol_type #protocol_type} => String
1500
1768
  #
1501
1769
  # @example Request syntax with placeholder values
1502
1770
  #
@@ -1571,8 +1839,8 @@ module Aws::BedrockAgentCoreControl
1571
1839
  # },
1572
1840
  # inline_payload: "InlinePayload",
1573
1841
  # },
1574
- # resource_priority: 1,
1575
1842
  # listing_mode: "DEFAULT", # accepts DEFAULT, DYNAMIC
1843
+ # resource_priority: 1,
1576
1844
  # },
1577
1845
  # api_gateway: {
1578
1846
  # rest_api_id: "String", # required
@@ -1595,10 +1863,16 @@ module Aws::BedrockAgentCoreControl
1595
1863
  # },
1596
1864
  # },
1597
1865
  # },
1866
+ # http: {
1867
+ # agentcore_runtime: {
1868
+ # arn: "RuntimeArn", # required
1869
+ # qualifier: "RuntimeQualifier",
1870
+ # },
1871
+ # },
1598
1872
  # },
1599
1873
  # credential_provider_configurations: [
1600
1874
  # {
1601
- # credential_provider_type: "GATEWAY_IAM_ROLE", # required, accepts GATEWAY_IAM_ROLE, OAUTH, API_KEY
1875
+ # credential_provider_type: "GATEWAY_IAM_ROLE", # required, accepts GATEWAY_IAM_ROLE, OAUTH, API_KEY, CALLER_IAM_CREDENTIALS, JWT_PASSTHROUGH
1602
1876
  # credential_provider: {
1603
1877
  # oauth_credential_provider: {
1604
1878
  # provider_arn: "OAuthCredentialProviderArn", # required
@@ -1685,8 +1959,8 @@ module Aws::BedrockAgentCoreControl
1685
1959
  # resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.uri #=> String
1686
1960
  # resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.bucket_owner_account_id #=> String
1687
1961
  # resp.target_configuration.mcp.mcp_server.mcp_tool_schema.inline_payload #=> String
1688
- # resp.target_configuration.mcp.mcp_server.resource_priority #=> Integer
1689
1962
  # resp.target_configuration.mcp.mcp_server.listing_mode #=> String, one of "DEFAULT", "DYNAMIC"
1963
+ # resp.target_configuration.mcp.mcp_server.resource_priority #=> Integer
1690
1964
  # resp.target_configuration.mcp.api_gateway.rest_api_id #=> String
1691
1965
  # resp.target_configuration.mcp.api_gateway.stage #=> String
1692
1966
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_overrides #=> Array
@@ -1698,8 +1972,10 @@ module Aws::BedrockAgentCoreControl
1698
1972
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].filter_path #=> String
1699
1973
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].methods #=> Array
1700
1974
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].methods[0] #=> String, one of "GET", "DELETE", "HEAD", "OPTIONS", "PATCH", "PUT", "POST"
1975
+ # resp.target_configuration.http.agentcore_runtime.arn #=> String
1976
+ # resp.target_configuration.http.agentcore_runtime.qualifier #=> String
1701
1977
  # resp.credential_provider_configurations #=> Array
1702
- # resp.credential_provider_configurations[0].credential_provider_type #=> String, one of "GATEWAY_IAM_ROLE", "OAUTH", "API_KEY"
1978
+ # resp.credential_provider_configurations[0].credential_provider_type #=> String, one of "GATEWAY_IAM_ROLE", "OAUTH", "API_KEY", "CALLER_IAM_CREDENTIALS", "JWT_PASSTHROUGH"
1703
1979
  # resp.credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
1704
1980
  # resp.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
1705
1981
  # resp.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
@@ -1736,6 +2012,7 @@ module Aws::BedrockAgentCoreControl
1736
2012
  # resp.private_endpoint_managed_resources[0].resource_association_arn #=> String
1737
2013
  # resp.authorization_data.oauth2.authorization_url #=> String
1738
2014
  # resp.authorization_data.oauth2.user_id #=> String
2015
+ # resp.protocol_type #=> String, one of "MCP", "HTTP"
1739
2016
  #
1740
2017
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayTarget AWS API Documentation
1741
2018
  #
@@ -1813,7 +2090,8 @@ module Aws::BedrockAgentCoreControl
1813
2090
  # invocation.
1814
2091
  #
1815
2092
  # @option params [Integer] :max_tokens
1816
- # The maximum number of tokens the agent can generate per iteration.
2093
+ # The maximum total number of output tokens the agent can generate
2094
+ # across all model calls within a single invocation.
1817
2095
  #
1818
2096
  # @option params [Integer] :timeout_seconds
1819
2097
  # The maximum duration in seconds for the agent loop execution per
@@ -2690,7 +2968,15 @@ module Aws::BedrockAgentCoreControl
2690
2968
  # @option params [required, String] :evaluation_execution_role_arn
2691
2969
  # The Amazon Resource Name (ARN) of the IAM role that grants permissions
2692
2970
  # to read from CloudWatch logs, write evaluation results, and invoke
2693
- # Amazon Bedrock models for evaluation.
2971
+ # Amazon Bedrock models for evaluation. If the configuration references
2972
+ # evaluators encrypted with a customer managed KMS key, this role must
2973
+ # also have `kms:Decrypt` permission on the KMS key. The service
2974
+ # validates this permission at configuration creation time. For more
2975
+ # information, see [Encryption at rest for AgentCore Evaluations][1].
2976
+ #
2977
+ #
2978
+ #
2979
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html
2694
2980
  #
2695
2981
  # @option params [required, Boolean] :enable_on_create
2696
2982
  # Whether to enable the online evaluation configuration immediately upon
@@ -3546,6 +3832,36 @@ module Aws::BedrockAgentCoreControl
3546
3832
  req.send_request(options)
3547
3833
  end
3548
3834
 
3835
+ # Deletes a configuration bundle and all of its versions.
3836
+ #
3837
+ # @option params [required, String] :bundle_id
3838
+ # The unique identifier of the configuration bundle to delete.
3839
+ #
3840
+ # @return [Types::DeleteConfigurationBundleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3841
+ #
3842
+ # * {Types::DeleteConfigurationBundleResponse#bundle_id #bundle_id} => String
3843
+ # * {Types::DeleteConfigurationBundleResponse#status #status} => String
3844
+ #
3845
+ # @example Request syntax with placeholder values
3846
+ #
3847
+ # resp = client.delete_configuration_bundle({
3848
+ # bundle_id: "ConfigurationBundleId", # required
3849
+ # })
3850
+ #
3851
+ # @example Response structure
3852
+ #
3853
+ # resp.bundle_id #=> String
3854
+ # resp.status #=> String, one of "ACTIVE", "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
3855
+ #
3856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteConfigurationBundle AWS API Documentation
3857
+ #
3858
+ # @overload delete_configuration_bundle(params = {})
3859
+ # @param [Hash] params ({})
3860
+ def delete_configuration_bundle(params = {}, options = {})
3861
+ req = build_request(:delete_configuration_bundle, params)
3862
+ req.send_request(options)
3863
+ end
3864
+
3549
3865
  # Deletes a custom evaluator. Builtin evaluators cannot be deleted. The
3550
3866
  # evaluator must not be referenced by any active online evaluation
3551
3867
  # configurations.
@@ -3613,6 +3929,40 @@ module Aws::BedrockAgentCoreControl
3613
3929
  req.send_request(options)
3614
3930
  end
3615
3931
 
3932
+ # Deletes a gateway rule.
3933
+ #
3934
+ # @option params [required, String] :gateway_identifier
3935
+ # The identifier of the gateway containing the rule.
3936
+ #
3937
+ # @option params [required, String] :rule_id
3938
+ # The unique identifier of the rule to delete.
3939
+ #
3940
+ # @return [Types::DeleteGatewayRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3941
+ #
3942
+ # * {Types::DeleteGatewayRuleResponse#rule_id #rule_id} => String
3943
+ # * {Types::DeleteGatewayRuleResponse#status #status} => String
3944
+ #
3945
+ # @example Request syntax with placeholder values
3946
+ #
3947
+ # resp = client.delete_gateway_rule({
3948
+ # gateway_identifier: "GatewayIdentifier", # required
3949
+ # rule_id: "GatewayRuleId", # required
3950
+ # })
3951
+ #
3952
+ # @example Response structure
3953
+ #
3954
+ # resp.rule_id #=> String
3955
+ # resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
3956
+ #
3957
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteGatewayRule AWS API Documentation
3958
+ #
3959
+ # @overload delete_gateway_rule(params = {})
3960
+ # @param [Hash] params ({})
3961
+ def delete_gateway_rule(params = {}, options = {})
3962
+ req = build_request(:delete_gateway_rule, params)
3963
+ req.send_request(options)
3964
+ end
3965
+
3616
3966
  # Deletes a gateway target.
3617
3967
  #
3618
3968
  # You cannot delete a target that is in a pending authorization state
@@ -4493,6 +4843,118 @@ module Aws::BedrockAgentCoreControl
4493
4843
  req.send_request(options)
4494
4844
  end
4495
4845
 
4846
+ # Gets the latest version of a configuration bundle. By default, returns
4847
+ # the latest version on the mainline branch. Use
4848
+ # `GetConfigurationBundleVersion` to retrieve a specific historical
4849
+ # version.
4850
+ #
4851
+ # @option params [required, String] :bundle_id
4852
+ # The unique identifier of the configuration bundle to retrieve.
4853
+ #
4854
+ # @option params [String] :branch_name
4855
+ # The branch name to get the latest version from. If not specified,
4856
+ # returns the latest version on the mainline branch.
4857
+ #
4858
+ # @return [Types::GetConfigurationBundleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4859
+ #
4860
+ # * {Types::GetConfigurationBundleResponse#bundle_arn #bundle_arn} => String
4861
+ # * {Types::GetConfigurationBundleResponse#bundle_id #bundle_id} => String
4862
+ # * {Types::GetConfigurationBundleResponse#bundle_name #bundle_name} => String
4863
+ # * {Types::GetConfigurationBundleResponse#description #description} => String
4864
+ # * {Types::GetConfigurationBundleResponse#version_id #version_id} => String
4865
+ # * {Types::GetConfigurationBundleResponse#components #components} => Hash&lt;String,Types::ComponentConfiguration&gt;
4866
+ # * {Types::GetConfigurationBundleResponse#lineage_metadata #lineage_metadata} => Types::VersionLineageMetadata
4867
+ # * {Types::GetConfigurationBundleResponse#created_at #created_at} => Time
4868
+ # * {Types::GetConfigurationBundleResponse#updated_at #updated_at} => Time
4869
+ #
4870
+ # @example Request syntax with placeholder values
4871
+ #
4872
+ # resp = client.get_configuration_bundle({
4873
+ # bundle_id: "ConfigurationBundleId", # required
4874
+ # branch_name: "BranchName",
4875
+ # })
4876
+ #
4877
+ # @example Response structure
4878
+ #
4879
+ # resp.bundle_arn #=> String
4880
+ # resp.bundle_id #=> String
4881
+ # resp.bundle_name #=> String
4882
+ # resp.description #=> String
4883
+ # resp.version_id #=> String
4884
+ # resp.components #=> Hash
4885
+ # resp.lineage_metadata.parent_version_ids #=> Array
4886
+ # resp.lineage_metadata.parent_version_ids[0] #=> String
4887
+ # resp.lineage_metadata.branch_name #=> String
4888
+ # resp.lineage_metadata.created_by.name #=> String
4889
+ # resp.lineage_metadata.created_by.arn #=> String
4890
+ # resp.lineage_metadata.commit_message #=> String
4891
+ # resp.created_at #=> Time
4892
+ # resp.updated_at #=> Time
4893
+ #
4894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetConfigurationBundle AWS API Documentation
4895
+ #
4896
+ # @overload get_configuration_bundle(params = {})
4897
+ # @param [Hash] params ({})
4898
+ def get_configuration_bundle(params = {}, options = {})
4899
+ req = build_request(:get_configuration_bundle, params)
4900
+ req.send_request(options)
4901
+ end
4902
+
4903
+ # Gets a specific version of a configuration bundle by its version
4904
+ # identifier.
4905
+ #
4906
+ # @option params [required, String] :bundle_id
4907
+ # The unique identifier of the configuration bundle.
4908
+ #
4909
+ # @option params [required, String] :version_id
4910
+ # The version identifier of the configuration bundle version to
4911
+ # retrieve.
4912
+ #
4913
+ # @return [Types::GetConfigurationBundleVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4914
+ #
4915
+ # * {Types::GetConfigurationBundleVersionResponse#bundle_arn #bundle_arn} => String
4916
+ # * {Types::GetConfigurationBundleVersionResponse#bundle_id #bundle_id} => String
4917
+ # * {Types::GetConfigurationBundleVersionResponse#bundle_name #bundle_name} => String
4918
+ # * {Types::GetConfigurationBundleVersionResponse#description #description} => String
4919
+ # * {Types::GetConfigurationBundleVersionResponse#version_id #version_id} => String
4920
+ # * {Types::GetConfigurationBundleVersionResponse#components #components} => Hash&lt;String,Types::ComponentConfiguration&gt;
4921
+ # * {Types::GetConfigurationBundleVersionResponse#lineage_metadata #lineage_metadata} => Types::VersionLineageMetadata
4922
+ # * {Types::GetConfigurationBundleVersionResponse#created_at #created_at} => Time
4923
+ # * {Types::GetConfigurationBundleVersionResponse#version_created_at #version_created_at} => Time
4924
+ #
4925
+ # @example Request syntax with placeholder values
4926
+ #
4927
+ # resp = client.get_configuration_bundle_version({
4928
+ # bundle_id: "ConfigurationBundleId", # required
4929
+ # version_id: "ConfigurationBundleVersion", # required
4930
+ # })
4931
+ #
4932
+ # @example Response structure
4933
+ #
4934
+ # resp.bundle_arn #=> String
4935
+ # resp.bundle_id #=> String
4936
+ # resp.bundle_name #=> String
4937
+ # resp.description #=> String
4938
+ # resp.version_id #=> String
4939
+ # resp.components #=> Hash
4940
+ # resp.lineage_metadata.parent_version_ids #=> Array
4941
+ # resp.lineage_metadata.parent_version_ids[0] #=> String
4942
+ # resp.lineage_metadata.branch_name #=> String
4943
+ # resp.lineage_metadata.created_by.name #=> String
4944
+ # resp.lineage_metadata.created_by.arn #=> String
4945
+ # resp.lineage_metadata.commit_message #=> String
4946
+ # resp.created_at #=> Time
4947
+ # resp.version_created_at #=> Time
4948
+ #
4949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetConfigurationBundleVersion AWS API Documentation
4950
+ #
4951
+ # @overload get_configuration_bundle_version(params = {})
4952
+ # @param [Hash] params ({})
4953
+ def get_configuration_bundle_version(params = {}, options = {})
4954
+ req = build_request(:get_configuration_bundle_version, params)
4955
+ req.send_request(options)
4956
+ end
4957
+
4496
4958
  # Retrieves detailed information about an evaluator, including its
4497
4959
  # configuration, status, and metadata. Works with both built-in and
4498
4960
  # custom evaluators.
@@ -4501,6 +4963,14 @@ module Aws::BedrockAgentCoreControl
4501
4963
  # The unique identifier of the evaluator to retrieve. Can be a built-in
4502
4964
  # evaluator ID (e.g., Builtin.Helpfulness) or a custom evaluator ID.
4503
4965
  #
4966
+ # @option params [String] :included_data
4967
+ # Controls which data is returned in the response. `ALL_DATA` (default)
4968
+ # returns the full evaluator including decrypted instructions and rating
4969
+ # scale. For evaluators encrypted with a customer managed KMS key, this
4970
+ # requires `kms:Decrypt` permission on the key. `METADATA_ONLY` returns
4971
+ # evaluator metadata and model configuration without instructions or
4972
+ # rating scale, and does not require any KMS permissions.
4973
+ #
4504
4974
  # @return [Types::GetEvaluatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4505
4975
  #
4506
4976
  # * {Types::GetEvaluatorResponse#evaluator_arn #evaluator_arn} => String
@@ -4513,11 +4983,13 @@ module Aws::BedrockAgentCoreControl
4513
4983
  # * {Types::GetEvaluatorResponse#created_at #created_at} => Time
4514
4984
  # * {Types::GetEvaluatorResponse#updated_at #updated_at} => Time
4515
4985
  # * {Types::GetEvaluatorResponse#locked_for_modification #locked_for_modification} => Boolean
4986
+ # * {Types::GetEvaluatorResponse#kms_key_arn #kms_key_arn} => String
4516
4987
  #
4517
4988
  # @example Request syntax with placeholder values
4518
4989
  #
4519
4990
  # resp = client.get_evaluator({
4520
4991
  # evaluator_id: "EvaluatorId", # required
4992
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
4521
4993
  # })
4522
4994
  #
4523
4995
  # @example Response structure
@@ -4547,6 +5019,7 @@ module Aws::BedrockAgentCoreControl
4547
5019
  # resp.created_at #=> Time
4548
5020
  # resp.updated_at #=> Time
4549
5021
  # resp.locked_for_modification #=> Boolean
5022
+ # resp.kms_key_arn #=> String
4550
5023
  #
4551
5024
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetEvaluator AWS API Documentation
4552
5025
  #
@@ -4608,7 +5081,7 @@ module Aws::BedrockAgentCoreControl
4608
5081
  # resp.protocol_configuration.mcp.supported_versions[0] #=> String
4609
5082
  # resp.protocol_configuration.mcp.instructions #=> String
4610
5083
  # resp.protocol_configuration.mcp.search_type #=> String, one of "SEMANTIC"
4611
- # resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE"
5084
+ # resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE", "AUTHENTICATE_ONLY"
4612
5085
  # resp.authorizer_configuration.custom_jwt_authorizer.discovery_url #=> String
4613
5086
  # resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience #=> Array
4614
5087
  # resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience[0] #=> String
@@ -4665,6 +5138,79 @@ module Aws::BedrockAgentCoreControl
4665
5138
  req.send_request(options)
4666
5139
  end
4667
5140
 
5141
+ # Retrieves detailed information about a specific gateway rule.
5142
+ #
5143
+ # @option params [required, String] :gateway_identifier
5144
+ # The identifier of the gateway containing the rule.
5145
+ #
5146
+ # @option params [required, String] :rule_id
5147
+ # The unique identifier of the rule to retrieve.
5148
+ #
5149
+ # @return [Types::GetGatewayRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5150
+ #
5151
+ # * {Types::GetGatewayRuleResponse#rule_id #rule_id} => String
5152
+ # * {Types::GetGatewayRuleResponse#gateway_arn #gateway_arn} => String
5153
+ # * {Types::GetGatewayRuleResponse#priority #priority} => Integer
5154
+ # * {Types::GetGatewayRuleResponse#conditions #conditions} => Array&lt;Types::Condition&gt;
5155
+ # * {Types::GetGatewayRuleResponse#actions #actions} => Array&lt;Types::Action&gt;
5156
+ # * {Types::GetGatewayRuleResponse#description #description} => String
5157
+ # * {Types::GetGatewayRuleResponse#created_at #created_at} => Time
5158
+ # * {Types::GetGatewayRuleResponse#status #status} => String
5159
+ # * {Types::GetGatewayRuleResponse#system #system} => Types::SystemManagedBlock
5160
+ # * {Types::GetGatewayRuleResponse#updated_at #updated_at} => Time
5161
+ #
5162
+ # @example Request syntax with placeholder values
5163
+ #
5164
+ # resp = client.get_gateway_rule({
5165
+ # gateway_identifier: "GatewayIdentifier", # required
5166
+ # rule_id: "GatewayRuleId", # required
5167
+ # })
5168
+ #
5169
+ # @example Response structure
5170
+ #
5171
+ # resp.rule_id #=> String
5172
+ # resp.gateway_arn #=> String
5173
+ # resp.priority #=> Integer
5174
+ # resp.conditions #=> Array
5175
+ # resp.conditions[0].match_principals.any_of #=> Array
5176
+ # resp.conditions[0].match_principals.any_of[0].iam_principal.arn #=> String
5177
+ # resp.conditions[0].match_principals.any_of[0].iam_principal.operator #=> String, one of "StringEquals", "StringLike"
5178
+ # resp.conditions[0].match_paths.any_of #=> Array
5179
+ # resp.conditions[0].match_paths.any_of[0] #=> String
5180
+ # resp.actions #=> Array
5181
+ # resp.actions[0].configuration_bundle.static_override.bundle_arn #=> String
5182
+ # resp.actions[0].configuration_bundle.static_override.bundle_version #=> String
5183
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split #=> Array
5184
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].name #=> String
5185
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].weight #=> Integer
5186
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].configuration_bundle.bundle_arn #=> String
5187
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].configuration_bundle.bundle_version #=> String
5188
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].description #=> String
5189
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].metadata #=> Hash
5190
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].metadata["TrafficSplitMetadataKey"] #=> String
5191
+ # resp.actions[0].route_to_target.static_route.target_name #=> String
5192
+ # resp.actions[0].route_to_target.weighted_route.traffic_split #=> Array
5193
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].name #=> String
5194
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].weight #=> Integer
5195
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].target_name #=> String
5196
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].description #=> String
5197
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].metadata #=> Hash
5198
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].metadata["TrafficSplitMetadataKey"] #=> String
5199
+ # resp.description #=> String
5200
+ # resp.created_at #=> Time
5201
+ # resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
5202
+ # resp.system.managed_by #=> String
5203
+ # resp.updated_at #=> Time
5204
+ #
5205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetGatewayRule AWS API Documentation
5206
+ #
5207
+ # @overload get_gateway_rule(params = {})
5208
+ # @param [Hash] params ({})
5209
+ def get_gateway_rule(params = {}, options = {})
5210
+ req = build_request(:get_gateway_rule, params)
5211
+ req.send_request(options)
5212
+ end
5213
+
4668
5214
  # Retrieves information about a specific gateway target.
4669
5215
  #
4670
5216
  # @option params [required, String] :gateway_identifier
@@ -4690,6 +5236,7 @@ module Aws::BedrockAgentCoreControl
4690
5236
  # * {Types::GetGatewayTargetResponse#private_endpoint #private_endpoint} => Types::PrivateEndpoint
4691
5237
  # * {Types::GetGatewayTargetResponse#private_endpoint_managed_resources #private_endpoint_managed_resources} => Array&lt;Types::ManagedResourceDetails&gt;
4692
5238
  # * {Types::GetGatewayTargetResponse#authorization_data #authorization_data} => Types::AuthorizationData
5239
+ # * {Types::GetGatewayTargetResponse#protocol_type #protocol_type} => String
4693
5240
  #
4694
5241
  # @example Request syntax with placeholder values
4695
5242
  #
@@ -4739,8 +5286,8 @@ module Aws::BedrockAgentCoreControl
4739
5286
  # resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.uri #=> String
4740
5287
  # resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.bucket_owner_account_id #=> String
4741
5288
  # resp.target_configuration.mcp.mcp_server.mcp_tool_schema.inline_payload #=> String
4742
- # resp.target_configuration.mcp.mcp_server.resource_priority #=> Integer
4743
5289
  # resp.target_configuration.mcp.mcp_server.listing_mode #=> String, one of "DEFAULT", "DYNAMIC"
5290
+ # resp.target_configuration.mcp.mcp_server.resource_priority #=> Integer
4744
5291
  # resp.target_configuration.mcp.api_gateway.rest_api_id #=> String
4745
5292
  # resp.target_configuration.mcp.api_gateway.stage #=> String
4746
5293
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_overrides #=> Array
@@ -4752,8 +5299,10 @@ module Aws::BedrockAgentCoreControl
4752
5299
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].filter_path #=> String
4753
5300
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].methods #=> Array
4754
5301
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].methods[0] #=> String, one of "GET", "DELETE", "HEAD", "OPTIONS", "PATCH", "PUT", "POST"
5302
+ # resp.target_configuration.http.agentcore_runtime.arn #=> String
5303
+ # resp.target_configuration.http.agentcore_runtime.qualifier #=> String
4755
5304
  # resp.credential_provider_configurations #=> Array
4756
- # resp.credential_provider_configurations[0].credential_provider_type #=> String, one of "GATEWAY_IAM_ROLE", "OAUTH", "API_KEY"
5305
+ # resp.credential_provider_configurations[0].credential_provider_type #=> String, one of "GATEWAY_IAM_ROLE", "OAUTH", "API_KEY", "CALLER_IAM_CREDENTIALS", "JWT_PASSTHROUGH"
4757
5306
  # resp.credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
4758
5307
  # resp.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
4759
5308
  # resp.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
@@ -4790,6 +5339,7 @@ module Aws::BedrockAgentCoreControl
4790
5339
  # resp.private_endpoint_managed_resources[0].resource_association_arn #=> String
4791
5340
  # resp.authorization_data.oauth2.authorization_url #=> String
4792
5341
  # resp.authorization_data.oauth2.user_id #=> String
5342
+ # resp.protocol_type #=> String, one of "MCP", "HTTP"
4793
5343
  #
4794
5344
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetGatewayTarget AWS API Documentation
4795
5345
  #
@@ -6033,6 +6583,120 @@ module Aws::BedrockAgentCoreControl
6033
6583
  req.send_request(options)
6034
6584
  end
6035
6585
 
6586
+ # Lists all versions of a configuration bundle, with optional filtering
6587
+ # by branch name or creation source.
6588
+ #
6589
+ # @option params [required, String] :bundle_id
6590
+ # The unique identifier of the configuration bundle to list versions
6591
+ # for.
6592
+ #
6593
+ # @option params [String] :next_token
6594
+ # If the total number of results is greater than the `maxResults` value
6595
+ # provided in the request, enter the token returned in the `nextToken`
6596
+ # field in the response in this field to return the next batch of
6597
+ # results.
6598
+ #
6599
+ # @option params [Integer] :max_results
6600
+ # The maximum number of results to return in the response. If the total
6601
+ # number of results is greater than this value, use the token returned
6602
+ # in the response in the `nextToken` field when making another request
6603
+ # to return the next batch of results.
6604
+ #
6605
+ # @option params [Types::VersionFilter] :filter
6606
+ # An optional filter for listing versions, including branch name,
6607
+ # creation source, and whether to return only the latest version per
6608
+ # branch.
6609
+ #
6610
+ # @return [Types::ListConfigurationBundleVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6611
+ #
6612
+ # * {Types::ListConfigurationBundleVersionsResponse#versions #versions} => Array&lt;Types::ConfigurationBundleVersionSummary&gt;
6613
+ # * {Types::ListConfigurationBundleVersionsResponse#next_token #next_token} => String
6614
+ #
6615
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6616
+ #
6617
+ # @example Request syntax with placeholder values
6618
+ #
6619
+ # resp = client.list_configuration_bundle_versions({
6620
+ # bundle_id: "ConfigurationBundleId", # required
6621
+ # next_token: "String",
6622
+ # max_results: 1,
6623
+ # filter: {
6624
+ # branch_name: "BranchName",
6625
+ # created_by_name: "String",
6626
+ # latest_per_branch: false,
6627
+ # },
6628
+ # })
6629
+ #
6630
+ # @example Response structure
6631
+ #
6632
+ # resp.versions #=> Array
6633
+ # resp.versions[0].bundle_arn #=> String
6634
+ # resp.versions[0].bundle_id #=> String
6635
+ # resp.versions[0].version_id #=> String
6636
+ # resp.versions[0].lineage_metadata.parent_version_ids #=> Array
6637
+ # resp.versions[0].lineage_metadata.parent_version_ids[0] #=> String
6638
+ # resp.versions[0].lineage_metadata.branch_name #=> String
6639
+ # resp.versions[0].lineage_metadata.created_by.name #=> String
6640
+ # resp.versions[0].lineage_metadata.created_by.arn #=> String
6641
+ # resp.versions[0].lineage_metadata.commit_message #=> String
6642
+ # resp.versions[0].version_created_at #=> Time
6643
+ # resp.next_token #=> String
6644
+ #
6645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListConfigurationBundleVersions AWS API Documentation
6646
+ #
6647
+ # @overload list_configuration_bundle_versions(params = {})
6648
+ # @param [Hash] params ({})
6649
+ def list_configuration_bundle_versions(params = {}, options = {})
6650
+ req = build_request(:list_configuration_bundle_versions, params)
6651
+ req.send_request(options)
6652
+ end
6653
+
6654
+ # Lists all configuration bundles in the account.
6655
+ #
6656
+ # @option params [String] :next_token
6657
+ # If the total number of results is greater than the `maxResults` value
6658
+ # provided in the request, enter the token returned in the `nextToken`
6659
+ # field in the response in this field to return the next batch of
6660
+ # results.
6661
+ #
6662
+ # @option params [Integer] :max_results
6663
+ # The maximum number of results to return in the response. If the total
6664
+ # number of results is greater than this value, use the token returned
6665
+ # in the response in the `nextToken` field when making another request
6666
+ # to return the next batch of results.
6667
+ #
6668
+ # @return [Types::ListConfigurationBundlesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6669
+ #
6670
+ # * {Types::ListConfigurationBundlesResponse#bundles #bundles} => Array&lt;Types::ConfigurationBundleSummary&gt;
6671
+ # * {Types::ListConfigurationBundlesResponse#next_token #next_token} => String
6672
+ #
6673
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6674
+ #
6675
+ # @example Request syntax with placeholder values
6676
+ #
6677
+ # resp = client.list_configuration_bundles({
6678
+ # next_token: "String",
6679
+ # max_results: 1,
6680
+ # })
6681
+ #
6682
+ # @example Response structure
6683
+ #
6684
+ # resp.bundles #=> Array
6685
+ # resp.bundles[0].bundle_arn #=> String
6686
+ # resp.bundles[0].bundle_id #=> String
6687
+ # resp.bundles[0].bundle_name #=> String
6688
+ # resp.bundles[0].description #=> String
6689
+ # resp.next_token #=> String
6690
+ #
6691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListConfigurationBundles AWS API Documentation
6692
+ #
6693
+ # @overload list_configuration_bundles(params = {})
6694
+ # @param [Hash] params ({})
6695
+ def list_configuration_bundles(params = {}, options = {})
6696
+ req = build_request(:list_configuration_bundles, params)
6697
+ req.send_request(options)
6698
+ end
6699
+
6036
6700
  # Lists all available evaluators, including both builtin evaluators
6037
6701
  # provided by the service and custom evaluators created by the user.
6038
6702
  #
@@ -6070,6 +6734,7 @@ module Aws::BedrockAgentCoreControl
6070
6734
  # resp.evaluators[0].created_at #=> Time
6071
6735
  # resp.evaluators[0].updated_at #=> Time
6072
6736
  # resp.evaluators[0].locked_for_modification #=> Boolean
6737
+ # resp.evaluators[0].kms_key_arn #=> String
6073
6738
  # resp.next_token #=> String
6074
6739
  #
6075
6740
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListEvaluators AWS API Documentation
@@ -6081,6 +6746,82 @@ module Aws::BedrockAgentCoreControl
6081
6746
  req.send_request(options)
6082
6747
  end
6083
6748
 
6749
+ # Lists all rules for a gateway.
6750
+ #
6751
+ # @option params [required, String] :gateway_identifier
6752
+ # The identifier of the gateway to list rules for.
6753
+ #
6754
+ # @option params [Integer] :max_results
6755
+ # The maximum number of results to return in the response. If the total
6756
+ # number of results is greater than this value, use the token returned
6757
+ # in the response in the `nextToken` field when making another request
6758
+ # to return the next batch of results.
6759
+ #
6760
+ # @option params [String] :next_token
6761
+ # The pagination token from a previous request.
6762
+ #
6763
+ # @return [Types::ListGatewayRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6764
+ #
6765
+ # * {Types::ListGatewayRulesResponse#gateway_rules #gateway_rules} => Array&lt;Types::GatewayRuleDetail&gt;
6766
+ # * {Types::ListGatewayRulesResponse#next_token #next_token} => String
6767
+ #
6768
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6769
+ #
6770
+ # @example Request syntax with placeholder values
6771
+ #
6772
+ # resp = client.list_gateway_rules({
6773
+ # gateway_identifier: "GatewayIdentifier", # required
6774
+ # max_results: 1,
6775
+ # next_token: "GatewayRuleNextToken",
6776
+ # })
6777
+ #
6778
+ # @example Response structure
6779
+ #
6780
+ # resp.gateway_rules #=> Array
6781
+ # resp.gateway_rules[0].rule_id #=> String
6782
+ # resp.gateway_rules[0].gateway_arn #=> String
6783
+ # resp.gateway_rules[0].priority #=> Integer
6784
+ # resp.gateway_rules[0].conditions #=> Array
6785
+ # resp.gateway_rules[0].conditions[0].match_principals.any_of #=> Array
6786
+ # resp.gateway_rules[0].conditions[0].match_principals.any_of[0].iam_principal.arn #=> String
6787
+ # resp.gateway_rules[0].conditions[0].match_principals.any_of[0].iam_principal.operator #=> String, one of "StringEquals", "StringLike"
6788
+ # resp.gateway_rules[0].conditions[0].match_paths.any_of #=> Array
6789
+ # resp.gateway_rules[0].conditions[0].match_paths.any_of[0] #=> String
6790
+ # resp.gateway_rules[0].actions #=> Array
6791
+ # resp.gateway_rules[0].actions[0].configuration_bundle.static_override.bundle_arn #=> String
6792
+ # resp.gateway_rules[0].actions[0].configuration_bundle.static_override.bundle_version #=> String
6793
+ # resp.gateway_rules[0].actions[0].configuration_bundle.weighted_override.traffic_split #=> Array
6794
+ # resp.gateway_rules[0].actions[0].configuration_bundle.weighted_override.traffic_split[0].name #=> String
6795
+ # resp.gateway_rules[0].actions[0].configuration_bundle.weighted_override.traffic_split[0].weight #=> Integer
6796
+ # resp.gateway_rules[0].actions[0].configuration_bundle.weighted_override.traffic_split[0].configuration_bundle.bundle_arn #=> String
6797
+ # resp.gateway_rules[0].actions[0].configuration_bundle.weighted_override.traffic_split[0].configuration_bundle.bundle_version #=> String
6798
+ # resp.gateway_rules[0].actions[0].configuration_bundle.weighted_override.traffic_split[0].description #=> String
6799
+ # resp.gateway_rules[0].actions[0].configuration_bundle.weighted_override.traffic_split[0].metadata #=> Hash
6800
+ # resp.gateway_rules[0].actions[0].configuration_bundle.weighted_override.traffic_split[0].metadata["TrafficSplitMetadataKey"] #=> String
6801
+ # resp.gateway_rules[0].actions[0].route_to_target.static_route.target_name #=> String
6802
+ # resp.gateway_rules[0].actions[0].route_to_target.weighted_route.traffic_split #=> Array
6803
+ # resp.gateway_rules[0].actions[0].route_to_target.weighted_route.traffic_split[0].name #=> String
6804
+ # resp.gateway_rules[0].actions[0].route_to_target.weighted_route.traffic_split[0].weight #=> Integer
6805
+ # resp.gateway_rules[0].actions[0].route_to_target.weighted_route.traffic_split[0].target_name #=> String
6806
+ # resp.gateway_rules[0].actions[0].route_to_target.weighted_route.traffic_split[0].description #=> String
6807
+ # resp.gateway_rules[0].actions[0].route_to_target.weighted_route.traffic_split[0].metadata #=> Hash
6808
+ # resp.gateway_rules[0].actions[0].route_to_target.weighted_route.traffic_split[0].metadata["TrafficSplitMetadataKey"] #=> String
6809
+ # resp.gateway_rules[0].description #=> String
6810
+ # resp.gateway_rules[0].created_at #=> Time
6811
+ # resp.gateway_rules[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
6812
+ # resp.gateway_rules[0].system.managed_by #=> String
6813
+ # resp.gateway_rules[0].updated_at #=> Time
6814
+ # resp.next_token #=> String
6815
+ #
6816
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListGatewayRules AWS API Documentation
6817
+ #
6818
+ # @overload list_gateway_rules(params = {})
6819
+ # @param [Hash] params ({})
6820
+ def list_gateway_rules(params = {}, options = {})
6821
+ req = build_request(:list_gateway_rules, params)
6822
+ req.send_request(options)
6823
+ end
6824
+
6084
6825
  # Lists all targets for a specific gateway.
6085
6826
  #
6086
6827
  # @option params [required, String] :gateway_identifier
@@ -6171,7 +6912,7 @@ module Aws::BedrockAgentCoreControl
6171
6912
  # resp.items[0].description #=> String
6172
6913
  # resp.items[0].created_at #=> Time
6173
6914
  # resp.items[0].updated_at #=> Time
6174
- # resp.items[0].authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE"
6915
+ # resp.items[0].authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE", "AUTHENTICATE_ONLY"
6175
6916
  # resp.items[0].protocol_type #=> String, one of "MCP"
6176
6917
  # resp.next_token #=> String
6177
6918
  #
@@ -7118,8 +7859,8 @@ module Aws::BedrockAgentCoreControl
7118
7859
  # resp.targets[0].target_configuration.mcp.mcp_server.mcp_tool_schema.s3.uri #=> String
7119
7860
  # resp.targets[0].target_configuration.mcp.mcp_server.mcp_tool_schema.s3.bucket_owner_account_id #=> String
7120
7861
  # resp.targets[0].target_configuration.mcp.mcp_server.mcp_tool_schema.inline_payload #=> String
7121
- # resp.targets[0].target_configuration.mcp.mcp_server.resource_priority #=> Integer
7122
7862
  # resp.targets[0].target_configuration.mcp.mcp_server.listing_mode #=> String, one of "DEFAULT", "DYNAMIC"
7863
+ # resp.targets[0].target_configuration.mcp.mcp_server.resource_priority #=> Integer
7123
7864
  # resp.targets[0].target_configuration.mcp.api_gateway.rest_api_id #=> String
7124
7865
  # resp.targets[0].target_configuration.mcp.api_gateway.stage #=> String
7125
7866
  # resp.targets[0].target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_overrides #=> Array
@@ -7131,8 +7872,10 @@ module Aws::BedrockAgentCoreControl
7131
7872
  # resp.targets[0].target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].filter_path #=> String
7132
7873
  # resp.targets[0].target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].methods #=> Array
7133
7874
  # resp.targets[0].target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].methods[0] #=> String, one of "GET", "DELETE", "HEAD", "OPTIONS", "PATCH", "PUT", "POST"
7875
+ # resp.targets[0].target_configuration.http.agentcore_runtime.arn #=> String
7876
+ # resp.targets[0].target_configuration.http.agentcore_runtime.qualifier #=> String
7134
7877
  # resp.targets[0].credential_provider_configurations #=> Array
7135
- # resp.targets[0].credential_provider_configurations[0].credential_provider_type #=> String, one of "GATEWAY_IAM_ROLE", "OAUTH", "API_KEY"
7878
+ # resp.targets[0].credential_provider_configurations[0].credential_provider_type #=> String, one of "GATEWAY_IAM_ROLE", "OAUTH", "API_KEY", "CALLER_IAM_CREDENTIALS", "JWT_PASSTHROUGH"
7136
7879
  # resp.targets[0].credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
7137
7880
  # resp.targets[0].credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
7138
7881
  # resp.targets[0].credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
@@ -7169,6 +7912,7 @@ module Aws::BedrockAgentCoreControl
7169
7912
  # resp.targets[0].private_endpoint_managed_resources[0].resource_association_arn #=> String
7170
7913
  # resp.targets[0].authorization_data.oauth2.authorization_url #=> String
7171
7914
  # resp.targets[0].authorization_data.oauth2.user_id #=> String
7915
+ # resp.targets[0].protocol_type #=> String, one of "MCP", "HTTP"
7172
7916
  #
7173
7917
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SynchronizeGatewayTargets AWS API Documentation
7174
7918
  #
@@ -7539,6 +8283,100 @@ module Aws::BedrockAgentCoreControl
7539
8283
  req.send_request(options)
7540
8284
  end
7541
8285
 
8286
+ # Updates a configuration bundle by creating a new version with the
8287
+ # specified changes. Each update creates a new version in the version
8288
+ # history.
8289
+ #
8290
+ # @option params [String] :client_token
8291
+ # A unique, case-sensitive identifier to ensure that the API request
8292
+ # completes no more than one time. If you don't specify this field, a
8293
+ # value is randomly generated for you. If this token matches a previous
8294
+ # request, the service ignores the request, but doesn't return an
8295
+ # error. For more information, see [Ensuring idempotency][1].
8296
+ #
8297
+ # **A suitable default value is auto-generated.** You should normally
8298
+ # not need to pass this option.**
8299
+ #
8300
+ #
8301
+ #
8302
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
8303
+ #
8304
+ # @option params [required, String] :bundle_id
8305
+ # The unique identifier of the configuration bundle to update.
8306
+ #
8307
+ # @option params [String] :bundle_name
8308
+ # The updated name for the configuration bundle.
8309
+ #
8310
+ # @option params [String] :description
8311
+ # The updated description for the configuration bundle.
8312
+ #
8313
+ # @option params [Hash<String,Types::ComponentConfiguration>] :components
8314
+ # The updated component configurations. Creates a new version of the
8315
+ # bundle.
8316
+ #
8317
+ # @option params [Array<String>] :parent_version_ids
8318
+ # A list of parent version identifiers for lineage tracking. Regular
8319
+ # commits have a single parent. Merge commits have two parents: the
8320
+ # target branch parent and the source branch parent. If the branch
8321
+ # already exists, the first parent must be the latest version on that
8322
+ # branch.
8323
+ #
8324
+ # @option params [String] :branch_name
8325
+ # The branch name for this version. If not specified, inherits the
8326
+ # parent's branch or defaults to `mainline`.
8327
+ #
8328
+ # @option params [String] :commit_message
8329
+ # A commit message describing the changes in this version.
8330
+ #
8331
+ # @option params [Types::VersionCreatedBySource] :created_by
8332
+ # The source that created this version, including the source name and
8333
+ # optional ARN.
8334
+ #
8335
+ # @return [Types::UpdateConfigurationBundleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8336
+ #
8337
+ # * {Types::UpdateConfigurationBundleResponse#bundle_arn #bundle_arn} => String
8338
+ # * {Types::UpdateConfigurationBundleResponse#bundle_id #bundle_id} => String
8339
+ # * {Types::UpdateConfigurationBundleResponse#version_id #version_id} => String
8340
+ # * {Types::UpdateConfigurationBundleResponse#updated_at #updated_at} => Time
8341
+ #
8342
+ # @example Request syntax with placeholder values
8343
+ #
8344
+ # resp = client.update_configuration_bundle({
8345
+ # client_token: "ClientToken",
8346
+ # bundle_id: "ConfigurationBundleId", # required
8347
+ # bundle_name: "ConfigurationBundleName",
8348
+ # description: "ConfigurationBundleDescription",
8349
+ # components: {
8350
+ # "ComponentIdentifier" => {
8351
+ # configuration: { # required
8352
+ # },
8353
+ # },
8354
+ # },
8355
+ # parent_version_ids: ["ConfigurationBundleVersion"],
8356
+ # branch_name: "BranchName",
8357
+ # commit_message: "UpdateConfigurationBundleRequestCommitMessageString",
8358
+ # created_by: {
8359
+ # name: "String", # required
8360
+ # arn: "String",
8361
+ # },
8362
+ # })
8363
+ #
8364
+ # @example Response structure
8365
+ #
8366
+ # resp.bundle_arn #=> String
8367
+ # resp.bundle_id #=> String
8368
+ # resp.version_id #=> String
8369
+ # resp.updated_at #=> Time
8370
+ #
8371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateConfigurationBundle AWS API Documentation
8372
+ #
8373
+ # @overload update_configuration_bundle(params = {})
8374
+ # @param [Hash] params ({})
8375
+ def update_configuration_bundle(params = {}, options = {})
8376
+ req = build_request(:update_configuration_bundle, params)
8377
+ req.send_request(options)
8378
+ end
8379
+
7542
8380
  # Updates a custom evaluator's configuration, description, or
7543
8381
  # evaluation level. Built-in evaluators cannot be updated. The evaluator
7544
8382
  # must not be locked for modification.
@@ -7573,6 +8411,20 @@ module Aws::BedrockAgentCoreControl
7573
8411
  # The updated evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that
7574
8412
  # determines the scope of evaluation.
7575
8413
  #
8414
+ # @option params [String] :kms_key_arn
8415
+ # The Amazon Resource Name (ARN) of a customer managed KMS key to use
8416
+ # for encrypting sensitive evaluator data. Specify a new key ARN to
8417
+ # rotate the encryption key, or specify a key ARN to add encryption to
8418
+ # an evaluator that was previously created without one. When you rotate
8419
+ # to a new key, the service decrypts the existing data with the old key
8420
+ # and re-encrypts it with the new key. Only symmetric encryption KMS
8421
+ # keys are supported. For more information, see [Encryption at rest for
8422
+ # AgentCore Evaluations][1].
8423
+ #
8424
+ #
8425
+ #
8426
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html
8427
+ #
7576
8428
  # @return [Types::UpdateEvaluatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7577
8429
  #
7578
8430
  # * {Types::UpdateEvaluatorResponse#evaluator_arn #evaluator_arn} => String
@@ -7626,6 +8478,7 @@ module Aws::BedrockAgentCoreControl
7626
8478
  # },
7627
8479
  # },
7628
8480
  # level: "TOOL_CALL", # accepts TOOL_CALL, TRACE, SESSION
8481
+ # kms_key_arn: "KmsKeyArn",
7629
8482
  # })
7630
8483
  #
7631
8484
  # @example Response structure
@@ -7659,7 +8512,7 @@ module Aws::BedrockAgentCoreControl
7659
8512
  # @option params [required, String] :role_arn
7660
8513
  # The updated IAM role ARN that provides permissions for the gateway.
7661
8514
  #
7662
- # @option params [required, String] :protocol_type
8515
+ # @option params [String] :protocol_type
7663
8516
  # The updated protocol type for the gateway.
7664
8517
  #
7665
8518
  # @option params [Types::GatewayProtocolConfiguration] :protocol_configuration
@@ -7724,7 +8577,7 @@ module Aws::BedrockAgentCoreControl
7724
8577
  # name: "GatewayName", # required
7725
8578
  # description: "GatewayDescription",
7726
8579
  # role_arn: "RoleArn", # required
7727
- # protocol_type: "MCP", # required, accepts MCP
8580
+ # protocol_type: "MCP", # accepts MCP
7728
8581
  # protocol_configuration: {
7729
8582
  # mcp: {
7730
8583
  # supported_versions: ["McpVersion"],
@@ -7732,7 +8585,7 @@ module Aws::BedrockAgentCoreControl
7732
8585
  # search_type: "SEMANTIC", # accepts SEMANTIC
7733
8586
  # },
7734
8587
  # },
7735
- # authorizer_type: "CUSTOM_JWT", # required, accepts CUSTOM_JWT, AWS_IAM, NONE
8588
+ # authorizer_type: "CUSTOM_JWT", # required, accepts CUSTOM_JWT, AWS_IAM, NONE, AUTHENTICATE_ONLY
7736
8589
  # authorizer_configuration: {
7737
8590
  # custom_jwt_authorizer: {
7738
8591
  # discovery_url: "DiscoveryUrl", # required
@@ -7828,7 +8681,7 @@ module Aws::BedrockAgentCoreControl
7828
8681
  # resp.protocol_configuration.mcp.supported_versions[0] #=> String
7829
8682
  # resp.protocol_configuration.mcp.instructions #=> String
7830
8683
  # resp.protocol_configuration.mcp.search_type #=> String, one of "SEMANTIC"
7831
- # resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE"
8684
+ # resp.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM", "NONE", "AUTHENTICATE_ONLY"
7832
8685
  # resp.authorizer_configuration.custom_jwt_authorizer.discovery_url #=> String
7833
8686
  # resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience #=> Array
7834
8687
  # resp.authorizer_configuration.custom_jwt_authorizer.allowed_audience[0] #=> String
@@ -7885,6 +8738,155 @@ module Aws::BedrockAgentCoreControl
7885
8738
  req.send_request(options)
7886
8739
  end
7887
8740
 
8741
+ # Updates a gateway rule's priority, conditions, actions, or
8742
+ # description.
8743
+ #
8744
+ # @option params [required, String] :gateway_identifier
8745
+ # The identifier of the gateway containing the rule.
8746
+ #
8747
+ # @option params [required, String] :rule_id
8748
+ # The unique identifier of the rule to update.
8749
+ #
8750
+ # @option params [Integer] :priority
8751
+ # The updated priority of the rule.
8752
+ #
8753
+ # @option params [Array<Types::Condition>] :conditions
8754
+ # The updated conditions for the rule.
8755
+ #
8756
+ # @option params [Array<Types::Action>] :actions
8757
+ # The updated actions for the rule.
8758
+ #
8759
+ # @option params [String] :description
8760
+ # The updated description of the rule.
8761
+ #
8762
+ # @return [Types::UpdateGatewayRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8763
+ #
8764
+ # * {Types::UpdateGatewayRuleResponse#rule_id #rule_id} => String
8765
+ # * {Types::UpdateGatewayRuleResponse#gateway_arn #gateway_arn} => String
8766
+ # * {Types::UpdateGatewayRuleResponse#priority #priority} => Integer
8767
+ # * {Types::UpdateGatewayRuleResponse#conditions #conditions} => Array&lt;Types::Condition&gt;
8768
+ # * {Types::UpdateGatewayRuleResponse#actions #actions} => Array&lt;Types::Action&gt;
8769
+ # * {Types::UpdateGatewayRuleResponse#description #description} => String
8770
+ # * {Types::UpdateGatewayRuleResponse#created_at #created_at} => Time
8771
+ # * {Types::UpdateGatewayRuleResponse#status #status} => String
8772
+ # * {Types::UpdateGatewayRuleResponse#system #system} => Types::SystemManagedBlock
8773
+ # * {Types::UpdateGatewayRuleResponse#updated_at #updated_at} => Time
8774
+ #
8775
+ # @example Request syntax with placeholder values
8776
+ #
8777
+ # resp = client.update_gateway_rule({
8778
+ # gateway_identifier: "GatewayIdentifier", # required
8779
+ # rule_id: "GatewayRuleId", # required
8780
+ # priority: 1,
8781
+ # conditions: [
8782
+ # {
8783
+ # match_principals: {
8784
+ # any_of: [ # required
8785
+ # {
8786
+ # iam_principal: {
8787
+ # arn: "IamPrincipalArn", # required
8788
+ # operator: "StringEquals", # accepts StringEquals, StringLike
8789
+ # },
8790
+ # },
8791
+ # ],
8792
+ # },
8793
+ # match_paths: {
8794
+ # any_of: ["MatchPathPattern"], # required
8795
+ # },
8796
+ # },
8797
+ # ],
8798
+ # actions: [
8799
+ # {
8800
+ # configuration_bundle: {
8801
+ # static_override: {
8802
+ # bundle_arn: "GatewayConfigurationBundleArn", # required
8803
+ # bundle_version: "StaticOverrideBundleVersionString", # required
8804
+ # },
8805
+ # weighted_override: {
8806
+ # traffic_split: [ # required
8807
+ # {
8808
+ # name: "TrafficSplitEntryNameString", # required
8809
+ # weight: 1, # required
8810
+ # configuration_bundle: { # required
8811
+ # bundle_arn: "GatewayConfigurationBundleArn", # required
8812
+ # bundle_version: "ConfigurationBundleReferenceBundleVersionString", # required
8813
+ # },
8814
+ # description: "TrafficSplitEntryDescriptionString",
8815
+ # metadata: {
8816
+ # "TrafficSplitMetadataKey" => "TrafficSplitMetadataValue",
8817
+ # },
8818
+ # },
8819
+ # ],
8820
+ # },
8821
+ # },
8822
+ # route_to_target: {
8823
+ # static_route: {
8824
+ # target_name: "TargetName", # required
8825
+ # },
8826
+ # weighted_route: {
8827
+ # traffic_split: [ # required
8828
+ # {
8829
+ # name: "TargetTrafficSplitEntryNameString", # required
8830
+ # weight: 1, # required
8831
+ # target_name: "TargetName", # required
8832
+ # description: "TargetTrafficSplitEntryDescriptionString",
8833
+ # metadata: {
8834
+ # "TrafficSplitMetadataKey" => "TrafficSplitMetadataValue",
8835
+ # },
8836
+ # },
8837
+ # ],
8838
+ # },
8839
+ # },
8840
+ # },
8841
+ # ],
8842
+ # description: "GatewayRuleDescription",
8843
+ # })
8844
+ #
8845
+ # @example Response structure
8846
+ #
8847
+ # resp.rule_id #=> String
8848
+ # resp.gateway_arn #=> String
8849
+ # resp.priority #=> Integer
8850
+ # resp.conditions #=> Array
8851
+ # resp.conditions[0].match_principals.any_of #=> Array
8852
+ # resp.conditions[0].match_principals.any_of[0].iam_principal.arn #=> String
8853
+ # resp.conditions[0].match_principals.any_of[0].iam_principal.operator #=> String, one of "StringEquals", "StringLike"
8854
+ # resp.conditions[0].match_paths.any_of #=> Array
8855
+ # resp.conditions[0].match_paths.any_of[0] #=> String
8856
+ # resp.actions #=> Array
8857
+ # resp.actions[0].configuration_bundle.static_override.bundle_arn #=> String
8858
+ # resp.actions[0].configuration_bundle.static_override.bundle_version #=> String
8859
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split #=> Array
8860
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].name #=> String
8861
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].weight #=> Integer
8862
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].configuration_bundle.bundle_arn #=> String
8863
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].configuration_bundle.bundle_version #=> String
8864
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].description #=> String
8865
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].metadata #=> Hash
8866
+ # resp.actions[0].configuration_bundle.weighted_override.traffic_split[0].metadata["TrafficSplitMetadataKey"] #=> String
8867
+ # resp.actions[0].route_to_target.static_route.target_name #=> String
8868
+ # resp.actions[0].route_to_target.weighted_route.traffic_split #=> Array
8869
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].name #=> String
8870
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].weight #=> Integer
8871
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].target_name #=> String
8872
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].description #=> String
8873
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].metadata #=> Hash
8874
+ # resp.actions[0].route_to_target.weighted_route.traffic_split[0].metadata["TrafficSplitMetadataKey"] #=> String
8875
+ # resp.description #=> String
8876
+ # resp.created_at #=> Time
8877
+ # resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
8878
+ # resp.system.managed_by #=> String
8879
+ # resp.updated_at #=> Time
8880
+ #
8881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayRule AWS API Documentation
8882
+ #
8883
+ # @overload update_gateway_rule(params = {})
8884
+ # @param [Hash] params ({})
8885
+ def update_gateway_rule(params = {}, options = {})
8886
+ req = build_request(:update_gateway_rule, params)
8887
+ req.send_request(options)
8888
+ end
8889
+
7888
8890
  # Updates an existing gateway target.
7889
8891
  #
7890
8892
  # You cannot update a target that is in a pending authorization state
@@ -7936,6 +8938,7 @@ module Aws::BedrockAgentCoreControl
7936
8938
  # * {Types::UpdateGatewayTargetResponse#private_endpoint #private_endpoint} => Types::PrivateEndpoint
7937
8939
  # * {Types::UpdateGatewayTargetResponse#private_endpoint_managed_resources #private_endpoint_managed_resources} => Array&lt;Types::ManagedResourceDetails&gt;
7938
8940
  # * {Types::UpdateGatewayTargetResponse#authorization_data #authorization_data} => Types::AuthorizationData
8941
+ # * {Types::UpdateGatewayTargetResponse#protocol_type #protocol_type} => String
7939
8942
  #
7940
8943
  # @example Request syntax with placeholder values
7941
8944
  #
@@ -8010,8 +9013,8 @@ module Aws::BedrockAgentCoreControl
8010
9013
  # },
8011
9014
  # inline_payload: "InlinePayload",
8012
9015
  # },
8013
- # resource_priority: 1,
8014
9016
  # listing_mode: "DEFAULT", # accepts DEFAULT, DYNAMIC
9017
+ # resource_priority: 1,
8015
9018
  # },
8016
9019
  # api_gateway: {
8017
9020
  # rest_api_id: "String", # required
@@ -8034,10 +9037,16 @@ module Aws::BedrockAgentCoreControl
8034
9037
  # },
8035
9038
  # },
8036
9039
  # },
9040
+ # http: {
9041
+ # agentcore_runtime: {
9042
+ # arn: "RuntimeArn", # required
9043
+ # qualifier: "RuntimeQualifier",
9044
+ # },
9045
+ # },
8037
9046
  # },
8038
9047
  # credential_provider_configurations: [
8039
9048
  # {
8040
- # credential_provider_type: "GATEWAY_IAM_ROLE", # required, accepts GATEWAY_IAM_ROLE, OAUTH, API_KEY
9049
+ # credential_provider_type: "GATEWAY_IAM_ROLE", # required, accepts GATEWAY_IAM_ROLE, OAUTH, API_KEY, CALLER_IAM_CREDENTIALS, JWT_PASSTHROUGH
8041
9050
  # credential_provider: {
8042
9051
  # oauth_credential_provider: {
8043
9052
  # provider_arn: "OAuthCredentialProviderArn", # required
@@ -8124,8 +9133,8 @@ module Aws::BedrockAgentCoreControl
8124
9133
  # resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.uri #=> String
8125
9134
  # resp.target_configuration.mcp.mcp_server.mcp_tool_schema.s3.bucket_owner_account_id #=> String
8126
9135
  # resp.target_configuration.mcp.mcp_server.mcp_tool_schema.inline_payload #=> String
8127
- # resp.target_configuration.mcp.mcp_server.resource_priority #=> Integer
8128
9136
  # resp.target_configuration.mcp.mcp_server.listing_mode #=> String, one of "DEFAULT", "DYNAMIC"
9137
+ # resp.target_configuration.mcp.mcp_server.resource_priority #=> Integer
8129
9138
  # resp.target_configuration.mcp.api_gateway.rest_api_id #=> String
8130
9139
  # resp.target_configuration.mcp.api_gateway.stage #=> String
8131
9140
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_overrides #=> Array
@@ -8137,8 +9146,10 @@ module Aws::BedrockAgentCoreControl
8137
9146
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].filter_path #=> String
8138
9147
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].methods #=> Array
8139
9148
  # resp.target_configuration.mcp.api_gateway.api_gateway_tool_configuration.tool_filters[0].methods[0] #=> String, one of "GET", "DELETE", "HEAD", "OPTIONS", "PATCH", "PUT", "POST"
9149
+ # resp.target_configuration.http.agentcore_runtime.arn #=> String
9150
+ # resp.target_configuration.http.agentcore_runtime.qualifier #=> String
8140
9151
  # resp.credential_provider_configurations #=> Array
8141
- # resp.credential_provider_configurations[0].credential_provider_type #=> String, one of "GATEWAY_IAM_ROLE", "OAUTH", "API_KEY"
9152
+ # resp.credential_provider_configurations[0].credential_provider_type #=> String, one of "GATEWAY_IAM_ROLE", "OAUTH", "API_KEY", "CALLER_IAM_CREDENTIALS", "JWT_PASSTHROUGH"
8142
9153
  # resp.credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
8143
9154
  # resp.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
8144
9155
  # resp.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
@@ -8175,6 +9186,7 @@ module Aws::BedrockAgentCoreControl
8175
9186
  # resp.private_endpoint_managed_resources[0].resource_association_arn #=> String
8176
9187
  # resp.authorization_data.oauth2.authorization_url #=> String
8177
9188
  # resp.authorization_data.oauth2.user_id #=> String
9189
+ # resp.protocol_type #=> String, one of "MCP", "HTTP"
8178
9190
  #
8179
9191
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayTarget AWS API Documentation
8180
9192
  #
@@ -8257,8 +9269,9 @@ module Aws::BedrockAgentCoreControl
8257
9269
  # invocation. If not specified, the existing value is retained.
8258
9270
  #
8259
9271
  # @option params [Integer] :max_tokens
8260
- # The maximum number of tokens the agent can generate per iteration. If
8261
- # not specified, the existing value is retained.
9272
+ # The maximum total number of output tokens the agent can generate
9273
+ # across all model calls within a single invocation. If not specified,
9274
+ # the existing value is retained.
8262
9275
  #
8263
9276
  # @option params [Integer] :timeout_seconds
8264
9277
  # The maximum duration in seconds for the agent loop execution per
@@ -9906,7 +10919,7 @@ module Aws::BedrockAgentCoreControl
9906
10919
  tracer: tracer
9907
10920
  )
9908
10921
  context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
9909
- context[:gem_version] = '1.40.0'
10922
+ context[:gem_version] = '1.41.0'
9910
10923
  Seahorse::Client::Request.new(handlers, context)
9911
10924
  end
9912
10925